92 lines
1.5 KiB
SCSS
92 lines
1.5 KiB
SCSS
.form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
align-items: flex-start;
|
|
padding: 20px;
|
|
}
|
|
|
|
.form .form-group {
|
|
margin: 10px 20px 5px 20px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
align-self: stretch;
|
|
flex: 1;
|
|
}
|
|
|
|
.form .form-group label {
|
|
flex: 1;
|
|
padding: 10px;
|
|
text-align: right;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.form .form-group .widget {
|
|
flex: 3;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.form .form-group input,
|
|
.form .form-group select,
|
|
.form .form-group textarea {
|
|
flex: 1;
|
|
padding: 10px 5px 10px 5px;
|
|
border: 1px solid darken($white, 10%);
|
|
border-radius: 4px;
|
|
width: auto;
|
|
}
|
|
|
|
.form .form-group input[type=checkbox] {
|
|
flex: 0;
|
|
}
|
|
|
|
.form .form-group .trigger {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.form .form-group select.trigger {
|
|
max-width: 120px;
|
|
}
|
|
|
|
.form .form-group span {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.form .actions {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
margin-top: 10px;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.form .actions button.green,
|
|
.form .actions button {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.form .actions button.green:hover {
|
|
background: white;
|
|
color: $limeGreen;
|
|
border-color: $limeGreen;
|
|
}
|
|
|
|
.form .actions button.btn-normal {
|
|
color: $lightGrey;
|
|
border-color: $lightGrey;
|
|
font-size: 18px;
|
|
margin: 0;
|
|
}
|
|
|
|
.form .actions button.btn-normal:hover {
|
|
color: $neutralGrey;
|
|
border-color: $neutralGrey;
|
|
}
|