[epiphany/wip/exalm/css2] css: Adjust suggestion popover element margins
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/exalm/css2] css: Adjust suggestion popover element margins
- Date: Fri, 29 Mar 2019 19:22:15 +0000 (UTC)
commit b1e6b6b0d6a79b129120f0d4b26337ad6403d9da
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sat Mar 30 00:15:52 2019 +0500
css: Adjust suggestion popover element margins
Thanks to Christian Hergert.
Also regenerate SCSS with the latest Adwaita.
Fixes #692
src/resources/themes/Adwaita-dark.css | 6 +++++-
src/resources/themes/Adwaita.css | 6 +++++-
src/resources/themes/_Adwaita-base.scss | 8 ++++++++
3 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/src/resources/themes/Adwaita-dark.css b/src/resources/themes/Adwaita-dark.css
index 4deb8c4a0..a60601c63 100644
--- a/src/resources/themes/Adwaita-dark.css
+++ b/src/resources/themes/Adwaita-dark.css
@@ -74,7 +74,7 @@
.incognito-mode notebook > header > tabs > tab:backdrop:checked { color: #898e9b; border-color: #1e263b;
background-color: #252f49; }
-.incognito-mode notebook > header > tabs > arrow:active { color: #eeeeec; outline-color: rgba(238, 238, 236,
0.3); border-color: #141927; background-image: image(#151b2a); box-shadow: inset 0 1px rgba(255, 255, 255,
0); text-shadow: none; -gtk-icon-shadow: none; border-color: #1c2438; }
+.incognito-mode notebook > header > tabs > arrow:active { color: #eeeeec; outline-color: rgba(238, 238, 236,
0.3); border-color: #141927; background-image: image(#151b2a); box-shadow: inset 0 1px rgba(255, 255, 255,
0); text-shadow: none; -gtk-icon-shadow: none; }
.incognito-mode headerbar > *, .incognito-mode actionbar > *, .incognito-mode notebook > header > * { color:
#eeeeec; }
@@ -219,3 +219,7 @@ row.narrow .page-row-close-button image { padding: 6px; }
.epiphany-downloads-button-needs-attention { animation: needs_attention_keyframes 2s ease-in-out; }
.epiphany-downloads-button-needs-attention-multiple { animation: needs_attention_keyframes 3s ease-in-out;
animation-iteration-count: 3; }
+
+dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box {
margin-left: 3px; }
+
+dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box .title {
margin-left: 6px; }
diff --git a/src/resources/themes/Adwaita.css b/src/resources/themes/Adwaita.css
index 3defd8856..58a8e151d 100644
--- a/src/resources/themes/Adwaita.css
+++ b/src/resources/themes/Adwaita.css
@@ -74,7 +74,7 @@
.incognito-mode notebook > header > tabs > tab:backdrop:checked { color: #8c9296; border-color: #c9d9eb;
background-color: #eaf0f7; }
-.incognito-mode notebook > header > tabs > arrow:active { color: #2e3436; outline-color: rgba(46, 52, 54,
0.3); border-color: #c4d6e9; background-image: image(#b6cce3); box-shadow: inset 0 1px rgba(255, 255, 255,
0); text-shadow: none; -gtk-icon-shadow: none; border-color: #c1d3e8; }
+.incognito-mode notebook > header > tabs > arrow:active { color: #2e3436; outline-color: rgba(46, 52, 54,
0.3); border-color: #c4d6e9; background-image: image(#b6cce3); box-shadow: inset 0 1px rgba(255, 255, 255,
0); text-shadow: none; -gtk-icon-shadow: none; }
.incognito-mode headerbar > *, .incognito-mode actionbar > *, .incognito-mode notebook > header > * { color:
#2e3436; }
@@ -219,3 +219,7 @@ row.narrow .page-row-close-button image { padding: 6px; }
.epiphany-downloads-button-needs-attention { animation: needs_attention_keyframes 2s ease-in-out; }
.epiphany-downloads-button-needs-attention-multiple { animation: needs_attention_keyframes 3s ease-in-out;
animation-iteration-count: 3; }
+
+dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box {
margin-left: 3px; }
+
+dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box .title {
margin-left: 6px; }
diff --git a/src/resources/themes/_Adwaita-base.scss b/src/resources/themes/_Adwaita-base.scss
index 52b729d75..05a91c2d8 100644
--- a/src/resources/themes/_Adwaita-base.scss
+++ b/src/resources/themes/_Adwaita-base.scss
@@ -282,3 +282,11 @@ $close_button_fg_color: if($variant == 'light', lighten($fg_color, 10%), darken(
animation: needs_attention_keyframes 3s ease-in-out;
animation-iteration-count: 3;
}
+
+dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box {
+ margin-left: 3px;
+
+ .title {
+ margin-left: 6px;
+ }
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]