Use factorized style.

This commit is contained in:
2022-03-06 14:42:24 +01:00
parent ba11f17531
commit 9b56dddab9
9 changed files with 24 additions and 31 deletions

View File

@@ -22,6 +22,8 @@
--alert-text: #fff;
--alert-hover: #c20d2b;
--alert-border: #b91b35;
--selection: #185eb4;
}
html {
@@ -104,7 +106,7 @@ button {
background-color: var(--primary-hover);
}
}
&.secondary {
background-color: var(--secondary);
@@ -123,4 +125,15 @@ button {
border-color: var(--alert-border);
}
}
}
.dialog-actions {
margin-top: 1rem;
display: flex;
justify-content: space-between;
> * {
flex: 1 1 45%;
max-width: 45%;
}
}