tabs/frontend/sass/service-settings.scss

130 lines
1.8 KiB
SCSS
Raw Normal View History

2020-01-07 13:09:02 +01:00
.form-group.hidden,
#icon-select.hidden {
display: none;
}
#icon-select {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.choice {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
width: 128px;
height: 128px;
margin: 8px;
border: 1px solid black;
cursor: pointer;
}
.choice img {
margin: 16px;
max-width: 112px;
max-height: 48px;
filter: invert(1);
}
.choice span {
display: block;
width: 100%;
margin: 8px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.choice input {
display: none;
}
.choice.hidden {
display: none;
}
.choice.selected {
background-color: #ffffff26;
}
form {
display: flex;
flex-direction: column;
height: 100%;
}
.form-body {
flex: 1;
overflow: hidden auto;
}
.form-header,
.form-footer,
.form-group-header {
background-color: #ffffff14;
}
.form-group {
display: grid;
margin: 8px;
2020-02-20 12:46:53 +01:00
grid-template-columns: 0fr auto 0fr;
2020-01-07 13:09:02 +01:00
}
.form-group > * {
margin: 8px;
padding: 8px;
white-space: nowrap;
align-self: center;
}
2020-02-20 12:46:53 +01:00
.form-group > :first-child {
2020-01-07 13:09:02 +01:00
justify-self: end;
}
2020-02-20 12:46:53 +01:00
.form-group > :not(:first-child) {
2020-01-07 13:09:02 +01:00
margin-left: 8px;
}
label.form-group {
line-height: 29px;
text-align: left;
}
2020-01-07 13:09:02 +01:00
#buttons {
grid-template-columns: repeat(2, 1fr);
}
#buttons > button {
max-width: 120px;
}
#buttons > :nth-child(1) {
width: 100%;
justify-self: auto;
}
#buttons > :nth-child(2) {
width: 100%;
justify-self: end;
}
#icon-choice {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
max-height: 570px;
}
#icon-select {
overflow: auto;
}
#custom-css {
min-height: 96px;
2020-02-20 12:46:53 +01:00
}