Fixed issues

This commit is contained in:
vinceliuice
2022-12-06 00:03:23 +08:00
parent bba2e11c18
commit 34cfc98fa9
4 changed files with 14 additions and 16 deletions

View File

@@ -2,12 +2,12 @@
//.the popover itself //.the popover itself
.popup-menu-boxpointer { .popup-menu-boxpointer {
-arrow-border-radius: $menu_radius - 3px; -arrow-border-radius: $menu_radius;
-arrow-background-color: transparent; -arrow-background-color: transparent;
-arrow-border-width: 0; -arrow-border-width: 0;
-arrow-border-color: transparent; -arrow-border-color: transparent;
-arrow-base: $base_padding * 2; -arrow-base: 30px - $menu_radius;
-arrow-rise: $base_padding; -arrow-rise: 0;
-arrow-box-shadow: none; //dreaming. bug #689995 -arrow-box-shadow: none; //dreaming. bug #689995
background: transparent; // needs to reset? background: transparent; // needs to reset?
} }
@@ -19,8 +19,8 @@
padding: 0; padding: 0;
font-weight: normal; font-weight: normal;
border-radius: $menu_radius; border-radius: $menu_radius;
box-shadow: 0 3px 6px rgba(black, 0.08); box-shadow: 0 3px 8px -5px rgba(black, 0.12);
margin: 0 $base_padding / 2; margin: $base_padding $base_padding 8px;
@include fontsize($font_size - 1); @include fontsize($font_size - 1);
.popup-menu-content { .popup-menu-content {

View File

@@ -1,18 +1,11 @@
.quick-settings { .quick-settings {
padding: $base_padding * 3 !important; padding: $base_padding * 3 !important;
border-radius: $base_radius + $base_padding * 3 !important; border-radius: $base_radius + $base_padding * 3 !important;
margin-top: $base_padding !important;
.icon-button, .button { .icon-button, .button {
padding: $base_padding * 1.75; padding: $base_padding * 1.75;
} }
&.popup-menu {
border-radius: $base_radius + $base_padding * 3 !important;
}
.popup-menu-content {
padding: $base_padding * 2 !important;
}
} }
.quick-settings-grid { .quick-settings-grid {

View File

@@ -997,7 +997,7 @@ toolbar {
@at-root %toolbar_osd, &.osd { @at-root %toolbar_osd, &.osd {
transition: $transition-shadow; transition: $transition-shadow;
padding: $space-size; padding: $space-size;
border-radius: $corner-radius; border-radius: $window-radius;
box-shadow: $shadow-z4, inset 0 1px highlight($surface); box-shadow: $shadow-z4, inset 0 1px highlight($surface);
background-color: $surface; background-color: $surface;
@@ -3026,6 +3026,8 @@ row {
&.text-button:not(:disabled) { color: $primary; } &.text-button:not(:disabled) { color: $primary; }
} }
> box > label { margin-left: $space-size * 1.5; }
&.frame, &.frame,
border { border-style: none; } border { border-style: none; }
} }

View File

@@ -2176,6 +2176,7 @@ magnifier {
&:hover:not(:checked):not(:selected) { &:hover:not(:checked):not(:selected) {
@include button(flat-hover); @include button(flat-hover);
box-shadow: none;
} }
&:disabled { &:disabled {
@@ -3962,8 +3963,8 @@ columnview {
.app-notification { .app-notification {
@extend %toolbar_osd; @extend %toolbar_osd;
margin: $space-size; margin: $space-size;
border-spacing: $space-size; border-spacing: 0;
padding: $space-size; padding: 0;
border: none; border: none;
background-image: none; background-image: none;
@@ -3973,6 +3974,8 @@ columnview {
&.text-button:not(:disabled) { color: $primary; } &.text-button:not(:disabled) { color: $primary; }
} }
> box > label { margin-left: $space-size * 1.5; }
&.frame, &.frame,
border { border: none; } border { border: none; }
} }