From 83696639a7555ea1172292bed851de9427f86f92 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 18 Apr 2019 02:24:41 +0200 Subject: [PATCH] themes: Regenerate CSS Seems to have been forgotten a few times. --- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ gtk/theme/HighContrast/gtk-contained-inverse.css | 4 ++-- gtk/theme/HighContrast/gtk-contained.css | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index f2f2365868..8dbbcb081a 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -1608,6 +1608,8 @@ list row.expander { padding: 0px; } list row.expander .row-header { padding: 2px; } +list.separators row:not(:first-child) { border-top: 1px solid #1b1b1b; } + row { transition: all 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } row:hover { transition: none; } @@ -1674,6 +1676,8 @@ calendar:indeterminate { color: alpha(currentColor,0.1); } /*********** Dialogs * */ messagedialog .titlebar { min-height: 20px; background-image: none; background-color: #353535; border-style: none; border-top-left-radius: 7px; border-top-right-radius: 7px; } +messagedialog box.dialog-vbox.vertical { border-spacing: 10px; } + messagedialog.csd.background { border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; } messagedialog.csd .dialog-action-area button { padding: 10px 14px; border-radius: 0; border-left-style: solid; border-right-style: none; border-bottom-style: none; } diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 5fc529f527..1626af8d75 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -1624,6 +1624,8 @@ list row.expander { padding: 0px; } list row.expander .row-header { padding: 2px; } +list.separators row:not(:first-child) { border-top: 1px solid #cdc7c2; } + row { transition: all 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } row:hover { transition: none; } @@ -1690,6 +1692,8 @@ calendar:indeterminate { color: alpha(currentColor,0.1); } /*********** Dialogs * */ messagedialog .titlebar { min-height: 20px; background-image: none; background-color: #f6f5f4; border-style: none; border-top-left-radius: 7px; border-top-right-radius: 7px; } +messagedialog box.dialog-vbox.vertical { border-spacing: 10px; } + messagedialog.csd.background { border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; } messagedialog.csd .dialog-action-area button { padding: 10px 14px; border-radius: 0; border-left-style: solid; border-right-style: none; border-bottom-style: none; } diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css b/gtk/theme/HighContrast/gtk-contained-inverse.css index 69a15db18a..1686c763bb 100644 --- a/gtk/theme/HighContrast/gtk-contained-inverse.css +++ b/gtk/theme/HighContrast/gtk-contained-inverse.css @@ -34,7 +34,7 @@ @define-color content_view_bg #111; * { padding: 0; -gtk-icon-style: symbolic; outline-style: none; } -*:focus(visible) { outline-color: currentColor; outline-style: dashed; outline-offset: -4px; outline-width: 2px; -gtk-outline-radius: 2px; } +button:focus, checkbutton:focus, radiobutton:focus, switch:focus, scale:focus, label:focus, row:focus, flowboxchild:focus { outline-color: currentColor; outline-style: dashed; outline-offset: -4px; outline-width: 2px; -gtk-outline-radius: 2px; } /*************** Base States * */ .background { color: #fff; background-color: #000; } @@ -1464,7 +1464,7 @@ colorswatch:only-child > overlay { border-radius: 5px; } colorswatch.activatable:hover, colorswatch.activatable:hover:selected { background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 50%); box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), inset 0 -1px rgba(0, 0, 0, 0.4); } -colorswatch:backdrop, colorswatch:backdrop:selectedi, colorswatch.dark:backdrop, colorswatch.dark:backdrop:selected { background-image: none; box-shadow: none; } +colorswatch:backdrop, colorswatch:backdrop:selected, colorswatch.dark:backdrop, colorswatch.dark:backdrop:selected { background-image: none; box-shadow: none; } colorswatch.dark { color: white; border: 1px solid rgba(0, 0, 0, 0.3); } diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css index 8d791def49..139ecd2be9 100644 --- a/gtk/theme/HighContrast/gtk-contained.css +++ b/gtk/theme/HighContrast/gtk-contained.css @@ -34,7 +34,7 @@ @define-color content_view_bg #fff; * { padding: 0; -gtk-icon-style: symbolic; outline-style: none; } -*:focus(visible) { outline-color: currentColor; outline-style: dashed; outline-offset: -4px; outline-width: 2px; -gtk-outline-radius: 2px; } +button:focus, checkbutton:focus, radiobutton:focus, switch:focus, scale:focus, label:focus, row:focus, flowboxchild:focus { outline-color: currentColor; outline-style: dashed; outline-offset: -4px; outline-width: 2px; -gtk-outline-radius: 2px; } /*************** Base States * */ .background { color: #000; background-color: #fff; }