ui: cropped bar icon = px perfect dot icon

This commit is contained in:
bordun 2020-05-14 01:30:24 +02:00
parent fd25bd2ba3
commit 6fa9615c18
2 changed files with 14 additions and 5 deletions

View file

@ -143,7 +143,6 @@ osc-inspector-checkbox {
--color-fill: var(--color-ui-background);
--alpha-fill: 1;
border-radius: 2rem;
line-height: $field-height;
height: $field-height;
@ -167,6 +166,10 @@ osc-inspector-checkbox {
@include pseudo-fill($z: -1);
z-index: 1;
&:after {
border-radius: 2rem;
}
&.on {
--color-fill: var(--color-widget);
--alpha-fill: 0.5;
@ -244,14 +247,15 @@ osc-inspector-color {
cursor: pointer;
border-radius: 2rem;
--color-fill: var(--color-picker-value);
--alpha-fill: 1;
--widget-padding: 1rem;
@include pseudo-fill();
&:after {
border-radius: 2rem;
}
}
.color-picker-modal {

View file

@ -11,8 +11,10 @@ osc-toolbar {
z-index: 99999999;
cursor: pointer;
&:after {
transition: text-shadow .1s, color .1s;
content:"\f0c9";
width: 3rem;
display: inline-block;
overflow: hidden;
font-size:13rem;
font-family: FontAwesome;
line-height: calc(var(--size) + 6rem);
@ -29,7 +31,10 @@ osc-toolbar#start {
left: var(--size);
&:after {
content: "\f04b"
font-size: 11rem;
content: "\f04b";
width: auto;
margin-top:-1rem;
}
&.started:after {
content: "\f04d";