Fixed issues

This commit is contained in:
Vince 2021-05-09 22:49:36 +08:00
parent 58ac00f3ef
commit 27183406e5
7 changed files with 108 additions and 23 deletions

View file

@ -103,18 +103,19 @@
@if $t == normal {
background-color: $bc;
border-radius: 100px;
border-radius: $circular_radius;
border: 2px solid transparent;
box-shadow: none;
box-shadow: inset 0 0 0 1px rgba($borders_color, 0);
}
@if $t == hover {
box-shadow: inset 0 0 0 1px rgba($borders_color, 0.05);
box-shadow: inset 0 0 0 1px rgba($borders_color, 0.1);
border: 2px solid transparent;
}
@if $t == focus {
border: 2px solid lighten($fc, 15%);
box-shadow: none;
box-shadow: inset 0 0 0 1px rgba($borders_color, 0);
}
@if $t == insensitive {
@ -124,7 +125,7 @@
@if $t == flat-normal {
background-color: $bc;
border-radius: 100px;
border-radius: $circular_radius;
border: none;
box-shadow: none;
color: $tc;
@ -161,22 +162,25 @@
background-color: rgba(white, 0.12);
border-radius: $bd_radius;
border-color: transparent;
// box-shadow: inset 0 0 0 1px rgba(white, 0.05);
box-shadow: 1px 2px 3px rgba(black, 0);
}
@if $t == focus {
border-color: transparent;
background-color: rgba(white, 0.18);
box-shadow: 1px 2px 3px rgba(black, 0);
}
@if $t == hover {
background-color: rgba(white, 0.2);
border-color: transparent;
box-shadow: 1px 2px 3px rgba(black, 0.35);
}
@if $t == insensitive {
color: $disabled_fg_color;
box-shadow: none;
border-color: transparent;
box-shadow: 1px 2px 3px rgba(black, 0);
}
}

View file

@ -1 +1,2 @@
@import 'extensions-40-0/dash-to-dock';
@import 'extensions-40-0/misc';

View file

@ -2,17 +2,16 @@
StEntry, %entry {
min-height: $menuitem_size;
padding: 2px 10px;
margin: 2px;
border-width: 0;
padding: 2px 10px !important;
// margin: 2px;
color: $fg_color;
caret-color: $fg_color;
selection-background-color: $primary_color;
selected-color: $light_alt_fg_color;
// @include font(subheading);
@include entry(normal);
&:hover { @include entry(hover);}
&:focus { @include entry(focus);}
&:hover { @include entry(hover); }
&:focus { @include entry(focus); }
&:insensitive { @include entry(insensitive);}
StIcon.capslock-warning {
icon-size: 16px;

View file

@ -2,17 +2,21 @@
%search-entry, .search-entry {
width: 320px;
min-height: $menuitem_size;
padding: 2px 10px;
border: none;
padding: 0 10px !important;
background-clip: padding-box;
color: $light_hint_fg_color;
caret-color: $light_alt_fg_color;
selection-background-color: $light_track_color;
selected-color: $light_alt_fg_color;
@include search_entry(normal, $fc:$light_track_color);
&:hover {
@include search_entry(hover, $fc:$light_alt_fg_color);
color: $light_alt_fg_color;
}
&:focus {
@include search_entry(focus, $fc:$light_alt_fg_color);
border: none;
color: $light_alt_fg_color;
}
@ -27,7 +31,6 @@
}
&:insensitive {
border: none;
color: $light_disabled_fg_color;
}

View file

@ -0,0 +1,59 @@
// OpenWeather Extension
.openweather {
&-button,
&-button-action,
&-menu-button-container,
&-button-box {
border: 1px solid transparent !important;
}
&-provider {
// generic text buttons are allocated with y-expand-ed
padding: 0 16px;
font-weight: 500;
@include button(flat-normal);
&:hover { @include button(flat-hover); }
&:focus { @include button(flat-focus); }
&:active { @include button(flat-active); }
&:insensitive { @include button(flat-disabled); }
border: 1px solid transparent !important;
}
&-current {
&-icon,
&-summary,
&-summarybox {
background: none;
color: $fg_color;
}
&-databox-values {
background: none;
color: $hint_fg_color;
}
&-databox-captions {
background: none;
color: $hint_fg_color;
}
}
&-forecast {
&-icon,
&-summary {
background: none;
color: $alt_fg_color;
}
&-day,
&-temperature {
background: none;
color: $hint_fg_color;
}
}
&-sunrise-icon,
&-sunset-icon,
&-build-icon { color: $alt_fg_color; }
}

View file

@ -769,6 +769,16 @@ $disk_space_free: darken($bg_color, 3%);
}
}
menu#background,
menu#selection,
.nemo-window menu {
padding: 6px;
menuitem {
margin: 0;
}
}
// Cinnamon setting
.view.cs-category-view { border-bottom-right-radius: $wm_radius; }

View file

@ -1503,6 +1503,8 @@ headerbar {
min-height: 0;
}
> box > separator.titlebutton { @extend %header_separator; }
> button.popup {
&:hover {
@include button(header-hover);
@ -1694,11 +1696,18 @@ headerbar {
}
}
window.background.csd.maximized {
window.background.csd.unified {
> deck > box.vertical > stack > headerbar.titlebar.windowhandle {
> box > separator { background: none; }
> button:disabled { @include button(header-insensitive); }
}
&.maximized {
> deck > box > headerbar.windowhandle {
border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius;
}
}
}
window.background > box.vertical > headerbar:not(.titlebar) { // reset headerbar style for not CSD window
@ -2171,8 +2180,8 @@ menu,
check, radio {
min-height: 16px;
min-width: 16px;
&:dir(ltr) { margin-right: 6px; margin-left: 2px; }
&:dir(rtl) { margin-left: 6px; margin-right: 2px; }
&:dir(ltr) { margin-right: 6px; margin-left: 0; }
&:dir(rtl) { margin-left: 6px; margin-right: 0; }
}
}
}
@ -3240,7 +3249,7 @@ scrolledwindow {
}
//vbox and hbox separators
separator {
separator:not(.titlebutton) {
background-color: $borders_color;
min-width: 1px;
min-height: 1px;