dialog wip
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
//
|
||||
//:modal {
|
||||
// background-color: beige;
|
||||
// border: 2px solid burlywood;
|
||||
// border-radius: 5px;
|
||||
//}
|
||||
body:has(dialog[open]) {
|
||||
overflow: hidden;
|
||||
}
|
||||
dialog{
|
||||
margin: 10px auto;
|
||||
background-color: #fff;
|
||||
padding: 34px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
overflow: auto;
|
||||
position: relative;
|
||||
|
||||
.close{
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
.dialog-body{
|
||||
width: fit-content;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
dialog::backdrop {
|
||||
|
||||
backdrop-filter: blur(3px);
|
||||
}
|
||||
Reference in New Issue
Block a user