Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit ebdd6a9

Browse files
cedriciumvladikoff
authored andcommitted
Fix styling for footer button (dark theme) (#763) r=@vladikoff
Fixes #734. This adds the appropriate background colors when either hovering or when the button is focused or active. Also included was changing the syncing icon to be blue when hovered or in an active state, matching the default light theme.
1 parent 164970e commit ebdd6a9

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

src/sidebar/static/css/styles-dark.css

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ body {
77
}
88

99
#enable-sync svg path {
10-
fill: #e6e6e6 !important;
10+
fill: #e6e6e6;
11+
}
12+
13+
.animateSyncIcon #enable-sync svg path,
14+
.syncingLayout>div:hover #enable-sync svg path {
15+
fill: #4e92dd;
1116
}
1217

1318
#footer-buttons.warning #enable-sync svg path {
@@ -34,12 +39,20 @@ body {
3439
color: #e6e6e6 !important;
3540
}
3641

42+
#footer-buttons div:first-child.isClickable button {
43+
background: none;
44+
color: #e6e6e6 !important;
45+
}
46+
47+
#footer-buttons.savingLayout div:first-child.isClickable button:focus,
3748
.photon-menu #context-menu-button:focus {
3849
background-color: #272b35;
3950
}
51+
#footer-buttons.savingLayout div:first-child.isClickable button:hover,
4052
.photon-menu #context-menu-button:hover {
4153
background-color: #323744;
4254
}
55+
#footer-buttons.savingLayout div:first-child.isClickable button:active,
4356
.photon-menu #context-menu-button:active {
4457
background-color: #3d4352;
4558
}
@@ -72,11 +85,6 @@ body {
7285
color: inherit !important;
7386
}
7487

75-
#footer-buttons div:first-child.isClickable button {
76-
background: none !important;
77-
color: #e6e6e6 !important;
78-
}
79-
8088
.warning #syncing-indicator,
8189
#footer-buttons.warning div:first-child.isClickable button {
8290
color: black !important;

0 commit comments

Comments
 (0)