Fix admin ident styles

This commit is contained in:
Pedro Silva 2024-02-16 15:04:36 +00:00
parent 9fd69e7f55
commit 9d2525ffcb
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
9 changed files with 81 additions and 10 deletions

View file

@ -1,7 +1,7 @@
@use "../../../ppcp-button/resources/css/mixins/apm-button" as apm-button;
$border-color: #c3c3c3;
$background-ident-color: #f9f9f9;
$background-ident-color: #fbfbfb;
.ppcp-field-hidden {
display: none !important;
@ -18,13 +18,22 @@ $background-ident-color: #f9f9f9;
border-left: 1px solid transparent;
border-right: 1px solid transparent;
&.ppcp-field-indent {
&.active {
background-color: $background-ident-color;
border: 1px solid $border-color;
th {
padding-left: 20px;
}
}
&.ppcp-field-indent {
background-color: $background-ident-color;
border: 1px solid $border-color;
th {
padding-left: 40px;
}
th, td {
border-top: 1px solid $border-color;
@ -38,6 +47,13 @@ $background-ident-color: #f9f9f9;
}
}
.ppcp-active-spacer {
th, td {
padding: 0;
height: 1rem;
}
}
// Prevents spacing after button group.
.ppcp-button-preview-inner {
line-height: 0;