137 lines
3.2 KiB
CSS
Executable File
137 lines
3.2 KiB
CSS
Executable File
/*****************************************/
|
|
/* Customizer checkbox group control style
|
|
/*****************************************/
|
|
/**
|
|
* Import configuration file with variables.
|
|
*/
|
|
.hester-checkbox {
|
|
-js-display: flex;
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
font-weight: 500;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
font-size: 14px;
|
|
cursor: default;
|
|
}
|
|
|
|
.hester-checkbox input[type=checkbox] {
|
|
position: relative;
|
|
border: 2px solid currentColor;
|
|
border-radius: 2px;
|
|
background: none;
|
|
clear: none;
|
|
cursor: pointer;
|
|
display: inline-block !important;
|
|
line-height: 0;
|
|
margin: 1px 0 0 0;
|
|
outline: 0;
|
|
padding: 0 !important;
|
|
text-align: center;
|
|
vertical-align: text-top;
|
|
height: 20px;
|
|
width: 20px;
|
|
min-width: 20px;
|
|
opacity: .5;
|
|
-webkit-transition: all 0.35s cubic-bezier(0.645,0.045,0.355,1);
|
|
transition: all 0.35s cubic-bezier(0.645,0.045,0.355,1);
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.hester-checkbox input[type=checkbox]:before {
|
|
position: absolute;
|
|
margin: 0;
|
|
content: '';
|
|
opacity: 0;
|
|
left: 6px;
|
|
top: 2px;
|
|
width: 5px;
|
|
height: 10px;
|
|
border: solid #FFF;
|
|
border-width: 0 2px 2px 0;
|
|
-webkit-transform: rotate(45deg) scale(0);
|
|
-ms-transform: rotate(45deg) scale(0);
|
|
transform: rotate(45deg) scale(0);
|
|
z-index: 2;
|
|
-webkit-transition: all 0.35s cubic-bezier(0.645,0.045,0.355,1);
|
|
transition: all 0.35s cubic-bezier(0.645,0.045,0.355,1);
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.hester-checkbox input[type=checkbox]:disabled:not(:checked) {
|
|
border-color: currentColor !important;
|
|
opacity: .65 !important;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hester-checkbox input[type=checkbox]:disabled:not(:checked) + .hester-label {
|
|
opacity: .65;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hester-checkbox input[type=checkbox]:checked {
|
|
border-color: #0085ba;
|
|
background-color: #0085ba;
|
|
opacity: 1;
|
|
}
|
|
|
|
.hester-checkbox input[type=checkbox]:checked:before {
|
|
opacity: 1;
|
|
-webkit-transform: rotate(45deg) scale(1);
|
|
-ms-transform: rotate(45deg) scale(1);
|
|
transform: rotate(45deg) scale(1);
|
|
}
|
|
|
|
.hester-checkbox input[type=checkbox]:checked:disabled {
|
|
opacity: .65;
|
|
pointer-events: none;
|
|
border-color: #0085ba;
|
|
}
|
|
|
|
.hester-checkbox input[type=checkbox]:checked:disabled + .hester-label {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hester-checkbox .hester-label {
|
|
-js-display: flex;
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
padding-left: 11px;
|
|
-webkit-box-flex: 1;
|
|
-ms-flex-positive: 1;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.hester-checkbox .hester-label .hester-info-icon {
|
|
margin-left: auto;
|
|
position: relative !important;
|
|
}
|
|
|
|
.hester-checkbox .hester-label .hester-info-icon .hester-tooltip {
|
|
left: auto !important;
|
|
right: -7px !important;
|
|
}
|
|
|
|
.hester-checkbox .hester-label .hester-info-icon .hester-tooltip:after {
|
|
left: auto !important;
|
|
right: 12px !important;
|
|
}
|
|
|
|
.hester-checkbox:hover input[type=checkbox] {
|
|
border-color: #0085ba;
|
|
opacity: 1;
|
|
}
|