mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 06:11:10 +00:00
Implements client side dialogs styling
This commit is contained in:
1 parent
891aeb3281
commit
a3257f4e7e
7 files changed
+88
-20
No files matched your search
@@ -36,11 +36,12 @@
|
||||
|
||||
.dialog-content {
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.dialog-header {
|
||||
padding-bottom: 15px;
|
||||
border-bottom: 1px solid #000;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -61,39 +62,46 @@
|
||||
}
|
||||
|
||||
.dialog-body {
|
||||
padding: 20px;
|
||||
border-top: 1px solid #000;
|
||||
border-left: 1px solid #000;
|
||||
border-right: 1px solid #505050;
|
||||
border-bottom: 1px solid #505050;
|
||||
padding: 5px;
|
||||
color: var(--text-foreground);
|
||||
font-family: monospace;
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
align-items: flex-start;
|
||||
display: block;
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
padding-left: 34px;
|
||||
}
|
||||
|
||||
.dialog-icon {
|
||||
position: sticky;
|
||||
top: 5px;
|
||||
float: left;
|
||||
margin-bottom: 5px;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
flex-shrink: 0;
|
||||
margin-left: -29px;
|
||||
}
|
||||
|
||||
.dialog-icon.info {
|
||||
background-image: url('path-to-info-icon.svg');
|
||||
background-image: url('../images/ui/information.svg');
|
||||
}
|
||||
|
||||
.dialog-icon.warning {
|
||||
background-image: url('path-to-warning-icon.svg');
|
||||
background-image: url('../images/ui/warning.svg');
|
||||
}
|
||||
|
||||
.dialog-icon.error {
|
||||
background-image: url('path-to-error-icon.svg');
|
||||
background-image: url('../images/ui/error.svg');
|
||||
}
|
||||
|
||||
.dialog-icon.question {
|
||||
background-image: url('path-to-question-icon.svg');
|
||||
background-image: url('../images/ui/question.svg');
|
||||
}
|
||||
|
||||
.dialog-message {
|
||||
flex-grow: 1;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-word;
|
||||
hyphens: auto;
|
||||
@@ -105,7 +113,6 @@
|
||||
justify-content: flex-end;
|
||||
padding-top: 15px;
|
||||
gap: 10px;
|
||||
border-top: 1px solid #000;
|
||||
}
|
||||
|
||||
.dialog-button {
|
||||
|
||||
Reference in new issue
Block a user