mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
stylelint: re-enable few more rules, fix warnings
This commit is contained in:
+1
-3
@@ -20,12 +20,10 @@
|
||||
"selector-id-pattern": null,
|
||||
"selector-type-no-unknown": null,
|
||||
"shorthand-property-no-redundant-values": null,
|
||||
"value-keyword-case": null,
|
||||
"scss/dollar-variable-pattern": null,
|
||||
"scss/dollar-variable-empty-line-before": null,
|
||||
"scss/double-slash-comment-empty-line-before": null,
|
||||
"scss/no-global-function-names": null,
|
||||
"scss/operator-no-newline-after": null,
|
||||
"scss/percent-placeholder-pattern": null
|
||||
"scss/operator-no-newline-after": null
|
||||
}
|
||||
}
|
||||
|
||||
@@ -155,10 +155,7 @@
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
inset: 0;
|
||||
box-shadow: 0 0 3px rgba(0, 0, 0, 0.5) inset;
|
||||
}
|
||||
tick {
|
||||
|
||||
@@ -10,10 +10,7 @@ body {
|
||||
@extend %flex-center;
|
||||
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
inset: 0;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
background: radial-gradient(circle, #484848, #2f3031);
|
||||
|
||||
@@ -22,10 +22,7 @@
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
inset: 0;
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) inset;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,10 +4,7 @@
|
||||
|
||||
#confetti {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
|
||||
@@ -266,10 +266,7 @@
|
||||
content: '';
|
||||
position: absolute;
|
||||
border-radius: inherit;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
transition: 120ms ease;
|
||||
@@ -284,10 +281,7 @@
|
||||
&::before {
|
||||
$size: -$tagMargin / 2;
|
||||
$size: -2px;
|
||||
top: $size;
|
||||
left: $size;
|
||||
bottom: $size;
|
||||
right: $size;
|
||||
inset: $size;
|
||||
box-shadow: 0 0 0 $tag-inset-shadow-size $tag-hover inset;
|
||||
box-shadow: 0 0 0 var(--tag-inset-shadow-size, $tag-inset-shadow-size) var(--tag-hover, $tag-hover)
|
||||
inset;
|
||||
|
||||
@@ -22,7 +22,7 @@ body {
|
||||
---main-max-width: 1400px;
|
||||
}
|
||||
|
||||
%lobby__side__more {
|
||||
%lobby-side-more {
|
||||
@extend %roboto;
|
||||
|
||||
font-size: 0.9em;
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
}
|
||||
|
||||
.more {
|
||||
@extend %lobby__side__more;
|
||||
@extend %lobby-side-more;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,6 @@
|
||||
}
|
||||
|
||||
.more {
|
||||
@extend %lobby__side__more;
|
||||
@extend %lobby-side-more;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,10 +50,7 @@ body {
|
||||
}
|
||||
.recap {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 1vw;
|
||||
right: 1vw;
|
||||
inset: 0 1vw;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
|
||||
|
||||
@@ -230,10 +230,7 @@
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
background: $c-primary;
|
||||
opacity: 0;
|
||||
|
||||
Reference in New Issue
Block a user