fox-send/app/templates/setPasswordSection/setPasswordSection.css

70 lines
1.3 KiB
CSS
Raw Normal View History

.setPasswordSection {
padding: 10px 0;
max-width: 100%;
overflow-wrap: break-word;
}
.checkbox {
min-height: 24px;
}
.checkbox__input {
position: absolute;
2018-02-16 20:56:53 +00:00
opacity: 0;
}
.checkbox__label {
line-height: 23px;
cursor: pointer;
color: var(--lightTextColor);
2018-03-11 15:20:09 +00:00
user-select: none;
}
.checkbox__label::before {
content: '';
height: 20px;
width: 20px;
margin-right: 10px;
margin-left: 5px;
float: left;
border: 1px solid rgba(12, 12, 13, 0.3);
border-radius: 2px;
}
2018-02-16 20:56:53 +00:00
.checkbox__input:focus + .checkbox__label::before,
.checkbox:hover .checkbox__label::before {
border: 1px solid var(--primaryControlBGColor);
}
.checkbox__input:checked + .checkbox__label {
2018-02-16 20:56:53 +00:00
color: var(--textColor);
}
.checkbox__input:checked + .checkbox__label::before {
background-image: url('../assets/check-16-blue.svg');
background-position: 2px 1px;
}
2018-02-16 20:56:53 +00:00
.checkbox__input:disabled + .checkbox__label {
cursor: auto;
}
.checkbox__input:disabled + .checkbox__label::before {
2018-02-20 00:21:59 +00:00
background-image: url('../assets/check-16-blue.svg');
2018-02-16 20:56:53 +00:00
background-repeat: no-repeat;
2018-02-20 00:21:59 +00:00
background-size: 26px 26px;
border: none;
2018-02-16 20:56:53 +00:00
cursor: auto;
}
@media (max-device-width: 520px), (max-width: 520px) {
.setPasswordSection {
align-self: center;
min-width: 95%;
}
.checkbox__label::before {
margin-left: 0;
}
}