mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 01:46:14 -04:00
Docs: Add modal page
This commit is contained in:
parent
10301430ab
commit
f85faceb65
9 changed files with 229 additions and 12 deletions
34
docs/scss/components/_modal.scss
Normal file
34
docs/scss/components/_modal.scss
Normal file
|
@ -0,0 +1,34 @@
|
|||
/**
|
||||
* Docs: Modal
|
||||
*/
|
||||
|
||||
dialog.example {
|
||||
display: block;
|
||||
z-index: inherit;
|
||||
position: relative;
|
||||
top: inherit;
|
||||
right: inherit;
|
||||
bottom: inherit;
|
||||
left: inherit;
|
||||
align-items: inherit;
|
||||
justify-content: inherit;
|
||||
width: inherit;
|
||||
min-width: inherit;
|
||||
height: inherit;
|
||||
min-height: inherit;
|
||||
padding: 0;
|
||||
background-color:inherit;
|
||||
|
||||
article {
|
||||
max-width: inherit;
|
||||
}
|
||||
|
||||
&:not([open]),
|
||||
&[open=false] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-is-open body > button {
|
||||
filter: blur(0.125rem);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue