2022-01-13 13:00:31 +00:00
|
|
|
/*!
|
2022-06-08 10:36:39 +00:00
|
|
|
* # Fomantic-UI 2.9.0-beta.293+2a71b5e - Checkbox
|
2022-01-13 13:00:31 +00:00
|
|
|
* http://github.com/fomantic/Fomantic-UI/
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Released under the MIT license
|
|
|
|
* http://opensource.org/licenses/MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Checkbox
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Content
|
|
|
|
---------------*/
|
|
|
|
|
|
|
|
.ui.checkbox {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
-webkit-backface-visibility: hidden;
|
|
|
|
backface-visibility: hidden;
|
|
|
|
outline: none;
|
|
|
|
vertical-align: baseline;
|
|
|
|
font-style: normal;
|
|
|
|
min-height: 17px;
|
|
|
|
font-size: 1em;
|
|
|
|
line-height: 17px;
|
|
|
|
min-width: 17px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* HTML Checkbox */
|
|
|
|
.ui.checkbox input[type="checkbox"],
|
|
|
|
.ui.checkbox input[type="radio"] {
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
opacity: 0 !important;
|
|
|
|
outline: none;
|
|
|
|
z-index: 3;
|
|
|
|
width: 17px;
|
|
|
|
height: 17px;
|
|
|
|
}
|
|
|
|
.ui.checkbox label {
|
|
|
|
cursor: auto;
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
padding-left: 1.85714em;
|
|
|
|
outline: none;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 17px;
|
|
|
|
height: 17px;
|
|
|
|
content: '';
|
|
|
|
background: #FFFFFF;
|
|
|
|
border-radius: 0.21428571rem;
|
|
|
|
-webkit-transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
|
|
|
transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
|
|
|
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
|
|
|
|
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
|
|
|
border: 1px solid #D4D4D5;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Checkmark
|
|
|
|
---------------*/
|
|
|
|
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
position: absolute;
|
|
|
|
font-size: 14px;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 17px;
|
|
|
|
height: 17px;
|
|
|
|
text-align: center;
|
|
|
|
opacity: 0;
|
|
|
|
color: rgba(0, 0, 0, 0.87);
|
|
|
|
-webkit-transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
|
|
|
transition: border 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
|
|
|
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
|
|
|
|
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease, -webkit-box-shadow 0.1s ease;
|
|
|
|
}
|
|
|
|
.ui.right.aligned.checkbox label {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 1.85714em;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.right.aligned.checkbox label::after,
|
|
|
|
.ui.right.aligned.checkbox label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
right: 0;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Label
|
|
|
|
---------------*/
|
|
|
|
|
|
|
|
|
|
|
|
/* Inside */
|
|
|
|
.ui.checkbox label,
|
|
|
|
.ui.checkbox + label {
|
|
|
|
color: rgba(0, 0, 0, 0.87);
|
|
|
|
-webkit-transition: color 0.1s ease;
|
|
|
|
transition: color 0.1s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Outside */
|
|
|
|
.ui.checkbox + label {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
States
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Hover
|
|
|
|
---------------*/
|
|
|
|
|
|
|
|
.ui.checkbox label:hover::before {
|
|
|
|
background: #FFFFFF;
|
|
|
|
border-color: rgba(34, 36, 38, 0.35);
|
|
|
|
}
|
|
|
|
.ui.checkbox label:hover,
|
|
|
|
.ui.checkbox + label:hover {
|
|
|
|
color: rgba(0, 0, 0, 0.8);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Down
|
|
|
|
---------------*/
|
|
|
|
|
|
|
|
.ui.checkbox label:active::before {
|
|
|
|
background: #F9FAFB;
|
|
|
|
border-color: rgba(34, 36, 38, 0.35);
|
|
|
|
}
|
|
|
|
.ui.checkbox label:active::after {
|
|
|
|
color: rgba(0, 0, 0, 0.95);
|
|
|
|
}
|
|
|
|
.ui.checkbox input:active ~ label {
|
|
|
|
color: rgba(0, 0, 0, 0.95);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Focus
|
|
|
|
---------------*/
|
|
|
|
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox input:focus ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background: #FFFFFF;
|
|
|
|
border-color: #96C8DA;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox input:focus ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
color: rgba(0, 0, 0, 0.95);
|
|
|
|
}
|
|
|
|
.ui.checkbox input:focus ~ label {
|
|
|
|
color: rgba(0, 0, 0, 0.95);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Active
|
|
|
|
---------------*/
|
|
|
|
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox input:checked ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background: #FFFFFF;
|
|
|
|
border-color: rgba(34, 36, 38, 0.35);
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox input:checked ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
opacity: 1;
|
|
|
|
color: rgba(0, 0, 0, 0.95);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Indeterminate
|
|
|
|
---------------*/
|
|
|
|
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox input:not([type=radio]):indeterminate ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background: #FFFFFF;
|
|
|
|
border-color: rgba(34, 36, 38, 0.35);
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox input:not([type=radio]):indeterminate ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
opacity: 1;
|
|
|
|
color: rgba(0, 0, 0, 0.95);
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.indeterminate.toggle.checkbox input:not([type=radio]):indeterminate ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background: rgba(0, 0, 0, 0.15);
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.indeterminate.toggle.checkbox input:not([type=radio]) ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
left: 1.075rem;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.right.aligned.indeterminate.toggle.checkbox input:not([type=radio]) ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
left: auto;
|
|
|
|
right: 1.075rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Active Focus
|
|
|
|
---------------*/
|
|
|
|
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox input:not([type=radio]):indeterminate:focus ~ label::before,
|
|
|
|
.ui.checkbox input:checked:focus ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background: #FFFFFF;
|
|
|
|
border-color: #96C8DA;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox input:not([type=radio]):indeterminate:focus ~ label::after,
|
|
|
|
.ui.checkbox input:checked:focus ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
color: rgba(0, 0, 0, 0.95);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Read-Only
|
|
|
|
---------------*/
|
|
|
|
|
|
|
|
.ui.read-only.checkbox,
|
|
|
|
.ui.read-only.checkbox label {
|
|
|
|
cursor: default;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Disabled
|
|
|
|
---------------*/
|
|
|
|
|
|
|
|
.ui.disabled.checkbox label,
|
|
|
|
.ui.checkbox input[disabled] ~ label {
|
|
|
|
cursor: default;
|
|
|
|
opacity: 0.5;
|
|
|
|
color: #000000;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Hidden
|
|
|
|
---------------*/
|
|
|
|
|
|
|
|
|
|
|
|
/* Initialized checkbox moves input below element
|
|
|
|
to prevent manually triggering */
|
|
|
|
.ui.checkbox input.hidden {
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Selectable Label */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox input + label[for],
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.checkbox input.hidden + label {
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Types
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Radio
|
|
|
|
---------------*/
|
|
|
|
|
|
|
|
.ui.radio.checkbox {
|
|
|
|
min-height: 15px;
|
|
|
|
}
|
|
|
|
.ui.radio.checkbox label {
|
|
|
|
padding-left: 1.85714em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Box */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.radio.checkbox label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
content: '';
|
|
|
|
-webkit-transform: none;
|
|
|
|
transform: none;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
border-radius: 500rem;
|
|
|
|
top: 1px;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Bullet */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.radio.checkbox label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
border: none;
|
|
|
|
content: '' !important;
|
|
|
|
line-height: 15px;
|
|
|
|
top: 1px;
|
|
|
|
left: 0;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
border-radius: 500rem;
|
|
|
|
-webkit-transform: scale(0.46666667);
|
|
|
|
transform: scale(0.46666667);
|
|
|
|
background-color: rgba(0, 0, 0, 0.87);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Focus */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.radio.checkbox input:focus ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: #FFFFFF;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.radio.checkbox input:focus ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.95);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Indeterminate */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.radio.checkbox input:indeterminate ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Active */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.radio.checkbox input:checked ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: #FFFFFF;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.radio.checkbox input:checked ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.95);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Active Focus */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.radio.checkbox input:focus:checked ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: #FFFFFF;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.radio.checkbox input:focus:checked ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.95);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Slider
|
|
|
|
---------------*/
|
|
|
|
|
|
|
|
.ui.slider.checkbox {
|
|
|
|
min-height: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Input */
|
|
|
|
.ui.slider.checkbox input {
|
|
|
|
width: 3.5rem;
|
|
|
|
height: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Label */
|
|
|
|
.ui.slider.checkbox label {
|
|
|
|
padding-left: 4.5rem;
|
|
|
|
line-height: 1rem;
|
|
|
|
color: rgba(0, 0, 0, 0.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Line */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.slider.checkbox label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
content: '';
|
|
|
|
-webkit-transform: none;
|
|
|
|
transform: none;
|
|
|
|
border: none !important;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1;
|
|
|
|
top: 0.4rem;
|
|
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
|
|
width: 3.5rem;
|
|
|
|
height: 0.21428571rem;
|
|
|
|
border-radius: 500rem;
|
|
|
|
-webkit-transition: background 0.3s ease;
|
|
|
|
transition: background 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Handle */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.slider.checkbox label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
background: #FFFFFF -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.05)));
|
|
|
|
background: #FFFFFF -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
|
|
background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
|
|
position: absolute;
|
|
|
|
content: '' !important;
|
|
|
|
opacity: 1;
|
|
|
|
z-index: 2;
|
|
|
|
border: none;
|
|
|
|
-webkit-box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
|
|
|
|
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
top: -0.25rem;
|
|
|
|
left: 0;
|
|
|
|
-webkit-transform: none;
|
|
|
|
transform: none;
|
|
|
|
border-radius: 500rem;
|
|
|
|
-webkit-transition: left 0.3s ease;
|
|
|
|
transition: left 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Focus */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.slider.checkbox input:focus ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.15);
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hover */
|
|
|
|
.ui.slider.checkbox label:hover {
|
|
|
|
color: rgba(0, 0, 0, 0.8);
|
|
|
|
}
|
|
|
|
.ui.slider.checkbox label:hover::before {
|
|
|
|
background: rgba(0, 0, 0, 0.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Active */
|
|
|
|
.ui.slider.checkbox input:checked ~ label {
|
|
|
|
color: rgba(0, 0, 0, 0.95) !important;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.slider.checkbox input:checked ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: #545454 !important;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.slider.checkbox input:checked ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
left: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Active Focus */
|
|
|
|
.ui.slider.checkbox input:focus:checked ~ label {
|
|
|
|
color: rgba(0, 0, 0, 0.95) !important;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.slider.checkbox input:focus:checked ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: #000000 !important;
|
|
|
|
}
|
|
|
|
.ui.right.aligned.slider.checkbox label {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 4.5rem;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.right.aligned.slider.checkbox label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
left: auto;
|
|
|
|
right: 2rem;
|
|
|
|
-webkit-transition: right 0.3s ease;
|
|
|
|
transition: right 0.3s ease;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.right.aligned.slider.checkbox input:checked ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Toggle
|
|
|
|
---------------*/
|
|
|
|
|
|
|
|
.ui.toggle.checkbox {
|
|
|
|
min-height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Input */
|
|
|
|
.ui.toggle.checkbox input {
|
|
|
|
width: 3.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Label */
|
|
|
|
.ui.toggle.checkbox label {
|
|
|
|
min-height: 1.5rem;
|
|
|
|
padding-left: 4.5rem;
|
|
|
|
color: rgba(0, 0, 0, 0.87);
|
|
|
|
}
|
|
|
|
.ui.toggle.checkbox label {
|
|
|
|
padding-top: 0.15em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Switch */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.toggle.checkbox label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
content: '';
|
|
|
|
z-index: 1;
|
|
|
|
-webkit-transform: none;
|
|
|
|
transform: none;
|
|
|
|
border: none;
|
|
|
|
top: 0;
|
|
|
|
background: rgba(0, 0, 0, 0.05);
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
width: 3.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
border-radius: 500rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Handle */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.toggle.checkbox label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
background: #FFFFFF -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.05)));
|
|
|
|
background: #FFFFFF -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
|
|
background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
|
|
position: absolute;
|
|
|
|
content: '' !important;
|
|
|
|
opacity: 1;
|
|
|
|
z-index: 2;
|
|
|
|
border: none;
|
|
|
|
-webkit-box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
|
|
|
|
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
border-radius: 500rem;
|
|
|
|
-webkit-transition: background 0.3s ease, left 0.3s ease;
|
|
|
|
transition: background 0.3s ease, left 0.3s ease;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.toggle.checkbox input ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
left: -0.05rem;
|
|
|
|
-webkit-box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
|
|
|
|
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Focus */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.toggle.checkbox input:focus ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.15);
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hover */
|
|
|
|
.ui.toggle.checkbox label:hover::before {
|
|
|
|
background-color: rgba(0, 0, 0, 0.15);
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Active */
|
|
|
|
.ui.toggle.checkbox input:checked ~ label {
|
|
|
|
color: rgba(0, 0, 0, 0.95) !important;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.toggle.checkbox input:checked ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: #2185D0 !important;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.toggle.checkbox input:checked ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
left: 2.15rem;
|
|
|
|
-webkit-box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
|
|
|
|
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Active Focus */
|
|
|
|
.ui.toggle.checkbox input:focus:checked ~ label {
|
|
|
|
color: rgba(0, 0, 0, 0.95) !important;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.toggle.checkbox input:focus:checked ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: #0d71bb !important;
|
|
|
|
}
|
|
|
|
.ui.right.aligned.toggle.checkbox label {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 4.5rem;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.right.aligned.toggle.checkbox input ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
left: auto;
|
|
|
|
right: 2.15rem;
|
|
|
|
-webkit-transition: background 0.3s ease, right 0.3s ease;
|
|
|
|
transition: background 0.3s ease, right 0.3s ease;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.right.aligned.toggle.checkbox input:checked ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
left: auto;
|
|
|
|
right: -0.05rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Variations
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Fitted
|
|
|
|
---------------*/
|
|
|
|
|
|
|
|
.ui.fitted.checkbox label {
|
|
|
|
padding-left: 0 !important;
|
|
|
|
}
|
|
|
|
.ui.fitted.toggle.checkbox {
|
|
|
|
width: 3.5rem;
|
|
|
|
}
|
|
|
|
.ui.fitted.slider.checkbox {
|
|
|
|
width: 3.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------
|
|
|
|
Inverted
|
|
|
|
---------------*/
|
|
|
|
|
|
|
|
.ui.inverted.checkbox label,
|
|
|
|
.ui.inverted.checkbox + label {
|
|
|
|
color: rgba(255, 255, 255, 0.9) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hover */
|
|
|
|
.ui.inverted.checkbox label:hover {
|
|
|
|
color: #ffffff !important;
|
|
|
|
}
|
|
|
|
.ui.inverted.checkbox label:hover::before {
|
|
|
|
border-color: rgba(34, 36, 38, 0.5);
|
|
|
|
}
|
|
|
|
/*Slider Label */
|
|
|
|
.ui.inverted.slider.checkbox label {
|
|
|
|
color: rgba(255, 255, 255, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Slider Line */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.inverted.slider.checkbox label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: rgba(255, 255, 255, 0.5) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Slider Hover */
|
|
|
|
.ui.inverted.slider.checkbox label:hover::before {
|
|
|
|
background: rgba(255, 255, 255, 0.7) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Slider Active */
|
|
|
|
.ui.inverted.slider.checkbox input:checked ~ label {
|
|
|
|
color: #ffffff !important;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.inverted.slider.checkbox input:checked ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: rgba(255, 255, 255, 0.8) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Slider Active Focus */
|
|
|
|
.ui.inverted.slider.checkbox input:focus:checked ~ label {
|
|
|
|
color: #ffffff !important;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.inverted.slider.checkbox input:focus:checked ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: rgba(255, 255, 255, 0.8) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Toggle Switch */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.inverted.toggle.checkbox label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: rgba(255, 255, 255, 0.9) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Toggle Hover */
|
|
|
|
.ui.inverted.toggle.checkbox label:hover::before {
|
|
|
|
background: #ffffff !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Toggle Active */
|
|
|
|
.ui.inverted.toggle.checkbox input:checked ~ label {
|
|
|
|
color: #ffffff !important;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.inverted.toggle.checkbox input:checked ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: #2185D0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Toggle Active Focus */
|
|
|
|
.ui.inverted.toggle.checkbox input:focus:checked ~ label {
|
|
|
|
color: #ffffff !important;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.inverted.toggle.checkbox input:focus:checked ~ label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
background-color: #0d71bb !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*--------------------
|
|
|
|
Size
|
|
|
|
---------------------*/
|
|
|
|
|
|
|
|
.ui.mini.checkbox {
|
|
|
|
font-size: 0.78571429em;
|
|
|
|
}
|
|
|
|
.ui.tiny.checkbox {
|
|
|
|
font-size: 0.85714286em;
|
|
|
|
}
|
|
|
|
.ui.small.checkbox {
|
|
|
|
font-size: 0.92857143em;
|
|
|
|
}
|
|
|
|
.ui.large.checkbox {
|
|
|
|
font-size: 1.14285714em;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.large.form .checkbox:not(.slider):not(.toggle):not(.radio) label::after,
|
|
|
|
.ui.large.checkbox:not(.slider):not(.toggle):not(.radio) label::after,
|
|
|
|
.ui.large.form .checkbox:not(.slider):not(.toggle):not(.radio) label::before,
|
|
|
|
.ui.large.checkbox:not(.slider):not(.toggle):not(.radio) label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
-webkit-transform: scale(1.14285714);
|
|
|
|
transform: scale(1.14285714);
|
|
|
|
-webkit-transform-origin: left;
|
|
|
|
transform-origin: left;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.large.form .checkbox.radio label::before,
|
|
|
|
.ui.large.checkbox.radio label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
-webkit-transform: scale(1.14285714);
|
|
|
|
transform: scale(1.14285714);
|
|
|
|
-webkit-transform-origin: left;
|
|
|
|
transform-origin: left;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.large.form .checkbox.radio label::after,
|
|
|
|
.ui.large.checkbox.radio label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
-webkit-transform: scale(0.57142857);
|
|
|
|
transform: scale(0.57142857);
|
|
|
|
-webkit-transform-origin: left;
|
|
|
|
transform-origin: left;
|
|
|
|
left: 0.33571429em;
|
|
|
|
}
|
|
|
|
.ui.big.checkbox {
|
|
|
|
font-size: 1.28571429em;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.big.form .checkbox:not(.slider):not(.toggle):not(.radio) label::after,
|
|
|
|
.ui.big.checkbox:not(.slider):not(.toggle):not(.radio) label::after,
|
|
|
|
.ui.big.form .checkbox:not(.slider):not(.toggle):not(.radio) label::before,
|
|
|
|
.ui.big.checkbox:not(.slider):not(.toggle):not(.radio) label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
-webkit-transform: scale(1.28571429);
|
|
|
|
transform: scale(1.28571429);
|
|
|
|
-webkit-transform-origin: left;
|
|
|
|
transform-origin: left;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.big.form .checkbox.radio label::before,
|
|
|
|
.ui.big.checkbox.radio label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
-webkit-transform: scale(1.28571429);
|
|
|
|
transform: scale(1.28571429);
|
|
|
|
-webkit-transform-origin: left;
|
|
|
|
transform-origin: left;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.big.form .checkbox.radio label::after,
|
|
|
|
.ui.big.checkbox.radio label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
-webkit-transform: scale(0.64285714);
|
|
|
|
transform: scale(0.64285714);
|
|
|
|
-webkit-transform-origin: left;
|
|
|
|
transform-origin: left;
|
|
|
|
left: 0.37142857em;
|
|
|
|
}
|
|
|
|
.ui.huge.checkbox {
|
|
|
|
font-size: 1.42857143em;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.huge.form .checkbox:not(.slider):not(.toggle):not(.radio) label::after,
|
|
|
|
.ui.huge.checkbox:not(.slider):not(.toggle):not(.radio) label::after,
|
|
|
|
.ui.huge.form .checkbox:not(.slider):not(.toggle):not(.radio) label::before,
|
|
|
|
.ui.huge.checkbox:not(.slider):not(.toggle):not(.radio) label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
-webkit-transform: scale(1.42857143);
|
|
|
|
transform: scale(1.42857143);
|
|
|
|
-webkit-transform-origin: left;
|
|
|
|
transform-origin: left;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.huge.form .checkbox.radio label::before,
|
|
|
|
.ui.huge.checkbox.radio label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
-webkit-transform: scale(1.42857143);
|
|
|
|
transform: scale(1.42857143);
|
|
|
|
-webkit-transform-origin: left;
|
|
|
|
transform-origin: left;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.huge.form .checkbox.radio label::after,
|
|
|
|
.ui.huge.checkbox.radio label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
-webkit-transform: scale(0.71428571);
|
|
|
|
transform: scale(0.71428571);
|
|
|
|
-webkit-transform-origin: left;
|
|
|
|
transform-origin: left;
|
|
|
|
left: 0.40714286em;
|
|
|
|
}
|
|
|
|
.ui.massive.checkbox {
|
|
|
|
font-size: 1.71428571em;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.massive.form .checkbox:not(.slider):not(.toggle):not(.radio) label::after,
|
|
|
|
.ui.massive.checkbox:not(.slider):not(.toggle):not(.radio) label::after,
|
|
|
|
.ui.massive.form .checkbox:not(.slider):not(.toggle):not(.radio) label::before,
|
|
|
|
.ui.massive.checkbox:not(.slider):not(.toggle):not(.radio) label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
-webkit-transform: scale(1.71428571);
|
|
|
|
transform: scale(1.71428571);
|
|
|
|
-webkit-transform-origin: left;
|
|
|
|
transform-origin: left;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.massive.form .checkbox.radio label::before,
|
|
|
|
.ui.massive.checkbox.radio label::before {
|
2022-01-13 13:00:31 +00:00
|
|
|
-webkit-transform: scale(1.71428571);
|
|
|
|
transform: scale(1.71428571);
|
|
|
|
-webkit-transform-origin: left;
|
|
|
|
transform-origin: left;
|
|
|
|
}
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.massive.form .checkbox.radio label::after,
|
|
|
|
.ui.massive.checkbox.radio label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
-webkit-transform: scale(0.85714286);
|
|
|
|
transform: scale(0.85714286);
|
|
|
|
-webkit-transform-origin: left;
|
|
|
|
transform-origin: left;
|
|
|
|
left: 0.47857143em;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Theme Overrides
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Checkbox';
|
|
|
|
src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBD8AAAC8AAAAYGNtYXAYVtCJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5Zn4huwUAAAF4AAABYGhlYWQGPe1ZAAAC2AAAADZoaGVhB30DyAAAAxAAAAAkaG10eBBKAEUAAAM0AAAAHGxvY2EAmgESAAADUAAAABBtYXhwAAkALwAAA2AAAAAgbmFtZSC8IugAAAOAAAABknBvc3QAAwAAAAAFFAAAACAAAwMTAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADoAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6AL//f//AAAAAAAg6AD//f//AAH/4xgEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAEUAUQO7AvgAGgAAARQHAQYjIicBJjU0PwE2MzIfAQE2MzIfARYVA7sQ/hQQFhcQ/uMQEE4QFxcQqAF2EBcXEE4QAnMWEP4UEBABHRAXFhBOEBCoAXcQEE4QFwAAAAABAAABbgMlAkkAFAAAARUUBwYjISInJj0BNDc2MyEyFxYVAyUQEBf9SRcQEBAQFwK3FxAQAhJtFxAQEBAXbRcQEBAQFwAAAAABAAAASQMlA24ALAAAARUUBwYrARUUBwYrASInJj0BIyInJj0BNDc2OwE1NDc2OwEyFxYdATMyFxYVAyUQEBfuEBAXbhYQEO4XEBAQEBfuEBAWbhcQEO4XEBACEm0XEBDuFxAQEBAX7hAQF20XEBDuFxAQEBAX7hAQFwAAAQAAAAIAAHRSzT9fDzz1AAsEAAAAAADRsdR3AAAAANGx1HcAAAAAA7sDbgAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADuwABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABFAyUAAAMlAAAAAAAAAAoAFAAeAE4AcgCwAAEAAAAHAC0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAIAAAAAQAAAAAAAgAHAGkAAQAAAAAAAwAIADkAAQAAAAAABAAIAH4AAQAAAAAABQALABgAAQAAAAAABgAIAFEAAQAAAAAACgAaAJYAAwABBAkAAQAQAAgAAwABBAkAAgAOAHAAAwABBAkAAwAQAEEAAwABBAkABAAQAIYAAwABBAkABQAWACMAAwABBAkABgAQAFkAAwABBAkACgA0ALBDaGVja2JveABDAGgAZQBjAGsAYgBvAHhWZXJzaW9uIDIuMABWAGUAcgBzAGkAbwBuACAAMgAuADBDaGVja2JveABDAGgAZQBjAGsAYgBvAHhDaGVja2JveABDAGgAZQBjAGsAYgBvAHhSZWd1bGFyAFIAZQBnAHUAbABhAHJDaGVja2JveABDAGgAZQBjAGsAYgBvAHhGb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('truetype');
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Checkmark */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox label::after,
|
|
|
|
.ui.checkbox .box::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
font-family: 'Checkbox';
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Checked */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox input:checked ~ .box::after,
|
|
|
|
.ui.checkbox input:checked ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
content: '\e800';
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Indeterminate */
|
2022-06-08 10:36:39 +00:00
|
|
|
.ui.checkbox input:indeterminate ~ .box::after,
|
|
|
|
.ui.checkbox input:indeterminate ~ label::after {
|
2022-01-13 13:00:31 +00:00
|
|
|
font-size: 12px;
|
|
|
|
content: '\e801';
|
|
|
|
}
|
|
|
|
/* UTF Reference
|
2022-06-08 10:36:39 +00:00
|
|
|
.check::before { content: '\e800'; }
|
|
|
|
.dash::before { content: '\e801'; }
|
|
|
|
.plus::before { content: '\e802'; }
|
2022-01-13 13:00:31 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Site Overrides
|
|
|
|
*******************************/
|
|
|
|
|