mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
client: Improve calendar design slightly (closes #374)
This commit is contained in:
parent
84056415ca
commit
dab97071c0
@ -11,7 +11,9 @@
|
|||||||
.calendar-dropdown-widget .calendar-btn {
|
.calendar-dropdown-widget .calendar-btn {
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
-webkit-appearance: button;
|
-webkit-appearance: button;
|
||||||
|
appearance: none;
|
||||||
background: none;
|
background: none;
|
||||||
border: 0;
|
border: 0;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
@ -33,17 +35,22 @@
|
|||||||
|
|
||||||
.calendar-dropdown-widget .calendar-header > div {
|
.calendar-dropdown-widget .calendar-header > div {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-dropdown-widget .calendar-header-label {
|
.calendar-dropdown-widget .calendar-header select {
|
||||||
font-weight: bold;
|
cursor: pointer;
|
||||||
text-align: center;
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-dropdown-widget select[data-calendar-input="month"] {
|
.calendar-dropdown-widget .calendar-header input,
|
||||||
|
.calendar-dropdown-widget .calendar-header select {
|
||||||
|
appearance: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
border: 0;
|
||||||
|
border-bottom: 1px solid var(--button-border-color);
|
||||||
|
background-color: var(--menu-background-color) !important;
|
||||||
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-dropdown-widget .calendar-week {
|
.calendar-dropdown-widget .calendar-week {
|
||||||
@ -60,7 +67,6 @@
|
|||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-dropdown-widget .calendar-body {
|
.calendar-dropdown-widget .calendar-body {
|
||||||
|
@ -548,7 +548,7 @@
|
|||||||
"sun": "Sun",
|
"sun": "Sun",
|
||||||
"cannot_find_day_note": "Cannot find day note",
|
"cannot_find_day_note": "Cannot find day note",
|
||||||
"january": "January",
|
"january": "January",
|
||||||
"febuary": "Febuary",
|
"febuary": "February",
|
||||||
"march": "March",
|
"march": "March",
|
||||||
"april": "April",
|
"april": "April",
|
||||||
"may": "May",
|
"may": "May",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user