chore: styles
This commit is contained in:
parent
c3563b0ac3
commit
51b60301d1
6 changed files with 45 additions and 46 deletions
|
@ -1,25 +1,27 @@
|
|||
[data-toggle-content].text-toggle-hidden {
|
||||
position: relative;
|
||||
height: 500px;
|
||||
overflow: hidden;
|
||||
margin-bottom: var(--sizing-base);
|
||||
[data-toggle-content] {
|
||||
&.text-toggle-hidden {
|
||||
position: relative;
|
||||
height: 500px;
|
||||
overflow: hidden;
|
||||
margin-bottom: var(--sizing-base);
|
||||
|
||||
& p:first-of-type {
|
||||
margin-top: 0;
|
||||
& p:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&::after {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
content: '';
|
||||
box-shadow: inset 0 -120px 80px -60px var(--background-color);
|
||||
width: 100%;
|
||||
height: 20%;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&::after {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
content: '';
|
||||
box-shadow: inset 0 -120px 80px -60px var(--background-color);
|
||||
width: 100%;
|
||||
height: 20%;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
& + button[data-toggle-button]:has(+ *) {
|
||||
margin: 0 0 var(--sizing-base);
|
||||
}
|
||||
}
|
||||
|
||||
[data-toggle-content] + button[data-toggle-button]:has(+ table) {
|
||||
margin: 0 0 var(--sizing-base);
|
||||
}
|
Reference in a new issue