gtk: Don't set background-clip globally
We should avoid wildcard rules as much as possible.
By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.
We should avoid wildcard rules as much as possible.
roundabout,
created on Saturday, 6 March 2021, 23:27:36 (1615073256),
received on Sunday, 11 May 2025, 13:22:56 (1746969776)
Author identity: nana-4 <hnmaigo@gmail.com>
f0eccf9fed8fe4600e8c54f670bc691d4054fe95
* { // padding: 0; background-clip: padding-box;-GtkToolButton-icon-spacing: 0; -GtkTextView-error-underline-color: $error;
// margin: $container-padding; border: solid $container-padding transparent; background-clip: padding-box;// Remove unwanted focus indicator &:focus:not(:hover):not(:active) {
border-width: 0 1px 1px; border-color: divider($on-surface); background-color: $base; background-clip: padding-box;} searchbar > revealer > box,
border-width: 0 0 1px; border-color: divider($on-surface); background-color: $background; background-clip: border-box;} searchbar > revealer > box {
padding: 4px 0; box-shadow: inset 0 1px highlight($surface); background-color: $surface; background-clip: border-box;border: 1px solid divider($on-surface); // adds borders in a non composited env .csd & {
border-width: 1px; border-color: rgba(black, .1) rgba(black, .2) rgba(black, .3); border-radius: $corner-radius + 1px; background-clip: padding-box;} > stack {
border-width: 1px; border-color: divider($on-surface); background-color: $background; background-clip: border-box;&.top { border-bottom-style: solid;
background-repeat: no-repeat; background-position: center; background-size: 0% 0%; background-clip: border-box;color: hint($on-surface); font-weight: 500;
transition: $transition; background-color: $base; background-clip: padding-box;// scrollbar border &.top { border-bottom: 1px solid divider($on-surface); }
paper { padding: 0; border: 1px solid divider($on-surface); background-clip: padding-box;background-color: $base; color: $on-surface; }
border: 1px solid divider($on-surface); border-radius: 0; box-shadow: none; background-clip: padding-box;&.flat { border-style: none;
padding: $container-padding; border-top: 1px solid divider($on-surface); background-color: $base; background-clip: border-box;button:not(.suggested-action):not(.destructive-action) { @extend %button-flat;
} row { background-clip: padding-box;&.activatable { @extend %ripple; @include ink-color($on-surface);
calendar { padding: 1px; border: 1px solid divider($on-surface); background-clip: padding-box;color: $on-surface; &:disabled {
&:not(.csd):not(.unity-csd) { // border: 1px solid divider($on-surface); // border-radius: $corner-radius + 1px; // background-clip: $background-clip-extra;} // FIXME: we need a border or tooltips vanish on black background.
border: solid 1px divider($on-surface); border-radius: $corner-radius + 1px; box-shadow: inset 0 -2px divider($on-surface); background-clip: padding-box;background-color: $surface; color: $on-surface; font-size: smaller;
border-color: rgba(black, .1) rgba(black, .2) rgba(black, .3); border-radius: $corner-radius + 1px; box-shadow: $shadow-z4; background-clip: padding-box;background-color: $surface; .container {
border-width: 1px; border-color: divider($on-surface); border-radius: ($corner-radius + 1px) ($corner-radius + 1px) 0 0; background-clip: padding-box;background-color: $surface; // axes left border and border radius
.linked:not(.vertical) > button { border: solid $container-padding transparent; border-radius: $circular-radius; background-clip: padding-box;@extend %button-flat-basic; @extend %button-small;
} .tweak-group-startup { border: 1px solid divider($on-surface); background-clip: padding-box;// background-color: @view_separators; background-image: image($base); border: 1px solid divider($on-surface);} //
list { border: 1px solid divider($on-surface); background-clip: padding-box;row:not(:last-child) { border-bottom: 1px solid divider($on-surface);
box.vertical > revealer > toolbar.search-bar { border-bottom: 1px solid divider($on-surface); background-clip: border-box; // avoid black borderbutton > widget { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
border: 1px solid divider($on-surface); border-radius: $corner-radius + 1px; box-shadow: inset 0 1px highlight($surface); background-clip: padding-box;background-color: $surface; frame > border {
border: 1px solid divider($on-surface); border-radius: $corner-radius + 1px; box-shadow: inset 0 1px highlight($surface); background-clip: padding-box;background-color: $surface; frame > border {
#mate-menu { // FIXME, does not work border: 1px solid divider($on-surface); background-clip: padding-box;background-color: $surface; button {
border: 1px solid divider($on-surface); border-radius: $corner-radius + 1px; box-shadow: $shadow-z6, inset 0 1px highlight($surface); // not sure if box-shadow works here background-clip: padding-box;background-color: $surface; frame > border {