diff options
| author | cristiano <[email protected]> | 2020-01-02 19:28:09 +0000 |
|---|---|---|
| committer | cristiano <[email protected]> | 2020-01-02 19:28:09 +0000 |
| commit | b32fe71f89eef90494ff602c382fa63e4b89f556 (patch) | |
| tree | 84c6380fdff0cb0282dfb8fb090261251901917b /templates/@theme-base | |
| parent | 356f5f5a6c5f9f365c08a843ed6505766a1e7321 (diff) | |
| download | protonmail-themes-b32fe71f89eef90494ff602c382fa63e4b89f556.tar.xz protonmail-themes-b32fe71f89eef90494ff602c382fa63e4b89f556.zip | |
Adds styles to selected day and weekdays on calendar.
📅
Diffstat (limited to 'templates/@theme-base')
| -rw-r--r-- | templates/@theme-base/_full.scss | 15 | ||||
| -rw-r--r-- | templates/@theme-base/_styles.scss | 8 |
2 files changed, 23 insertions, 0 deletions
diff --git a/templates/@theme-base/_full.scss b/templates/@theme-base/_full.scss index 9a89268..e0240c1 100644 --- a/templates/@theme-base/_full.scss +++ b/templates/@theme-base/_full.scss @@ -404,4 +404,19 @@ select.pm-field, select.pm-field-icon-container { // Plans table .pm-plans-table-row--highlighted { background-color: $base; +} + +// Calendar Weekdays +.calendar-grid-heading, .calendar-monthgrid-day { + color: $text_color; +} + +.calendar-grid-heading[aria-current="date"] { + color: white; +} + +// Calendar checkbox +.pm-checkbox-fakecheck { + border-color: $highlight; + background: transparent; }
\ No newline at end of file diff --git a/templates/@theme-base/_styles.scss b/templates/@theme-base/_styles.scss index a1b41da..65096ea 100644 --- a/templates/@theme-base/_styles.scss +++ b/templates/@theme-base/_styles.scss @@ -227,4 +227,12 @@ a:active, a:focus, a:hover, &::-moz-progress-bar { background: $highlight; } +} + +// Calendar current day +.calendar-grid-heading[aria-pressed="true"] +.calendar-grid-heading-number, +.minicalendar-day[aria-pressed="true"], +.minicalendar-day[aria-current="date"]::before { + background: darken($highlight, 25%); }
\ No newline at end of file |
