87 lines
2.3 KiB
CSS
Executable File
87 lines
2.3 KiB
CSS
Executable File
/* ==========================================================================
|
|
* Hester Meta Box Styles.
|
|
* ========================================================================== */
|
|
#side-sortables .hester-meta-box-field {
|
|
margin: 15px 0;
|
|
}
|
|
|
|
#side-sortables .hester-meta-box-field select {
|
|
min-width: 100%;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#side-sortables .hester-meta-box-field:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#side-sortables .hester-checkbox-row {
|
|
margin-top: 0;
|
|
}
|
|
|
|
#side-sortables .hester-checkbox-row .hester-checkbox-wrapper .hester-checked-icon {
|
|
display: none;
|
|
left: -2px;
|
|
top: -2px;
|
|
fill: #FFF;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
width: 24px;
|
|
height: 24px;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
#side-sortables .hester-checkbox-row input[type='checkbox'] {
|
|
border: 1px solid #1e1e1e;
|
|
border-radius: 2px;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
}
|
|
|
|
#side-sortables .hester-checkbox-row input[type='checkbox']:checked {
|
|
background: #007cba;
|
|
background: var(--wp-admin-theme-color);
|
|
border-color: #007cba;
|
|
border-color: var(--wp-admin-theme-color);
|
|
}
|
|
|
|
#side-sortables .hester-checkbox-row input[type='checkbox']:checked + .hester-checked-icon {
|
|
display: none;
|
|
}
|
|
|
|
.block-editor-page #side-sortables .hester-meta-box-field input[type='checkbox'] + .hester-checked-icon {
|
|
display: block;
|
|
}
|
|
|
|
.block-editor-page #side-sortables .hester-meta-box-field .hester-checkbox-row {
|
|
min-height: 30px;
|
|
}
|
|
|
|
body:not(.block-editor-page) #side-sortables .hester-meta-box-field .components-base-control__label {
|
|
display: block;
|
|
font-weight: 600;
|
|
}
|
|
|
|
body:not(.block-editor-page) #side-sortables .hester-meta-box-field input[type='checkbox'] {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
body:not(.block-editor-page) #side-sortables .hester-meta-box-field .hester-checkbox-row {
|
|
min-height: 26px;
|
|
}
|
|
|
|
body:not(.block-editor-page) #side-sortables .hester-meta-box-field .hester-checkbox-row .components-base-control__field {
|
|
-js-display: flex;
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
}
|