mirror of
https://github.com/tabler/tabler.git
synced 2026-07-17 19:11:40 +04:00
Refactor SCSS imports, remove compile warnings (#2536)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
font-size: $h5-font-size;
|
||||
font-weight: var(--#{$prefix}font-weight-medium);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .04em;
|
||||
letter-spacing: 0.04em;
|
||||
|
||||
@if $include-line-height {
|
||||
line-height: $h5-line-height;
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
@mixin scrollbar {
|
||||
#{if(&, "&", "*")} {
|
||||
scrollbar-color: color-transparent(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color)), .20) transparent;
|
||||
scrollbar-color: color-transparent(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color)), 0.2) transparent;
|
||||
}
|
||||
|
||||
#{if(&, "&", "*")}::-webkit-scrollbar {
|
||||
@@ -27,7 +27,7 @@
|
||||
#{if(&, "&", "*")}::-webkit-scrollbar-thumb {
|
||||
border-radius: 1rem;
|
||||
border: 5px solid transparent;
|
||||
box-shadow: inset 0 0 0 1rem color-transparent(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color)), .20);
|
||||
box-shadow: inset 0 0 0 1rem color-transparent(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color)), 0.2);
|
||||
}
|
||||
|
||||
#{if(&, "&", "*")}::-webkit-scrollbar-track {
|
||||
@@ -35,7 +35,7 @@
|
||||
}
|
||||
|
||||
#{if(&, "&", "*")}:hover::-webkit-scrollbar-thumb {
|
||||
box-shadow: inset 0 0 0 1rem color-transparent(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color)), .40);
|
||||
box-shadow: inset 0 0 0 1rem color-transparent(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color)), 0.4);
|
||||
}
|
||||
|
||||
#{if(&, "&", "*")}::-webkit-scrollbar-corner {
|
||||
@@ -43,7 +43,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@mixin autodark-image {
|
||||
filter: brightness(0) invert(1);
|
||||
}
|
||||
@@ -51,7 +50,7 @@
|
||||
//
|
||||
// Elements list
|
||||
//
|
||||
@mixin elements-list($gap: .5rem) {
|
||||
@mixin elements-list($gap: 0.5rem) {
|
||||
--#{$prefix}list-gap: #{$gap};
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -62,7 +61,7 @@
|
||||
outline: 0;
|
||||
box-shadow: 0 0 $focus-ring-blur $focus-ring-width rgba(var(--#{$prefix}primary-rgb), 0.25);
|
||||
|
||||
@if($show-border) {
|
||||
@if ($show-border) {
|
||||
border-color: rgba(var(--#{$prefix}primary-rgb), 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user