Skip to content

Commit c3ffe00

Browse files
committed
update
1 parent bd80fe8 commit c3ffe00

13 files changed

+124
-27
lines changed

src/_sass/gnome-shell/widgets/_calendar.scss

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,27 +94,40 @@
9494
}
9595

9696
.pager-button {
97-
width: $menuitem-size;
98-
height: $menuitem-size;
97+
width: $menuitem-size !important;
98+
height: $menuitem-size !important;
9999
margin: 2px;
100+
padding: 2px !important;
100101
border-radius: $circular-radius;
101102
background-color: transparent;
102103
color: $text-secondary;
103104

104-
&:hover, &:focus { color: $text; background-color: $secondary-fill; }
105+
&:hover, &:focus {
106+
color: $text;
107+
background-color: $secondary-fill;
108+
box-shadow: none !important;
109+
}
105110

106111
&:active { color: $text; background-color: $track; }
107112
}
108113

114+
// prev/next month icons
115+
.calendar-change-month-back StIcon,
116+
.calendar-change-month-forward StIcon {
117+
icon-size: $base-icon-size;
118+
}
119+
109120
.calendar-change-month-back { //arrow back
110121
padding: 0 2px;
111122
background-image: url("assets/calendar-arrow-left.svg");
123+
112124
&:rtl { background-image: url("assets/calendar-arrow-right.svg"); }
113125
}
114126

115127
.calendar-change-month-forward { //arrow foreward
116128
padding: 0 2px;
117129
background-image: url("assets/calendar-arrow-right.svg");
130+
118131
&:rtl { background-image: url("assets/calendar-arrow-left.svg"); }
119132
}
120133

src/gnome-shell/shell-40-0/gnome-shell-Compact.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,9 +748,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
748748
}
749749

