Update TWB-theme (cleaning & minor cosmetic changes (#5027)

This commit is contained in:
TooWaBoo
2018-11-25 09:50:00 +01:00
committed by Roel Baars
parent d1571658f8
commit 67aa52b4ff

View File

@@ -2,7 +2,7 @@
This file is part of RawTherapee. This file is part of RawTherapee.
Copyright (c) 2016-2018 TooWaBoo Copyright (c) 2016-2018 TooWaBoo
Version 2.96 Version 2.98
RawTherapee is free software: you can redistribute it and/or modify RawTherapee is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@@ -164,7 +164,9 @@ undershoot {
} }
label { label {
margin: 0 0.19em; padding: 0.083333333333333333em 0;
margin: 0.19em;
min-height: 1.333333333333333333em;
} }
/*** Frames ************************************************************************************/ /*** Frames ************************************************************************************/
@@ -323,11 +325,8 @@ fontchooser scrolledwindow,
padding-bottom: 0.25em; padding-bottom: 0.25em;
background-color: @bg-dark-grey; background-color: @bg-dark-grey;
} }
#Navigator box label { #Navigator label {
padding: 0.166666666666666666em 0; padding: 0;
}
#Navigator > label:nth-child(2) {
margin-top: 0.5em;
} }
/*** end ***************************************************************************************/ /*** end ***************************************************************************************/
@@ -927,14 +926,18 @@ window.csd:not(.fullscreen) #MainNotebook > header.top {
border-bottom: 0.083333333333333333em solid @view-grid-border; border-bottom: 0.083333333333333333em solid @view-grid-border;
margin-left: 0.083333333333333333em; margin-left: 0.083333333333333333em;
margin-right: 0.083333333333333333em; margin-right: 0.083333333333333333em;
padding: 0 0.19em;
} }
#ToolPanelNotebook > header tabs { #ToolPanelNotebook > header tabs {
margin-bottom: 0.333333333333333333em; margin: 0 0 0.25em;
} }
#ToolPanelNotebook > header tab > box > image{ #ToolPanelNotebook > header tab {
padding: 0;
}
#ToolPanelNotebook > header tab image{
min-height: 2em; min-height: 2em;
min-width: 2em; min-width: 2em;
margin: 0.25em 0 0.333333333333333333em; margin: 0.19em 0.25em 0.333333333333333333em;
padding: 0; padding: 0;
} }
#ToolPanelNotebook > stack { #ToolPanelNotebook > stack {
@@ -963,11 +966,6 @@ window.csd:not(.fullscreen) #MainNotebook > header.top {
#PrefNotebook > header { #PrefNotebook > header {
margin: -0.666666666666666666em -0.666666666666666666em 0.333333333333333333em; margin: -0.666666666666666666em -0.666666666666666666em 0.333333333333333333em;
} }
#PrefNotebook > header tab label,
#AboutNotebook > header tab label {
padding-top: 0.25em;
padding-bottom: 0.25em;
}
#PrefNotebook > stack { #PrefNotebook > stack {
margin: 0 -0.666666666666666666em; margin: 0 -0.666666666666666666em;
} }
@@ -994,9 +992,6 @@ window.csd:not(.fullscreen) #MainNotebook > header.top {
background-color: @bg-dark-grey; background-color: @bg-dark-grey;
padding-left: 0.333333333333333333em; padding-left: 0.333333333333333333em;
} }
#MetaPanelNotebook > header tab label{
margin: 0.083333333333333333em 0.083333333333333333em 0.19em;
}
#MetaPanelNotebook > stack { #MetaPanelNotebook > stack {
background-color: @bg-dark-grey; background-color: @bg-dark-grey;
padding: 0 0 0.5em 0; padding: 0 0 0.5em 0;
@@ -1036,8 +1031,10 @@ window.csd:not(.fullscreen) #MainNotebook > header.top {
background-color: transparent; background-color: transparent;
} }
#MetaPanelNotebook label { #MetaPanelNotebook stack label {
padding: 0.083333333333333333em 0 0; margin-top: 0;
margin-bottom: 0;
padding: 0;
} }
/*** end ***************************************************************************************/ /*** end ***************************************************************************************/
@@ -1093,9 +1090,13 @@ window.csd:not(.fullscreen) #MainNotebook > header.top {
border-left: 0.083333333333333333em solid @bg-dark-grey; border-left: 0.083333333333333333em solid @bg-dark-grey;
} }
/* !!! Must be same height as "Small Lock Button" */
#BeforeAfterContainer label { #BeforeAfterContainer label {
min-height: 2.666666666666666666em;
padding: 0 0.5em; padding: 0 0.5em;
min-height: 2em;
min-width: 2em;
margin: 0.25em 0;
border: 0.083333333333333333em solid transparent;
} }
#EditorToolbarTop { #EditorToolbarTop {
@@ -1478,13 +1479,21 @@ scale + image + image + button.flat {
margin-bottom: 0.095em; margin-bottom: 0.095em;
} }
/*Color chooser & buttons */ /* Color chooser & buttons */
button.color { button.color {
min-height: 1.166666666666666666em; min-width: 3.25em;
min-width: 2.75em; box-shadow: none;
padding: 0.25em; background-image: none;
background-color: transparent;
} }
button.color colorswatch,
button.color colorswatch {
min-height: 0;
min-width: 0;
margin: 1px;
border-radius: 0.2em;
}
colorchooser colorswatch { colorchooser colorswatch {
border: 1px solid @bg-button-border; border: 1px solid @bg-button-border;
} }
@@ -1492,6 +1501,13 @@ colorchooser colorswatch#add-color-button:first-child {
border-radius: 5.5px 0 0 5.5px; border-radius: 5.5px 0 0 5.5px;
} }
/* Font chooser button */
button.font label{
min-height: 0;
min-width: 0;
margin: 0 0.19em;
}
/* Save, Cancel, OK ... buttons */ /* Save, Cancel, OK ... buttons */
dialog .dialog-action-area button { dialog .dialog-action-area button {
min-height: 2.166666666666666666em; min-height: 2.166666666666666666em;
@@ -1708,9 +1724,6 @@ window treeview > header image {
min-width: 1.333333333333333333em; min-width: 1.333333333333333333em;
} }
.view button.text-button label {
margin: 0;
}
window .view button { window .view button {
border: none; border: none;
border-bottom: 0.083333333333333333em solid @view-grid-border; border-bottom: 0.083333333333333333em solid @view-grid-border;
@@ -1792,11 +1805,7 @@ popover button.text-button:active {
/*** end ***************************************************************************************/ /*** end ***************************************************************************************/
/*** Checkbox & Radio **************************************************************************/ /*** Checkbox & Radio **************************************************************************/
checkbutton { checkbutton,
padding: 0;
margin: 0.083333333333333333em 0.19em;
min-height: 1.666666666666666666em;/*x*/
}
radiobutton { radiobutton {
padding: 0.083333333333333333em 0; padding: 0.083333333333333333em 0;
margin: 0.19em; margin: 0.19em;
@@ -1839,16 +1848,11 @@ frame > checkbutton check{
} }
#PartialPaste checkbutton { #PartialPaste checkbutton {
min-height: 1.166666666666666666em; padding: 0;
margin-top: calc(0.416666666666666666em - 4px); margin: 0.19em 0 0 0.583333333333333333em;
margin-bottom: calc(0.416666666666666666em - 4px)
} }
#PartialPaste checkbutton:not(#PartialPasteHeader) { #PartialPaste checkbutton:not(#PartialPasteHeader) {
margin-left: 1.166666666666666666em; margin: 0 0 0 1.166666666666666666em;
}
#PartialPasteHeader {
margin-left: 0.5em;
padding-top: calc(0.666666666666666666em - 5px)
} }
/*** end ***************************************************************************************/ /*** end ***************************************************************************************/
@@ -1908,8 +1912,8 @@ spinbutton {
margin-bottom: 0.333333333333333333em; margin-bottom: 0.333333333333333333em;
} }
#MyExpander checkbutton + label + spinbutton { #MyExpander checkbutton + label + spinbutton {
margin-top: 0.333333333333333333em; margin-top: 0.416666666666666666em;
margin-bottom: 0.333333333333333333em; margin-bottom: 0.416666666666666666em;
} }
/**/ /**/