91 lines
2.0 KiB
CSS
91 lines
2.0 KiB
CSS
.wpa-superstar-wrap {
|
|
max-width: 800px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.wpa-superstar-wrap h1 {
|
|
font-size: 23px;
|
|
font-weight: 400;
|
|
margin: 0;
|
|
padding: 9px 0 4px 0;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.nav-tab-wrapper {
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px solid #ccd0d4;
|
|
}
|
|
|
|
.nav-tab {
|
|
background: #f8f9fa;
|
|
border: 1px solid #ccd0d4;
|
|
border-bottom: none;
|
|
padding: 8px 16px;
|
|
font-size: 14px;
|
|
line-height: 1.71428571;
|
|
font-weight: 600;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.nav-tab-active {
|
|
background: #fff;
|
|
border-bottom: 1px solid #fff;
|
|
margin-bottom: -1px;
|
|
}
|
|
|
|
/* ACF-style checkbox toggles */
|
|
.wpa-superstar-toggle {
|
|
margin: 15px 0;
|
|
padding: 15px;
|
|
background: #fff;
|
|
border: 1px solid #ccd0d4;
|
|
border-radius: 3px;
|
|
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
|
}
|
|
|
|
.wpa-superstar-toggle label {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
font-weight: 600;
|
|
color: #23282d;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wpa-superstar-toggle input[type="checkbox"] {
|
|
margin: 0 8px 0 0;
|
|
border: 1px solid #7e8993;
|
|
border-radius: 4px;
|
|
background: #fff;
|
|
color: #555;
|
|
clear: none;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
line-height: 0;
|
|
height: 16px;
|
|
width: 16px;
|
|
min-width: 16px;
|
|
outline: 0;
|
|
padding: 0 !important;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
-webkit-appearance: none;
|
|
box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
|
|
transition: .05s border-color ease-in-out;
|
|
}
|
|
|
|
.wpa-superstar-toggle input[type="checkbox"]:checked {
|
|
background: #2271b1;
|
|
border-color: #2271b1;
|
|
}
|
|
|
|
.wpa-superstar-toggle input[type="checkbox"]:checked::before {
|
|
content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="%23fff" d="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"/></svg>');
|
|
float: left;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
width: 16px;
|
|
height: 16px;
|
|
margin: -1px 0 0 -1px;
|
|
} |