Unify dialog infrastructure
This commit is contained in:
62
dialog.css
Normal file
62
dialog.css
Normal file
@@ -0,0 +1,62 @@
|
||||
/* ============================================================
|
||||
* Dialog Infrastructure (shared overlay & popup)
|
||||
* ============================================================ */
|
||||
.luxtools-dialog-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
z-index: 10000;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.luxtools-dialog {
|
||||
background: @ini_background;
|
||||
border: 1px solid @ini_border;
|
||||
border-radius: 0.4em;
|
||||
padding: 1.5em;
|
||||
max-width: 500px;
|
||||
width: 90%;
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.luxtools-dialog-close {
|
||||
position: absolute;
|
||||
top: 0.5em;
|
||||
right: 0.75em;
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 1.5em;
|
||||
cursor: pointer;
|
||||
color: @ini_text;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.luxtools-dialog-close:hover {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.luxtools-dialog-title {
|
||||
margin: 0 0 0.75em 0;
|
||||
padding-right: 1.5em;
|
||||
}
|
||||
|
||||
.luxtools-dialog-field {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.luxtools-dialog-actions {
|
||||
margin-top: 1em;
|
||||
padding-top: 0.75em;
|
||||
border-top: 1px solid @ini_border;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5em;
|
||||
}
|
||||
Reference in New Issue
Block a user