1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

themes: Fix display of .default response style

The .default style (to show which button is selected by
default) was being overridden by more general CSS styles.
This patch moves it after these general styles so that it
is shown again.
This commit is contained in:
Alx Sa
2025-04-04 18:10:12 +00:00
parent 20cf6d553a
commit 9a3209844e

View File

@@ -336,8 +336,8 @@ scale contents trough highlight:disabled
border-color: transparent;
}
scale slider {
min-height: 26px;
min-width: 22px;
min-height: 18px;
min-width: 18px;
}
scrollbar {
@@ -448,13 +448,6 @@ button:disabled, button:disabled image {
color: @disabled-button-color;
}
/* E.g. the currently active action of a dialog will slightly stand out so that
* people know what action is activated when they will just hit Enter.
*/
button.default {
border: 1px solid shade(@fg-color, 0.7);
}
button:not(.flat)
{
border-color: @edge-border-color;
@@ -488,6 +481,13 @@ button.destructive-action {
border: 1px dashed shade(@fg-color, 0.8)
}
/* E.g. the currently active action of a dialog will slightly stand out so that
* people know what action is activated when they will just hit Enter.
*/
button.default {
border: 1px solid shade(@fg-color, 0.7);
}
/* Spinbuttons: there are two kinds:
* spinbutton, spinbutton button
* e.g. the "width" field in the New Image dialog.