This patch swaps out the GtkBox in gimp_enum_icon_box_new_with_toggle () with a GtkButtonBox and sets it to EXPAND so that the buttons are pressed together. It also adds some CSS style to complete the effect.
48 lines
1.1 KiB
CSS
48 lines
1.1 KiB
CSS
/* The specific light theme interface styles for GIMP 3.0 */
|
|
/* Theme specific colors are defined in gimp-dark.css */
|
|
|
|
/* Hint for debugging themes:
|
|
* first enable the GTK inspector with
|
|
gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true
|
|
* then (after restarting GIMP) call it up with ctrl+shift+i
|
|
* or from GIMP's UI: File > Debug > Start GtkInspector
|
|
*/
|
|
|
|
@import url("common.css");
|
|
|
|
/*
|
|
* Paned separator handles
|
|
*/
|
|
paned.horizontal > separator {
|
|
background-image: url("ui/separator-handle-v-dark.svg");
|
|
}
|
|
|
|
paned.vertical > separator {
|
|
background-image: url("ui/separator-handle-h-dark.svg");
|
|
}
|
|
|
|
/* Top highlight for buttons */
|
|
button:not(.flat) {
|
|
box-shadow: 0 1px @extreme-selected-color inset;
|
|
}
|
|
button:not(.flat):hover {
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* Define GimpSpinScale slider colors */
|
|
GimpSpinScale entry {
|
|
background-color: @widget-bg-color;
|
|
}
|
|
|
|
GimpSpinScale entry progress {
|
|
background-color: @hover-color;
|
|
}
|
|
|
|
/* progressbar color */
|
|
progressbar trough progress {
|
|
background-color: @hover-color;
|
|
}
|
|
|
|
buttonbox button.radio:not(:checked) {
|
|
background-color: @stronger-border-color;
|
|
}
|