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 {
background: none;
border: none;
height: 1px !important;
.popup-separator-menu-item-separator {
height: 1px; //not really the whole box

View file

@ -62,23 +62,21 @@
&-build-icon { color: $alt_fg_color; }
}
// GPaste
.popup-menu {
.search-entry {
color: $fg_color;
selection-background-color: $primary_color;
selected-color: $light_fg_color;
@include entry(normal);
//
// Pop_OS cosmic widget styling
//
.cosmic-dock {
#dock {
background-color: $dash_bg;
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 {
@include entry(focus);
color: $fg_color;
}
.search-entry-icon { color: $hint_fg_color; }
&:hover, &:focus {
.search-entry-icon { color: $fg_color; }
}
&.extended #dock {
border-radius: 0 !important;
margin: 0 !important;
}
}

View file

@ -82,6 +82,7 @@
box-shadow: 1px 2px 3px rgba(black, if($variant == 'light', 0.08, 0.35));
.popup-menu-item {
height: 16px !important;
border-radius: 0 !important;
&: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;
}
}
}
}