bitque/jirs-client/js/css/styledDateTimeInput.css

95 lines
2.0 KiB
CSS
Raw Normal View History

2020-08-17 23:18:51 +02:00
.styledDateTimeInput {
position: relative;
}
/* TOOLTIP */
.dateTimeTooltip {
padding: 15px;
position: absolute;
top: -50px;
2020-08-20 23:08:26 +02:00
left: 110px;
width: 610px;
min-width: 610px;
max-width: 610px;
2020-08-20 23:08:26 +02:00
}
.dateTimeTooltip:before {
content: '';
display: block;
width: 20px;
height: 20px;
position: absolute;
left: -10px;
top: 56px;
transform: rotate(45deg);
background: white;
z-index: -1;
border-left: 1px solid rgba(9, 30, 66, 0.25);
border-bottom: 1px solid rgba(9, 30, 66, 0.25);
}
.dateTimeTooltip > h2 {
display: flex;
justify-content: space-between;
margin-bottom: 15px;
font-size: 1.1rem;
}
2020-08-22 21:58:42 +02:00
.dateTimeTooltip > .actions {
display: flex;
justify-content: space-between;
height: 2rem;
line-height: 2rem;
2020-08-17 23:18:51 +02:00
}
.dateTimeTooltip > .calendar {
}
.dateTimeTooltip > .calendar > .week {
display: flex;
}
.dateTimeTooltip > .calendar > .week.weekHeader {
border-bottom: 1px solid var(--textDarkest);
2020-08-22 21:58:42 +02:00
cursor: auto;
}
.dateTimeTooltip > .calendar > .week.weekHeader > .day {
cursor: auto;
2020-08-17 23:18:51 +02:00
}
.dateTimeTooltip > .calendar > .week > .day {
width: calc(100% / 7);
text-align: center;
height: 2rem;
line-height: 2rem;
2020-08-17 23:18:51 +02:00
cursor: pointer;
}
.dateTimeTooltip > .calendar > .week > .day.inCurrentMonth:hover,
.dateTimeTooltip > .calendar > .week > .day.outCurrentMonth:hover {
background: var(--primary);
color: var(--asideIcon);
}
.dateTimeTooltip > .calendar > .week > .day.inCurrentMonth {
color: var(--textDarkest);
}
.dateTimeTooltip > .calendar > .week > .day.outCurrentMonth {
color: var(--textLight);
}
.dateTimeTooltip > .calendar > .week > .day.inCurrentMonth.selected,
.dateTimeTooltip > .calendar > .week > .day.outCurrentMonth.selected {
color: var(--primary);
background: var(--asideIcon);
}
2020-08-17 23:18:51 +02:00
.dateTimeTooltip > .calendar > .week > .day {
font-family: var(--font-medium);
font-size: 1rem;
cursor: pointer;
}