diff options
| author | cristiano <[email protected]> | 2020-01-02 19:30:26 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-01-02 19:30:26 +0000 |
| commit | 17603ded046a46bab8ec5efdfe9ddba4506e24fc (patch) | |
| tree | b13e3618e1b8e9640f6f1ec6878e7474aaa6743a /templates/@theme-base | |
| parent | 356f5f5a6c5f9f365c08a843ed6505766a1e7321 (diff) | |
| parent | 195ea4390734fe9d2cc2711fd498fed2f254af46 (diff) | |
| download | protonmail-themes-17603ded046a46bab8ec5efdfe9ddba4506e24fc.tar.xz protonmail-themes-17603ded046a46bab8ec5efdfe9ddba4506e24fc.zip | |
Merge pull request #37 from csalmeida/themes-v4-calendar-fixes
Themes v4 ProtonCalendar fixes
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 |
