93 lines
1.7 KiB
SCSS
93 lines
1.7 KiB
SCSS
.profile_form {
|
|
width: 90%;
|
|
padding: 40px;
|
|
margin: auto;
|
|
.form {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
padding: 40px;
|
|
margin: auto;
|
|
background: $light-grey;
|
|
|
|
select.form__input {
|
|
box-sizing: border-box;
|
|
border: 1px solid transparent;
|
|
width: auto;
|
|
height: 38px;
|
|
background: #fff;
|
|
background-repeat: no-repeat;
|
|
appearance: revert;
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
.select-group {
|
|
display: flex;
|
|
}
|
|
}
|
|
}
|
|
|
|
.profile-actions {
|
|
.disconnect {
|
|
margin-left: auto;
|
|
margin-right: 2rem;
|
|
align-items: flex-end;
|
|
}
|
|
}
|
|
|
|
|
|
//custom input checkboxes
|
|
.custom-input {
|
|
//color: $primary;
|
|
|
|
display: flex;
|
|
position: relative;
|
|
&.error {
|
|
color: $error;
|
|
font-style: italic;
|
|
}
|
|
|
|
|
|
span.checkmark {
|
|
min-width: 1.2rem;
|
|
height: 1.2rem;
|
|
margin-right: 0.6rem;
|
|
|
|
&::before, &::after{
|
|
content: '';
|
|
display: block;
|
|
flex: 0 0 auto;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&::before {
|
|
width: 1.2rem;
|
|
height: 1.2rem;
|
|
background: #fff;
|
|
}
|
|
|
|
&::after {
|
|
width: 0.6rem;
|
|
height: 0.6rem;
|
|
background: $primary;
|
|
position: absolute;
|
|
top: 0.3rem;
|
|
left: 0.3rem;
|
|
opacity: 0;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
input {
|
|
width: 1px;
|
|
height: 1px;
|
|
margin: -1px;
|
|
opacity: 0;
|
|
transform: translate(10px, 10px);
|
|
}
|
|
|
|
input:checked ~ span.checkmark::after {
|
|
opacity: 1;
|
|
}
|
|
}
|