mirror of
https://github.com/papercss/papercss
synced 2024-06-10 09:52:37 +02:00
button fix for backward compatibility
This commit is contained in:
parent
fad66597ce
commit
12af59b98a
|
@ -23,6 +23,7 @@ nav {
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.collapsible input[id^=collapsible]:checked + button, // Leaving for backwards compatibility. See docs for proper usage
|
||||||
.collapsible input[id^=collapsible]:checked + label {
|
.collapsible input[id^=collapsible]:checked + label {
|
||||||
.bar1 {
|
.bar1 {
|
||||||
transform: rotate(-45deg) translate(-9px, 7px);
|
transform: rotate(-45deg) translate(-9px, 7px);
|
||||||
|
@ -101,7 +102,7 @@ nav {
|
||||||
h3,
|
h3,
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6, {
|
h6 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-bottom: 0.2rem;
|
margin-bottom: 0.2rem;
|
||||||
}
|
}
|
||||||
|
@ -141,6 +142,11 @@ nav {
|
||||||
border-top-right-radius: 15px 225px;
|
border-top-right-radius: 15px 225px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.collapsible > button { // Leaving for backwards compatibility. See docs for proper usage
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.collapsible > button, // Leaving for backwards compatibility. See docs for proper usage
|
||||||
.collapsible > label {
|
.collapsible > label {
|
||||||
background-color: $main-background;
|
background-color: $main-background;
|
||||||
display: none;
|
display: none;
|
||||||
|
|
Loading…
Reference in a new issue