sort and optimize panel.scss
This commit is contained in:
parent
5775abb25c
commit
23c5627639
1 changed files with 15 additions and 15 deletions
|
@ -25,13 +25,23 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-body:empty::before {
|
.panel-body {
|
||||||
|
padding: var(--panel-body-padding, 0);
|
||||||
|
|
||||||
|
&:empty::before {
|
||||||
content: "¯\\_(ツ)_/¯"; // Could use words but it'd require translations
|
content: "¯\\_(ツ)_/¯"; // Could use words but it'd require translations
|
||||||
display: block;
|
display: block;
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> p {
|
||||||
|
line-height: 1.3;
|
||||||
|
padding: 1em;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.panel-heading,
|
.panel-heading,
|
||||||
.panel-footer {
|
.panel-footer {
|
||||||
--panel-heading-height-padding: 0.6em;
|
--panel-heading-height-padding: 0.6em;
|
||||||
|
@ -186,13 +196,3 @@
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: var(--border, $fallback--border);
|
border-color: var(--border, $fallback--border);
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-body > p {
|
|
||||||
line-height: 1.3;
|
|
||||||
padding: 1em;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panel-body {
|
|
||||||
padding: var(--panel-body-padding, 0);
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue