mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
79 lines
1.7 KiB
CSS
79 lines
1.7 KiB
CSS
.calendar-date-input {
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
.calendar-date-input > input,
|
|
.calendar-date-input > .js-calendar-toggle {
|
|
box-sizing: border-box;
|
|
max-width: 100%;
|
|
}
|
|
.selected-calendar-picker {
|
|
background: inherit;
|
|
color: inherit;
|
|
margin-block: 8px;
|
|
width: 100%;
|
|
}
|
|
.selected-calendar-heading {
|
|
align-items: center;
|
|
display: flex;
|
|
gap: 3px;
|
|
justify-content: space-between;
|
|
}
|
|
.selected-calendar-heading span {
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
.selected-calendar-heading button,
|
|
.selected-calendar-picker .js-calendar-day {
|
|
margin: 0;
|
|
min-width: 24px;
|
|
padding: 4px;
|
|
}
|
|
.calendar-date-input .selected-calendar-picker table {
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
color: inherit;
|
|
}
|
|
.calendar-date-input .selected-calendar-picker table th {
|
|
font-size: calc(10px * var(--wekan-ui-font-scale, 1));
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.calendar-date-input .selected-calendar-picker table td {
|
|
text-align: center;
|
|
padding: 2px;
|
|
}
|
|
.selected-calendar-picker td .js-calendar-day {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 36px;
|
|
padding: 4px 0;
|
|
}
|
|
.selected-calendar-picker .js-calendar-day[aria-pressed='true'] {
|
|
font-weight: bold;
|
|
outline: 2px solid currentColor;
|
|
}
|
|
.calendar-date-input button:focus-visible,
|
|
.calendar-time-input select:focus-visible,
|
|
.calendar-date-input input:focus-visible {
|
|
outline: 2px solid currentColor;
|
|
outline-offset: 2px;
|
|
}
|
|
.calendar-time-input {
|
|
align-items: center;
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
.calendar-time-input select {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-bottom: 0;
|
|
padding-inline: 4px;
|
|
}
|
|
|
|
.selected-calendar-heading .selected-calendar-date {
|
|
margin-inline-start: 4px;
|
|
}
|