| 1 |
/** |
| 2 |
* 01. Base |
| 3 |
*/ |
| 4 |
.csf{ |
| 5 |
position: relative; |
| 6 |
|
| 7 |
label{ |
| 8 |
padding: 0; |
| 9 |
margin: 0; |
| 10 |
display: inline-block; |
| 11 |
} |
| 12 |
} |
| 13 |
|
| 14 |
.csf-ab-icon{ |
| 15 |
top: 2px; |
| 16 |
} |
| 17 |
|
| 18 |
#screen-meta-links + .csf-options{ |
| 19 |
margin-top: 40px; |
| 20 |
} |
| 21 |
|
| 22 |
.csf-options{ |
| 23 |
margin-top: 20px; |
| 24 |
margin-right: 20px; |
| 25 |
} |
| 26 |
|
| 27 |
/** |
| 28 |
* 01. 01. Header |
| 29 |
*/ |
| 30 |
.csf-header{ |
| 31 |
position: relative; |
| 32 |
} |
| 33 |
|
| 34 |
.csf-header-inner{ |
| 35 |
padding: 25px; |
| 36 |
transition: box-shadow .3s ease; |
| 37 |
|
| 38 |
h1{ |
| 39 |
float: left; |
| 40 |
font-size: 1.5em; |
| 41 |
line-height: 26px; |
| 42 |
font-weight: 400; |
| 43 |
margin: 0; |
| 44 |
|
| 45 |
small{ |
| 46 |
font-size: 11px; |
| 47 |
font-weight: 500; |
| 48 |
} |
| 49 |
} |
| 50 |
} |
| 51 |
|
| 52 |
/** |
| 53 |
* 01. 02. Sticky |
| 54 |
*/ |
| 55 |
.csf-sticky{ |
| 56 |
|
| 57 |
.csf-header-inner{ |
| 58 |
position: fixed; |
| 59 |
z-index: 99; |
| 60 |
top: 32px; |
| 61 |
box-shadow: 0 5px 10px rgba(0,0,0,0.1); |
| 62 |
} |
| 63 |
} |
| 64 |
|
| 65 |
/** |
| 66 |
* 01. 03. Header Buttons |
| 67 |
*/ |
| 68 |
.csf-buttons{ |
| 69 |
float: right; |
| 70 |
|
| 71 |
.button{ |
| 72 |
margin: 0 2px; |
| 73 |
line-height: 26px; |
| 74 |
|
| 75 |
&:focus{ |
| 76 |
outline: none !important; |
| 77 |
box-shadow: none !important; |
| 78 |
} |
| 79 |
} |
| 80 |
|
| 81 |
.csf-save{ |
| 82 |
min-width: 72px; |
| 83 |
} |
| 84 |
} |
| 85 |
|
| 86 |
.csf-header-left{ |
| 87 |
float: left; |
| 88 |
} |
| 89 |
|
| 90 |
.csf-header-right{ |
| 91 |
float: right; |
| 92 |
} |
| 93 |
|
| 94 |
/** |
| 95 |
* 01. 04. Navigation |
| 96 |
*/ |
| 97 |
.csf-nav{ |
| 98 |
display: block; |
| 99 |
position: relative; |
| 100 |
z-index: 10; |
| 101 |
float: left; |
| 102 |
|
| 103 |
ul{ |
| 104 |
clear: left; |
| 105 |
margin: 0; |
| 106 |
list-style-type: none; |
| 107 |
|
| 108 |
li{ |
| 109 |
margin-bottom: 0; |
| 110 |
|
| 111 |
a{ |
| 112 |
font-size: 13px; |
| 113 |
position: relative; |
| 114 |
display: block; |
| 115 |
padding: 14px 12px; |
| 116 |
text-decoration: none; |
| 117 |
transition-property: color, background; |
| 118 |
transition-duration: 0.2s; |
| 119 |
transition-timing-function: ease; |
| 120 |
|
| 121 |
&:focus{ |
| 122 |
outline: none; |
| 123 |
box-shadow: none; |
| 124 |
} |
| 125 |
} |
| 126 |
|
| 127 |
.csf-arrow:after{ |
| 128 |
content: "\f054"; |
| 129 |
display: inline-block; |
| 130 |
font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome"; |
| 131 |
font-weight: 900; |
| 132 |
font-size: 9px; |
| 133 |
line-height: 1; |
| 134 |
position: absolute; |
| 135 |
right: 10px; |
| 136 |
top: 50%; |
| 137 |
margin-top: -4px; |
| 138 |
} |
| 139 |
|
| 140 |
&.csf-tab-expanded{ |
| 141 |
|
| 142 |
.csf-arrow:after{ |
| 143 |
transform: rotate(90deg); |
| 144 |
} |
| 145 |
|
| 146 |
ul{ |
| 147 |
display: block; |
| 148 |
} |
| 149 |
} |
| 150 |
} |
| 151 |
|
| 152 |
ul{ |
| 153 |
display: none; |
| 154 |
position: relative; |
| 155 |
|
| 156 |
li{ |
| 157 |
|
| 158 |
a{ |
| 159 |
font-size: 12px; |
| 160 |
padding: 12px 14px 12px 24px; |
| 161 |
} |
| 162 |
} |
| 163 |
} |
| 164 |
} |
| 165 |
|
| 166 |
.csf-tab-icon{ |
| 167 |
width: 20px; |
| 168 |
margin-right: 5px; |
| 169 |
font-size: 13px; |
| 170 |
text-align: center; |
| 171 |
} |
| 172 |
|
| 173 |
.csf-label-error{ |
| 174 |
margin-left: 4px; |
| 175 |
vertical-align: top; |
| 176 |
} |
| 177 |
} |
| 178 |
|
| 179 |
.csf-nav-normal{ |
| 180 |
width: 225px; |
| 181 |
|
| 182 |
+ .csf-content{ |
| 183 |
margin-left: 225px; |
| 184 |
} |
| 185 |
} |
| 186 |
|
| 187 |
.csf-nav-inline{ |
| 188 |
width: 100%; |
| 189 |
|
| 190 |
ul{ |
| 191 |
|
| 192 |
li{ |
| 193 |
display: inline-block; |
| 194 |
vertical-align: top; |
| 195 |
} |
| 196 |
} |
| 197 |
} |
| 198 |
|
| 199 |
.csf-nav-background{ |
| 200 |
position: absolute; |
| 201 |
top: 0; |
| 202 |
left: 0; |
| 203 |
bottom: 0; |
| 204 |
z-index: 9; |
| 205 |
width: 225px; |
| 206 |
} |
| 207 |
|
| 208 |
/** |
| 209 |
* 01. 05. Wrapper |
| 210 |
*/ |
| 211 |
.csf-wrapper{ |
| 212 |
position: relative; |
| 213 |
} |
| 214 |
|
| 215 |
/** |
| 216 |
* 01. 06. Content |
| 217 |
*/ |
| 218 |
.csf-content{ |
| 219 |
position: relative; |
| 220 |
background-color: #fff; |
| 221 |
} |
| 222 |
|
| 223 |
/** |
| 224 |
* 01. 07. Section |
| 225 |
*/ |
| 226 |
.csf-sections{ |
| 227 |
float: left; |
| 228 |
width: 100%; |
| 229 |
} |
| 230 |
|
| 231 |
.csf-section-title{ |
| 232 |
display: none; |
| 233 |
padding: 20px 30px; |
| 234 |
background-color: #f5f5f5; |
| 235 |
border-top: 1px solid #eee; |
| 236 |
border-bottom: 1px solid #eee; |
| 237 |
|
| 238 |
h3{ |
| 239 |
margin: 0; |
| 240 |
padding: 0 ; |
| 241 |
font-size: 13px; |
| 242 |
font-weight: bold; |
| 243 |
text-transform: uppercase; |
| 244 |
} |
| 245 |
|
| 246 |
.csf-section-icon{ |
| 247 |
margin-right: 5px; |
| 248 |
} |
| 249 |
} |
| 250 |
|
| 251 |
/** |
| 252 |
* 01. 08. Footer |
| 253 |
*/ |
| 254 |
.csf-footer{ |
| 255 |
padding: 20px; |
| 256 |
font-size: 11px; |
| 257 |
} |
| 258 |
|
| 259 |
/** |
| 260 |
* 01. 09. Copyright |
| 261 |
*/ |
| 262 |
.csf-copyright{ |
| 263 |
float: left; |
| 264 |
margin-top: 5px; |
| 265 |
} |
| 266 |
|
| 267 |
/** |
| 268 |
* 01. 10. Show All Settings |
| 269 |
*/ |
| 270 |
.csf-search-all, |
| 271 |
.csf-show-all{ |
| 272 |
.csf-nav-background, |
| 273 |
.csf-nav{ |
| 274 |
display: none; |
| 275 |
} |
| 276 |
|
| 277 |
.csf-content{ |
| 278 |
margin-left: 0; |
| 279 |
} |
| 280 |
|
| 281 |
.csf-section-title, |
| 282 |
.csf-section{ |
| 283 |
display: block !important; |
| 284 |
} |
| 285 |
} |
| 286 |
|
| 287 |
.csf-search-all{ |
| 288 |
.csf-section-title{ |
| 289 |
display: none !important; |
| 290 |
} |
| 291 |
} |
| 292 |
|
| 293 |
// |
| 294 |
// Expand |
| 295 |
// |
| 296 |
.csf-expand-all{ |
| 297 |
float: left; |
| 298 |
padding: 0 8px; |
| 299 |
margin-right: 4px; |
| 300 |
z-index: 1; |
| 301 |
font-size: 13px; |
| 302 |
line-height: 30px; |
| 303 |
cursor: pointer; |
| 304 |
user-select: none; |
| 305 |
border-radius: 2px; |
| 306 |
transition: all .2s; |
| 307 |
|
| 308 |
span{ |
| 309 |
font-size: 11px; |
| 310 |
vertical-align: middle; |
| 311 |
} |
| 312 |
} |
| 313 |
|
| 314 |
/** |
| 315 |
* 01. 11. Search Input |
| 316 |
*/ |
| 317 |
.csf-search{ |
| 318 |
float: left; |
| 319 |
|
| 320 |
input{ |
| 321 |
margin: 0 2px 0 0; |
| 322 |
border: none; |
| 323 |
font-size: 12px; |
| 324 |
line-height: 30px; |
| 325 |
min-height: 30px; |
| 326 |
text-align: inherit; |
| 327 |
padding: 0 10px; |
| 328 |
border-radius: 2px; |
| 329 |
box-shadow: none; |
| 330 |
|
| 331 |
&:focus{ |
| 332 |
box-shadow: none; |
| 333 |
} |
| 334 |
} |
| 335 |
} |
| 336 |
|
| 337 |
.csf-saving{ |
| 338 |
|
| 339 |
.csf-buttons, |
| 340 |
.csf-content{ |
| 341 |
cursor: default; |
| 342 |
pointer-events: none; |
| 343 |
opacity: 0.5; |
| 344 |
} |
| 345 |
} |
| 346 |
|
| 347 |
/** |
| 348 |
* 01. 12. Metabox |
| 349 |
*/ |
| 350 |
.csf-metabox{ |
| 351 |
margin: -6px -12px -12px -12px; |
| 352 |
|
| 353 |
.csf-field{ |
| 354 |
padding: 20px; |
| 355 |
} |
| 356 |
|
| 357 |
.csf-section-title{ |
| 358 |
padding: 20px; |
| 359 |
} |
| 360 |
} |
| 361 |
|
| 362 |
.block-editor-page{ |
| 363 |
|
| 364 |
.csf-metabox{ |
| 365 |
margin: -6px -14px -14px -14px; |
| 366 |
} |
| 367 |
} |
| 368 |
|
| 369 |
.block-editor-editor-skeleton__content{ |
| 370 |
|
| 371 |
.csf-metabox{ |
| 372 |
border-left: 1px solid #e2e4e7; |
| 373 |
border-right: 1px solid #e2e4e7; |
| 374 |
} |
| 375 |
} |
| 376 |
|
| 377 |
.csf-sections-reset{ |
| 378 |
float: left; |
| 379 |
width: 100%; |
| 380 |
text-align: right; |
| 381 |
border-top: 1px solid #eee; |
| 382 |
|
| 383 |
.csf-button-cancel, |
| 384 |
input{ |
| 385 |
display: none; |
| 386 |
} |
| 387 |
|
| 388 |
label{ |
| 389 |
padding: 10px; |
| 390 |
} |
| 391 |
|
| 392 |
span{ |
| 393 |
-webkit-user-select: none; |
| 394 |
user-select: none; |
| 395 |
} |
| 396 |
|
| 397 |
|
| 398 |
input:checked ~ .csf-button-reset{ |
| 399 |
display: none; |
| 400 |
} |
| 401 |
|
| 402 |
input:checked ~ .csf-button-cancel{ |
| 403 |
display: inline-block; |
| 404 |
} |
| 405 |
|
| 406 |
} |
| 407 |
|
| 408 |
#side-sortables{ |
| 409 |
|
| 410 |
.csf-section-title{ |
| 411 |
padding: 12px; |
| 412 |
} |
| 413 |
|
| 414 |
.csf-field{ |
| 415 |
padding: 10px 15px; |
| 416 |
|
| 417 |
.csf-title{ |
| 418 |
float: none; |
| 419 |
width: 100%; |
| 420 |
margin-bottom: 6px; |
| 421 |
} |
| 422 |
|
| 423 |
.csf-fieldset{ |
| 424 |
float: none; |
| 425 |
width: 100%; |
| 426 |
} |
| 427 |
} |
| 428 |
|
| 429 |
.csf-field-text input{ |
| 430 |
width: 100%; |
| 431 |
} |
| 432 |
|
| 433 |
.csf-notice{ |
| 434 |
padding: 10px 15px; |
| 435 |
} |
| 436 |
} |
| 437 |
|
| 438 |
/** |
| 439 |
* 01. 13. Comment Metabox |
| 440 |
*/ |
| 441 |
.csf-comment-metabox{ |
| 442 |
margin: -6px -12px -12px -12px; |
| 443 |
|
| 444 |
.csf-field{ |
| 445 |
padding: 20px; |
| 446 |
} |
| 447 |
|
| 448 |
.csf-section-title{ |
| 449 |
padding: 20px; |
| 450 |
} |
| 451 |
} |
| 452 |
|
| 453 |
|
| 454 |
/** |
| 455 |
* 01. 14. Help Tooltip |
| 456 |
*/ |
| 457 |
.csf-tooltip{ |
| 458 |
position: absolute; |
| 459 |
z-index: 5000001; |
| 460 |
font-size: 12px; |
| 461 |
line-height: 1.4; |
| 462 |
text-align: center; |
| 463 |
text-decoration: none; |
| 464 |
padding: 6px 12px; |
| 465 |
max-width: 200px; |
| 466 |
color: #fff; |
| 467 |
background-color: #000; |
| 468 |
background-color: rgba(black, 0.85); |
| 469 |
border-radius: 4px; |
| 470 |
} |
| 471 |
|