prepare for release, adding previews, improving readme

This commit is contained in:
Eudaimon 2022-04-20 10:15:28 +02:00
parent ebabde0cfa
commit 5fb7c6c590
19 changed files with 277 additions and 354 deletions

View file

@ -466,8 +466,7 @@ editablelabel > stack > text {
* Buttons *
***********/
// stuff for .needs-attention
$_dot_color: if($variant=='light', $selected_bg_color,
lighten($selected_bg_color,15%));
$_dot_color: $warning_color; //if($variant=='light', $selected_bg_color, lighten($selected_bg_color,15%));
@keyframes needs_attention {
from { background-image: radial-gradient(farthest-side, $_dot_color 0%, transparentize($_dot_color, 1) 0%); }
to { background-image: radial-gradient(farthest-side, $_dot_color 95%, transparentize($_dot_color, 1)); }
@ -2578,7 +2577,7 @@ treeview.view radio:selected { &:selected, &:focus, & { @extend %radio; }} // Th
// OSD
.osd & {
border-color: $osd_borders_color;
background-color: transparentize($osd_borders_color, 0.2);
background-color: transparentize($osd_borders_color, 0.7);
&:disabled { background-color: $osd_insensitive_bg_color; }
}
@ -2992,88 +2991,7 @@ progressbar {
* Level Bar *
*************/
$_levelbar_size: 9px;
$_levelbar_border_radius: 5px;
levelbar {
&.horizontal {
trough > block {
min-height: $_levelbar_size;
border-radius: $_levelbar_border_radius;
&:dir(rtl) {
border-radius: 0 $_levelbar_border_radius $_levelbar_border_radius 0;
}
&:dir(ltr) {
border-radius: $_levelbar_border_radius 0 0 $_levelbar_border_radius;
}
&.empty,&.full {
border-radius: $_levelbar_border_radius;
}
}
// segmented level bar
&.discrete {
trough > block {
min-height: 2px;
margin: 1px;
min-width: 24px;
border-radius:0;
&:first-child {border-radius: 2px 0 0 2px;}
&:last-child {
border-radius: 0 2px 2px 0;
}
}
}
}
&.vertical {
trough > block {
min-width: $_levelbar_size;
border-radius: $_levelbar_border_radius;
}
&.discrete > trough > block {
min-width: $_levelbar_size - 7px;
margin: 1px 0;
min-height: 32px;
}
}
> trough {
padding: 1px;
@include entry(normal);
&:backdrop { @include entry(backdrop); }
}
// level bar colours
> trough > block {
border: 1px solid;
&.low {
border-color: $warning_color;
background-color: $warning_color;
}
&.high,
&:not(.empty) {
border-color: $selected_bg_color;
background-color: $selected_bg_color;
}
&.full {
border-color: $success_color;
background-color: $success_color;
}
&.empty {
background-color: darken($bg_color, 5%);
border-color: darken($bg_color, 5%);
}
}
}
@import '../common/levelbar.scss';
/****************