mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
everywhere: add email notifications
This commit is contained in:
@ -1,10 +1,12 @@
|
||||
@import "colors-main.scss";
|
||||
|
||||
.commento-round-check {
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input[type="radio"] + label,
|
||||
input[type="checkbox"] + label {
|
||||
display: block;
|
||||
position: relative;
|
||||
@ -16,8 +18,12 @@
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
input[type="checkbox"] + label:last-child { margin-bottom: 0; }
|
||||
input[type="radio"] + label:last-child,
|
||||
input[type="checkbox"] + label:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
input[type="radio"] + label:before,
|
||||
input[type="checkbox"] + label:before {
|
||||
content: '';
|
||||
display: block;
|
||||
@ -33,17 +39,20 @@
|
||||
transition: all .15s;
|
||||
}
|
||||
|
||||
input[type="radio"]:disabled + label:before,
|
||||
input[type="checkbox"]:disabled + label:before {
|
||||
background: $gray-0;
|
||||
border: 1px solid $gray-4;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
input[type="radio"]:checked + label:before,
|
||||
input[type="checkbox"]:checked + label:before {
|
||||
background: $blue-6;
|
||||
border: 1px solid $blue-6;
|
||||
}
|
||||
|
||||
input[type="radio"] + label:after,
|
||||
input[type="checkbox"] + label:after {
|
||||
position: absolute;
|
||||
left: -7px;
|
||||
@ -59,11 +68,13 @@
|
||||
border-width: 0 2px 2px 0;
|
||||
}
|
||||
|
||||
input[type="radio"]:disabled + label:after,
|
||||
input[type="checkbox"]:disabled + label:after {
|
||||
border: solid transparent;
|
||||
border-width: 0 2px 2px 0;
|
||||
}
|
||||
|
||||
input[type="radio"]:checked + label:after,
|
||||
input[type="checkbox"]:checked + label:after {
|
||||
border: solid $gray-0;
|
||||
border-width: 0 2px 2px 0;
|
||||
|
Reference in New Issue
Block a user