ui: rm border radius, make file browser more flat
This commit is contained in:
parent
467e5b4133
commit
0922382e70
3 changed files with 6 additions and 10 deletions
|
|
@ -2,7 +2,6 @@
|
|||
background: var(--color-background);
|
||||
display: block;
|
||||
padding: 0 15rem;
|
||||
border-radius: 2rem;
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ $padding: 8rem;
|
|||
height: 40rem;
|
||||
flex-shrink: 0;
|
||||
line-height: 40rem;
|
||||
padding-left: $padding;
|
||||
padding-left: $padding + 2rem;
|
||||
background: var(--color-ui-button);
|
||||
|
||||
}
|
||||
|
|
@ -66,10 +66,12 @@ $padding: 8rem;
|
|||
height: 42rem + $padding * 2;
|
||||
line-height: 38rem;
|
||||
flex-shrink: 0;
|
||||
border: $padding solid var(--color-ui-background);
|
||||
padding: 1rem;
|
||||
// border: $padding solid var(--color-ui-background);
|
||||
padding: $padding;
|
||||
background: var(--color-ui-background);
|
||||
.btn, input {
|
||||
margin: 1rem;;
|
||||
margin: 1rem;
|
||||
margin-left: $padding;
|
||||
text-overflow: clip;
|
||||
min-width: 0;
|
||||
background: var(--color-ui-button);
|
||||
|
|
|
|||
|
|
@ -189,10 +189,6 @@ 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;
|
||||
|
|
@ -277,7 +273,6 @@ osc-inspector-color {
|
|||
--widget-padding: 1rem;
|
||||
@include pseudo-fill();
|
||||
&:after {
|
||||
border-radius: 2rem;
|
||||
border: 1rem solid var(--color-ui-button)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue