Disable no-shorthand for certain props for better readability
This commit is contained in:
parent
7dc2277453
commit
a28032fa58
|
@ -21,6 +21,21 @@
|
||||||
"import-notation": null,
|
"import-notation": null,
|
||||||
"custom-property-pattern": null,
|
"custom-property-pattern": null,
|
||||||
"keyframes-name-pattern": null,
|
"keyframes-name-pattern": null,
|
||||||
"scss/operator-no-newline-after": null
|
"scss/operator-no-newline-after": null,
|
||||||
|
"declaration-block-no-redundant-longhand-properties": [
|
||||||
|
true,
|
||||||
|
{
|
||||||
|
"ignoreShorthands": [
|
||||||
|
"grid-template",
|
||||||
|
"margin",
|
||||||
|
"padding",
|
||||||
|
"border",
|
||||||
|
"border-width",
|
||||||
|
"border-style",
|
||||||
|
"border-color",
|
||||||
|
"border-radius"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -214,10 +214,8 @@ nav {
|
||||||
grid-template-columns:
|
grid-template-columns:
|
||||||
var(--effectiveSidebarColumnWidth)
|
var(--effectiveSidebarColumnWidth)
|
||||||
var(--effectiveContentColumnWidth);
|
var(--effectiveContentColumnWidth);
|
||||||
/* stylelint-disable declaration-block-no-redundant-longhand-properties */
|
|
||||||
grid-template-areas: "sidebar content";
|
grid-template-areas: "sidebar content";
|
||||||
grid-template-rows: 1fr;
|
grid-template-rows: 1fr;
|
||||||
/* stylelint-enable declaration-block-no-redundant-longhand-properties */
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
align-content: flex-start;
|
align-content: flex-start;
|
||||||
|
|
|
@ -14,11 +14,9 @@
|
||||||
|
|
||||||
.inner-nav {
|
.inner-nav {
|
||||||
display: grid;
|
display: grid;
|
||||||
/* stylelint-disable declaration-block-no-redundant-longhand-properties */
|
|
||||||
grid-template-rows: var(--navbar-height);
|
grid-template-rows: var(--navbar-height);
|
||||||
grid-template-columns: 2fr auto 2fr;
|
grid-template-columns: 2fr auto 2fr;
|
||||||
grid-template-areas: "sitename logo actions";
|
grid-template-areas: "sitename logo actions";
|
||||||
/* stylelint-enable declaration-block-no-redundant-longhand-properties */
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 0 1.2em;
|
padding: 0 1.2em;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
|
|
@ -43,11 +43,10 @@
|
||||||
mask-composite: exclude;
|
mask-composite: exclude;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
mask-size: 100% 60%;
|
mask-size: 100% 60%;
|
||||||
border-radius:
|
border-top-left-radius: calc(var(--__roundnessTop, --panelRadius) - 1px);
|
||||||
calc(var(--__roundnessTop, --panelRadius) - 1px)
|
border-top-right-radius: calc(var(--__roundnessTop, --panelRadius) - 1px);
|
||||||
calc(var(--__roundnessTop, --panelRadius) - 1px)
|
border-bottom-left-radius: calc(var(--__roundnessBottom, --panelRadius) - 1px);
|
||||||
calc(var(--__roundnessBottom, --panelRadius) - 1px)
|
border-bottom-right-radius: calc(var(--__roundnessBottom, --panelRadius) - 1px);
|
||||||
calc(var(--__roundnessBottom, --panelRadius) - 1px);
|
|
||||||
background-color: var(--profileBg);
|
background-color: var(--profileBg);
|
||||||
z-index: -2;
|
z-index: -2;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue