This commit is contained in:
Vince 2021-05-14 23:56:56 +08:00
parent 3c1b2f6602
commit 556fa9af5f
2 changed files with 25 additions and 34 deletions

View file

@ -177,21 +177,6 @@ $list_shadow: if($variant == 'light',
box-shadow: none;
}
%circular_button {
border-radius: $circular_radius;
-gtk-outline-radius: $circular_radius;
padding: 0;
min-height: $menuitem_size;
min-width: $menuitem_size;
&:active, &:checked {
@if $variant=='light' {
@include button(flat-active);
border-color: rgba(black, 0.2);
}
}
}
// Buttons on selected backgrounds
%selected-button {
color: $selected_fg_color;
@ -842,8 +827,19 @@ button {
&.popup { padding-right: 6px; padding-left: 6px; }
}
&.close { // The Bloody Circul Button
@extend %circular_button;
@at-root %circular_button, &.close { // The Bloody Circul Button
border-radius: $circular_radius;
-gtk-outline-radius: $circular_radius;
padding: 0 0 0 0;
min-height: $menuitem_size;
min-width: $menuitem_size;
&:active, &:checked {
@if $variant=='light' {
@include button(flat-active);
border-color: rgba(black, 0.2);
}
}
}
&:drop(active) {

View file

@ -154,21 +154,6 @@ $list_shadow: if($variant == 'light',
box-shadow: none;
}
%circular_button {
border-radius: $circular_radius;
-gtk-outline-radius: $circular_radius;
padding: 0;
min-height: $menuitem_size;
min-width: $menuitem_size;
&:active, &:checked {
@if $variant=='light' {
@include button(flat-active);
border-color: rgba(black, 0.2);
}
}
}
// Buttons on selected backgrounds
%selected-button {
color: $selected_fg_color;
@ -832,8 +817,18 @@ button {
&.popup { padding-right: 6px; padding-left: 6px; }
}
&.close { // The Bloody Circul Button
@extend %circular_button;
@at-root %circular_button, &.close { // The Bloody Circul Button
border-radius: $circular_radius;
padding: 0 0 0 0;
min-height: $menuitem_size;
min-width: $menuitem_size;
&:active, &:checked {
@if $variant=='light' {
@include button(flat-active);
border-color: rgba(black, 0.2);
}
}
}
@at-root %button_basic_drop_active,