From f0c0620ab86cfce7d4d5ee1ba51a232c45d8735e Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 19 Feb 2016 11:06:17 +0100 Subject: dialog fixes --- common/gtk-3.0/3.20/gtk-darker.css | 62 ++++++++++++++++++++++---------------- 1 file changed, 36 insertions(+), 26 deletions(-) (limited to 'common/gtk-3.0/3.20/gtk-darker.css') diff --git a/common/gtk-3.0/3.20/gtk-darker.css b/common/gtk-3.0/3.20/gtk-darker.css index 169786a..4cfa54c 100644 --- a/common/gtk-3.0/3.20/gtk-darker.css +++ b/common/gtk-3.0/3.20/gtk-darker.css @@ -1043,6 +1043,10 @@ headerbar { .titlebar separator, .titlebar .sidebar .view separator, .sidebar .view .titlebar separator { background-color: rgba(38, 42, 51, 0.97); } +headerbar entry, headerbar spinbutton, headerbar button, headerbar separator, headerbar .sidebar separator, .sidebar headerbar separator, headerbar .sidebar .view separator, .sidebar .view headerbar separator { + margin-top: 6px; + margin-bottom: 6px; } + .primary-toolbar separator, .primary-toolbar .sidebar .view separator, .sidebar .view .primary-toolbar separator, headerbar separator.titlebutton, headerbar .sidebar .view separator.titlebutton, .sidebar .view headerbar separator.titlebutton { min-width: 1px; min-height: 1px; @@ -1052,10 +1056,6 @@ headerbar { .primary-toolbar separator:backdrop, headerbar separator.titlebutton:backdrop { opacity: 0.6; } -.primary-toolbar entry, headerbar entry, .primary-toolbar spinbutton, headerbar spinbutton, .primary-toolbar button, headerbar button, .primary-toolbar separator, headerbar separator, headerbar .sidebar separator, .sidebar headerbar separator, .primary-toolbar .sidebar .view separator, .sidebar .view .primary-toolbar separator, headerbar .sidebar .view separator, .sidebar .view headerbar separator { - margin-top: 6px; - margin-bottom: 6px; } - .primary-toolbar entry, headerbar entry, .primary-toolbar spinbutton, headerbar spinbutton, .primary-toolbar spinbutton, headerbar spinbutton { color: rgba(207, 218, 231, 0.8); border-color: rgba(21, 23, 28, 0.37); @@ -2396,28 +2396,38 @@ calendar { calendar.highlight { color: #5c616c; } -messagedialog { - -GtkDialog-button-spacing: 0; } - messagedialog .titlebar { - background-color: rgba(47, 52, 63, 0.97); - border-bottom: 1px solid rgba(32, 35, 43, 0.97); } - messagedialog .dialog-action-area button { - padding: 2px; } - messagedialog.csd.background { - border-bottom-left-radius: 3px; - border-bottom-right-radius: 3px; - border: none; } - messagedialog.csd .dialog-action-area button { - padding: 2px; - border-radius: 0; } - messagedialog.csd .dialog-action-area button, messagedialog.csd .dialog-action-area button:hover, messagedialog.csd .dialog-action-area button:active, messagedialog.csd .dialog-action-area button:disabled { - border-right-style: none; - border-bottom-style: none; } - messagedialog.csd .dialog-action-area button:last-child { - border-bottom-right-radius: 3px; } - messagedialog.csd .dialog-action-area button:first-child { - border-left-style: none; - border-bottom-left-radius: 3px; } +messagedialog .titlebar { + background-color: rgba(47, 52, 63, 0.97); + border-bottom: 1px solid rgba(32, 35, 43, 0.97); } + +messagedialog .dialog-action-area button { + padding: 8px; + min-height: 0; } + +messagedialog.csd.background { + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; + border: none; } + +messagedialog.csd .dialog-action-area button { + border-bottom-style: none; } + +messagedialog.csd .dialog-action-area button { + border-radius: 0; + border-right-style: none; } + +messagedialog.csd .dialog-action-area button:last-child { + border-radius: 0 0 3px 0; + border-right-style: none; } + +messagedialog.csd .dialog-action-area button:first-child { + border-radius: 0 0 0 3px; + border-left-style: none; } + +messagedialog.csd .dialog-action-area button:only-child { + border-radius: 0 0 3px 3px; + border-left-style: none; + border-right-style: none; } .sidebar, .sidebar .view { border: none; -- cgit v1.2.3