Fixed issues
This commit is contained in:
parent
f4f1d0acde
commit
aee637dea4
@ -652,8 +652,8 @@ $_dot_color: $selected_bg_color;
|
|||||||
%flat_button {
|
%flat_button {
|
||||||
@include button(flat-normal);
|
@include button(flat-normal);
|
||||||
&:hover { @include button(flat-hover); }
|
&:hover { @include button(flat-hover); }
|
||||||
&:active { @include button(flat-active); }
|
&:active, &:active:hover { @include button(flat-active); }
|
||||||
&:checked { @include button(flat-checked); }
|
&:checked, &:checked:hover { @include button(flat-checked); }
|
||||||
&:disabled { @include button(flat-insensitive); }
|
&:disabled { @include button(flat-insensitive); }
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -688,8 +688,6 @@ button {
|
|||||||
&:active { transition: $button_transition; }
|
&:active { transition: $button_transition; }
|
||||||
}
|
}
|
||||||
|
|
||||||
&:checked:hover { background-image: none; }
|
|
||||||
|
|
||||||
&.toggle.popup:not(.colored) {
|
&.toggle.popup:not(.colored) {
|
||||||
min-width: $menuitem_size - 8px;
|
min-width: $menuitem_size - 8px;
|
||||||
}
|
}
|
||||||
@ -727,6 +725,18 @@ button {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.background &.flat { // reset
|
||||||
|
&:active, &:checked {
|
||||||
|
@include button(flat-active);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:disabled {
|
||||||
|
&:active, &:checked {
|
||||||
|
@include button(flat-insensitive-active);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.image-button:not(.circular), &.popup:not(.circular) {
|
&.image-button:not(.circular), &.popup:not(.circular) {
|
||||||
min-height: $menuitem_size - 4px;
|
min-height: $menuitem_size - 4px;
|
||||||
padding-left: $container_padding;
|
padding-left: $container_padding;
|
||||||
|
@ -1961,7 +1961,7 @@ window.background.csd {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tabbox {
|
.background tabbox {
|
||||||
@if $monterey == 'false' {
|
@if $monterey == 'false' {
|
||||||
background-color: darken($header_bg, 10%);
|
background-color: darken($header_bg, 10%);
|
||||||
box-shadow: inset 0 -1px $borders_color;
|
box-shadow: inset 0 -1px $borders_color;
|
||||||
@ -1985,12 +1985,25 @@ tabbox {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button.tab-close-button {
|
button {
|
||||||
|
@extend %flat_button;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@extend %flat_button;
|
min-height: $small_size;
|
||||||
|
min-width: $small_size;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: $fg_color;
|
||||||
|
background-color: rgba($borders_color, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active, &:active:hover {
|
||||||
|
color: if($variant == 'light', darken($fg_color, 10%), lighten($fg_color, 10%));
|
||||||
|
background-color: rgba($borders_color, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.tab-close-button {
|
||||||
@if $monterey == 'false' {
|
@if $monterey == 'false' {
|
||||||
min-height: $small_size;
|
min-height: $small_size;
|
||||||
min-width: $small_size;
|
min-width: $small_size;
|
||||||
@ -2003,15 +2016,6 @@ tabbox {
|
|||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
margin-right: -$container_padding;
|
margin-right: -$container_padding;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: $fg_color;
|
|
||||||
background-color: rgba($borders_color, 0.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:active, &:active:hover {
|
|
||||||
color: if($variant == 'light', darken($fg_color, 10%), lighten($fg_color, 10%));
|
|
||||||
background-color: rgba($borders_color, 0.2);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user