This commit is contained in:
Vince 2021-07-03 12:01:06 +08:00
parent 20639289eb
commit 78b22d23f6
3 changed files with 50 additions and 17 deletions

View file

@ -140,6 +140,7 @@ $popop_menuitem_radius: $wm_radius - 4px;
.popup-separator-menu-item { .popup-separator-menu-item {
background: none; background: none;
border: none; border: none;
height: 1px !important;
.popup-separator-menu-item-separator { .popup-separator-menu-item-separator {
height: 1px; //not really the whole box height: 1px; //not really the whole box

View file

@ -62,23 +62,21 @@
&-build-icon { color: $alt_fg_color; } &-build-icon { color: $alt_fg_color; }
} }
// GPaste //
.popup-menu { // Pop_OS cosmic widget styling
.search-entry { //
color: $fg_color; .cosmic-dock {
selection-background-color: $primary_color; #dock {
selected-color: $light_fg_color; background-color: $dash_bg;
@include entry(normal); border-radius: $dash_radius;
border: 1px solid if($variant == 'light', rgba(black, 0.03), rgba(black, 0.35));
box-shadow: inset 0 0 0 1px rgba(white, 0.05);
padding: $container_padding;
margin: 6px !important;
}
&:focus { &.extended #dock {
@include entry(focus); border-radius: 0 !important;
color: $fg_color; margin: 0 !important;
}
.search-entry-icon { color: $hint_fg_color; }
&:hover, &:focus {
.search-entry-icon { color: $fg_color; }
}
} }
} }

View file

@ -82,6 +82,7 @@
box-shadow: 1px 2px 3px rgba(black, if($variant == 'light', 0.08, 0.35)); box-shadow: 1px 2px 3px rgba(black, if($variant == 'light', 0.08, 0.35));
.popup-menu-item { .popup-menu-item {
height: 16px !important;
border-radius: 0 !important; border-radius: 0 !important;
&:hover { &:hover {
@ -95,3 +96,36 @@
} }
} }
} }
//
// Pop_OS cosmic widget styling
//
.cosmic-dock {
#dock {
background-color: transparent;
.dash-background {
background-color: $dash_bg;
border: 1px solid if($variant == 'light', rgba(black, 0.08), rgba(black, 0.75));
box-shadow: inset 0 0 0 1px rgba(white, 0.05);
}
}
&.extended {
#dash {
margin-left: 0;
margin-right: 0;
margin-top: 0;
margin-bottom: 0;
padding: 0 0;
.dash-background {
border-radius: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
margin-bottom: 0;
}
}
}
}