mirror of
https://github.com/yldio/copilot.git
synced 2024-11-10 21:30:06 +02:00
refactoring mixins by using default values when needed
This commit is contained in:
parent
62c726fb24
commit
5e3469fe88
@ -31,7 +31,7 @@
|
|||||||
height: remCalc(6);
|
height: remCalc(6);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
@add-mixin create-base-box-properties remCalc(25), var(--box-border), var(--box-shaddow);
|
@add-mixin create-base-box-properties remCalc(25);
|
||||||
}
|
}
|
||||||
&::-webkit-slider-thumb {
|
&::-webkit-slider-thumb {
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
@ -44,7 +44,7 @@
|
|||||||
width: remCalc(36);
|
width: remCalc(36);
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
|
|
||||||
@add-mixin create-base-box-properties var(--box-radius), var(--box-border), var(--box-shaddow);
|
@add-mixin create-base-box-properties;
|
||||||
}
|
}
|
||||||
&:focus::-webkit-slider-runnable-track {
|
&:focus::-webkit-slider-runnable-track {
|
||||||
background: var(--primary-background);
|
background: var(--primary-background);
|
||||||
@ -56,7 +56,7 @@
|
|||||||
height: remCalc(6);
|
height: remCalc(6);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
@add-mixin create-base-box-properties remCalc(25), var(--box-border), var(--box-shaddow);
|
@add-mixin create-base-box-properties remCalc(25);
|
||||||
}
|
}
|
||||||
&::-moz-range-thumb {
|
&::-moz-range-thumb {
|
||||||
background: #65001c;
|
background: #65001c;
|
||||||
@ -64,7 +64,7 @@
|
|||||||
height: remCalc(24);
|
height: remCalc(24);
|
||||||
width: remCalc(39);
|
width: remCalc(39);
|
||||||
|
|
||||||
@add-mixin create-base-box-properties 7px, 0px solid #000000, var(--box-shaddow);
|
@add-mixin create-base-box-properties 7px, 0px solid #000000;
|
||||||
}
|
}
|
||||||
&::-ms-track {
|
&::-ms-track {
|
||||||
animate: 0.2s;
|
animate: 0.2s;
|
||||||
@ -79,12 +79,12 @@
|
|||||||
&::-ms-fill-lower {
|
&::-ms-fill-lower {
|
||||||
background: var(--primary-background);
|
background: var(--primary-background);
|
||||||
|
|
||||||
@add-mixin create-base-box-properties remCalc(50), var(--box-border), var(--box-shaddow);
|
@add-mixin create-base-box-properties remCalc(50);
|
||||||
}
|
}
|
||||||
&::-ms-fill-upper {
|
&::-ms-fill-upper {
|
||||||
background: #e6e6e6;
|
background: #e6e6e6;
|
||||||
|
|
||||||
@add-mixin create-base-box-properties remCalc(50), var(--box-border), var(--box-shaddow);
|
@add-mixin create-base-box-properties remCalc(50);
|
||||||
}
|
}
|
||||||
&::-ms-thumb {
|
&::-ms-thumb {
|
||||||
background: #65001c;
|
background: #65001c;
|
||||||
@ -92,7 +92,7 @@
|
|||||||
height: remCalc(20);
|
height: remCalc(20);
|
||||||
width: remCalc(39);
|
width: remCalc(39);
|
||||||
|
|
||||||
@add-mixin create-base-box-properties 7px, var(--box-border), var(--box-shaddow);
|
@add-mixin create-base-box-properties 7px;
|
||||||
}
|
}
|
||||||
&:focus::-ms-fill-lower {
|
&:focus::-ms-fill-lower {
|
||||||
background: var(--primary-background);
|
background: var(--primary-background);
|
||||||
|
Loading…
Reference in New Issue
Block a user