style(frontend): enforce shorthand-property-no-redundant-values in scss
- Stylelint: - re-enable `shorthand-property-no-redundant-values` in the frontend Stylelint config while leaving the agreed Angular and legacy Sass exceptions intact - SCSS: - collapse redundant shorthand values across frontend stylesheets without changing computed spacing or sizing - Validation: - `just ui stylelint`
This commit is contained in:
@@ -66,7 +66,7 @@ $border-color: rgb(255 255 255 / 10%);
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0 0 0 0;
|
||||
inset: 0;
|
||||
background: radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--accent-color) 15%, transparent) 0%, transparent 50%),
|
||||
radial-gradient(ellipse at 80% 100%, rgb($accent-secondary, 10%) 0%, transparent 50%);
|
||||
pointer-events: none;
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
.image-container {
|
||||
position: absolute;
|
||||
inset: 0 0 0 0;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
.previous-page-layer {
|
||||
position: absolute;
|
||||
inset: 0 0 0 0;
|
||||
inset: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@@ -581,7 +581,7 @@
|
||||
|
||||
.loader-overlay {
|
||||
position: fixed;
|
||||
inset: 0 0 0 0;
|
||||
inset: 0;
|
||||
background-color: rgb(0 0 0 / 80%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
+1
-1
@@ -116,7 +116,7 @@ $transition-normal: 200ms ease;
|
||||
|
||||
.shortcut-group {
|
||||
.group-title {
|
||||
margin: 0 0 12px 0;
|
||||
margin: 0 0 12px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ $transition-normal: 200ms ease;
|
||||
border-left: 1px solid $border-color;
|
||||
border-top: 1px solid $border-color;
|
||||
transform: rotate(45deg);
|
||||
border-radius: 3px 0 0 0;
|
||||
border-radius: 3px 0 0;
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
|
||||
+1
-1
@@ -211,7 +211,7 @@ $transition-normal: 200ms ease;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
margin: 0 0 12px 0;
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
|
||||
.metadata-item {
|
||||
|
||||
+1
-1
@@ -116,7 +116,7 @@ $transition-normal: 200ms ease;
|
||||
|
||||
.shortcut-group {
|
||||
.group-title {
|
||||
margin: 0 0 12px 0;
|
||||
margin: 0 0 12px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
.navigation-overlay {
|
||||
position: absolute;
|
||||
inset: 0 0 0 0;
|
||||
inset: 0;
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
@@ -69,7 +69,7 @@
|
||||
|
||||
#foliate-container {
|
||||
position: absolute;
|
||||
inset: 0 0 0 0;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: auto;
|
||||
@@ -86,7 +86,7 @@
|
||||
|
||||
.loader-overlay {
|
||||
position: fixed;
|
||||
inset: 0 0 0 0;
|
||||
inset: 0;
|
||||
background-color: rgb(0 0 0 / 80%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ $transition-normal: 200ms ease;
|
||||
border-left: 1px solid $border-color;
|
||||
border-top: 1px solid $border-color;
|
||||
transform: rotate(45deg);
|
||||
border-radius: 3px 0 0 0;
|
||||
border-radius: 3px 0 0;
|
||||
}
|
||||
|
||||
.panel-body {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
.popup-backdrop {
|
||||
position: fixed;
|
||||
inset: 0 0 0 0;
|
||||
inset: 0;
|
||||
z-index: 99998;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user