Theme tweaks in light of new icons, #4469

- Button and combobox sizes consistent.
- Padding around left and right edges of comboboxes.
- Fixed bug in green channel preview togglebutton icon always being
  shown as "off".
- Added CSS classes to various elements.
This commit is contained in:
Morgan Hardwood
2018-07-18 19:37:24 +02:00
parent 2a359ce04a
commit 5309307c7b
15 changed files with 93 additions and 7 deletions

View File

@@ -2210,7 +2210,7 @@ TP_WBALANCE_EQBLUERED_TOOLTIP;Allows to deviate from the normal behaviour of "wh
!TP_WBALANCE_SOLUX41;Solux 4100K
!TP_WBALANCE_SOLUX47;Solux 4700K (vendor)
!TP_WBALANCE_SOLUX47_NG;Solux 4700K (Nat. Gallery)
!TP_WBALANCE_SPOTWB;Spot WB
!TP_WBALANCE_SPOTWB;Use the pipette to pick the white balance from a neutral patch in the preview.
!TP_WBALANCE_TEMPBIAS;AWB temperature bias
!TP_WBALANCE_TEMPBIAS_TOOLTIP;Allows to alter the computation of the "auto white balance"\nby biasing it towards warmer or cooler temperatures. The bias\nis expressed as a percentage of the computed temperature,\nso that the result is given by "computedTemp + computedTemp * bias".
!TP_WBALANCE_TEMPERATURE;Temperature

View File

@@ -2210,7 +2210,7 @@
!TP_WBALANCE_SOLUX41;Solux 4100K
!TP_WBALANCE_SOLUX47;Solux 4700K (vendor)
!TP_WBALANCE_SOLUX47_NG;Solux 4700K (Nat. Gallery)
!TP_WBALANCE_SPOTWB;Spot WB
!TP_WBALANCE_SPOTWB;Use the pipette to pick the white balance from a neutral patch in the preview.
!TP_WBALANCE_TEMPBIAS;AWB temperature bias
!TP_WBALANCE_TEMPBIAS_TOOLTIP;Allows to alter the computation of the "auto white balance"\nby biasing it towards warmer or cooler temperatures. The bias\nis expressed as a percentage of the computed temperature,\nso that the result is given by "computedTemp + computedTemp * bias".
!TP_WBALANCE_TEMPERATURE;Temperature

View File

@@ -2198,7 +2198,7 @@ TP_WBALANCE_SOLUX35;Solux 3500K
TP_WBALANCE_SOLUX41;Solux 4100K
TP_WBALANCE_SOLUX47;Solux 4700K (vendor)
TP_WBALANCE_SOLUX47_NG;Solux 4700K (Galeria Nat.)
TP_WBALANCE_SPOTWB;Spot WB
TP_WBALANCE_SPOTWB;Use the pipette to pick the white balance from a neutral patch in the preview.
TP_WBALANCE_TEMPBIAS;Viés de temperatura AWB
TP_WBALANCE_TEMPBIAS_TOOLTIP;Permite alterar o cálculo do "balanço de branco automático"\ninclinando-o para temperaturas mais quentes ou mais frias. O viés\né expresso como uma porcentagem da temperatura calculada,\npara que o resultado seja dado por "Temperatura calculada + Temperatura calculada * viés".
TP_WBALANCE_TEMPERATURE;Temperatura

View File

@@ -2209,7 +2209,7 @@ TP_WBALANCE_SOLUX35;Solux 3500K
TP_WBALANCE_SOLUX41;Solux 4100K
TP_WBALANCE_SOLUX47;Solux 4700K (vendor)
TP_WBALANCE_SOLUX47_NG;Solux 4700K (Nat. Gallery)
TP_WBALANCE_SPOTWB;Spot WB
TP_WBALANCE_SPOTWB;Use the pipette to pick the white balance from a neutral patch in the preview.
TP_WBALANCE_TEMPBIAS;AWB temperature bias
TP_WBALANCE_TEMPBIAS_TOOLTIP;Allows to alter the computation of the "auto white balance"\nby biasing it towards warmer or cooler temperatures. The bias\nis expressed as a percentage of the computed temperature,\nso that the result is given by "computedTemp + computedTemp * bias".
TP_WBALANCE_TEMPERATURE;Temperature

View File

@@ -225,6 +225,7 @@ scrollbar.vertical.overlay-indicator:not(.hovering) slider {
button {
padding: 0;
box-shadow: none;
min-height: 5px;
min-width: 5px;
background-image: linear-gradient(to bottom, rgba(100,100,100,.3), rgba(30,30,30,.3));
@@ -631,7 +632,6 @@ flowboxchild:selected {
/* Editor tab button */
#MainNotebook grid label, #MainNotebook grid image {
/* OK */
padding: 1px;
}
@@ -954,5 +954,65 @@ button#MyFileChooserButton {
}
#ToolPanelNotebook button {
margin: 0px;
margin: 0px;
}
button.flat {
background: none;
border: none;
outline: none;
}
button.flat:checked {
background: #262626;
}
.text-button, .image-button, .independent {
box-shadow: none;
min-height: 24px;
min-width: 24px;
padding: 0px;
}
/* Makes image-comboboxes (e.g. tone curve types) have same size as image buttons */
combobox, .popupbutton-arrow {
min-height: 24px;
}
/* Makes image-combobox small icons centered */
button.toggle > grid > image {
padding: 4px;
}
#histButton {
background: none;
min-height: 16px;
min-width: 16px;
}
/* -gtk-icon-shadow looks buggy on the small histogram icons */
#histButton:hover {
-gtk-icon-shadow: none;
}
.narrowbutton {
min-width: 10px;
}
.smallbuttonbox button {
min-width: 16px;
min-height: 16px;
}
/* Adds padding around sides of text-buttons */
button.text-button {
padding: 0 8px;
}
/* Adds gap between combobox contents and combobox edges */
button.combo, .image-combo .toggle, #MyFileChooserButton {
padding-left: 4px;
padding-right: 4px;
}