mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-08 00:13:02 +00:00
53 lines
1.1 KiB
SCSS
53 lines
1.1 KiB
SCSS
/* Buttons */
|
|
|
|
.button {
|
|
min-height: $small_size;
|
|
padding: $container_padding $container_padding * 2;
|
|
border-radius: $bt_radius;
|
|
|
|
&, .popup-menu & {
|
|
@include button(flat-normal);
|
|
&:hover { @include button(flat-hover); }
|
|
&:active { @include button(flat-active); }
|
|
&:insensitive { @include button(flat-insensitive); }
|
|
&:focus { @include button(flat-focus); }
|
|
border: none;
|
|
}
|
|
}
|
|
|
|
.icon-button {
|
|
min-height: $small_size;
|
|
min-width: $small_size;
|
|
padding: $container_padding;
|
|
border-radius: $circular_radius;
|
|
|
|
@include button(flat-normal);
|
|
&:hover { @include button(flat-hover); }
|
|
&:active { @include button(flat-active); }
|
|
&:insensitive { @include button(flat-insensitive); }
|
|
&:focus { @include button(flat-focus); }
|
|
}
|
|
|
|
%osd_button {
|
|
background-color: transparent;
|
|
border: none;
|
|
box-shadow: none;
|
|
outline: none;
|
|
color: rgba(white, 0.75);
|
|
|
|
&:hover {
|
|
background-color: rgba(white, 0.1);
|
|
color: white;
|
|
}
|
|
|
|
&:active {
|
|
background-color: rgba(white, 0.25);
|
|
color: white;
|
|
}
|
|
|
|
&:insensitive {
|
|
background-color: transparent;
|
|
color: rgba(white, 0.35);
|
|
}
|
|
}
|