Pull some CSS out into the common scope
This commit is contained in:
parent
606d6e14ea
commit
cf4be4163e
4 changed files with 36 additions and 27 deletions
|
|
@ -15,33 +15,6 @@
|
|||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.alert-box {
|
||||
border-width: 2px;
|
||||
border-style: dashed;
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
padding: 1rem;
|
||||
|
||||
&.warning {
|
||||
background: color(from var(--color-level-warning-bg) srgb r g b / 0.1);
|
||||
border-color: var(--color-level-warning);
|
||||
}
|
||||
|
||||
&.locked {
|
||||
margin: -0.5rem;
|
||||
padding: 0.5rem;
|
||||
border-color: var(--color-level-error);
|
||||
background: color(from var(--color-level-error-bg) srgb r g b / 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
.center {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue