[gtk/wip/jimmac/adwaita-3-32-noshadow: 100/106] Adwaita: selection dropdown vcentering



commit 9728a311dd1f4abaa59db6df3b4925c2dc0ec14d
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Dec 13 12:18:37 2018 +0100

    Adwaita: selection dropdown vcentering
    
    - somewhat odd off-center vertical centering on the selection
      filter popover

 gtk/theme/Adwaita/_common.scss           | 4 ++--
 gtk/theme/Adwaita/gtk-contained-dark.css | 2 +-
 gtk/theme/Adwaita/gtk-contained.css      | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index e176988cc0..ff128317ff 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1633,8 +1633,8 @@ headerbar {
         background-color: transparentize($selected_bg_color, 1);
         background-image: none;
         box-shadow: none;
-        padding-left: 10px;
-        padding-right: 10px;
+        min-height: 20px;
+        padding: 6px 10px;
 
         arrow { -GtkArrow-arrow-scaling: 1; }
 
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index a25ebbd055..b0906e5bd3 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -656,7 +656,7 @@ searchbar > revealer > box { margin: -6px; padding: 6px; }
 
 .selection-mode .titlebar:not(headerbar) button.suggested-action:backdrop:disabled label, .selection-mode 
.titlebar:not(headerbar) button.suggested-action:backdrop:disabled, .selection-mode.titlebar:not(headerbar) 
button.suggested-action:backdrop:disabled label, .selection-mode.titlebar:not(headerbar) 
button.suggested-action:backdrop:disabled, .selection-mode headerbar 
button.suggested-action:backdrop:disabled label, .selection-mode headerbar 
button.suggested-action:backdrop:disabled, headerbar.selection-mode button.suggested-action:backdrop:disabled 
label, headerbar.selection-mode button.suggested-action:backdrop:disabled { color: #656466; }
 
-.selection-mode .titlebar:not(headerbar) .selection-menu:backdrop, .selection-mode .titlebar:not(headerbar) 
.selection-menu, .selection-mode.titlebar:not(headerbar) .selection-menu:backdrop, 
.selection-mode.titlebar:not(headerbar) .selection-menu, .selection-mode headerbar .selection-menu:backdrop, 
.selection-mode headerbar .selection-menu, headerbar.selection-mode .selection-menu:backdrop, 
headerbar.selection-mode .selection-menu { border-color: rgba(21, 83, 158, 0); background-color: rgba(21, 83, 
158, 0); background-image: none; box-shadow: none; padding-left: 10px; padding-right: 10px; }
+.selection-mode .titlebar:not(headerbar) .selection-menu:backdrop, .selection-mode .titlebar:not(headerbar) 
.selection-menu, .selection-mode.titlebar:not(headerbar) .selection-menu:backdrop, 
.selection-mode.titlebar:not(headerbar) .selection-menu, .selection-mode headerbar .selection-menu:backdrop, 
.selection-mode headerbar .selection-menu, headerbar.selection-mode .selection-menu:backdrop, 
headerbar.selection-mode .selection-menu { border-color: rgba(21, 83, 158, 0); background-color: rgba(21, 83, 
158, 0); background-image: none; box-shadow: none; min-height: 20px; padding: 6px 10px; }
 
 .selection-mode .titlebar:not(headerbar) .selection-menu:backdrop arrow, .selection-mode 
.titlebar:not(headerbar) .selection-menu arrow, .selection-mode.titlebar:not(headerbar) 
.selection-menu:backdrop arrow, .selection-mode.titlebar:not(headerbar) .selection-menu arrow, 
.selection-mode headerbar .selection-menu:backdrop arrow, .selection-mode headerbar .selection-menu arrow, 
headerbar.selection-mode .selection-menu:backdrop arrow, headerbar.selection-mode .selection-menu arrow { 
-GtkArrow-arrow-scaling: 1; }
 
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 15f7850ca6..93ef25ed4a 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -664,7 +664,7 @@ searchbar > revealer > box { margin: -6px; padding: 6px; }
 
 .selection-mode .titlebar:not(headerbar) button.suggested-action:backdrop:disabled label, .selection-mode 
.titlebar:not(headerbar) button.suggested-action:backdrop:disabled, .selection-mode.titlebar:not(headerbar) 
button.suggested-action:backdrop:disabled label, .selection-mode.titlebar:not(headerbar) 
button.suggested-action:backdrop:disabled, .selection-mode headerbar 
button.suggested-action:backdrop:disabled label, .selection-mode headerbar 
button.suggested-action:backdrop:disabled, headerbar.selection-mode button.suggested-action:backdrop:disabled 
label, headerbar.selection-mode button.suggested-action:backdrop:disabled { color: #d4cfca; }
 
-.selection-mode .titlebar:not(headerbar) .selection-menu:backdrop, .selection-mode .titlebar:not(headerbar) 
.selection-menu, .selection-mode.titlebar:not(headerbar) .selection-menu:backdrop, 
.selection-mode.titlebar:not(headerbar) .selection-menu, .selection-mode headerbar .selection-menu:backdrop, 
.selection-mode headerbar .selection-menu, headerbar.selection-mode .selection-menu:backdrop, 
headerbar.selection-mode .selection-menu { border-color: rgba(53, 132, 228, 0); background-color: rgba(53, 
132, 228, 0); background-image: none; box-shadow: none; padding-left: 10px; padding-right: 10px; }
+.selection-mode .titlebar:not(headerbar) .selection-menu:backdrop, .selection-mode .titlebar:not(headerbar) 
.selection-menu, .selection-mode.titlebar:not(headerbar) .selection-menu:backdrop, 
.selection-mode.titlebar:not(headerbar) .selection-menu, .selection-mode headerbar .selection-menu:backdrop, 
.selection-mode headerbar .selection-menu, headerbar.selection-mode .selection-menu:backdrop, 
headerbar.selection-mode .selection-menu { border-color: rgba(53, 132, 228, 0); background-color: rgba(53, 
132, 228, 0); background-image: none; box-shadow: none; min-height: 20px; padding: 6px 10px; }
 
 .selection-mode .titlebar:not(headerbar) .selection-menu:backdrop arrow, .selection-mode 
.titlebar:not(headerbar) .selection-menu arrow, .selection-mode.titlebar:not(headerbar) 
.selection-menu:backdrop arrow, .selection-mode.titlebar:not(headerbar) .selection-menu arrow, 
.selection-mode headerbar .selection-menu:backdrop arrow, .selection-mode headerbar .selection-menu arrow, 
headerbar.selection-mode .selection-menu:backdrop arrow, headerbar.selection-mode .selection-menu arrow { 
-GtkArrow-arrow-scaling: 1; }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]