186 lines
3.3 KiB
CSS
186 lines
3.3 KiB
CSS
|
.scrim-over--.open {
|
||
|
background-color: #0006;
|
||
|
backdrop-filter: blur(4px);
|
||
|
pointer-events: auto;
|
||
|
}
|
||
|
|
||
|
@keyframes myAnim {
|
||
|
from {
|
||
|
box-shadow: 0px 0px 6px -6px #FFFFFF80;
|
||
|
}
|
||
|
to {
|
||
|
box-shadow: 0px 0px 6px 32px #FFFFFF00;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#updatedialog {
|
||
|
box-shadow: 0px 0px 6px 32px #FFFFFF00;
|
||
|
animation: myAnim 2s ease 0s infinite normal forwards;
|
||
|
}
|
||
|
|
||
|
#updatedialog button {
|
||
|
animation: myAnim 2s ease 1s infinite normal forwards;
|
||
|
}
|
||
|
|
||
|
.dialog {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.body .dialog {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.scrim-over--.open .dialog, .dialog.open {
|
||
|
display: inline-block !important;
|
||
|
}
|
||
|
|
||
|
.dialog {
|
||
|
min-width: 320px;
|
||
|
max-width: calc(100vw - 64px);
|
||
|
min-height: 128px;
|
||
|
max-height: calc(100vh - 64px);
|
||
|
background-color: var(--background-light);
|
||
|
transition: background-color 0.125s;
|
||
|
color: var(--foreground);
|
||
|
border-radius: 8px;
|
||
|
padding: 16px;
|
||
|
box-sizing: border-box;
|
||
|
pointer-events: auto;
|
||
|
overflow-y: auto;
|
||
|
}
|
||
|
|
||
|
.dialog p {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
margin-bottom: 4px;
|
||
|
}
|
||
|
|
||
|
.dialog .dlg-top {
|
||
|
display: block;
|
||
|
font-weight: bold;
|
||
|
font-size: 18px;
|
||
|
margin: 8px 0;
|
||
|
}
|
||
|
|
||
|
.dialog div {
|
||
|
text-align: right;
|
||
|
margin-top: 8px;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
.dialog div input[type=submit], .dialog div button {
|
||
|
margin: 0;
|
||
|
padding: 8px;
|
||
|
height: 32px;
|
||
|
box-sizing: border-box;
|
||
|
border: none;
|
||
|
background-color: transparent;
|
||
|
color: var(--main-color);
|
||
|
font-weight: bold;
|
||
|
border-radius: 4px;
|
||
|
transition: background-color 0.125s, color 0.125s;
|
||
|
}
|
||
|
|
||
|
.dialog div input:focus, .dialog div button:focus {
|
||
|
background-color: #00000020;
|
||
|
}
|
||
|
|
||
|
.dialog div input:hover, .dialog div button:hover {
|
||
|
background-color: #00000040;
|
||
|
}
|
||
|
|
||
|
.dialog div input:active, .dialog div button:active {
|
||
|
background-color: #00000080;
|
||
|
}
|
||
|
|
||
|
input[type="radio"] {
|
||
|
opacity: 0;
|
||
|
width: 0;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
input[type="radio"] + label {
|
||
|
display: inline-block;
|
||
|
margin: 8px;
|
||
|
padding: 0;
|
||
|
width: 96px;
|
||
|
height: 64px;
|
||
|
border-radius: 4px;
|
||
|
box-shadow: 0 0 4px 2px rgba(0,0,0,0.25);
|
||
|
color: #FFFFFF;
|
||
|
transition: border 0.25s;
|
||
|
box-sizing: border-box;
|
||
|
border: 8px solid transparent;
|
||
|
background-size: 96px;
|
||
|
background-repeat: no-repeat;
|
||
|
}
|
||
|
|
||
|
input[type="radio"] + label[for^="bg"] {
|
||
|
color: var(--foreground);
|
||
|
}
|
||
|
|
||
|
input[type="radio"]:checked + label {
|
||
|
border: 8px solid #FFF6;
|
||
|
}
|
||
|
|
||
|
input[type="radio"]:focus + label {
|
||
|
outline: 4px solid white;
|
||
|
}
|
||
|
|
||
|
.dialog select {
|
||
|
width: 100%;
|
||
|
margin: 8px 0;
|
||
|
box-sizing: border-box;
|
||
|
height: max-content;
|
||
|
max-height: 100%;
|
||
|
padding: 8px;
|
||
|
border: none;
|
||
|
border-radius: 4px;
|
||
|
background-color: #00000040;
|
||
|
color: var(--foreground);
|
||
|
}
|
||
|
|
||
|
.dialog input[type="number"] {
|
||
|
width: 16ch;
|
||
|
margin: 8px 0;
|
||
|
box-sizing: border-box;
|
||
|
height: max-content;
|
||
|
max-height: 100%;
|
||
|
padding: 8px;
|
||
|
border: none;
|
||
|
border-radius: 4px;
|
||
|
background-color: #00000040;
|
||
|
color: var(--foreground);
|
||
|
}
|
||
|
|
||
|
.checkobject input[type="text"] {
|
||
|
width: 100%;
|
||
|
margin: 8px 0;
|
||
|
box-sizing: border-box;
|
||
|
height: max-content;
|
||
|
max-height: 100%;
|
||
|
padding: 8px;
|
||
|
border: none;
|
||
|
border-radius: 4px;
|
||
|
font-size: 48px;
|
||
|
background-color: #00000040;
|
||
|
color: var(--foreground);
|
||
|
}
|
||
|
|
||
|
.checkobject {
|
||
|
display: flex;
|
||
|
gap: 12px;
|
||
|
flex-direction: row;
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
flex-wrap: nowrap;
|
||
|
justify-content: flex-start;
|
||
|
align-content: space-around;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.checkobject .deleteclock {
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
}
|