[epiphany/wip/exalm/urlbar: 4/5] CSS: Apply incognito style to actionbar
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/exalm/urlbar: 4/5] CSS: Apply incognito style to actionbar
- Date: Tue, 29 Jan 2019 17:00:11 +0000 (UTC)
commit aa2f3f23349ce73b4b8d7712ccf49dbb612e58bf
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Tue Jan 29 21:16:52 2019 +0500
CSS: Apply incognito style to actionbar
src/resources/themes/Adwaita.scss | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/src/resources/themes/Adwaita.scss b/src/resources/themes/Adwaita.scss
index ff9b4de48..69434ed03 100644
--- a/src/resources/themes/Adwaita.scss
+++ b/src/resources/themes/Adwaita.scss
@@ -12,17 +12,27 @@
color: transparentize($fg_color, 0.8); // this is the color of the overlayed icon
- > * {
- color: $fg_color;
-
- &:backdrop { color: $backdrop_fg_color }
- }
-
&:backdrop {
background-image: -gtk-icontheme($incognito_icon), image($incognito_color);
box-shadow: inset 0 1px $incognito_edge_color;
color: transparentize($backdrop_fg_color, 0.9); // color of the overlayed icon in backdrop
}
+ }
+
+ actionbar {
+ background: $incognito_color;
+
+ > revealer > box {
+ border-color: $incognito_borders_color;
+ }
+ }
+
+ headerbar, actionbar {
+ > * {
+ color: $fg_color;
+
+ &:backdrop { color: $backdrop_fg_color }
+ }
button { // changing the headerbar background color requires changing widget borders accordingly
@include button(normal, $incognito_color);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]