@revolist/revogrid-column-date
Version:
Date format for RevoGrid system based on duetds-date-picker
81 lines (70 loc) • 1.56 kB
CSS
:root {
--duet-color-primary: #005fcc;
--duet-color-text: #333;
--duet-color-text-active: #fff;
--duet-color-placeholder: #666;
--duet-color-button: #f5f5f5;
--duet-color-surface: #fff;
--duet-color-overlay: rgba(0, 0, 0, 0.8);
--duet-color-border: #333;
--duet-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--duet-font-normal: 400;
--duet-font-bold: 600;
--duet-radius: 4px;
--duet-z-index: 600;
}
.revo-float {
position: fixed;
top: 0;
left: 0;
z-index: 1000;
min-height: 30px;
}
.revo-float duet-date-picker {
height: 100%;
display: block;
font-size: 14px;
}
.revo-float duet-date-picker[position="top"] .duet-date__dialog {
top: inherit;
bottom: 100%;
}
.revo-float .duet-date {
height: 100%;
display: flex;
}
.revo-float .duet-date__input-wrapper {
position: relative;
width: 100%;
box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
display: flex;
}
.revo-float .duet-date__input-wrapper input {
border-color: #0089ff;
}
.revo-float .duet-date__input {
padding: 0 30px 0 10px;
font-size: inherit;
}
.revo-float .duet-date__toggle {
width: 27px;
box-shadow: none;
}
.revo-float .duet-date__toggle svg {
width: 16px;
}
revogr-data .calendar {
position: absolute;
right: 0;
top: 0;
border: 0;
width: 24px;
height: 100%;
opacity: .5;
text-align: center;
background-color: transparent;
}
revogr-data .calendar svg {
width: 14px;
vertical-align: middle;
}