Skip to content

Commit

Permalink
client: Improve calendar design slightly (closes #374)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Aug 31, 2024
1 parent 8405641 commit dab9707
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions src/public/stylesheets/calendar.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
.calendar-dropdown-widget .calendar-btn {
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-appearance: button;
appearance: none;
background: none;
border: 0;
color: inherit;
Expand All @@ -33,17 +35,22 @@

.calendar-dropdown-widget .calendar-header > div {
display: flex;
justify-content: center;
flex-grow: 1;
}

.calendar-dropdown-widget .calendar-header-label {
font-weight: bold;
text-align: center;
width: 100%;
.calendar-dropdown-widget .calendar-header select {
cursor: pointer;
}

.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;
border: 0;
border-bottom: 1px solid var(--button-border-color);
background-color: var(--menu-background-color) !important;
outline: 0;
}

.calendar-dropdown-widget .calendar-week {
Expand All @@ -60,7 +67,6 @@
padding-top: 5px;
padding-bottom: 5px;
text-align: center;
text-transform: uppercase;
}

.calendar-dropdown-widget .calendar-body {
Expand Down
2 changes: 1 addition & 1 deletion src/public/translations/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@
"sun": "Sun",
"cannot_find_day_note": "Cannot find day note",
"january": "January",
"febuary": "Febuary",
"febuary": "February",
"march": "March",
"april": "April",
"may": "May",
Expand Down

0 comments on commit dab9707

Please sign in to comment.