wishthis/node_modules/fomantic-ui/dist/components/checkbox.css

786 lines
19 KiB
CSS
Raw Normal View History

2022-01-13 13:00:31 +00:00
/*!
* # Fomantic-UI 2.9.3 - Checkbox
2023-08-17 09:47:40 +00:00
* https://github.com/fomantic/Fomantic-UI/
2022-01-13 13:00:31 +00:00
*
*
* Released under the MIT license
2023-08-17 09:47:40 +00:00
* https://opensource.org/licenses/MIT
2022-01-13 13:00:31 +00:00
*
*/
/*******************************
Checkbox
*******************************/
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Content
2023-08-17 09:47:40 +00:00
--------------- */
2022-01-13 13:00:31 +00:00
.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;
outline: none;
font-size: 1em;
}
.ui.checkbox:not(.invisible) label {
padding-left: 1.85714em;
}
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;
2023-08-17 09:47:40 +00:00
content: "";
background: #fff;
2022-01-13 13:00:31 +00:00
border-radius: 0.21428571rem;
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
2023-08-17 09:47:40 +00:00
border: 1px solid #d4d4d5;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Checkmark
2023-08-17 09:47:40 +00:00
--------------- */
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);
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, 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;
}
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Label
2023-08-17 09:47:40 +00:00
--------------- */
2022-01-13 13:00:31 +00:00
/* Inside */
.ui.checkbox label,
.ui.checkbox + label {
color: rgba(0, 0, 0, 0.87);
transition: color 0.1s ease;
}
/* Outside */
.ui.checkbox + label {
vertical-align: middle;
}
/*******************************
States
*******************************/
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Hover
2023-08-17 09:47:40 +00:00
--------------- */
2022-01-13 13:00:31 +00:00
.ui.checkbox label:hover::before {
2023-08-17 09:47:40 +00:00
background: #fff;
2022-01-13 13:00:31 +00:00
border-color: rgba(34, 36, 38, 0.35);
}
.ui.checkbox:not(.invisible) label:hover,
.ui.checkbox:not(.invisible) + label:hover {
2022-01-13 13:00:31 +00:00
color: rgba(0, 0, 0, 0.8);
}
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Down
2023-08-17 09:47:40 +00:00
--------------- */
2022-01-13 13:00:31 +00:00
.ui.checkbox label:active::before {
2023-08-17 09:47:40 +00:00
background: #f9fafb;
2022-01-13 13:00:31 +00:00
border-color: rgba(34, 36, 38, 0.35);
}
.ui.checkbox label:active::after {
color: rgba(0, 0, 0, 0.95);
}
.ui.checkbox:not(.invisible) input:active ~ label {
2022-01-13 13:00:31 +00:00
color: rgba(0, 0, 0, 0.95);
}
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Focus
2023-08-17 09:47:40 +00:00
--------------- */
2022-06-08 10:36:39 +00:00
.ui.checkbox input:focus ~ label::before {
2023-08-17 09:47:40 +00:00
background: #fff;
border-color: #96c8da;
2022-01-13 13:00:31 +00:00
}
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:not(.invisible) input:focus ~ label {
2022-01-13 13:00:31 +00:00
color: rgba(0, 0, 0, 0.95);
}
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Active
2023-08-17 09:47:40 +00:00
--------------- */
2022-06-08 10:36:39 +00:00
.ui.checkbox input:checked ~ label::before {
2023-08-17 09:47:40 +00:00
background: #fff;
2022-01-13 13:00:31 +00:00
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);
}
2023-08-17 09:47:40 +00:00
/* --------------
Indeterminate
--------------- */
.ui.checkbox input:not([type="radio"]):indeterminate ~ label::before {
background: #fff;
2022-01-13 13:00:31 +00:00
border-color: rgba(34, 36, 38, 0.35);
}
2023-08-17 09:47:40 +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);
}
2023-08-17 09:47:40 +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);
}
2023-08-17 09:47:40 +00:00
.ui.indeterminate.toggle.checkbox input:not([type="radio"]) ~ label::after {
2022-01-13 13:00:31 +00:00
left: 1.075rem;
}
2023-08-17 09:47:40 +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;
}
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Active Focus
2023-08-17 09:47:40 +00:00
--------------- */
.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ label::before,
2022-06-08 10:36:39 +00:00
.ui.checkbox input:checked:focus ~ label::before {
2023-08-17 09:47:40 +00:00
background: #fff;
border-color: #96c8da;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ label::after,
2022-06-08 10:36:39 +00:00
.ui.checkbox input:checked:focus ~ label::after {
2022-01-13 13:00:31 +00:00
color: rgba(0, 0, 0, 0.95);
}
2023-08-17 09:47:40 +00:00
/* --------------
Read-Only
--------------- */
2022-01-13 13:00:31 +00:00
.ui.read-only.checkbox,
.ui.read-only.checkbox label {
cursor: default;
pointer-events: none;
}
2023-08-17 09:47:40 +00:00
/* --------------
Disabled
--------------- */
2022-01-13 13:00:31 +00:00
.ui.disabled.checkbox label,
.ui.checkbox input[disabled] ~ label {
cursor: default;
opacity: 0.5;
color: #000000;
pointer-events: none;
}
2023-08-17 09:47:40 +00:00
/* --------------
2022-01-13 13:00:31 +00:00
Hidden
2023-08-17 09:47:40 +00:00
--------------- */
2022-01-13 13:00:31 +00:00
/* 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;
-ms-user-select: none;
user-select: none;
}
/*******************************
Types
*******************************/
2023-08-17 09:47:40 +00:00
/* --------------
Radio
--------------- */
2022-01-13 13:00:31 +00:00
.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 {
2023-08-17 09:47:40 +00:00
content: "";
transform: none;
2022-01-13 13:00:31 +00:00
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;
2023-08-17 09:47:40 +00:00
content: "" !important;
2022-01-13 13:00:31 +00:00
line-height: 15px;
top: 1px;
left: 0;
width: 15px;
height: 15px;
border-radius: 500rem;
2023-08-17 09:47:40 +00:00
transform: scale(0.46666667);
2022-01-13 13:00:31 +00:00
background-color: rgba(0, 0, 0, 0.87);
}
/* Focus */
2022-06-08 10:36:39 +00:00
.ui.radio.checkbox input:focus ~ label::before {
2023-08-17 09:47:40 +00:00
background-color: #fff;
2022-01-13 13:00:31 +00:00
}
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 {
2023-08-17 09:47:40 +00:00
background-color: #fff;
2022-01-13 13:00:31 +00:00
}
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 {
2023-08-17 09:47:40 +00:00
background-color: #fff;
2022-01-13 13:00:31 +00:00
}
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);
}
2023-08-17 09:47:40 +00:00
/* --------------
Slider
--------------- */
2022-01-13 13:00:31 +00:00
.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;
2023-08-17 09:47:40 +00:00
content: "";
transform: none;
2022-01-13 13:00:31 +00:00
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;
transition: background 0.3s ease;
}
/* Handle */
2022-06-08 10:36:39 +00:00
.ui.slider.checkbox label::after {
2023-08-17 09:47:40 +00:00
background: #fff linear-gradient(transparent, rgba(0, 0, 0, 0.05));
2022-01-13 13:00:31 +00:00
position: absolute;
2023-08-17 09:47:40 +00:00
content: "" !important;
2022-01-13 13:00:31 +00:00
opacity: 1;
z-index: 2;
border: none;
2023-08-17 09:47:40 +00:00
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
2022-01-13 13:00:31 +00:00
width: 1.5rem;
height: 1.5rem;
top: -0.25rem;
left: 0;
2023-08-17 09:47:40 +00:00
transform: none;
2022-01-13 13:00:31 +00:00
border-radius: 500rem;
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 {
2023-08-17 09:47:40 +00:00
color: rgba(0, 0, 0, 0.95);
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
.ui.slider.checkbox input:checked ~ label::before {
2023-08-17 09:47:40 +00:00
background-color: #545454;
2022-01-13 13:00:31 +00:00
}
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 {
2023-08-17 09:47:40 +00:00
color: rgba(0, 0, 0, 0.95);
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
.ui.slider.checkbox input:focus:checked ~ label::before {
2023-08-17 09:47:40 +00:00
background-color: #000000;
2022-01-13 13:00:31 +00:00
}
.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;
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;
}
2023-08-17 09:47:40 +00:00
/* --------------
Toggle
--------------- */
2022-01-13 13:00:31 +00:00
.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;
2023-08-17 09:47:40 +00:00
content: "";
2022-01-13 13:00:31 +00:00
z-index: 1;
2023-08-17 09:47:40 +00:00
transform: none;
2022-01-13 13:00:31 +00:00
border: none;
top: 0;
background: rgba(0, 0, 0, 0.05);
2023-08-17 09:47:40 +00:00
box-shadow: none;
2022-01-13 13:00:31 +00:00
width: 3.5rem;
height: 1.5rem;
border-radius: 500rem;
}
/* Handle */
2022-06-08 10:36:39 +00:00
.ui.toggle.checkbox label::after {
2023-08-17 09:47:40 +00:00
background: #fff linear-gradient(transparent, rgba(0, 0, 0, 0.05));
2022-01-13 13:00:31 +00:00
position: absolute;
2023-08-17 09:47:40 +00:00
content: "" !important;
2022-01-13 13:00:31 +00:00
opacity: 1;
z-index: 2;
border: none;
2023-08-17 09:47:40 +00:00
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
2022-01-13 13:00:31 +00:00
width: 1.5rem;
height: 1.5rem;
top: 0;
left: 0;
border-radius: 500rem;
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;
2023-08-17 09:47:40 +00:00
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
2022-01-13 13:00:31 +00:00
}
/* 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 {
2023-08-17 09:47:40 +00:00
color: rgba(0, 0, 0, 0.95);
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
.ui.toggle.checkbox input:checked ~ label::before {
2023-08-17 09:47:40 +00:00
background-color: #2185d0;
2022-01-13 13:00:31 +00:00
}
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;
2023-08-17 09:47:40 +00:00
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
2022-01-13 13:00:31 +00:00
}
/* Active Focus */
.ui.toggle.checkbox input:focus:checked ~ label {
2023-08-17 09:47:40 +00:00
color: rgba(0, 0, 0, 0.95);
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
.ui.toggle.checkbox input:focus:checked ~ label::before {
2023-08-17 09:47:40 +00:00
background-color: #0d71bb;
2022-01-13 13:00:31 +00:00
}
.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;
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
*******************************/
2023-08-17 09:47:40 +00:00
/* --------------
Fitted
--------------- */
.ui.ui.fitted.checkbox label {
padding-left: 0;
2022-01-13 13:00:31 +00:00
}
.ui.fitted.toggle.checkbox {
width: 3.5rem;
}
.ui.fitted.slider.checkbox {
width: 3.5rem;
}
2023-08-17 09:47:40 +00:00
/* --------------
Inverted
--------------- */
.ui.ui.ui.inverted.checkbox label,
.ui.ui.ui.inverted.checkbox + label {
color: rgba(255, 255, 255, 0.9);
2022-01-13 13:00:31 +00:00
}
/* Hover */
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.checkbox label:hover {
color: #ffffff;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.checkbox label:hover::before {
border-color: rgba(34, 36, 38, 0.5);
}
2023-08-17 09:47:40 +00:00
/* Slider Label */
2022-01-13 13:00:31 +00:00
.ui.inverted.slider.checkbox label {
color: rgba(255, 255, 255, 0.5);
}
/* Slider Line */
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.slider.checkbox label::before {
background-color: rgba(255, 255, 255, 0.5);
2022-01-13 13:00:31 +00:00
}
/* Slider Hover */
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.slider.checkbox label:hover::before {
background: rgba(255, 255, 255, 0.7);
2022-01-13 13:00:31 +00:00
}
/* Slider Active */
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.slider.checkbox input:checked ~ label {
color: #ffffff;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.slider.checkbox input:checked ~ label::before {
background-color: rgba(255, 255, 255, 0.8);
2022-01-13 13:00:31 +00:00
}
/* Slider Active Focus */
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.slider.checkbox input:focus:checked ~ label {
color: #ffffff;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.slider.checkbox input:focus:checked ~ label::before {
background-color: rgba(255, 255, 255, 0.8);
2022-01-13 13:00:31 +00:00
}
/* Toggle Switch */
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.toggle.checkbox label::before {
background-color: rgba(255, 255, 255, 0.9);
2022-01-13 13:00:31 +00:00
}
/* Toggle Hover */
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.toggle.checkbox label:hover::before {
background: #ffffff;
2022-01-13 13:00:31 +00:00
}
/* Toggle Active */
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.toggle.checkbox input:checked ~ label {
color: #ffffff;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.toggle.checkbox input:checked ~ label::before {
background-color: #2185d0;
2022-01-13 13:00:31 +00:00
}
/* Toggle Active Focus */
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.toggle.checkbox input:focus:checked ~ label {
color: #ffffff;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
.ui.ui.inverted.toggle.checkbox input:focus:checked ~ label::before {
background-color: #0d71bb;
2022-01-13 13:00:31 +00:00
}
/* --------------
Invisible
--------------- */
.ui.invisible.checkbox:not(.compact) {
display: block;
}
.ui.invisible.checkbox input {
left: -99999px;
position: absolute;
}
.ui.invisible.checkbox label::before,
.ui.invisible.checkbox label::after {
display: none;
}
.ui.invisible.checkbox label {
transition: all 0.1s ease;
}
.ui.ui.ui.ui.ui.invisible.checkbox input:not(:checked) + label {
background: transparent;
border-color: transparent;
box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
color: inherit;
}
.ui.ui.ui.ui.ui.invisible.checkbox input:not(:checked):not(:hover):focus + label:not(.image) {
box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.35) inset;
}
.ui.ui.ui.ui.ui.invisible.checkbox input:not(:checked) + label.image,
.basic.ui.ui.ui.ui.ui.invisible.checkbox input:not(:checked) + label {
box-shadow: none;
}
.ui.invisible.checkbox input:not(:checked) + label.image {
opacity: 0.5;
filter: grayscale(1);
}
.ui.invisible.checkbox input:not(:checked):not(:hover):focus + label.image {
opacity: 0.75;
}
.ui.invisible.checkbox input:not(:checked)[disabled] + label.image,
.disabled.ui.invisible.checkbox input:not(:checked) + label.image {
opacity: 0.25;
}
2023-08-17 09:47:40 +00:00
/* --------------------
2022-01-13 13:00:31 +00:00
Size
2023-08-17 09:47:40 +00:00
--------------------- */
2022-01-13 13:00:31 +00:00
.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 {
2023-08-17 09:47:40 +00:00
transform: scale(1.14285714);
transform-origin: left;
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
.ui.large.form .checkbox.radio label::before,
.ui.large.checkbox.radio label::before {
2023-08-17 09:47:40 +00:00
transform: scale(1.14285714);
transform-origin: left;
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
.ui.large.form .checkbox.radio label::after,
.ui.large.checkbox.radio label::after {
2023-08-17 09:47:40 +00:00
transform: scale(0.57142857);
transform-origin: left;
2022-01-13 13:00:31 +00:00
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 {
2023-08-17 09:47:40 +00:00
transform: scale(1.28571429);
transform-origin: left;
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
.ui.big.form .checkbox.radio label::before,
.ui.big.checkbox.radio label::before {
2023-08-17 09:47:40 +00:00
transform: scale(1.28571429);
transform-origin: left;
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
.ui.big.form .checkbox.radio label::after,
.ui.big.checkbox.radio label::after {
2023-08-17 09:47:40 +00:00
transform: scale(0.64285714);
transform-origin: left;
2022-01-13 13:00:31 +00:00
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 {
2023-08-17 09:47:40 +00:00
transform: scale(1.42857143);
transform-origin: left;
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
.ui.huge.form .checkbox.radio label::before,
.ui.huge.checkbox.radio label::before {
2023-08-17 09:47:40 +00:00
transform: scale(1.42857143);
transform-origin: left;
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
.ui.huge.form .checkbox.radio label::after,
.ui.huge.checkbox.radio label::after {
2023-08-17 09:47:40 +00:00
transform: scale(0.71428571);
transform-origin: left;
2022-01-13 13:00:31 +00:00
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 {
2023-08-17 09:47:40 +00:00
transform: scale(1.71428571);
transform-origin: left;
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
.ui.massive.form .checkbox.radio label::before,
.ui.massive.checkbox.radio label::before {
2023-08-17 09:47:40 +00:00
transform: scale(1.71428571);
transform-origin: left;
2022-01-13 13:00:31 +00:00
}
2022-06-08 10:36:39 +00:00
.ui.massive.form .checkbox.radio label::after,
.ui.massive.checkbox.radio label::after {
2023-08-17 09:47:40 +00:00
transform: scale(0.85714286);
transform-origin: left;
2022-01-13 13:00:31 +00:00
left: 0.47857143em;
}
/*******************************
Theme Overrides
*******************************/
@font-face {
2023-08-17 09:47:40 +00:00
font-family: Checkbox;
src: url("data:application/font-woff;base64,d09GRgABAAAAAAR8AA0AAAAABtwAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAEYAAAABoAAAAcgbCWJ0dERUYAAARIAAAAFwAAABgAJQAAT1MvMgAAAZgAAABAAAAAYA8SBD9jbWFwAAAB9AAAAFMAAAFc71zo6Wdhc3AAAARAAAAACAAAAAgAAAAQZ2x5ZgAAAlwAAADJAAABVHshwGBoZWFkAAABMAAAAC4AAAA2Bj3tWWhoZWEAAAFgAAAAHQAAACQHfQPIaG10eAAAAdgAAAAZAAAAHg56AEVsb2NhAAACSAAAABIAAAASAQoAjG1heHAAAAGAAAAAGAAAACAACgAvbmFtZQAAAygAAADnAAABp5xOC4Fwb3N0AAAEEAAAADAAAABaHRtWW3icY2BkYGBgYmDgqbAVjee3+crAzcIAAhc3XilHppl3M+cBKQ6QWgYGAAHnCVsAAHicY2BkYGA+8P8AAwMLAwgw72ZgZEAF7ABaJgNOAAAAeJxjYGRgYOBg0GUA0QwMTAxoAAAFtQA6eJxjYGYWYpzAwMrAwDST6QwDA0M/hGZ8zWDMyMmAChgF0AQYHBgYXjAxH/h/gMGB+QCIx8CIJKvAwAgAIOcKW3icY2GAAMZQCM0ExCwMDK7MqiAeAAqXAM4AAAB4nN2NwQ2AMAwDL00pHYJH52AQ9n/w6BbFCS9WwJFlO3IUwHl5YAQuJctcOaVdU6TGmGWt7IxJuHXnvmcrnLPR2GWb6NnF4rrwhT5U/o0Hf5EJGAAAAAAAAAgACAAQABgASABsAKoAAHichY09CsJAEIVndiG2gyQ7IASJIbHQyvyIiFhZpBE8iNsIeiVvYOFx7FPbKE6yUcHGgZ23jzd8DxDeowAWCv77Dez0Vd1hAIB+D714NMa0yNdYZrMhum0CfaWnT4bpeSPaEjOd8djIltTBNBlhSGzES3Jqb5oW6UOrE1WBL7/A73lxNBqnK8znZRbNWMgJET8qJhlWF1HV3zvXSceBSifawrTjTLrd0uI3c4lFu4UcYvbh1/KsIaodUayx7Kxr+wb8Y+EFi+YsngAAAHicfc5BSsNAGMXxf9q0agURFy50M3shlOoNikIXddGFa5N0SEvLDKQp2KUH8AxuXXkkz+JL+NYJJPzmffNmAlzxS0L7JJxzYx5wxoN5qPzZnMrv5hGXfJrHyr/NE+74UytJL5Rcdye0Huiue/NQ+aM5lV/NI27ZmsfKv8wTnvhhzgZPyY6CyAfMN77cFVFaaVBxZE9OraWvjvtc6Kn0jN40qDnoVyIBx4yMqWJfH7YxuFk27a2/dLVGxUpbQndYrrVnrazgpO9C1chSb7s3UymGxlU++Dpv/NoVJ7co4zLGkPEPj0VARQB4nGNgYsAPOBgYGJkYmBiZGZgZWRhZGdnYS/MyDYAAShuCaFcLCB9Iw/hGAOPdCuMAAQAB//8AD3icY2BkYGDgAWIBIGYCYhYIDQACOwAmAHicY2BgYGQAgns+by1A9MWNV8phNABQ5wfrAAA=") format("woff");
2022-01-13 13:00:31 +00:00
}
/* Checkmark */
2023-08-17 09:47:40 +00:00
.ui.checkbox label::after {
font-family: Checkbox;
2022-01-13 13:00:31 +00:00
}
/* Checked */
2022-06-08 10:36:39 +00:00
.ui.checkbox input:checked ~ label::after {
2023-08-17 09:47:40 +00:00
content: "\e800";
2022-01-13 13:00:31 +00:00
}
/* Indeterminate */
2022-06-08 10:36:39 +00:00
.ui.checkbox input:indeterminate ~ label::after {
2022-01-13 13:00:31 +00:00
font-size: 12px;
2023-08-17 09:47:40 +00:00
content: "\e801";
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
/* UTF Reference
2022-06-08 10:36:39 +00:00
.check::before { content: '\e800'; }
2023-08-17 09:47:40 +00:00
.dash::before { content: '\e801'; }
2022-06-08 10:36:39 +00:00
.plus::before { content: '\e802'; }
2022-01-13 13:00:31 +00:00
*/
/*******************************
Site Overrides
*******************************/