This commit is contained in:
vinceliuice
2022-10-25 14:09:02 +08:00
parent aad19a2ce7
commit 6f60235e85
2 changed files with 31 additions and 15 deletions

View File

@@ -57,8 +57,26 @@
// Cosmic desktop (Pop_OS) // Cosmic desktop (Pop_OS)
// //
.cosmic-dock {
#dock {
border-radius: $icon_radius !important;
border: none !important;
margin: 6px !important;
background-color: $dash_background_color !important;
box-shadow: inset 0 1px rgba(white, 0.08) !important;
.dash-background {
background-color: transparent !important;
margin-bottom: 0 !important;
padding: 0;
box-shadow: none !important;
}
}
}
.cosmic-application-dialog { .cosmic-application-dialog {
box-shadow: 0 3px 6px 0 rgba(black, 0.15); border-radius: $menu_radius;
box-shadow: 0 3px 6px rgba(black, 0.08);
background-color: $popover; background-color: $popover;
color: $text; color: $text;
@@ -73,7 +91,7 @@
.cosmic-folder-edit-button { .cosmic-folder-edit-button {
box-shadow: none; box-shadow: none;
border-radius: $corner-radius; border-radius: $base_radius;
border-width: 0; border-width: 0;
color: $text; color: $text;
background: $fill; background: $fill;
@@ -99,7 +117,7 @@
.pop-shell-active-hint { .pop-shell-active-hint {
border-style: solid; border-style: solid;
border-color: $warning; border-color: $warning;
border-radius: $corner-radius; border-radius: $base_radius;
box-shadow: none; box-shadow: none;
} }
@@ -109,7 +127,7 @@
.pop-shell-search-element:select{ .pop-shell-search-element:select{
background: $divider; background: $divider;
border-radius: $corner-radius; border-radius: $base_radius;
color: $text; color: $text;
} }

View File

@@ -590,28 +590,26 @@ button {
min-width: $small-size; min-width: $small-size;
min-width: $small-size; min-width: $small-size;
padding: ($medium-size - 24px) / 2; padding: ($medium-size - 24px) / 2;
box-shadow: none; background-color: $osd;
background-color: rgba(black, 0.35); color: on($osd);
color: white;
&:focus { &:focus {
box-shadow: inset 0 0 0 2px rgba(black, 0.1); box-shadow: none;
color: white;
} }
&:hover { &:hover {
background-color: rgba(black, 0.45); background-color: mix(white, $osd, 15%);
color: white; color: on($osd);
} }
&:active { &:active {
background-color: rgba(black, 0.65); background-color: mix(white, $osd, 25%);
color: white; color: on($osd);
} }
&:disabled { &:disabled {
background-color: rgba(black, 0.15); background-color: transparent;
color: rgba(white, 0.35); color: transparent;
} }
&.image-button, &.circular { &.image-button, &.circular {