aboutsummaryrefslogtreecommitdiff
path: root/templates/@theme-base
diff options
context:
space:
mode:
authorcristiano <[email protected]>2020-01-02 22:19:21 +0000
committercristiano <[email protected]>2020-01-02 22:19:21 +0000
commite864c72fd604b640ad7e12d5d5019dc387203914 (patch)
tree58a4d298de30b05f329bcbd9732e7c910cdd9505 /templates/@theme-base
parent17603ded046a46bab8ec5efdfe9ddba4506e24fc (diff)
downloadprotonmail-themes-e864c72fd604b640ad7e12d5d5019dc387203914.tar.xz
protonmail-themes-e864c72fd604b640ad7e12d5d5019dc387203914.zip
Calendar weekday bar.
Diffstat (limited to 'templates/@theme-base')
-rw-r--r--templates/@theme-base/_full.scss10
-rw-r--r--templates/@theme-base/_styles.scss3
2 files changed, 12 insertions, 1 deletions
diff --git a/templates/@theme-base/_full.scss b/templates/@theme-base/_full.scss
index e0240c1..14d050c 100644
--- a/templates/@theme-base/_full.scss
+++ b/templates/@theme-base/_full.scss
@@ -419,4 +419,14 @@ select.pm-field, select.pm-field-icon-container {
.pm-checkbox-fakecheck {
border-color: $highlight;
background: transparent;
+}
+
+// Calendar weekday (monthview)
+.calendar-daygrid-weeknumber {
+ // border-color: white;
+ // border-bottom: 1px solid #dde6ec;
+ // border-bottom: 1px solid var(--bordercolor-input,#dde6ec);
+ // border-right: 1px solid #dde6ec;
+ // border-right: 1px solid var(--bordercolor-input,#dde6ec);
+ background-color: darken($base, 10%);
} \ No newline at end of file
diff --git a/templates/@theme-base/_styles.scss b/templates/@theme-base/_styles.scss
index 65096ea..2d2076c 100644
--- a/templates/@theme-base/_styles.scss
+++ b/templates/@theme-base/_styles.scss
@@ -233,6 +233,7 @@ a:active, a:focus, a:hover,
.calendar-grid-heading[aria-pressed="true"]
.calendar-grid-heading-number,
.minicalendar-day[aria-pressed="true"],
-.minicalendar-day[aria-current="date"]::before {
+.minicalendar-day[aria-current="date"]::before,
+.calendar-monthgrid-day[aria-pressed="true"] .calendar-monthgrid-day-number {
background: darken($highlight, 25%);
} \ No newline at end of file