86 lines
1.3 KiB
SCSS
86 lines
1.3 KiB
SCSS
@import '~@/styles/vars';
|
|
|
|
.btn,
|
|
.btn-action {
|
|
border: 0;
|
|
border-radius: .25em;
|
|
cursor: pointer;
|
|
font-family: $body-font;
|
|
font-size: inherit;
|
|
font-weight: bold;
|
|
padding: .5em 1em;
|
|
|
|
a { text-decoration: none; }
|
|
}
|
|
|
|
.btn-action {
|
|
background-color: $color2;
|
|
color: $color3;
|
|
cursor: pointer;
|
|
position: relative;
|
|
|
|
&:hover {
|
|
background-color: darken($color2, 5%);
|
|
}
|
|
}
|
|
|
|
.form-waiting .wait-spinner {
|
|
border: solid thin $fg-primary;
|
|
border-radius: .25em;
|
|
cursor: wait;
|
|
font-family: $body-font;
|
|
font-size: inherit;
|
|
padding: .5em 1em;
|
|
}
|
|
|
|
a.btn, a.btn-action { text-decoration: none; }
|
|
|
|
.header,
|
|
.header-action {
|
|
align-items: baseline;
|
|
font-size: 1.2rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.header-action {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
& > * { display: inline-block; }
|
|
|
|
& > .btn, & > .btn-action { font-size: inherit; }
|
|
}
|
|
|
|
.main { flex-grow: 1; }
|
|
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
label {
|
|
display: inline-block;
|
|
margin: .5rem 0;
|
|
min-width: 10em;
|
|
}
|
|
|
|
select { background-color: white; }
|
|
|
|
.form-actions,
|
|
.form-waiting {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
}
|
|
}
|
|
|
|
input,
|
|
select,
|
|
textarea {
|
|
font-size: inherit;
|
|
padding: .35em .5em;
|
|
|
|
&:disabled { cursor: wait; }
|
|
}
|
|
|
|
textarea { font-family: $body-font; }
|
|
|