From 573176b52fb1f41148eece7e9c61d6892d1e39b2 Mon Sep 17 00:00:00 2001 From: TooWaBoo Date: Fri, 12 Apr 2019 14:06:12 +0200 Subject: [PATCH] Theme: Smaller buttons and spacing --- rtdata/themes/TooWaBlue-GTK3-20_.css | 52 +++++++++++++--------------- 1 file changed, 24 insertions(+), 28 deletions(-) diff --git a/rtdata/themes/TooWaBlue-GTK3-20_.css b/rtdata/themes/TooWaBlue-GTK3-20_.css index a3214b45c..e1938617f 100644 --- a/rtdata/themes/TooWaBlue-GTK3-20_.css +++ b/rtdata/themes/TooWaBlue-GTK3-20_.css @@ -2,7 +2,7 @@ This file is part of RawTherapee. Copyright (c) 2016-2019 TooWaBoo - Version 3.05 + Version 3.06 RawTherapee is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -163,7 +163,7 @@ undershoot { label { padding: 0.083333333333333333em 0; - margin: 0.19em; + margin: 0.125em; min-height: 1.333333333333333333em; } @@ -1341,7 +1341,7 @@ button, #BeforeAfterContainer button { min-height: 1.666666666666666666em; min-width: 1.666666666666666666em;/*x*/ - margin: 0.19em; + margin: 0.125em; border-radius: 0.2em; border: 0.083333333333333333em solid @bg-button-border; background-color: transparent; @@ -1414,7 +1414,7 @@ combobox entry.combo + button.combo { } #WB-Size-Helper { min-width: 3.5em; - margin: 0.19em; + margin: 0.125em; } combobox arrow { @@ -1536,9 +1536,9 @@ messagedialog .dialog-action-area button:not(:only-child):nth-child(2) { #RightNotebook > stack > scrolledwindow:last-child button.image-button, /* Fast Export */ #MetaPanelNotebook scrolledwindow + grid > button, #MetaPanelNotebook scrolledwindow + grid + grid > button { - min-height: 2.5em; - min-width: 2.5em; - margin: 0 0.19em; + min-height: 2.333333333333333333em; + min-width: 2.333333333333333333em; + margin: 0 0.125em; } #ToolBarPanelFileBrowser > button:first-child, #EditorTopPanel > button:first-child, @@ -1558,39 +1558,35 @@ messagedialog .dialog-action-area button:not(:only-child):nth-child(2) { #MyExpander button.independent.toggle:not(.image-button):not(.text-button):first-child:only-child, /* Graduated filter button */ #MetaPanelNotebook scrolledwindow + grid > button, #MetaPanelNotebook scrolledwindow + grid + grid > button { - margin: 0.19em; + margin: 0.125em; } #EditorTopPanel button.narrowbutton { - min-width: 0.833333333333333333em; - padding: 0 0.166666666666666666em; + min-width: 0; + padding: 0 0.13em; } /* Image close button */ #MainNotebook > header tab #CloseButton { - padding: 0; - margin: 0.333333333333333333em 0 0.416666666666666666em 0.19em; - min-width: 1.5em; + padding: 0.166666666666666666em; + margin: 0.333333333333333333em 0 0.5em 0.19em; + min-width: 0; min-height: 0; } -#MainNotebook > header tab #CloseButton image{ - min-width: 1.333333333333333333em; - min-height: 1.333333333333333333em; -} /* Filter buttons*/ #ToolBarPanelFileBrowser .smallbuttonbox { - min-height: 1.333333333333333333em; + min-height: 0; padding: 0; margin: 0; } #ToolBarPanelFileBrowser .smallbuttonbox:nth-child(2) { - margin: 0.083333333333333333em 0 -0.166666666666666666em; + margin-top: 0.12em; } #ToolBarPanelFileBrowser .smallbuttonbox button.smallbutton image { - margin: -0.19em; - min-width: 1.333333333333333333em; - min-height: 1.333333333333333333em; + margin: -0.12em; + min-width: 0; + min-height: 0; } #ToolBarPanelFileBrowser .smallbuttonbox button.smallbutton { min-height: 0; @@ -1806,7 +1802,7 @@ popover button.text-button:active { checkbutton, radiobutton { padding: 0.083333333333333333em 0; - margin: 0.19em; + margin: 0.125em; min-height: 1.666666666666666666em;/*x*/ } @@ -1847,10 +1843,10 @@ frame > checkbutton check{ #PartialPaste checkbutton { padding: 0; - margin: 0.19em 0 0 0.583333333333333333em; + margin: 0 0 0 0.583333333333333333em; } #PartialPaste checkbutton:not(#PartialPasteHeader) { - margin: 0 0 0 1.166666666666666666em; + margin: 0 0 0 1.125em; } /*** end ***************************************************************************************/ @@ -1859,7 +1855,7 @@ frame > checkbutton check{ #MyExpander entry, entry, spinbutton { - margin: 0.19em; + margin: 0.125em; padding: 0 0.333333333333333333em; min-height: 1.666666666666666666em;/*x*/ min-width: 0; @@ -1891,7 +1887,7 @@ spinbutton { } #MyExpander spinbutton { - margin: 0.19em; + margin: 0.125em; padding: 0; min-height: 1.333333333333333333em; min-width: 0; @@ -1996,7 +1992,7 @@ entry:focus > selection { /* Curves **************************************************************************************/ .curve-mainbox { - margin: 0.19em; + margin: 0.125em; border: 0.083333333333333333em solid @border-color; } .curve-mainbox .curve-curvebox {