diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui index 5b46570c8a..2963266e2a 100644 --- a/demos/widget-factory/widget-factory.ui +++ b/demos/widget-factory/widget-factory.ui @@ -1927,6 +1927,12 @@ microphone-sensitivity-medium-symbolic Insert something + + + #9141AC + Select a color + + diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss index 12584b3298..ab04b3cc83 100644 --- a/gtk/theme/Default/_common.scss +++ b/gtk/theme/Default/_common.scss @@ -622,7 +622,7 @@ button { min-width: 26px; min-height: 32px; - &.image-button { + &.image-button { min-width: 30px; &:only-child { margin: 4px; @@ -911,7 +911,15 @@ modelbutton.flat arrow { /* oldstyle toolbar buttons */ -.toolbar button { +.toolbar > button, +.toolbar > :not(.linked) > button, +.toolbar :not(.linked) > menubutton > button, +.toolbar :not(.linked) > scalebutton > button, +.toolbar :not(.linked) > dropdown > button, +.toolbar :not(.linked) > colorbutton > button, +.toolbar :not(.linked) > fontbutton > button, +.toolbar :not(.linked) > appchooserbutton > button, +.toolbar :not(.linked) > combobox > box > button { margin: 1px; @extend %button_basic_flat; @@ -1319,8 +1327,7 @@ combobox { background-color: $bg_color; } -.toolbar, -toolbar { +.toolbar { @extend %toolbar; // on OSD @@ -1869,7 +1876,7 @@ popover.background { > list, > .view, - > toolbar { + > .toolbar { border-style: none; background-color: transparent; } @@ -2424,7 +2431,7 @@ switch { border-radius: 50%; transition: $button_transition; } - + > image { color: transparent; } /* only show i / o for the accessible theme */ &:hover > slider { @@ -2533,7 +2540,7 @@ radio { } } } - + @if $variant == 'light' { // the borders of the light variant versions of checks and radios are too similar in luminosity to the selected background // color, hence we need special casing.