Merge pull request #277 from mef/feature-display-input-in-collapsible

Feature display input in collapsible
This commit is contained in:
Rhyne 2022-11-24 11:33:03 -05:00 committed by GitHub
commit 3ec8c3580f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

12
dist/paper.css vendored
View file

@ -1319,20 +1319,20 @@ table.table-alternating tbody tr:nth-of-type(even) {
overflow: hidden;
padding: 0 0.75rem;
}
.collapsible input {
.collapsible > input {
display: none;
}
.collapsible input:checked + label {
.collapsible > input:checked + label {
color: #41403e;
color: var(--primary);
}
.collapsible input[id^=collapsible]:checked ~ div.collapsible-body {
.collapsible > input[id^=collapsible]:checked ~ div.collapsible-body {
margin: 0;
max-height: 960px;
opacity: 1;
padding: 0.75rem;
}
.collapsible label {
.collapsible > label {
color: #41403e;
color: var(--primary);
border-bottom-color: #41403e;
@ -1345,7 +1345,7 @@ table.table-alternating tbody tr:nth-of-type(even) {
padding: 0.75rem;
text-align: center;
}
.collapsible label:hover {
.collapsible > label:hover {
color: #41403e;
color: var(--muted);
cursor: pointer;
@ -2400,7 +2400,7 @@ fieldset.form-group {
top: 0;
visibility: hidden;
word-wrap: break-word;
z-index: 12;
z-index: 200;
}
.modal-bg {
bottom: 0;

2
dist/paper.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -21,7 +21,7 @@
padding: 0 0.75rem;
}
input {
> input {
display: none;
&:checked + label {
@ -36,7 +36,7 @@
}
}
label {
> label {
@include color('color', 'primary');
@include color('border-bottom-color', 'muted-light');
border-bottom-style: solid;

View file

@ -11,7 +11,7 @@
top: 0;
visibility: hidden;
word-wrap: break-word;
z-index: 12;
z-index: 200;
// modal background
&-bg {