750750
.pager-button {
751-
width: 24px;
752-
height: 24px;
751+
width: 24px !important;
752+
height: 24px !important;
753753
margin: 2px;
754+
padding: 2px !important;
754755
border-radius: 9999px;
755756
background-color: transparent;
756757
color: rgba(0, 0, 0, 0.6);
@@ -759,13 +760,19 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
759760
.pager-button:hover, .pager-button:focus {
760761
color: rgba(0, 0, 0, 0.87);
761762
background-color: rgba(0, 0, 0, 0.08);
763+
box-shadow: none !important;
762764
}
763765

764766
.pager-button:active {
765767
color: rgba(0, 0, 0, 0.87);
766768
background-color: rgba(0, 0, 0, 0.26);
767769
}
768770

771+
.calendar-change-month-back StIcon,
772+
.calendar-change-month-forward StIcon {
773+
icon-size: 16px;
774+
}
775+
769776
.calendar-change-month-back {
770777
padding: 0 2px;
771778
background-image: url("assets/calendar-arrow-left.svg");

src/gnome-shell/shell-40-0/gnome-shell-Dark-Compact.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,9 +756,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
756756
}
757757

758758
.pager-button {
759-
width: 24px;
760-
height: 24px;
759+
width: 24px !important;
760+
height: 24px !important;
761761
margin: 2px;
762+
padding: 2px !important;
762763
border-radius: 9999px;
763764
background-color: transparent;
764765
color: rgba(255, 255, 255, 0.7);
@@ -767,13 +768,19 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
767768
.pager-button:hover, .pager-button:focus {
768769
color: white;
769770
background-color: rgba(255, 255, 255, 0.08);
771+
box-shadow: none !important;
770772
}
771773

772774
.pager-button:active {
773775
color: white;
774776
background-color: rgba(255, 255, 255, 0.3);
775777
}
776778

779+
.calendar-change-month-back StIcon,
780+
.calendar-change-month-forward StIcon {
781+
icon-size: 16px;
782+
}
783+
777784
.calendar-change-month-back {
778785
padding: 0 2px;
779786
background-image: url("assets/calendar-arrow-left.svg");

src/gnome-shell/shell-40-0/gnome-shell-Dark.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,9 +756,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
756756
}
757757

758758
.pager-button {
759-
width: 28px;
760-
height: 28px;
759+
width: 28px !important;
760+
height: 28px !important;
761761
margin: 2px;
762+
padding: 2px !important;
762763
border-radius: 9999px;
763764
background-color: transparent;
764765
color: rgba(255, 255, 255, 0.7);
@@ -767,13 +768,19 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
767768
.pager-button:hover, .pager-button:focus {
768769
color: white;
769770
background-color: rgba(255, 255, 255, 0.08);
771+
box-shadow: none !important;
770772
}
771773

772774
.pager-button:active {
773775
color: white;
774776
background-color: rgba(255, 255, 255, 0.3);
775777
}
776778

779+
.calendar-change-month-back StIcon,
780+
.calendar-change-month-forward StIcon {
781+
icon-size: 16px;
782+
}
783+
777784
.calendar-change-month-back {
778785
padding: 0 2px;
779786
background-image: url("assets/calendar-arrow-left.svg");

src/gnome-shell/shell-40-0/gnome-shell.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,9 +748,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
748748
}
749749

750750
.pager-button {
751-
width: 28px;
752-
height: 28px;
751+
width: 28px !important;
752+
height: 28px !important;
753753
margin: 2px;
754+
padding: 2px !important;
754755
border-radius: 9999px;
755756
background-color: transparent;
756757
color: rgba(0, 0, 0, 0.6);
@@ -759,13 +760,19 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
759760
.pager-button:hover, .pager-button:focus {
760761
color: rgba(0, 0, 0, 0.87);
761762
background-color: rgba(0, 0, 0, 0.08);
763+
box-shadow: none !important;
762764
}
763765

764766
.pager-button:active {
765767
color: rgba(0, 0, 0, 0.87);
766768
background-color: rgba(0, 0, 0, 0.26);
767769
}
768770

771+
.calendar-change-month-back StIcon,
772+
.calendar-change-month-forward StIcon {
773+
icon-size: 16px;
774+
}
775+
769776
.calendar-change-month-back {
770777
padding: 0 2px;
771778
background-image: url("assets/calendar-arrow-left.svg");

src/gnome-shell/shell-42-0/gnome-shell-Compact.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -844,9 +844,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
844844
}
845845

846846
.pager-button {
847-
width: 24px;
848-
height: 24px;
847+
width: 24px !important;
848+
height: 24px !important;
849849
margin: 2px;
850+
padding: 2px !important;
850851
border-radius: 9999px;
851852
background-color: transparent;
852853
color: rgba(0, 0, 0, 0.6);
@@ -855,13 +856,19 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
855856
.pager-button:hover, .pager-button:focus {
856857
color: rgba(0, 0, 0, 0.87);
857858
background-color: rgba(0, 0, 0, 0.08);
859+
box-shadow: none !important;
858860
}
859861

860862
.pager-button:active {
861863
color: rgba(0, 0, 0, 0.87);
862864
background-color: rgba(0, 0, 0, 0.26);
863865
}
864866

867+
.calendar-change-month-back StIcon,
868+
.calendar-change-month-forward StIcon {
869+
icon-size: 16px;
870+
}
871+
865872
.calendar-change-month-back {
866873
padding: 0 2px;
867874
background-image: url("assets/calendar-arrow-left.svg");

src/gnome-shell/shell-42-0/gnome-shell-Dark-Compact.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -852,9 +852,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
852852
}
853853

854854
.pager-button {
855-
width: 24px;
856-
height: 24px;
855+
width: 24px !important;
856+
height: 24px !important;
857857
margin: 2px;
858+
padding: 2px !important;
858859
border-radius: 9999px;
859860
background-color: transparent;
860861
color: rgba(255, 255, 255, 0.7);
@@ -863,13 +864,19 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
863864
.pager-button:hover, .pager-button:focus {
864865
color: white;
865866
background-color: rgba(255, 255, 255, 0.08);
867+
box-shadow: none !important;
866868
}
867869

868870
.pager-button:active {
869871
color: white;
870872
background-color: rgba(255, 255, 255, 0.3);
871873
}
872874

875+
.calendar-change-month-back StIcon,
876+
.calendar-change-month-forward StIcon {
877+
icon-size: 16px;
878+
}
879+
873880
.calendar-change-month-back {
874881
padding: 0 2px;
875882
background-image: url("assets/calendar-arrow-left.svg");

src/gnome-shell/shell-42-0/gnome-shell-Dark.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -852,9 +852,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
852852
}
853853

854854
.pager-button {
855-
width: 28px;
856-
height: 28px;
855+
width: 28px !important;
856+
height: 28px !important;
857857
margin: 2px;
858+
padding: 2px !important;
858859
border-radius: 9999px;
859860
background-color: transparent;
860861
color: rgba(255, 255, 255, 0.7);
@@ -863,13 +864,19 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
863864
.pager-button:hover, .pager-button:focus {
864865
color: white;
865866
background-color: rgba(255, 255, 255, 0.08);
867+
box-shadow: none !important;
866868
}
867869

868870
.pager-button:active {
869871
color: white;
870872
background-color: rgba(255, 255, 255, 0.3);
871873
}
872874

875+
.calendar-change-month-back StIcon,
876+
.calendar-change-month-forward StIcon {
877+
icon-size: 16px;
878+
}
879+
873880
.calendar-change-month-back {
874881
padding: 0 2px;
875882
background-image: url("assets/calendar-arrow-left.svg");

src/gnome-shell/shell-42-0/gnome-shell.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -844,9 +844,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
844844
}
845845

846846
.pager-button {
847-
width: 28px;
848-
height: 28px;
847+
width: 28px !important;
848+
height: 28px !important;
849849
margin: 2px;
850+
padding: 2px !important;
850851
border-radius: 9999px;
851852
background-color: transparent;
852853
color: rgba(0, 0, 0, 0.6);
@@ -855,13 +856,19 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
855856
.pager-button:hover, .pager-button:focus {
856857
color: rgba(0, 0, 0, 0.87);
857858
background-color: rgba(0, 0, 0, 0.08);
859+
box-shadow: none !important;
858860
}
859861

860862
.pager-button:active {
861863
color: rgba(0, 0, 0, 0.87);
862864
background-color: rgba(0, 0, 0, 0.26);
863865
}
864866

867+
.calendar-change-month-back StIcon,
868+
.calendar-change-month-forward StIcon {
869+
icon-size: 16px;
870+
}
871+
865872
.calendar-change-month-back {
866873
padding: 0 2px;
867874
background-image: url("assets/calendar-arrow-left.svg");

src/gnome-shell/shell-44-0/gnome-shell-Compact.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,9 +869,10 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
869869
}
870870

871871
.pager-button {
872-
width: 24px;
873-
height: 24px;
872+
width: 24px !important;
873+
height: 24px !important;
874874
margin: 2px;
875+
padding: 2px !important;
875876
border-radius: 9999px;
876877
background-color: transparent;
877878
color: rgba(0, 0, 0, 0.6);
@@ -880,13 +881,19 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
880881
.pager-button:hover, .pager-button:focus {
881882
color: rgba(0, 0, 0, 0.87);
882883
background-color: rgba(0, 0, 0, 0.08);
884+
box-shadow: none !important;
883885
}
884886

885887
.pager-button:active {
886888
color: rgba(0, 0, 0, 0.87);
887889
background-color: rgba(0, 0, 0, 0.26);
888890
}
889891

892+
.calendar-change-month-back StIcon,
893+
.calendar-change-month-forward StIcon {
894+
icon-size: 16px;
895+
}
896+
890897
.calendar-change-month-back {
891898
padding: 0 2px;
892899
background-image: url("assets/calendar-arrow-left.svg");

0 commit comments

Comments
 (0)