This commit is contained in:
vinceliuice
2022-10-01 18:24:03 +08:00
parent f79089d0a0
commit ae82a48673

View File

@@ -2129,7 +2129,7 @@ magnifier {
background-image 0ms; background-image 0ms;
min-height: $small-size; min-height: $small-size;
min-width: $small-size; min-width: $small-size;
padding: $space-size / 2 $space-size * 2; padding: $space-size / 2 $space-size;
margin: 0; margin: 0;
border: none; border: none;
outline: none; outline: none;
@@ -2149,7 +2149,7 @@ magnifier {
&:disabled { color: $text-secondary-disabled; } &:disabled { color: $text-secondary-disabled; }
&:checked { &:checked, &:selected {
transition: $transition; transition: $transition;
background-color: if($variant == 'light', rgba($base, 1), rgba(white, 0.15)); background-color: if($variant == 'light', rgba($base, 1), rgba(white, 0.15));
color: $text; color: $text;
@@ -2375,6 +2375,10 @@ $tab_needs_attention_gradient: radial-gradient(ellipse at bottom,
} }
tabbar { tabbar {
> revealer > box {
box-shadow: none;
}
.box { .box {
min-height: $medium-size; min-height: $medium-size;
border-bottom: none; border-bottom: none;
@@ -2394,7 +2398,8 @@ tabbar {
border-right-width: 1px; border-right-width: 1px;
} }
tabbox > background { tabbox {
> background {
&:dir(ltr) { &:dir(ltr) {
box-shadow: inset -1px 0 $border; box-shadow: inset -1px 0 $border;
} }
@@ -2404,6 +2409,7 @@ tabbar {
} }
} }
} }
}
undershoot { undershoot {
transition: background 150ms ease-in-out; transition: background 150ms ease-in-out;
@@ -2426,15 +2432,23 @@ tabbar {
} }
tabbox { tabbox {
background-color: $fill; background-color: rgba($text, if($variant == 'light', 0.08, 0.04));
background-image: none; background-image: none;
padding: $space-size / 2; padding: $space-size / 2 0;
margin: $space-size / 2; margin: $space-size / 2;
border-radius: $modal-radius + $space-size / 2; border-radius: $modal-radius + $space-size / 2;
> background { > background {
background: none; background: none;
} }
> tabboxchild {
margin: 0;
> tab {
@extend %tabs_tab;
}
}
} }
tab { tab {