| 1 |
@charset "UTF-8"; |
| 2 |
@import 'fields'; |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
//------------------------------------*\ |
| 8 |
// VARIABLES |
| 9 |
//------------------------------------*/ |
| 10 |
$accent : #3677bd; |
| 11 |
$dark : #232527; |
| 12 |
$gray : #303235; |
| 13 |
$light : #cbcfd4; |
| 14 |
$lighter : #3b3f45; // borders |
| 15 |
$descriptions : #4d7b90; |
| 16 |
|
| 17 |
$borders :#e0e8ef; |
| 18 |
|
| 19 |
$unit : 24px; |
| 20 |
$popup : 275px; |
| 21 |
$container-spacing : 17px; |
| 22 |
|
| 23 |
$blue-dark : #416B7E; |
| 24 |
$blue-darker : #2A3B44; |
| 25 |
|
| 26 |
$fields_height : 44px; |
| 27 |
$fields_spacing : 24px; |
| 28 |
$fields_border-radius : 4px; |
| 29 |
$fields_border-color : #B8DAEB; |
| 30 |
|
| 31 |
$background-hover : #f5fcff; |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
//------------------------------------*\ |
| 38 |
// RESETS |
| 39 |
//------------------------------------*/ |
| 40 |
.wp-full-overlay-sidebar { |
| 41 |
*, *:before, *:after { |
| 42 |
box-sizing: border-box; |
| 43 |
} |
| 44 |
} |
| 45 |
|
| 46 |
.iris-picker, |
| 47 |
.iris-picker * { |
| 48 |
box-sizing: content-box; |
| 49 |
} |
| 50 |
|
| 51 |
@mixin clearfix { |
| 52 |
&:after { |
| 53 |
content: " "; |
| 54 |
display: table; |
| 55 |
clear: both; |
| 56 |
} |
| 57 |
} |
| 58 |
|
| 59 |
// Change sections overflow |
| 60 |
.wp-full-overlay-sidebar-content .accordion-section-content { |
| 61 |
overflow: visible; |
| 62 |
} |
| 63 |
|
| 64 |
.control-section:not(.control-section-themes) .customize-control { |
| 65 |
padding: 0; |
| 66 |
width: 100%; |
| 67 |
min-height: initial; |
| 68 |
} |
| 69 |
|
| 70 |
|
| 71 |
// Header – Close + Save Controls |
| 72 |
#customize-header-actions { |
| 73 |
// border-bottom: 0; |
| 74 |
#customize-save-button-wrapper { |
| 75 |
margin-top: 7px; |
| 76 |
} |
| 77 |
} |
| 78 |
|
| 79 |
// Footer |
| 80 |
.wp-full-overlay-footer { |
| 81 |
.devices { |
| 82 |
button { |
| 83 |
float: left; |
| 84 |
border-radius: 0; |
| 85 |
} |
| 86 |
} |
| 87 |
} |
| 88 |
|
| 89 |
// Temporary Fix to Make "Close" button align with the "Back" |
| 90 |
.customize-controls-close { |
| 91 |
width: 48px; |
| 92 |
height: 44px; |
| 93 |
color: #7da9c3; |
| 94 |
background: #ffffff; |
| 95 |
border-top: none; |
| 96 |
border-right-color: $borders; |
| 97 |
|
| 98 |
&:focus, &:hover { |
| 99 |
background: $background-hover; |
| 100 |
} |
| 101 |
|
| 102 |
// "X" Icon |
| 103 |
&:before { |
| 104 |
top: 0px; |
| 105 |
} |
| 106 |
} |
| 107 |
|
| 108 |
// Remove Accordion Section Title Margin |
| 109 |
#customize-controls .customize-info { |
| 110 |
// margin-bottom: 0; |
| 111 |
border-bottom-color: $borders; |
| 112 |
} |
| 113 |
|
| 114 |
.customize-panel-back, .customize-section-back { |
| 115 |
height: 74px; |
| 116 |
color: #7da9c3; |
| 117 |
border-right-color: $borders; |
| 118 |
|
| 119 |
&:hover, &:focus { |
| 120 |
border-left-color: $background-hover; |
| 121 |
background: $background-hover; |
| 122 |
} |
| 123 |
} |
| 124 |
|
| 125 |
|
| 126 |
#customize-theme-controls { |
| 127 |
.theme * { |
| 128 |
box-sizing: content-box; |
| 129 |
} |
| 130 |
|
| 131 |
.accordion-section-content { |
| 132 |
padding: $container-spacing; |
| 133 |
} |
| 134 |
|
| 135 |
.customize-section-title { |
| 136 |
margin-top: -$container-spacing; |
| 137 |
margin-right: -$container-spacing; |
| 138 |
} |
| 139 |
|
| 140 |
#accordion-section-add_menu { |
| 141 |
border-bottom: none; |
| 142 |
|
| 143 |
.add-menu-toggle { |
| 144 |
float: none; |
| 145 |
} |
| 146 |
} |
| 147 |
|
| 148 |
.customize-pane-child.open { |
| 149 |
height: 100%; |
| 150 |
} |
| 151 |
} |
| 152 |
|
| 153 |
#customize-controls .description { |
| 154 |
// margin-bottom: 9px; |
| 155 |
|
| 156 |
font-size: 12px; |
| 157 |
font-weight: 300; |
| 158 |
font-style: normal; |
| 159 |
line-height: 1.6; |
| 160 |
color: $descriptions; |
| 161 |
text-indent: 0; |
| 162 |
} |
| 163 |
|
| 164 |
.customize-control-description { |
| 165 |
margin-top: 6px; |
| 166 |
} |
| 167 |
|
| 168 |
.customize-control { |
| 169 |
margin-bottom: $fields-spacing; |
| 170 |
} |
| 171 |
|
| 172 |
// Active Themes Section |
| 173 |
#accordion-section-themes { |
| 174 |
+.control-section { |
| 175 |
border-top: none; |
| 176 |
} |
| 177 |
} |
| 178 |
|
| 179 |
// Subsection Info Title |
| 180 |
#customize-controls { |
| 181 |
.panel-meta.customize-info { |
| 182 |
.accordion-section-title { |
| 183 |
border-top: none; |
| 184 |
height: 74px; |
| 185 |
} |
| 186 |
} |
| 187 |
} |
| 188 |
|
| 189 |
.button-controls { |
| 190 |
@include clearfix(); |
| 191 |
} |
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
//------------------------------------*\ |
| 198 |
// GENERAL FIELDS |
| 199 |
//------------------------------------*/ |
| 200 |
|
| 201 |
|
| 202 |
|
| 203 |
// GENERAL Buttons |
| 204 |
|
| 205 |
.wp-core-ui { |
| 206 |
|
| 207 |
// Primary & Secondary Buttons |
| 208 |
.button:not(.theme-details):not(.collapse-sidebar):not(.wp-color-result), |
| 209 |
.button-primary, |
| 210 |
.button-secondary { |
| 211 |
width: auto; |
| 212 |
// padding: 6px 20px; |
| 213 |
padding-left: 15px; |
| 214 |
padding-right: 15px; |
| 215 |
|
| 216 |
// font-size: 13px; |
| 217 |
font-weight: 400; |
| 218 |
color: #F5FCFF; |
| 219 |
// line-height: 1.4; |
| 220 |
text-shadow: none; |
| 221 |
border: none; |
| 222 |
background: #AED2E5; |
| 223 |
box-shadow: 0px 2px 0px 0px #8DBED7; |
| 224 |
border-radius: $fields_border-radius; |
| 225 |
|
| 226 |
&:hover { |
| 227 |
color: white; |
| 228 |
text-shadow: none; |
| 229 |
background: #98C6DD; |
| 230 |
box-shadow: 0px 2px 0px 0px #74A7C2; |
| 231 |
} |
| 232 |
} |
| 233 |
|
| 234 |
#customize-header-actions { |
| 235 |
.button-primary { |
| 236 |
background: #73C5EE; |
| 237 |
box-shadow: 0px 2px 0px 0px #57ABD5; |
| 238 |
|
| 239 |
&:hover { |
| 240 |
background: #58B0DD; |
| 241 |
box-shadow: 0px 2px 0px 0px #3F8AAF; |
| 242 |
} |
| 243 |
|
| 244 |
&.save { |
| 245 |
|
| 246 |
} |
| 247 |
|
| 248 |
&.has-next-sibling { |
| 249 |
border-right: 1px solid #57ABD5; |
| 250 |
} |
| 251 |
|
| 252 |
&:disabled { |
| 253 |
color: white !important; |
| 254 |
background: #AED2E5 !important; |
| 255 |
opacity: 0.7; |
| 256 |
box-shadow: 0px 2px 0px 0px #8db5ca !important; |
| 257 |
|
| 258 |
&.has-next-sibling { |
| 259 |
border-right: none; |
| 260 |
} |
| 261 |
} |
| 262 |
} |
| 263 |
} |
| 264 |
|
| 265 |
|
| 266 |
// Reset Buttons |
| 267 |
.reset_section, |
| 268 |
.reset_panel { |
| 269 |
width: 100%; |
| 270 |
height: 4em; |
| 271 |
display: block; |
| 272 |
margin: 0px 0 25px; |
| 273 |
} |
| 274 |
|
| 275 |
.reset_panel { |
| 276 |
margin-top: 10px; |
| 277 |
} |
| 278 |
} |
| 279 |
|
| 280 |
|
| 281 |
|
| 282 |
// Separators Titles |
| 283 |
|
| 284 |
%fields-label { |
| 285 |
display: block; |
| 286 |
font-size: 14px; |
| 287 |
line-height: 24px; |
| 288 |
font-weight: 500; |
| 289 |
// margin-bottom: 5px; |
| 290 |
} |
| 291 |
|
| 292 |
.customize-control-title { |
| 293 |
color: $blue-darker; |
| 294 |
} |
| 295 |
|
| 296 |
%section-background { |
| 297 |
content: ""; |
| 298 |
|
| 299 |
position: absolute; |
| 300 |
top: 0; |
| 301 |
bottom: 0; |
| 302 |
left: -$container-spacing - 1; |
| 303 |
right: -$container-spacing - 1; |
| 304 |
z-index: -1; |
| 305 |
} |
| 306 |
|
| 307 |
.separator { |
| 308 |
&.label { |
| 309 |
@extend %fields-label; |
| 310 |
@extend .customize-control-title; |
| 311 |
//margin-bottom: -3px; |
| 312 |
//margin-bottom: -$fields-spacing/2 - 3px; |
| 313 |
|
| 314 |
font-weight: 500; |
| 315 |
} |
| 316 |
|
| 317 |
&.large { |
| 318 |
margin-top: $fields-spacing/2; |
| 319 |
font-size: 16px; |
| 320 |
color: #39474D; |
| 321 |
} |
| 322 |
|
| 323 |
&.section { |
| 324 |
position: relative; |
| 325 |
padding: 14px 0; |
| 326 |
margin-bottom: 0; |
| 327 |
background: none; |
| 328 |
border: none; |
| 329 |
|
| 330 |
&[id*="layout"]*="layout""] { |
| 331 |
margin-top: 0; |
| 332 |
|
| 333 |
&:before { |
| 334 |
border: none; |
| 335 |
} |
| 336 |
} |
| 337 |
|
| 338 |
&:before { |
| 339 |
@extend %section-background; |
| 340 |
|
| 341 |
border: 1px solid $borders; |
| 342 |
background-color: #ffffff; |
| 343 |
box-shadow: 0px 1px 0px 0px #DFE8EF; |
| 344 |
} |
| 345 |
} |
| 346 |
|
| 347 |
&.sub-section { |
| 348 |
position: relative; |
| 349 |
padding: 12px 0; |
| 350 |
|
| 351 |
&:before { |
| 352 |
@extend %section-background; |
| 353 |
|
| 354 |
border-top: 1px solid $borders; |
| 355 |
border-bottom: 1px solid $borders; |
| 356 |
background-color: #f6fbff; |
| 357 |
} |
| 358 |
|
| 359 |
+ span { |
| 360 |
margin-top: 20px; |
| 361 |
font-style: normal; |
| 362 |
} |
| 363 |
} |
| 364 |
} |
| 365 |
|
| 366 |
// h2.separator { |
| 367 |
// margin-bottom: -20px; |
| 368 |
// margin-top: 30px; |
| 369 |
// } |
| 370 |
|
| 371 |
|
| 372 |
|
| 373 |
// Section tabs |
| 374 |
|
| 375 |
.section-navigation-wrapper { |
| 376 |
position: relative; |
| 377 |
|
| 378 |
height: 43px; |
| 379 |
margin: -15px -12px 0 -12px; |
| 380 |
margin-right: -$container-spacing; |
| 381 |
margin-left: -$container-spacing; |
| 382 |
} |
| 383 |
|
| 384 |
.section-navigation { |
| 385 |
display: flex; |
| 386 |
margin-top: -1px; |
| 387 |
|
| 388 |
clear: both; |
| 389 |
|
| 390 |
border-top: 1px solid $borders; |
| 391 |
|
| 392 |
a { |
| 393 |
flex: 1 1 auto; |
| 394 |
display: block; |
| 395 |
padding: 12px 0; |
| 396 |
|
| 397 |
color: #3b484e; |
| 398 |
background-color: #ffffff; |
| 399 |
|
| 400 |
border-bottom: 1px solid $borders; |
| 401 |
border-right: 1px solid $borders; |
| 402 |
|
| 403 |
text-align: center; |
| 404 |
text-decoration: none; |
| 405 |
|
| 406 |
transition: background-color .15s ease-in-out; |
| 407 |
|
| 408 |
&:last-child { |
| 409 |
border-right: 0; |
| 410 |
} |
| 411 |
} |
| 412 |
} |
| 413 |
|
| 414 |
#customize-controls .customize-info, |
| 415 |
#customize-controls .customize-section-title { |
| 416 |
&.is-sticky.is-sticky { |
| 417 |
top: 40px; |
| 418 |
} |
| 419 |
|
| 420 |
&.is-in-view.is-in-view { |
| 421 |
box-shadow: none; |
| 422 |
} |
| 423 |
} |
| 424 |
|
| 425 |
#customize-controls .has-nav .customize-info, |
| 426 |
#customize-controls .has-nav .customize-section-title { |
| 427 |
margin-right: -12px; |
| 428 |
} |
| 429 |
|
| 430 |
#customize-controls .customize-section-title.customize-section-title { |
| 431 |
border-bottom: 0; |
| 432 |
} |
| 433 |
|
| 434 |
.customize-section-description-container.section-meta.has-nav { |
| 435 |
margin-bottom: 0; |
| 436 |
} |
| 437 |
|
| 438 |
// Extended typography field |
| 439 |
|
| 440 |
.font-options__wrapper { |
| 441 |
position: relative; |
| 442 |
|
| 443 |
//&:hover .font-options__options-list { |
| 444 |
// opacity: 1; |
| 445 |
// pointer-events: auto; |
| 446 |
//} |
| 447 |
|
| 448 |
&:after { |
| 449 |
content: ""; |
| 450 |
position: absolute; |
| 451 |
top: 90%; |
| 452 |
left: 0; |
| 453 |
right: 0; |
| 454 |
z-index: 0; |
| 455 |
|
| 456 |
display: block; |
| 457 |
height: 30px; |
| 458 |
} |
| 459 |
} |
| 460 |
.font-options__head { |
| 461 |
@extend %input; |
| 462 |
@extend %select; |
| 463 |
|
| 464 |
display: flex; |
| 465 |
justify-content: space-between; |
| 466 |
|
| 467 |
&.font-options__head { |
| 468 |
-webkit-appearance: none; |
| 469 |
|
| 470 |
text-overflow: ellipsis; |
| 471 |
// overflow: hidden; |
| 472 |
white-space: nowrap; |
| 473 |
} |
| 474 |
} |
| 475 |
.font-options__font-title { |
| 476 |
margin-right: 26px; |
| 477 |
margin-left: 10px; |
| 478 |
|
| 479 |
font-size: 12px; |
| 480 |
line-height: 20px; |
| 481 |
font-weight: 300; |
| 482 |
|
| 483 |
color: #98c6dd; |
| 484 |
|
| 485 |
text-overflow: ellipsis; |
| 486 |
overflow: hidden; |
| 487 |
white-space: nowrap; |
| 488 |
} |
| 489 |
|
| 490 |
.font-options__options-list { |
| 491 |
position: absolute; |
| 492 |
top: calc(100% + 6px); |
| 493 |
left: -6px; |
| 494 |
right: -6px; |
| 495 |
z-index: 2; |
| 496 |
|
| 497 |
display: block; |
| 498 |
padding: 10px; |
| 499 |
|
| 500 |
border: 1px solid #dfe8ef; |
| 501 |
border-radius: 5px; |
| 502 |
|
| 503 |
background-color: #ffffff; |
| 504 |
|
| 505 |
opacity: 0; |
| 506 |
display: none; |
| 507 |
//pointer-events: none; |
| 508 |
transition: opacity .15s linear; |
| 509 |
|
| 510 |
&:last-child { |
| 511 |
margin-bottom: 0; |
| 512 |
} |
| 513 |
|
| 514 |
&:before, |
| 515 |
&:after { |
| 516 |
content: ""; |
| 517 |
|
| 518 |
position: absolute; |
| 519 |
top: -20px; |
| 520 |
right: 25px; |
| 521 |
|
| 522 |
height: 0; |
| 523 |
width: 0; |
| 524 |
|
| 525 |
border: solid transparent; |
| 526 |
|
| 527 |
z-index: 10; |
| 528 |
} |
| 529 |
|
| 530 |
&:before { |
| 531 |
border-bottom-color: white; |
| 532 |
border-width: 10px; |
| 533 |
z-index: 11; |
| 534 |
} |
| 535 |
|
| 536 |
&:after { |
| 537 |
border-bottom-color: rgba(0, 0, 0, 0.075); |
| 538 |
border-width: 12px; |
| 539 |
top: -24px; |
| 540 |
right: 23px; |
| 541 |
} |
| 542 |
} |
| 543 |
|
| 544 |
|
| 545 |
|
| 546 |
|
| 547 |
|
| 548 |
//------------------------------------*\ |
| 549 |
// OBJECTS |
| 550 |
//------------------------------------*/ |
| 551 |
%top-arrow { |
| 552 |
&:after { |
| 553 |
content: ""; |
| 554 |
position: absolute; |
| 555 |
bottom:100%; |
| 556 |
right: 12px; |
| 557 |
border-collapse: separate; |
| 558 |
width: 0; |
| 559 |
height: 0; |
| 560 |
|
| 561 |
border-width: 0 9px 9px 9px;; |
| 562 |
border-style: solid; |
| 563 |
border-color: transparent transparent #fff transparent; |
| 564 |
} |
| 565 |
} |
| 566 |
|
| 567 |
%box-bg { |
| 568 |
position : absolute; |
| 569 |
top : 60px; |
| 570 |
right : -6px; |
| 571 |
z-index : 100000; |
| 572 |
width : $popup !important; |
| 573 |
padding : 12px; |
| 574 |
display : none; |
| 575 |
background : #fff; |
| 576 |
border-radius : 3px; |
| 577 |
@extend %top-arrow; |
| 578 |
|
| 579 |
&.active { |
| 580 |
display:block; |
| 581 |
} |
| 582 |
|
| 583 |
&:after { |
| 584 |
right : 58px; |
| 585 |
border-color : transparent transparent #fff transparent; |
| 586 |
} |
| 587 |
} |
| 588 |
|
| 589 |
%icon-btn { |
| 590 |
position : absolute; |
| 591 |
top : -36px; |
| 592 |
right : 45px; |
| 593 |
display : block; |
| 594 |
height : 30px; |
| 595 |
width : 30px; |
| 596 |
margin : 0; |
| 597 |
padding : 0; |
| 598 |
border : none; |
| 599 |
background : #1d1e20; |
| 600 |
color : #5f6369; |
| 601 |
border-radius : (100px); |
| 602 |
box-shadow: rgba(0, 0, 0, 0.1) 0 2px 0px inset; |
| 603 |
line-height : 30px; |
| 604 |
text-align : center; |
| 605 |
cursor : pointer; |
| 606 |
outline : none; |
| 607 |
|
| 608 |
&:before { |
| 609 |
font-family: 'Elusive-Icons'; |
| 610 |
content: "\e669"; |
| 611 |
} |
| 612 |
|
| 613 |
&:hover, &.active { |
| 614 |
background : $lighter; |
| 615 |
} |
| 616 |
|
| 617 |
&.active { |
| 618 |
box-shadow: rgba(0, 0, 0, 0.4) 0 1px 1px; |
| 619 |
} |
| 620 |
} |
| 621 |
|
| 622 |
|
| 623 |
|
| 624 |
//------------------------------------*\ |
| 625 |
// $INPUT FIELDS |
| 626 |
//------------------------------------*/ |
| 627 |
|
| 628 |
%input { |
| 629 |
width: 100%; |
| 630 |
height: $fields_height; |
| 631 |
padding: 10px 14px; |
| 632 |
|
| 633 |
background: #FFFFFF; |
| 634 |
border: 2px solid $fields_border-color; |
| 635 |
border-radius: 4px; |
| 636 |
|
| 637 |
font-size: 14px; |
| 638 |
line-height: 1.5; |
| 639 |
color: $blue-dark; |
| 640 |
outline: 0; |
| 641 |
|
| 642 |
&:focus { |
| 643 |
border-color: #73C5EE; |
| 644 |
box-shadow: none; |
| 645 |
// box-shadow: 0 0 0 2px #73C5EE; |
| 646 |
} |
| 647 |
} |
| 648 |
|
| 649 |
%select { |
| 650 |
width: 100%; |
| 651 |
-webkit-appearance: button; // hide default arrow in WebKit/Blink |
| 652 |
-moz-appearance: none; // hide default arrow in Gecko |
| 653 |
|
| 654 |
font-weight: 600; |
| 655 |
|
| 656 |
background: white url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjE1cHgiIGhlaWdodD0iOXB4IiB2aWV3Qm94PSIwIDAgMTUgOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJDdXN0b21pZnktQ29weS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjU2LjAwMDAwMCwgLTM4Ni4wMDAwMDApIiBmaWxsPSIjOThDNkRFIj4KICAgICAgICAgICAgPGcgaWQ9IkhlYWRlciIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjAwMDAwMCwgNDcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0iQ29udGVudCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCA3NS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iVGl0bGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI2LjAwMDAwMCwgMjE5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iRmllbGQtLS1TZWxlY3QtQ29weSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iU2VsZWN0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgMjcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTI1NC40ODEyLDE4IEwyNTYsMTkuNTE0IEwyNDguNSwyNyBMMjQxLDE5LjUxNCBMMjQyLjUxODgsMTggTDI0OC41LDIzLjk2NzIgTDI1NC40ODEyLDE4IFoiIGlkPSJQYWdlLTEiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat; |
| 657 |
background-position: right 16px top 16px; |
| 658 |
|
| 659 |
&[multiple]] { |
| 660 |
background: white; |
| 661 |
} |
| 662 |
} |
| 663 |
|
| 664 |
.wp-full-overlay-sidebar-content .customize-control { |
| 665 |
|
| 666 |
input[type=text]=text]:not(#_customize-input-wpcom_custom_css_content_width_control):not(.wp-color-picker), |
| 667 |
input[type=checkbox]=checkbox], |
| 668 |
input[type=password]=password], |
| 669 |
input[type=color]=color], |
| 670 |
input[type=date]=date], |
| 671 |
input[type=datetime]=datetime], |
| 672 |
input[type=datetime-local]=datetime-local], |
| 673 |
input[type=email]=email], |
| 674 |
input[type=month]=month], |
| 675 |
input[type=number]=number], |
| 676 |
input[type=radio]=radio], |
| 677 |
input[type=tel]=tel], |
| 678 |
input[type=time]=time], |
| 679 |
input[type=url]=url], |
| 680 |
input[type=week]=week], |
| 681 |
input[type=search]=search], |
| 682 |
select, |
| 683 |
textarea, |
| 684 |
input[type="number"]="number""].range-value { |
| 685 |
@extend %input; |
| 686 |
} |
| 687 |
|
| 688 |
input[type=text]=text], |
| 689 |
textarea { |
| 690 |
font-size: 13px; |
| 691 |
} |
| 692 |
|
| 693 |
input[type=text]=text] { |
| 694 |
|
| 695 |
} |
| 696 |
|
| 697 |
// Textarea |
| 698 |
textarea { |
| 699 |
height: auto; |
| 700 |
} |
| 701 |
|
| 702 |
// Checkbox |
| 703 |
input[type=checkbox]=checkbox], |
| 704 |
input[type=radio]=radio] { |
| 705 |
width: $fields_height/2; |
| 706 |
height: $fields_height/2; |
| 707 |
|
| 708 |
&:checked { |
| 709 |
background: #73C5EE; |
| 710 |
border-color: #5AB9E8; |
| 711 |
|
| 712 |
&:before { |
| 713 |
color: white; |
| 714 |
margin: -1px 0 0 -2px; |
| 715 |
} |
| 716 |
} |
| 717 |
} |
| 718 |
|
| 719 |
.awesome_preset input[type=radio]=radio]:checked { |
| 720 |
background: transparent; |
| 721 |
} |
| 722 |
|
| 723 |
&.customize-control-checkbox:not(#customize-control-jetpack_css_mode_control), |
| 724 |
&.customize-control-radio { |
| 725 |
|
| 726 |
// Split into two columns only when |
| 727 |
// there is more than one label |
| 728 |
label:not(:only-of-type), |
| 729 |
// WordPress 4.9 Class |
| 730 |
> .customize-inside-control-row:not(:only-of-type) { |
| 731 |
margin-left: 30px; |
| 732 |
padding-top: 0; |
| 733 |
padding-bottom: 0; |
| 734 |
display: inline-block; |
| 735 |
|
| 736 |
width: calc(49% - 30px); |
| 737 |
|
| 738 |
text-indent: -6px; |
| 739 |
|
| 740 |
} |
| 741 |
|
| 742 |
label { |
| 743 |
color: $blue-dark; |
| 744 |
|
| 745 |
} |
| 746 |
|
| 747 |
// Except the dividers titles |
| 748 |
[id*="divider"]*="divider""] + & { |
| 749 |
margin-top: 0; |
| 750 |
} |
| 751 |
} |
| 752 |
|
| 753 |
// Radios |
| 754 |
input[type=radio]=radio] { |
| 755 |
border-radius: 50%; |
| 756 |
|
| 757 |
&:checked:before { |
| 758 |
content: none; |
| 759 |
} |
| 760 |
} |
| 761 |
|
| 762 |
&.customize-control-checkbox { |
| 763 |
// Select HTML Labels followed by a Checkbox field |
| 764 |
.customize-control-html + & { |
| 765 |
margin-top: -24px; |
| 766 |
} |
| 767 |
} |
| 768 |
|
| 769 |
&.customize-control-radio { |
| 770 |
label, |
| 771 |
// WordPress 4.9 Class |
| 772 |
.customize-inside-control-row { |
| 773 |
margin-top: $fields-spacing/2; |
| 774 |
|
| 775 |
} |
| 776 |
|
| 777 |
// New WP 4.9 Changesets options |
| 778 |
&#customize-control-changeset_status .customize-inside-control-row { |
| 779 |
margin-top: 0; |
| 780 |
text-indent: 0; |
| 781 |
} |
| 782 |
} |
| 783 |
|
| 784 |
// Select |
| 785 |
select { |
| 786 |
@extend %select; |
| 787 |
} |
| 788 |
|
| 789 |
|
| 790 |
// Range Field |
| 791 |
input[type="range"]="range""] { |
| 792 |
width: 65%; |
| 793 |
} |
| 794 |
|
| 795 |
$input-size: calc(100% - 55px); |
| 796 |
$input-height: 6px; |
| 797 |
$thumb-height: 22px; |
| 798 |
|
| 799 |
input[type="range"]="range""] { |
| 800 |
position: relative; |
| 801 |
-webkit-appearance: none; |
| 802 |
width: $input-size; |
| 803 |
height: $thumb-height; |
| 804 |
overflow: hidden; |
| 805 |
outline: none; |
| 806 |
background: none; |
| 807 |
|
| 808 |
&:before { |
| 809 |
content: " "; |
| 810 |
position: absolute; |
| 811 |
top: 8px; |
| 812 |
left: 0; |
| 813 |
height: $input-height; |
| 814 |
width: 100%; |
| 815 |
background: #DFE8EF; |
| 816 |
box-shadow: inset 0px 1px 3px 0px rgba(0,0,0,0.30); |
| 817 |
border-radius: 10px; |
| 818 |
} |
| 819 |
|
| 820 |
&::-webkit-slider-thumb { |
| 821 |
-webkit-appearance: none; |
| 822 |
width: $thumb-height; |
| 823 |
height: $thumb-height; |
| 824 |
background: #27ae60; |
| 825 |
position: relative; |
| 826 |
z-index: 3; |
| 827 |
|
| 828 |
background: #FFFFFF; |
| 829 |
border: 2px solid #B8DAEB; |
| 830 |
border-radius: 4px; |
| 831 |
|
| 832 |
&:before { |
| 833 |
content: ".."; |
| 834 |
position: absolute; |
| 835 |
left: 5px; |
| 836 |
top: -5px; |
| 837 |
color: #B8DAEB; |
| 838 |
font-size: 1em; |
| 839 |
letter-spacing: 1px; |
| 840 |
} |
| 841 |
|
| 842 |
&:after { |
| 843 |
content: " "; |
| 844 |
width: $input-size; |
| 845 |
height: $input-height; |
| 846 |
position: absolute; |
| 847 |
z-index: 1; |
| 848 |
right: $thumb-height - 2px; |
| 849 |
top: $input-height; |
| 850 |
background: #73C5EE; |
| 851 |
} |
| 852 |
} |
| 853 |
} |
| 854 |
|
| 855 |
|
| 856 |
input[type="number"]="number""].range-value { |
| 857 |
min-width: 40px; |
| 858 |
max-width: 80px; |
| 859 |
width: auto; |
| 860 |
height: 30px; |
| 861 |
top: -5px; |
| 862 |
float: right; |
| 863 |
padding: 4px 0px 5px 0px; |
| 864 |
margin-left: 10px; |
| 865 |
font-size: 13px; |
| 866 |
line-height: 1; |
| 867 |
text-align: center; |
| 868 |
} |
| 869 |
|
| 870 |
input[type=number]=number]::-webkit-inner-spin-button, |
| 871 |
input[type=number]=number]::-webkit-outer-spin-button { |
| 872 |
-webkit-appearance: none; |
| 873 |
margin: 0; |
| 874 |
} |
| 875 |
} |
| 876 |
|
| 877 |
|
| 878 |
|
| 879 |
|
| 880 |
|
| 881 |
//------------------------------------*\ |
| 882 |
// Color Picker |
| 883 |
//------------------------------------*/ |
| 884 |
|
| 885 |
.customize-control-color { |
| 886 |
display: block; |
| 887 |
|
| 888 |
.customize-control-title { |
| 889 |
float:left; |
| 890 |
} |
| 891 |
.customize-control-content { |
| 892 |
|
| 893 |
} |
| 894 |
|
| 895 |
.wp-picker-container { |
| 896 |
position : relative; |
| 897 |
float : right; |
| 898 |
top : -3px; |
| 899 |
|
| 900 |
|
| 901 |
.wp-picker-holder { |
| 902 |
position: relative; |
| 903 |
} |
| 904 |
|
| 905 |
.wp-color-result, |
| 906 |
.wp-color-result.button { |
| 907 |
top : 0; |
| 908 |
height : 30px; |
| 909 |
width : 40px; |
| 910 |
margin : 0; |
| 911 |
padding : 0; |
| 912 |
|
| 913 |
border-radius: $fields_border-radius; |
| 914 |
background: #2ECC71; |
| 915 |
border: 2px solid #B8DAEB; |
| 916 |
box-shadow: none; |
| 917 |
|
| 918 |
&:after, |
| 919 |
.wp-color-result-text { |
| 920 |
display:none; |
| 921 |
} |
| 922 |
} |
| 923 |
|
| 924 |
.iris-picker { |
| 925 |
position : absolute; |
| 926 |
top : 40px; |
| 927 |
right : 0; |
| 928 |
z-index : 1000; |
| 929 |
width : $popup !important; |
| 930 |
border-top : none; |
| 931 |
border-color: #DFDFDE; |
| 932 |
border-radius: 0 0 3px 3px; |
| 933 |
border : none; |
| 934 |
background : white; |
| 935 |
|
| 936 |
&, * { |
| 937 |
box-sizing: content-box; |
| 938 |
} |
| 939 |
|
| 940 |
.iris-picker-inner { |
| 941 |
|
| 942 |
} |
| 943 |
.iris-square { |
| 944 |
width : 215px !important; |
| 945 |
height : 173px !important; |
| 946 |
margin-right : 0; |
| 947 |
} |
| 948 |
.iris-strip { |
| 949 |
float : right; |
| 950 |
box-shadow: rgba(0,0,0,0.4) 0 1px 1px inset; |
| 951 |
.ui-slider-handle { |
| 952 |
border-color : #aaa !important; |
| 953 |
opacity : 1; |
| 954 |
box-shadow: none; |
| 955 |
} |
| 956 |
} |
| 957 |
.iris-palette { |
| 958 |
width : 24px !important; |
| 959 |
height : 24px !important; |
| 960 |
border-radius: 50px; |
| 961 |
box-shadow: rgba(0,0,0,0.4) 0 1px 1px inset; |
| 962 |
} |
| 963 |
} |
| 964 |
|
| 965 |
.wp-picker-open+.wp-picker-input-wrap { |
| 966 |
position : absolute; |
| 967 |
z-index : 1000; |
| 968 |
top : 35px; |
| 969 |
right : 0; |
| 970 |
width : $popup; |
| 971 |
padding : 9px 12px; |
| 972 |
background : white; |
| 973 |
border : none; |
| 974 |
border-radius: 3px 3px 0 0; |
| 975 |
@extend %top-arrow; |
| 976 |
|
| 977 |
input { |
| 978 |
|
| 979 |
&.wp-color-picker { |
| 980 |
float:left; |
| 981 |
width: 100px; |
| 982 |
font-size: 13px; |
| 983 |
text-align: left; |
| 984 |
margin: 0; |
| 985 |
padding: 6px 12px; |
| 986 |
height: auto; |
| 987 |
} |
| 988 |
|
| 989 |
&.button { |
| 990 |
float:right; |
| 991 |
padding: 4px 12px; |
| 992 |
height: 30px; |
| 993 |
} |
| 994 |
} |
| 995 |
} |
| 996 |
} |
| 997 |
} |
| 998 |
|
| 999 |
|
| 1000 |
|
| 1001 |
|
| 1002 |
//------------------------------------*\ |
| 1003 |
// Font Selector |
| 1004 |
//------------------------------------*/ |
| 1005 |
|
| 1006 |
.customize-control-font { |
| 1007 |
|
| 1008 |
// Add extra bottom spacing to better view the modal |
| 1009 |
&:last-child { |
| 1010 |
margin-bottom: 150px; |
| 1011 |
} |
| 1012 |
} |
| 1013 |
|
| 1014 |
|
| 1015 |
|
| 1016 |
//------------------------------------*\ |
| 1017 |
// CSS Editor Customizer |
| 1018 |
//------------------------------------*/ |
| 1019 |
|
| 1020 |
// Panel |
| 1021 |
#accordion-panel-live_css_edit_panel { |
| 1022 |
|
| 1023 |
} |
| 1024 |
|
| 1025 |
// Section |
| 1026 |
#accordion-section-live_css_edit_section { |
| 1027 |
|
| 1028 |
// Add the default border to title |
| 1029 |
.customize-section-title { |
| 1030 |
margin-top: -13px; |
| 1031 |
border-bottom: 1px solid #ddd; |
| 1032 |
} |
| 1033 |
// Ace Editor |
| 1034 |
#css_editor { |
| 1035 |
top: 70px; |
| 1036 |
border-top: 10px solid white; |
| 1037 |
overflow: visible; |
| 1038 |
|
| 1039 |
&:before { |
| 1040 |
content: ""; |
| 1041 |
width: 48px; |
| 1042 |
height: 10px; |
| 1043 |
display: block; |
| 1044 |
background: #e8e8e8; |
| 1045 |
top: -10px; |
| 1046 |
position: absolute; |
| 1047 |
z-index: 10000000; |
| 1048 |
left: 0; |
| 1049 |
} |
| 1050 |
} |
| 1051 |
|
| 1052 |
// Add Some Extra Spacing Around the Editor Content |
| 1053 |
.ace_scroller { |
| 1054 |
padding-left: 10px; |
| 1055 |
} |
| 1056 |
} |
| 1057 |
|
| 1058 |
// Increase the Customizer width when Editor is opened |
| 1059 |
.wp-full-overlay.editor_opened { |
| 1060 |
|
| 1061 |
margin-left: 500px; |
| 1062 |
|
| 1063 |
#customize-controls { |
| 1064 |
width: 500px; |
| 1065 |
} |
| 1066 |
|
| 1067 |
// Go back when the Customizer is collapsed |
| 1068 |
&.collapsed #customize-controls { |
| 1069 |
width: 300px; |
| 1070 |
} |
| 1071 |
} |
| 1072 |
|
| 1073 |
|
| 1074 |
|
| 1075 |
|
| 1076 |
|
| 1077 |
//------------------------------------*\ |
| 1078 |
// Media Uploader (Logo) |
| 1079 |
//------------------------------------*/ |
| 1080 |
|
| 1081 |
.customize-control-media, |
| 1082 |
.customize-control-site_icon, |
| 1083 |
li#customize-control-site_logo { |
| 1084 |
.current { |
| 1085 |
margin-bottom: 10px; |
| 1086 |
min-height: $fields_height; |
| 1087 |
background: #F5FCFF; |
| 1088 |
border: 2px solid $fields_border-color; |
| 1089 |
border-radius: $fields_border-radius; |
| 1090 |
|
| 1091 |
.container, span { |
| 1092 |
border: none; |
| 1093 |
} |
| 1094 |
} |
| 1095 |
|
| 1096 |
|
| 1097 |
.inner, .current span { |
| 1098 |
font-size: 13px; |
| 1099 |
color: #98C6DD; |
| 1100 |
} |
| 1101 |
|
| 1102 |
.inner { |
| 1103 |
line-height: 1.4; |
| 1104 |
} |
| 1105 |
|
| 1106 |
.thumbnail-image { |
| 1107 |
padding: 14px; |
| 1108 |
text-align: center; |
| 1109 |
|
| 1110 |
img { |
| 1111 |
width: auto; |
| 1112 |
} |
| 1113 |
} |
| 1114 |
|
| 1115 |
.actions { |
| 1116 |
margin-bottom: 0; |
| 1117 |
} |
| 1118 |
} |
| 1119 |
|
| 1120 |
|
| 1121 |
|
| 1122 |
|
| 1123 |
|
| 1124 |
//------------------------------------*\ |
| 1125 |
// TYPOGRAPHY |
| 1126 |
//------------------------------------*/ |
| 1127 |
|
| 1128 |
.customize-control-typography, .customize-control-typography { |
| 1129 |
|
| 1130 |
// Font, Weight and Subsets selectors |
| 1131 |
select { |
| 1132 |
margin-bottom: 10px; |
| 1133 |
} |
| 1134 |
|
| 1135 |
.description { |
| 1136 |
margin-top: -3px; |
| 1137 |
} |
| 1138 |
|
| 1139 |
&:not(:first-child) .customize-control-title { |
| 1140 |
// margin-top: 15px; |
| 1141 |
} |
| 1142 |
|
| 1143 |
ul li { |
| 1144 |
width: 100%; |
| 1145 |
margin: 0; |
| 1146 |
// display: inline-table; |
| 1147 |
|
| 1148 |
&:nth-child(2n+1) { |
| 1149 |
// width: 45%; |
| 1150 |
// margin-right: 5%; |
| 1151 |
} |
| 1152 |
|
| 1153 |
label { |
| 1154 |
// width: 100%; |
| 1155 |
// display: block; |
| 1156 |
|
| 1157 |
// margin-top: 10px; |
| 1158 |
// margin-bottom: 5px; |
| 1159 |
} |
| 1160 |
|
| 1161 |
select { |
| 1162 |
// width: 100%; |
| 1163 |
} |
| 1164 |
} |
| 1165 |
|
| 1166 |
.customify_typography_font_weight { |
| 1167 |
|
| 1168 |
} |
| 1169 |
|
| 1170 |
.customify_typography_font_subsets { |
| 1171 |
// height: 28px; |
| 1172 |
} |
| 1173 |
} |
| 1174 |
|
| 1175 |
.customize-control select[multiple]].customify_typography_font_subsets { |
| 1176 |
// height: 48px; |
| 1177 |
} |
| 1178 |
|
| 1179 |
|
| 1180 |
|
| 1181 |
|
| 1182 |
|
| 1183 |
//------------------------------------*\ |
| 1184 |
// PRESETS |
| 1185 |
//------------------------------------*/ |
| 1186 |
|
| 1187 |
.customize-control-title { |
| 1188 |
// margin-bottom: 20px; |
| 1189 |
} |
| 1190 |
|
| 1191 |
.default-preset-button { |
| 1192 |
background-color: #F5F6F6; |
| 1193 |
float: right; |
| 1194 |
padding: 1px 8px; |
| 1195 |
border-radius: 3px; |
| 1196 |
border: 1px solid #CBCBCB; |
| 1197 |
margin-right: 4px; |
| 1198 |
font-family: "Open Sans",sans-serif; |
| 1199 |
font-size: 13px; |
| 1200 |
|
| 1201 |
} |
| 1202 |
|
| 1203 |
.customize-control-preset { |
| 1204 |
.description { |
| 1205 |
margin-right: 5px; |
| 1206 |
font-style: normal; |
| 1207 |
} |
| 1208 |
} |
| 1209 |
|
| 1210 |
.customify_preset { |
| 1211 |
&.radio_buttons { |
| 1212 |
|
| 1213 |
.customify_radio_button { |
| 1214 |
border: none; |
| 1215 |
display: inline-block; |
| 1216 |
padding: 2px; |
| 1217 |
margin: 3px; |
| 1218 |
position: relative; |
| 1219 |
overflow: hidden; |
| 1220 |
height: auto; |
| 1221 |
|
| 1222 |
input[type="radio"]="radio""] { |
| 1223 |
opacity: 0; |
| 1224 |
width: 100%; |
| 1225 |
height: 100%; |
| 1226 |
position: absolute; |
| 1227 |
z-index: 9999; |
| 1228 |
|
| 1229 |
&:checked{ |
| 1230 |
|
| 1231 |
&+label { |
| 1232 |
background-color: #ebebeb; |
| 1233 |
&:before { |
| 1234 |
content: '>'; |
| 1235 |
color: inherit; |
| 1236 |
} |
| 1237 |
&:after { |
| 1238 |
content: '<'; |
| 1239 |
color: inherit; |
| 1240 |
} |
| 1241 |
} |
| 1242 |
|
| 1243 |
&:before { |
| 1244 |
opacity: 0; |
| 1245 |
} |
| 1246 |
} |
| 1247 |
} |
| 1248 |
|
| 1249 |
label{ |
| 1250 |
position: relative; |
| 1251 |
z-index: 999; |
| 1252 |
border-left: 4px solid; |
| 1253 |
|
| 1254 |
} |
| 1255 |
} |
| 1256 |
|
| 1257 |
} |
| 1258 |
|
| 1259 |
.awesome_preset { |
| 1260 |
width: 45%; |
| 1261 |
// height: 122px; |
| 1262 |
position: relative; |
| 1263 |
display: inline-block; |
| 1264 |
text-align: center; |
| 1265 |
color: white; |
| 1266 |
|
| 1267 |
margin-top: 5px; |
| 1268 |
margin-bottom: 25px; |
| 1269 |
|
| 1270 |
transition: all 0.2s; |
| 1271 |
|
| 1272 |
&:hover { |
| 1273 |
opacity: 0.9; |
| 1274 |
} |
| 1275 |
|
| 1276 |
&:before { |
| 1277 |
content: ''; |
| 1278 |
position: absolute; |
| 1279 |
top: 1px; |
| 1280 |
left: 1px; |
| 1281 |
right: 1px; |
| 1282 |
bottom: 1px; |
| 1283 |
|
| 1284 |
border: 1px solid #FFF; |
| 1285 |
background: transparent; |
| 1286 |
opacity: .5; |
| 1287 |
border-radius: 4px; |
| 1288 |
z-index: 5 |
| 1289 |
} |
| 1290 |
|
| 1291 |
.preset-wrap { |
| 1292 |
// height: 110px; |
| 1293 |
|
| 1294 |
.preset-color { |
| 1295 |
height: 128px; |
| 1296 |
border-radius: 4px 4px 0 0; |
| 1297 |
padding: 17px 0 27px; |
| 1298 |
|
| 1299 |
.first-font { |
| 1300 |
display: inline-block; |
| 1301 |
width: 100%; |
| 1302 |
font-size: 55px; |
| 1303 |
line-height: 1; |
| 1304 |
// padding-top: 23px; |
| 1305 |
} |
| 1306 |
.secondary-font { |
| 1307 |
display: inline-block; |
| 1308 |
width: 100%; |
| 1309 |
font-size: 20px; |
| 1310 |
line-height: 1; |
| 1311 |
margin-top: 8px; |
| 1312 |
} |
| 1313 |
} |
| 1314 |
|
| 1315 |
.preset-name { |
| 1316 |
position: relative; |
| 1317 |
font-size: 11px; |
| 1318 |
text-transform: UPPERCASE; |
| 1319 |
border-radius: 0 0 4px 4px; |
| 1320 |
padding: 1px; |
| 1321 |
|
| 1322 |
&:before { |
| 1323 |
content: ''; |
| 1324 |
position: absolute; |
| 1325 |
border-color: inherit; |
| 1326 |
border: 10px solid; |
| 1327 |
border-left-color: transparent; |
| 1328 |
border-right-color: transparent; |
| 1329 |
border-top: transparent; |
| 1330 |
top: -10px; |
| 1331 |
border-bottom-color: inherit; |
| 1332 |
left: 40%; |
| 1333 |
|
| 1334 |
} |
| 1335 |
} |
| 1336 |
} |
| 1337 |
|
| 1338 |
&:nth-child(odd) { |
| 1339 |
margin-right: 7% |
| 1340 |
} |
| 1341 |
|
| 1342 |
input[type=radio]=radio] { |
| 1343 |
height: 100%; |
| 1344 |
width: 100%; |
| 1345 |
position: absolute; |
| 1346 |
border: 0; |
| 1347 |
box-shadow: none; |
| 1348 |
color: #006505; |
| 1349 |
background-color: transparent; |
| 1350 |
border-radius: 0; |
| 1351 |
margin: 0; |
| 1352 |
display: inline-block; |
| 1353 |
top:0; |
| 1354 |
left:0; |
| 1355 |
z-index:10; |
| 1356 |
|
| 1357 |
&:checked { |
| 1358 |
|
| 1359 |
&:before { |
| 1360 |
position: absolute; |
| 1361 |
height: 25px; |
| 1362 |
width: 25px; |
| 1363 |
top: -13px; |
| 1364 |
right: -14px; |
| 1365 |
background: #FFF; |
| 1366 |
z-index: 1; |
| 1367 |
} |
| 1368 |
|
| 1369 |
&:after { |
| 1370 |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; |
| 1371 |
filter: alpha(opacity=0); |
| 1372 |
content: ''; |
| 1373 |
position: absolute; |
| 1374 |
width: 26px; |
| 1375 |
height: 26px; |
| 1376 |
border-radius: 50%; |
| 1377 |
top: -5px; |
| 1378 |
right: -5px; |
| 1379 |
z-index: 10; |
| 1380 |
|
| 1381 |
background: #73C5EE url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjEzcHgiIGhlaWdodD0iOXB4IiB2aWV3Qm94PSIwIDAgMTMgOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJDdXN0b21pZnktQ29weSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjAwMDAwMCwgLTQwOC4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPGcgaWQ9IkhlYWRlciIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjAwMDAwMCwgNDcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0iQ29udGVudCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCA3NS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iRmllbGQtLS1DaGVja2JveC1Db3B5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNy4wMDAwMDAsIDI0OS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICAgICAgPGcgaWQ9IkNoZWNrYm94IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgMzAuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTAuMDM4NDk1LDE2IEwxNy4xMTYxMzc1LDguOTIxNDg3NiBMMTUuMTk0NjQ5OCw3IEwxMC4wMzg0OTUsMTIuMTU1MDY3NCBMNi45MjE0ODc2LDkuMDM4OTI5OTcgTDUsMTAuOTYwNDE3NiBMMTAuMDM4NDk1LDE2IFoiIGlkPSJQYWdlLTEiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat; |
| 1382 |
background-position: center center; |
| 1383 |
} |
| 1384 |
} |
| 1385 |
} |
| 1386 |
|
| 1387 |
} |
| 1388 |
} |
| 1389 |
|
| 1390 |
.customify_radio_image { |
| 1391 |
display: inline-block; |
| 1392 |
label { |
| 1393 |
display: block; |
| 1394 |
float: left; |
| 1395 |
margin-right: 10px; |
| 1396 |
position: relative; |
| 1397 |
|
| 1398 |
input[type=radio]=radio] { |
| 1399 |
position: absolute; |
| 1400 |
top:0;bottom: 0; |
| 1401 |
left: 0;right: 0; |
| 1402 |
width: 100%; |
| 1403 |
height: 100%; |
| 1404 |
|
| 1405 |
visibility: hidden; |
| 1406 |
|
| 1407 |
img { |
| 1408 |
cursor:pointer; |
| 1409 |
border:2px solid transparent; |
| 1410 |
} |
| 1411 |
|
| 1412 |
&:checked + img{ |
| 1413 |
border: 3px solid #73C5EE; |
| 1414 |
} |
| 1415 |
} |
| 1416 |
} |
| 1417 |
} |
| 1418 |
|
| 1419 |
.customify_ace_editor { |
| 1420 |
display: block; |
| 1421 |
min-height: 200px; |
| 1422 |
border: 1px solid #ddd; |
| 1423 |
} |
| 1424 |
|
| 1425 |
.customize-control-custom_background { |
| 1426 |
.hide { |
| 1427 |
display: none; |
| 1428 |
} |
| 1429 |
|
| 1430 |
.upload_button_div { |
| 1431 |
margin: 10px 0; |
| 1432 |
|
| 1433 |
& > * { |
| 1434 |
margin-right: 10px; |
| 1435 |
} |
| 1436 |
} |
| 1437 |
|
| 1438 |
.preview_screenshot { |
| 1439 |
text-align: center; |
| 1440 |
margin: 10px 0; |
| 1441 |
img { |
| 1442 |
border: 2px solid #ccc; |
| 1443 |
} |
| 1444 |
} |
| 1445 |
} |
| 1446 |
|
| 1447 |
#customify_import_demo_data_button { |
| 1448 |
width: 70%; |
| 1449 |
text-align: center; |
| 1450 |
padding: 10px; |
| 1451 |
display: inline-block; |
| 1452 |
height: auto; |
| 1453 |
margin: 0 15% 10% 15%; |
| 1454 |
} |
| 1455 |
|
| 1456 |
.import_step_note { |
| 1457 |
margin: 5px; |
| 1458 |
width: 100%; |
| 1459 |
display: inline-block; |
| 1460 |
|
| 1461 |
|
| 1462 |
&:before { |
| 1463 |
content: "\1F449"; |
| 1464 |
} |
| 1465 |
|
| 1466 |
&.success:before { |
| 1467 |
content: "\1F44D"; |
| 1468 |
} |
| 1469 |
|
| 1470 |
&.failed:before { |
| 1471 |
content: "\274C"; |
| 1472 |
} |
| 1473 |
} |
| 1474 |
|
| 1475 |
@import 'theme'; |
| 1476 |
@import 'balloon'; |
| 1477 |
@import 'feedback-modal'; |
| 1478 |
|
| 1479 |
|
| 1480 |
|
| 1481 |
|
| 1482 |
|
| 1483 |
//------------------------------------*\ |
| 1484 |
// FONT Field |
| 1485 |
//------------------------------------*/ |
| 1486 |
|
| 1487 |
.font-options__wrapper { |
| 1488 |
|
| 1489 |
.font-options__options-list { |
| 1490 |
border-color: #B8DAEB; |
| 1491 |
box-shadow: 0 10px 20px 0 rgba(0,0,0,0.15); |
| 1492 |
} |
| 1493 |
|
| 1494 |
.font-options__option { |
| 1495 |
margin-bottom: 12px; |
| 1496 |
label { |
| 1497 |
display: block; |
| 1498 |
margin-bottom: 6px; |
| 1499 |
} |
| 1500 |
} |
| 1501 |
|
| 1502 |
[type=checkbox]=checkbox]:checked ~ .font-options__options-list { |
| 1503 |
opacity: 1; |
| 1504 |
display: block; |
| 1505 |
} |
| 1506 |
} |
| 1507 |
|
| 1508 |
input.customify_font_tooltip { |
| 1509 |
display: none; |
| 1510 |
} |
| 1511 |
|
| 1512 |
.font-options__option select, |
| 1513 |
.font-options__option input, |
| 1514 |
.select2-container { |
| 1515 |
// width: 100% !important; // am pus important pentru ca exista un inline de 100px |
| 1516 |
} |
| 1517 |
|
| 1518 |
ul.font-options__options-list { |
| 1519 |
.font-options__option { |
| 1520 |
|
| 1521 |
} |
| 1522 |
|
| 1523 |
.select2-container { |
| 1524 |
width: 100% !important; |
| 1525 |
.select2-selection--single { |
| 1526 |
@extend %input; |
| 1527 |
@extend %select; |
| 1528 |
-webkit-appearance: initial; |
| 1529 |
|
| 1530 |
.select2-selection__arrow { |
| 1531 |
display: none; |
| 1532 |
} |
| 1533 |
} |
| 1534 |
} |
| 1535 |
|
| 1536 |
.select2-container--default |
| 1537 |
.select2-selection--single |
| 1538 |
.select2-selection__rendered { |
| 1539 |
color: inherit; |
| 1540 |
line-height: initial; |
| 1541 |
} |
| 1542 |
|
| 1543 |
} |
| 1544 |
|
| 1545 |
//------------------------------------*\ |
| 1546 |
// SELECT2 |
| 1547 |
//------------------------------------*/ |
| 1548 |
|
| 1549 |
|
| 1550 |
.select2-container.select2-container--open { |
| 1551 |
z-index: 99999999; |
| 1552 |
} |
| 1553 |
|
| 1554 |
#customize-theme-controls .select2-container { |
| 1555 |
width: 100% !important; |
| 1556 |
|
| 1557 |
.select2-selection--multiple { |
| 1558 |
@extend %input; |
| 1559 |
@extend %select; |
| 1560 |
-webkit-appearance: initial; |
| 1561 |
|
| 1562 |
padding: 4px 8px 4px; |
| 1563 |
height: auto; |
| 1564 |
background: none; |
| 1565 |
|
| 1566 |
.select2-selection__arrow { |
| 1567 |
display: none; |
| 1568 |
} |
| 1569 |
|
| 1570 |
.select2-selection__rendered { |
| 1571 |
padding: 0; |
| 1572 |
display: flex; |
| 1573 |
|
| 1574 |
.select2-search--inline { |
| 1575 |
flex: 1; |
| 1576 |
|
| 1577 |
.select2-search__field[class]] { |
| 1578 |
min-width: 100%; |
| 1579 |
border-width: 0; |
| 1580 |
margin-top: 3px !important; |
| 1581 |
} |
| 1582 |
} |
| 1583 |
|
| 1584 |
.select2-selection__choice { |
| 1585 |
padding: 3px 7px; |
| 1586 |
margin-right: 6px; |
| 1587 |
margin-top: 0px; |
| 1588 |
|
| 1589 |
border-color: $borders; |
| 1590 |
background-color: #f6fbff; |
| 1591 |
} |
| 1592 |
} |
| 1593 |
|
| 1594 |
} |
| 1595 |
.select2-search--inline { |
| 1596 |
|
| 1597 |
.select2-search__field { |
| 1598 |
height: 29px; |
| 1599 |
min-width: 9em; |
| 1600 |
margin-top: 0; |
| 1601 |
} |
| 1602 |
} |
| 1603 |
|
| 1604 |
} |
| 1605 |
|
| 1606 |
.select2-container--default .select2-results__option[aria-selected=true]=true][class]] { |
| 1607 |
background: transparent; |
| 1608 |
opacity: 0.3; |
| 1609 |
pointer-events: none; |
| 1610 |
} |
| 1611 |
|
| 1612 |
.select2-container { |
| 1613 |
.select2-dropdown { |
| 1614 |
border-color: $borders; |
| 1615 |
} |
| 1616 |
} |
| 1617 |
|
| 1618 |
|
| 1619 |
|
| 1620 |
|
| 1621 |
|
| 1622 |
//------------------------------------*\ |
| 1623 |
// Widgets Options Accordion System |
| 1624 |
//------------------------------------*/ |
| 1625 |
.pixelgrade-widget-title { |
| 1626 |
|
| 1627 |
} |
| 1628 |
|
| 1629 |
#customize-theme-controls .widget-content { |
| 1630 |
.accordion-container { |
| 1631 |
|
| 1632 |
// Stick the container to the margins |
| 1633 |
margin-left: -10px; |
| 1634 |
margin-right: -10px; |
| 1635 |
|
| 1636 |
margin-top: 20px; |
| 1637 |
margin-bottom: 10px; |
| 1638 |
|
| 1639 |
.accordion-section { |
| 1640 |
|
| 1641 |
.accordion-section-content { |
| 1642 |
position: relative; |
| 1643 |
left: 0; |
| 1644 |
|
| 1645 |
max-height: 0; |
| 1646 |
padding-top: 0; |
| 1647 |
padding-bottom: 0; |
| 1648 |
|
| 1649 |
overflow: hidden; |
| 1650 |
transition: all .4s ease; |
| 1651 |
|
| 1652 |
color: $blue-dark; |
| 1653 |
|
| 1654 |
p { |
| 1655 |
&:first-child { |
| 1656 |
margin-top: 0; |
| 1657 |
} |
| 1658 |
|
| 1659 |
&:last-child { |
| 1660 |
margin-bottom: 0; |
| 1661 |
} |
| 1662 |
} |
| 1663 |
|
| 1664 |
} |
| 1665 |
|
| 1666 |
.accordion-section-title { |
| 1667 |
color: #39474D; |
| 1668 |
|
| 1669 |
&:after { |
| 1670 |
content: "\f142"; // Change arrow style to be more consistent |
| 1671 |
transform: rotate(180deg); |
| 1672 |
|
| 1673 |
} |
| 1674 |
} |
| 1675 |
|
| 1676 |
&.closed { |
| 1677 |
.accordion-section-content { |
| 1678 |
|
| 1679 |
} |
| 1680 |
} |
| 1681 |
|
| 1682 |
&.open { |
| 1683 |
border-bottom: none; |
| 1684 |
|
| 1685 |
.accordion-section-content { |
| 1686 |
max-height: 100%; |
| 1687 |
padding-top: 17px; //default |
| 1688 |
padding-bottom: 17px; //default |
| 1689 |
} |
| 1690 |
|
| 1691 |
.accordion-section-title { |
| 1692 |
border-bottom: 1px solid; |
| 1693 |
|
| 1694 |
&:after { |
| 1695 |
transform: rotate(0deg); |
| 1696 |
} |
| 1697 |
} |
| 1698 |
} |
| 1699 |
} |
| 1700 |
|
| 1701 |
label.customize-control-title { |
| 1702 |
cursor: default; |
| 1703 |
} |
| 1704 |
} |
| 1705 |
} |
| 1706 |
|
| 1707 |
.widget { |
| 1708 |
.widget-content { |
| 1709 |
> p { |
| 1710 |
input[type=checkbox]=checkbox], |
| 1711 |
input[type=radio]=radio] { |
| 1712 |
margin-bottom: 3px; |
| 1713 |
margin-top: 3px; |
| 1714 |
} |
| 1715 |
} |
| 1716 |
|
| 1717 |
small { |
| 1718 |
margin-top: 5px; |
| 1719 |
display: block; |
| 1720 |
} |
| 1721 |
} |
| 1722 |
} |
| 1723 |
|
| 1724 |
|
| 1725 |
// Widgets Icons |
| 1726 |
#available-widgets { |
| 1727 |
[class*=pixelgrade]*=pixelgrade], |
| 1728 |
[class*=featured-posts]*=featured-posts], |
| 1729 |
[class*=categories-image-grid]*=categories-image-grid] { |
| 1730 |
.widget .widget-title:before { |
| 1731 |
content: "\f538"; |
| 1732 |
color: #9660c6; // Branding Icons |
| 1733 |
} |
| 1734 |
} |
| 1735 |
|
| 1736 |
// Slideshow |
| 1737 |
[class*=pixelgrade-featured-posts-slideshow]*=pixelgrade-featured-posts-slideshow] .widget .widget-title:before { |
| 1738 |
content: "\f233"; // images-alt2 |
| 1739 |
} |
| 1740 |
|
| 1741 |
// Carousel |
| 1742 |
[class*=pixelgrade-featured-posts-carousel]*=pixelgrade-featured-posts-carousel] .widget .widget-title:before { |
| 1743 |
content: "\f169"; |
| 1744 |
} |
| 1745 |
|
| 1746 |
// Grid Posts |
| 1747 |
[class*=featured-posts-grid]*=featured-posts-grid] .widget .widget-title:before { |
| 1748 |
content: "\f180"; |
| 1749 |
} |
| 1750 |
|
| 1751 |
// List Posts |
| 1752 |
[class*=featured-posts-list]*=featured-posts-list] .widget .widget-title:before { |
| 1753 |
content: "\f164"; |
| 1754 |
} |
| 1755 |
|
| 1756 |
// Categories Image |
| 1757 |
[class*=categories-image-grid]*=categories-image-grid] .widget .widget-title:before { |
| 1758 |
content: "\f163"; // list-view |
| 1759 |
} |
| 1760 |
|
| 1761 |
// Promo Box |
| 1762 |
[class*=pixelgrade-promo-box]*=pixelgrade-promo-box] .widget .widget-title:before { |
| 1763 |
content: "\f488"; // Megaphone |
| 1764 |
} |
| 1765 |
|
| 1766 |
} |
| 1767 |
|
| 1768 |
.ui-tooltip { |
| 1769 |
z-index: 999999; |
| 1770 |
} |
| 1771 |
|
| 1772 |
|
| 1773 |
|
| 1774 |
|
| 1775 |
|
| 1776 |
|
| 1777 |
//------------------------------------*\ |
| 1778 |
// Jetpack Widget Visibility |
| 1779 |
//------------------------------------*/ |
| 1780 |
|
| 1781 |
.wp-customizer .widget-conditional { |
| 1782 |
.condition-control { @include clearfix(); } |
| 1783 |
|
| 1784 |
.selection { |
| 1785 |
padding-right: 50px; |
| 1786 |
padding-left: 28px; |
| 1787 |
padding-bottom: 19px; |
| 1788 |
margin-left: 0; |
| 1789 |
margin-right: 0; |
| 1790 |
margin-bottom: 10px; |
| 1791 |
border-bottom: 1px solid $light; |
| 1792 |
} |
| 1793 |
|
| 1794 |
.condition:last-child .selection { |
| 1795 |
border: 0; |
| 1796 |
} |
| 1797 |
|
| 1798 |
select { |
| 1799 |
max-width: 100%; |
| 1800 |
width: 170px; |
| 1801 |
} |
| 1802 |
|
| 1803 |
.condition-top select { |
| 1804 |
width: 130px; |
| 1805 |
} |
| 1806 |
} |
| 1807 |
|
| 1808 |
|
| 1809 |
|
| 1810 |
//------------------------------------*\ |
| 1811 |
// STYLE MANAGER |
| 1812 |
//------------------------------------*/ |
| 1813 |
|
| 1814 |
// COLOR PALETTES SECTION // |
| 1815 |
|
| 1816 |
$palette_box_shadow: inset 0 0 3px 0 rgba(0,0,0,0.2); |
| 1817 |
$palette_box_shadow_stronger: inset 0 0 3px 0 rgba(0,0,0,0.4); |
| 1818 |
|
| 1819 |
.pix_customizer_setting { |
| 1820 |
|
| 1821 |
.customize-inside-control-row { |
| 1822 |
position: relative; |
| 1823 |
width: 100% !important; |
| 1824 |
margin-left: 0 !important; |
| 1825 |
text-indent: 0 !important; |
| 1826 |
background-size: cover; |
| 1827 |
background-position: 50% 50%; |
| 1828 |
height: 64px; |
| 1829 |
border-radius: 5px; |
| 1830 |
overflow: hidden; |
| 1831 |
|
| 1832 |
&:before { |
| 1833 |
content: ''; |
| 1834 |
position: absolute; |
| 1835 |
top: 0; |
| 1836 |
bottom: 0; |
| 1837 |
left: 0; |
| 1838 |
right: 0; |
| 1839 |
z-index: 10; |
| 1840 |
pointer-events: none; |
| 1841 |
|
| 1842 |
box-shadow: $palette_box_shadow; |
| 1843 |
} |
| 1844 |
|
| 1845 |
// Color Palette Hover |
| 1846 |
&:hover { |
| 1847 |
|
| 1848 |
&:before { |
| 1849 |
// Increase the inner shadow strongness |
| 1850 |
box-shadow: $palette_box_shadow_stronger; |
| 1851 |
} |
| 1852 |
|
| 1853 |
.palette__item { |
| 1854 |
transform: translateY(0%); |
| 1855 |
} |
| 1856 |
|
| 1857 |
label { |
| 1858 |
left: 10px; |
| 1859 |
} |
| 1860 |
} |
| 1861 |
|
| 1862 |
input { |
| 1863 |
opacity: 0; |
| 1864 |
} |
| 1865 |
|
| 1866 |
input:checked + label { |
| 1867 |
.preview__letter--checked { |
| 1868 |
display: inline-block; |
| 1869 |
vertical-align: middle; |
| 1870 |
} |
| 1871 |
.preview__letter { |
| 1872 |
display: none; |
| 1873 |
} |
| 1874 |
} |
| 1875 |
|
| 1876 |
label { |
| 1877 |
position: absolute; |
| 1878 |
display: flex; |
| 1879 |
z-index: 2; |
| 1880 |
|
| 1881 |
width: 100%; |
| 1882 |
height: 100%; |
| 1883 |
top: 0; |
| 1884 |
left: 0; |
| 1885 |
|
| 1886 |
padding: 0 10px; |
| 1887 |
margin-top: 0 !important; |
| 1888 |
align-items: center; |
| 1889 |
|
| 1890 |
transition: all .3s ease; |
| 1891 |
} |
| 1892 |
|
| 1893 |
.palette { |
| 1894 |
position: absolute; |
| 1895 |
display: flex; |
| 1896 |
top: 0; |
| 1897 |
left: 0; |
| 1898 |
z-index: 1; |
| 1899 |
width: 100%; |
| 1900 |
height: 100%; |
| 1901 |
|
| 1902 |
transition: all .2s ease; |
| 1903 |
} |
| 1904 |
|
| 1905 |
// Colors Bars |
| 1906 |
.palette__item { |
| 1907 |
flex: 1; |
| 1908 |
transform: translateY(100%); |
| 1909 |
|
| 1910 |
transition: all .3s ease; |
| 1911 |
|
| 1912 |
// Assume maximum 10 colors |
| 1913 |
@for $i from 1 through 10 { |
| 1914 |
&:nth-child(#{$i}) { |
| 1915 |
transition-delay: 0s + $i/20 - 1/20; |
| 1916 |
} |
| 1917 |
} |
| 1918 |
} |
| 1919 |
|
| 1920 |
.preview__letter, |
| 1921 |
.preview__letter--checked { |
| 1922 |
display: inline-block; |
| 1923 |
padding: 3px; |
| 1924 |
border-radius: 2px; |
| 1925 |
color: white; |
| 1926 |
margin-right: 5px; |
| 1927 |
min-height: 26px; |
| 1928 |
min-width: 26px; |
| 1929 |
text-align: center; |
| 1930 |
background-position: center center; |
| 1931 |
background-repeat: no-repeat; |
| 1932 |
background-size: 15px 15px; |
| 1933 |
font-style: normal; |
| 1934 |
vertical-align: baseline; |
| 1935 |
} |
| 1936 |
|
| 1937 |
.preview__letter--checked { |
| 1938 |
display: none; |
| 1939 |
} |
| 1940 |
} |
| 1941 |
} |
| 1942 |
|
| 1943 |
[id*="sm_current_color_palette_control"]*="sm_current_color_palette_control""] { |
| 1944 |
.customize-inside-control-row .palette__item[class]] { |
| 1945 |
transform: none; |
| 1946 |
} |
| 1947 |
|
| 1948 |
.variation-control { |
| 1949 |
display: flex; |
| 1950 |
} |
| 1951 |
|
| 1952 |
.variation-control-item { |
| 1953 |
&.active { |
| 1954 |
|
| 1955 |
} |
| 1956 |
} |
| 1957 |
} |
| 1958 |
|
| 1959 |
/// ------------------ |
| 1960 |
|
| 1961 |
$palette_height: 64px; |
| 1962 |
$palette_border-radius: 5px; |
| 1963 |
|
| 1964 |
.label__inner { |
| 1965 |
color: #000000; |
| 1966 |
background: #F5F6F1; |
| 1967 |
|
| 1968 |
padding: 7px 12px 7px 7px; |
| 1969 |
z-index: 2; |
| 1970 |
border-radius: 3px; |
| 1971 |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); |
| 1972 |
} |
| 1973 |
|
| 1974 |
.picker { |
| 1975 |
position: relative; |
| 1976 |
top: 0; |
| 1977 |
left: 50%; |
| 1978 |
|
| 1979 |
width: 80%; |
| 1980 |
max-width: 3em; |
| 1981 |
margin-top: auto; |
| 1982 |
margin-bottom: auto; |
| 1983 |
|
| 1984 |
border-radius: 50%; |
| 1985 |
overflow: hidden; |
| 1986 |
transform: translate3d(-50%,0,0); |
| 1987 |
} |
| 1988 |
|
| 1989 |
.colors .picker > i { |
| 1990 |
display: block; |
| 1991 |
position: absolute; |
| 1992 |
top: 0; |
| 1993 |
right: 0; |
| 1994 |
bottom: 0; |
| 1995 |
left: 0; |
| 1996 |
box-shadow: $palette_box_shadow; |
| 1997 |
border-radius: 50%; |
| 1998 |
pointer-events: none; |
| 1999 |
z-index: 20; |
| 2000 |
} |
| 2001 |
|
| 2002 |
.picker:before, |
| 2003 |
.picker:after { |
| 2004 |
content: ""; |
| 2005 |
display: block; |
| 2006 |
background: currentColor; |
| 2007 |
border-radius: 50%; |
| 2008 |
} |
| 2009 |
|
| 2010 |
.picker:before { |
| 2011 |
padding-top: 100%; |
| 2012 |
} |
| 2013 |
|
| 2014 |
.picker:after { |
| 2015 |
position: absolute; |
| 2016 |
top: 0; |
| 2017 |
left: 0; |
| 2018 |
width: 100%; |
| 2019 |
height: 100%; |
| 2020 |
} |
| 2021 |
|
| 2022 |
.fill { |
| 2023 |
overflow: hidden; |
| 2024 |
} |
| 2025 |
|
| 2026 |
.color:first-child .fill { |
| 2027 |
border-top-left-radius: $palette_border-radius; |
| 2028 |
border-bottom-left-radius: $palette_border-radius; |
| 2029 |
} |
| 2030 |
|
| 2031 |
.color:last-child .fill { |
| 2032 |
border-top-right-radius: $palette_border-radius; |
| 2033 |
border-bottom-right-radius: $palette_border-radius; |
| 2034 |
} |
| 2035 |
|
| 2036 |
.label { |
| 2037 |
margin-right: auto; |
| 2038 |
} |
| 2039 |
|
| 2040 |
#customize-theme-controls [id*="sm_current_color_palette_control"]*="sm_current_color_palette_control""] { |
| 2041 |
display: block; |
| 2042 |
width: auto; |
| 2043 |
|
| 2044 |
.color-palette-container { |
| 2045 |
background: white; |
| 2046 |
|
| 2047 |
.description { |
| 2048 |
margin-bottom: 15px; |
| 2049 |
} |
| 2050 |
} |
| 2051 |
|
| 2052 |
.description.c-color-palette__notification { |
| 2053 |
padding-top: 19px; |
| 2054 |
margin-bottom: 0; |
| 2055 |
font-size: inherit; |
| 2056 |
font-weight: bold; |
| 2057 |
} |
| 2058 |
} |
| 2059 |
|
| 2060 |
.c-color-palette__fields { |
| 2061 |
position: relative; |
| 2062 |
} |
| 2063 |
|
| 2064 |
.c-color-palette .iris-picker { |
| 2065 |
position: absolute; |
| 2066 |
top: 100%; |
| 2067 |
left: 0; |
| 2068 |
z-index: 100; |
| 2069 |
|
| 2070 |
margin-top: 1em; |
| 2071 |
border: 0; |
| 2072 |
|
| 2073 |
box-shadow: black 0 3px 12px -4px; |
| 2074 |
|
| 2075 |
.iris-square-handle { |
| 2076 |
border-color: transparent; |
| 2077 |
left: -6px; |
| 2078 |
top: -6px; |
| 2079 |
|
| 2080 |
&:after { |
| 2081 |
position: absolute; |
| 2082 |
bottom: 0; |
| 2083 |
right: 0; |
| 2084 |
left: 0; |
| 2085 |
top: 0; |
| 2086 |
border: 2px solid white; |
| 2087 |
} |
| 2088 |
} |
| 2089 |
|
| 2090 |
.iris-square-value { |
| 2091 |
box-shadow: none !important; |
| 2092 |
} |
| 2093 |
} |
| 2094 |
|
| 2095 |
.colors { |
| 2096 |
position: relative; |
| 2097 |
display: flex; |
| 2098 |
flex-wrap: wrap; |
| 2099 |
align-items: center; |
| 2100 |
width: 100%; |
| 2101 |
height: 3em; |
| 2102 |
} |
| 2103 |
|
| 2104 |
.color { |
| 2105 |
display: flex; |
| 2106 |
flex-direction: column; |
| 2107 |
|
| 2108 |
flex: 1 1 0; |
| 2109 |
overflow: hidden; |
| 2110 |
transition: flex-grow .3s cubic-bezier(0.18, 0.89, 0.32, 1.28); |
| 2111 |
|
| 2112 |
&.hidden { |
| 2113 |
display: flex; |
| 2114 |
flex-grow: 0; |
| 2115 |
transition: flex-grow .3s cubic-bezier(0.6, -1.00, 0.74, 0.05); // easeBackInMega |
| 2116 |
|
| 2117 |
.picker { |
| 2118 |
opacity: 0; |
| 2119 |
transition: opacity .2s ease-out; |
| 2120 |
} |
| 2121 |
} |
| 2122 |
|
| 2123 |
.picker { |
| 2124 |
transition: opacity .3s ease-in-out, border-color .3s ease-in-out; |
| 2125 |
cursor: pointer; |
| 2126 |
} |
| 2127 |
|
| 2128 |
&.inactive .picker { |
| 2129 |
opacity: 0.2; |
| 2130 |
} |
| 2131 |
|
| 2132 |
&.inactive .picker:hover { |
| 2133 |
opacity: 1; |
| 2134 |
} |
| 2135 |
} |
| 2136 |
|
| 2137 |
input.c-color-palette__input[class]] { |
| 2138 |
margin-top: 1em; |
| 2139 |
} |
| 2140 |
|
| 2141 |
#customize-control-sm_toggle_advanced_settings_control { |
| 2142 |
margin-bottom: 0; |
| 2143 |
opacity: 0; |
| 2144 |
|
| 2145 |
button { |
| 2146 |
width: 100%; |
| 2147 |
} |
| 2148 |
} |
| 2149 |
|
| 2150 |
@keyframes bounceIn { |
| 2151 |
0%, 20%, 40%, 60%, 80%, 100% { |
| 2152 |
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); |
| 2153 |
} |
| 2154 |
|
| 2155 |
0% { |
| 2156 |
opacity: 0; |
| 2157 |
transform: scale3d(0.3, 0.3, 0.3); |
| 2158 |
} |
| 2159 |
|
| 2160 |
20% { |
| 2161 |
transform: scale3d(1.1, 1.1, 1.1); |
| 2162 |
} |
| 2163 |
|
| 2164 |
40% { |
| 2165 |
transform: scale3d(0.9, 0.9, 0.9); |
| 2166 |
} |
| 2167 |
|
| 2168 |
60% { |
| 2169 |
opacity: 1; |
| 2170 |
transform: scale3d(1.03, 1.03, 1.03); |
| 2171 |
} |
| 2172 |
|
| 2173 |
80% { |
| 2174 |
transform: scale3d(0.97, 0.97, 0.97); |
| 2175 |
} |
| 2176 |
|
| 2177 |
100% { |
| 2178 |
opacity: 1; |
| 2179 |
transform: scale3d(1, 1, 1); |
| 2180 |
} |
| 2181 |
} |
| 2182 |
|
| 2183 |
// SECTIONS AND PANELS WITH ICONS |
| 2184 |
// ======================================== |
| 2185 |
|
| 2186 |
@mixin section_icon($icon) { |
| 2187 |
h3.accordion-section-title:before { |
| 2188 |
position: relative; |
| 2189 |
float: right; |
| 2190 |
content: $icon; |
| 2191 |
color: #aed2e5; |
| 2192 |
font-family: dashicons; |
| 2193 |
padding: 1px; |
| 2194 |
margin-right: 28px; |
| 2195 |
font-size: 17px; |
| 2196 |
-webkit-font-smoothing: antialiased; |
| 2197 |
} |
| 2198 |
} |
| 2199 |
|
| 2200 |
#customize-theme-controls { |
| 2201 |
|
| 2202 |
#sub-accordion-panel-style_manager_panel, |
| 2203 |
#sub-accordion-panel-theme_options_panel { |
| 2204 |
.customize-panel-description { |
| 2205 |
display: block; |
| 2206 |
} |
| 2207 |
} |
| 2208 |
|
| 2209 |
// Style Manager Section |
| 2210 |
// ---------------------------------------- |
| 2211 |
li#accordion-panel-style_manager_panel { |
| 2212 |
@include section_icon("\f155"); |
| 2213 |
|
| 2214 |
h3.accordion-section-title:before { |
| 2215 |
font-size: 18px; |
| 2216 |
color: #f8bc30; // Yellow color |
| 2217 |
} |
| 2218 |
} |
| 2219 |
|
| 2220 |
// Style Manager → Colors / Fonts Panels |
| 2221 |
li#accordion-section-sm_color_palettes_section { |
| 2222 |
@include section_icon("\f100"); |
| 2223 |
h3.accordion-section-title { |
| 2224 |
border-top: none; |
| 2225 |
} |
| 2226 |
} |
| 2227 |
|
| 2228 |
li#accordion-section-sm_font_palettes_section { |
| 2229 |
@include section_icon("\f122"); |
| 2230 |
} |
| 2231 |
|
| 2232 |
li#accordion-section-sm_color_palettes_section, |
| 2233 |
li#accordion-section-sm_font_palettes_section { |
| 2234 |
h3.accordion-section-title { |
| 2235 |
|
| 2236 |
&:before { |
| 2237 |
padding: 3px; |
| 2238 |
margin-right: 5px; |
| 2239 |
margin-top: -2px; |
| 2240 |
} |
| 2241 |
} |
| 2242 |
} |
| 2243 |
|
| 2244 |
|
| 2245 |
// Theme Options Section |
| 2246 |
// ---------------------------------------- |
| 2247 |
li#accordion-panel-theme_options_panel { |
| 2248 |
@include section_icon("\f538"); |
| 2249 |
|
| 2250 |
h3.accordion-section-title { |
| 2251 |
border-bottom: 1px solid #ddd; |
| 2252 |
border-left: none; |
| 2253 |
border-right: none; |
| 2254 |
margin: 0 0 15px 0; |
| 2255 |
} |
| 2256 |
} |
| 2257 |
} |
| 2258 |
|
| 2259 |
.color .disc { |
| 2260 |
display: block; |
| 2261 |
overflow: hidden; |
| 2262 |
position: absolute; |
| 2263 |
top: 0; |
| 2264 |
right: 0; |
| 2265 |
bottom: 0; |
| 2266 |
left: 0; |
| 2267 |
z-index: 15; |
| 2268 |
pointer-events: none; |
| 2269 |
opacity: 0; |
| 2270 |
transition: opacity .3s ease-in-out; |
| 2271 |
|
| 2272 |
&:after { |
| 2273 |
content: ""; |
| 2274 |
filter: blur(6px) saturate(.7) brightness(1.1); |
| 2275 |
|
| 2276 |
display: block; |
| 2277 |
width: 200%; |
| 2278 |
height: 200%; |
| 2279 |
padding-top: 100%; |
| 2280 |
|
| 2281 |
position: absolute; |
| 2282 |
top: -50%; |
| 2283 |
left: -50%; |
| 2284 |
transform: scale(1); |
| 2285 |
background-image: |
| 2286 |
linear-gradient(330deg, transparent 50%, #ff8100 0), |
| 2287 |
linear-gradient(300deg, transparent 50%, #ff5800 0), |
| 2288 |
linear-gradient(270deg, transparent 50%, #c92323 0), |
| 2289 |
linear-gradient(240deg, transparent 50%, #cc42a2 0), |
| 2290 |
linear-gradient(210deg, transparent 50%, #9f49ac 0), |
| 2291 |
linear-gradient(180deg, transparent 50%, #306cd3 0), |
| 2292 |
linear-gradient(150deg, transparent 50%, #179067 0), |
| 2293 |
linear-gradient(120deg, transparent 50%, #0eb5d6 0), |
| 2294 |
linear-gradient(90deg, transparent 50%, #50b517 0), |
| 2295 |
linear-gradient(60deg, transparent 50%, #ede604 0), |
| 2296 |
linear-gradient(30deg, transparent 50%, #fc0 0), |
| 2297 |
linear-gradient(0deg, transparent 50%, #feac00 0); |
| 2298 |
background-clip: content-box,content-box,content-box,content-box,content-box,content-box,padding-box,padding-box,padding-box,padding-box,padding-box,padding-box; |
| 2299 |
} |
| 2300 |
} |
| 2301 |
|
| 2302 |
.color.altered .disc { |
| 2303 |
opacity: 1; |
| 2304 |
} |
| 2305 |
|
| 2306 |
.customize-control-color .wp-picker-container .iris-picker { |
| 2307 |
|
| 2308 |
.iris-palette-container { |
| 2309 |
display: flex; |
| 2310 |
width: 215px; |
| 2311 |
} |
| 2312 |
|
| 2313 |
.iris-palette { |
| 2314 |
width: auto !important; |
| 2315 |
height: auto !important; |
| 2316 |
flex: 1 1 0; |
| 2317 |
float: none; |
| 2318 |
|
| 2319 |
&:after { |
| 2320 |
content: ""; |
| 2321 |
display: block; |
| 2322 |
padding-top: 100%; |
| 2323 |
} |
| 2324 |
} |
| 2325 |
} |
| 2326 |
|
| 2327 |
.c-color-palette { |
| 2328 |
padding: 30px 20px 18px; |
| 2329 |
} |
| 2330 |
|
| 2331 |
[id="customize-control-sm_current_color_palette_control"]="customize-control-sm_current_color_palette_control""][id]] { |
| 2332 |
margin-bottom: 0; |
| 2333 |
|
| 2334 |
~ .customize-control { |
| 2335 |
background-color: #FFFFFF; |
| 2336 |
margin-bottom: 0; |
| 2337 |
padding: 24px 20px 0; |
| 2338 |
} |
| 2339 |
} |
| 2340 |
|
| 2341 |
// hide the matrix control |
| 2342 |
#customize-control-sm_dark_color_primary_slider_control, |
| 2343 |
#customize-control-sm_dark_color_secondary_slider_control, |
| 2344 |
#customize-control-sm_dark_color_tertiary_slider_control { |
| 2345 |
display: none !important; |
| 2346 |
} |
| 2347 |
|
| 2348 |
.sm_color_matrix { |
| 2349 |
display: flex; |
| 2350 |
flex-wrap: wrap; |
| 2351 |
margin-left: -15px; |
| 2352 |
|
| 2353 |
> * { |
| 2354 |
display: grid; |
| 2355 |
grid-auto-rows: 2px; |
| 2356 |
grid-auto-columns: 2px; |
| 2357 |
|
| 2358 |
flex: 0 0 percentage(1/3); |
| 2359 |
padding-top: 15px; |
| 2360 |
padding-left: 15px; |
| 2361 |
|
| 2362 |
> * { |
| 2363 |
background-color: currentColor; |
| 2364 |
border-radius: 50%; |
| 2365 |
border: 1px solid #ccc; |
| 2366 |
animation-duration: 0.75s; |
| 2367 |
animation-name: bounceIn; |
| 2368 |
} |
| 2369 |
|
| 2370 |
> :nth-child(1) { grid-area: 16 / 12 / span 12 / span 12; } |
| 2371 |
> :nth-child(2) { grid-area: 26 / 24 / span 4 / span 4; } |
| 2372 |
> :nth-child(3) { grid-area: 13 / 24 / span 4 / span 4; } |
| 2373 |
> :nth-child(4) { grid-area: 8 / 8 / span 8 / span 8; } |
| 2374 |
> :nth-child(5) { grid-area: 32 / 8 / span 4 / span 4; } |
| 2375 |
> :nth-child(6) { grid-area: 30 / 16 / span 8 / span 8; } |
| 2376 |
> :nth-child(7) { grid-area: 4 / 20 / span 8 / span 8; } |
| 2377 |
> :nth-child(8) { grid-area: 17 / 26 / span 8 / span 8; } |
| 2378 |
> :nth-child(9) { grid-area: 22 / 2 / span 8 / span 8; } |
| 2379 |
> :nth-child(10) { grid-area: 28 / 11 / span 2 / span 2; } |
| 2380 |
> :nth-child(11) { grid-area: 9 / 31 / span 6 / span 6; } |
| 2381 |
> :nth-child(11) { grid-area: 26 / 30 / span 9 / span 9; } |
| 2382 |
> :nth-child(12) { grid-area: 17 / 7 / span 4 / span 4; } |
| 2383 |
> :nth-child(13) { grid-area: 19 / 36 / span 6 / span 6; } |
| 2384 |
> :nth-child(14) { grid-area: 12 / 18 / span 2 / span 2; } |
| 2385 |
> :nth-child(n+15) { display: none; } |
| 2386 |
} |
| 2387 |
} |
| 2388 |
|
| 2389 |
|
| 2390 |
.sm-tabs { |
| 2391 |
display: flex; |
| 2392 |
justify-content: space-between; |
| 2393 |
padding: 0 16px; |
| 2394 |
text-align: center; |
| 2395 |
|
| 2396 |
border-bottom: 1px solid #DFE8EF; |
| 2397 |
|
| 2398 |
&__item { |
| 2399 |
padding: 12px 0; |
| 2400 |
margin-bottom: -1px; |
| 2401 |
// flex-grow: 1; |
| 2402 |
flex-basis: 31%; |
| 2403 |
|
| 2404 |
font-size: 14px; |
| 2405 |
// font-weight: 500; |
| 2406 |
color: $blue-dark; |
| 2407 |
opacity: 0.7; |
| 2408 |
|
| 2409 |
border-bottom: 3px solid transparent; |
| 2410 |
cursor: pointer; |
| 2411 |
|
| 2412 |
transition: all 0.2s ease; |
| 2413 |
|
| 2414 |
&:not(&--active):hover { |
| 2415 |
color: $blue-darker; |
| 2416 |
border-bottom-color: #E2E4E7; |
| 2417 |
opacity: 1; |
| 2418 |
} |
| 2419 |
} |
| 2420 |
|
| 2421 |
&__item--active { |
| 2422 |
color: $blue-darker; |
| 2423 |
border-bottom-color: #57ABD5; |
| 2424 |
opacity: 1; |
| 2425 |
} |
| 2426 |
} |
| 2427 |
|
| 2428 |
[id="sub-accordion-section-sm_color_palettes_section"]="sub-accordion-section-sm_color_palettes_section""] { |
| 2429 |
display: flex !important; |
| 2430 |
flex-direction: column; |
| 2431 |
padding: 12px 0 0 !important; |
| 2432 |
overflow: hidden; |
| 2433 |
|
| 2434 |
#customize-control-sm_color_palette_control { |
| 2435 |
flex-shrink: 0; |
| 2436 |
flex-grow: 1; |
| 2437 |
overflow-y: scroll; |
| 2438 |
margin-bottom: 0; |
| 2439 |
padding-top: 12px; |
| 2440 |
} |
| 2441 |
|
| 2442 |
> * { |
| 2443 |
flex-grow: 0; |
| 2444 |
padding: 0 12px; |
| 2445 |
} |
| 2446 |
|
| 2447 |
[id="customize-control-sm_current_color_palette_control"]="customize-control-sm_current_color_palette_control""] ~ * { |
| 2448 |
|
| 2449 |
|
| 2450 |
display: none !important; |
| 2451 |
} |
| 2452 |
|
| 2453 |
[id="customize-control-sm_palettes_description_control"]="customize-control-sm_palettes_description_control""], |
| 2454 |
[id="customize-control-sm_filters_description_control"]="customize-control-sm_filters_description_control""], |
| 2455 |
[id="customize-control-sm_customize_description_control"]="customize-control-sm_customize_description_control""] { |
| 2456 |
span { |
| 2457 |
margin: 0; |
| 2458 |
} |
| 2459 |
} |
| 2460 |
|
| 2461 |
&.sm-view-palettes { |
| 2462 |
[id="customize-control-sm_palettes_description_control"]="customize-control-sm_palettes_description_control""], |
| 2463 |
[id="customize-control-sm_color_palette_control"]="customize-control-sm_color_palette_control""] { |
| 2464 |
display: block !important; |
| 2465 |
} |
| 2466 |
} |
| 2467 |
|
| 2468 |
&.sm-view-filters { |
| 2469 |
[id="customize-control-sm_filters_description_control"]="customize-control-sm_filters_description_control""], |
| 2470 |
[id="customize-control-sm_palette_filter_control"]="customize-control-sm_palette_filter_control""] { |
| 2471 |
display: block !important; |
| 2472 |
} |
| 2473 |
} |
| 2474 |
|
| 2475 |
&.sm-view-customize { |
| 2476 |
[id="customize-control-sm_customize_description_control"]="customize-control-sm_customize_description_control""], |
| 2477 |
[id="customize-control-sm_coloration_level_control"]="customize-control-sm_coloration_level_control""], |
| 2478 |
[id="customize-control-sm_color_diversity_control"]="customize-control-sm_color_diversity_control""], |
| 2479 |
[id="customize-control-sm_shuffle_colors_control"]="customize-control-sm_shuffle_colors_control""], |
| 2480 |
[id="customize-control-sm_dark_mode_control"]="customize-control-sm_dark_mode_control""] { |
| 2481 |
display: block !important; |
| 2482 |
} |
| 2483 |
} |
| 2484 |
|
| 2485 |
[id="customize-control-sm_spacing_bottom_control"]="customize-control-sm_spacing_bottom_control""][id]] { |
| 2486 |
display: block !important; |
| 2487 |
min-height: 24px; |
| 2488 |
flex-grow: 1; |
| 2489 |
} |
| 2490 |
} |
| 2491 |
|
| 2492 |
[id="customize-control-sm_color_palette_control"]="customize-control-sm_color_palette_control""] { |
| 2493 |
.customize-control-title, |
| 2494 |
.customize-control-description { |
| 2495 |
display: none; |
| 2496 |
} |
| 2497 |
} |
| 2498 |
|
| 2499 |
// display each palette filter on its own row |
| 2500 |
.customize-control-radio[class]][id="customize-control-sm_palette_filter_control"]="customize-control-sm_palette_filter_control""] > .customize-inside-control-row:not(:only-of-type) { |
| 2501 |
display: block; |
| 2502 |
width: auto; |
| 2503 |
} |
| 2504 |
|
| 2505 |
.color { |
| 2506 |
&[class*="sm_color"]*="sm_color""][class*="_connected"]*="_connected""], |
| 2507 |
&[class*="sm_dark"]*="sm_dark""][class*="_connected"]*="_connected""], |
| 2508 |
&[class*="sm_light"]*="sm_light""][class*="_connected"]*="_connected""] { |
| 2509 |
display: none; |
| 2510 |
} |
| 2511 |
} |
| 2512 |
|
| 2513 |
.c-color-palette__colors { |
| 2514 |
position: relative; |
| 2515 |
} |
| 2516 |
|
| 2517 |
.c-color-palette { |
| 2518 |
canvas, svg { |
| 2519 |
max-width: 100%; |
| 2520 |
height: auto; |
| 2521 |
} |
| 2522 |
} |
| 2523 |
|
| 2524 |
.c-color-palette__fields { |
| 2525 |
position: absolute; |
| 2526 |
top: 100%; |
| 2527 |
left: 0; |
| 2528 |
right: 0; |
| 2529 |
z-index: 100; |
| 2530 |
} |
| 2531 |
|
| 2532 |
[id="sub-accordion-section-sm_color_palettes_section"]="sub-accordion-section-sm_color_palettes_section""] > .customize-section-description-container { |
| 2533 |
margin-bottom: 0; |
| 2534 |
border-bottom: 1px solid #DFE8EF; |
| 2535 |
} |
| 2536 |
|
| 2537 |
.sm-palette-filter { |
| 2538 |
|
| 2539 |
.colors { |
| 2540 |
width: auto; |
| 2541 |
height: auto; |
| 2542 |
|
| 2543 |
padding: 10px 10px; |
| 2544 |
border-radius: 999em; |
| 2545 |
} |
| 2546 |
|
| 2547 |
.picker:after { |
| 2548 |
box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.2); |
| 2549 |
} |
| 2550 |
|
| 2551 |
> label { |
| 2552 |
position: relative; |
| 2553 |
display: block; |
| 2554 |
margin: 0 0 10px; |
| 2555 |
|
| 2556 |
&:hover .filter-label { |
| 2557 |
opacity: 1; |
| 2558 |
} |
| 2559 |
} |
| 2560 |
|
| 2561 |
> input { |
| 2562 |
display: none; |
| 2563 |
} |
| 2564 |
|
| 2565 |
.filter-label { |
| 2566 |
position: absolute; |
| 2567 |
top: 0; |
| 2568 |
left: 0; |
| 2569 |
z-index: 10; |
| 2570 |
|
| 2571 |
width: 100%; |
| 2572 |
height: 100%; |
| 2573 |
|
| 2574 |
display: flex; |
| 2575 |
align-items: center; |
| 2576 |
justify-content: center; |
| 2577 |
|
| 2578 |
opacity: 0; |
| 2579 |
transition: opacity .2s ease-out; |
| 2580 |
|
| 2581 |
span { |
| 2582 |
position: relative; |
| 2583 |
z-index: 20; |
| 2584 |
} |
| 2585 |
|
| 2586 |
&:after { |
| 2587 |
content: ""; |
| 2588 |
display: block; |
| 2589 |
|
| 2590 |
position: absolute; |
| 2591 |
top: 0; |
| 2592 |
left: 0; |
| 2593 |
z-index: 10; |
| 2594 |
|
| 2595 |
width: 100%; |
| 2596 |
height: 100%; |
| 2597 |
|
| 2598 |
background-color: #ffffff; |
| 2599 |
box-shadow: #d6e0e5 0 0 0 1px; |
| 2600 |
border-radius: 999em; |
| 2601 |
} |
| 2602 |
} |
| 2603 |
|
| 2604 |
> input:checked + label { |
| 2605 |
|
| 2606 |
.filter-label:after { |
| 2607 |
background-color: #f7f9fa; |
| 2608 |
box-shadow: none; |
| 2609 |
} |
| 2610 |
|
| 2611 |
.colors { |
| 2612 |
background-color: #f7f9fa; |
| 2613 |
box-shadow: #57ABD5 0 0 0 2px; |
| 2614 |
} |
| 2615 |
} |
| 2616 |
} |
| 2617 |
|
| 2618 |
.customize-control-sm_palette_filter .customize-control-title { |
| 2619 |
display: none; |
| 2620 |
} |
| 2621 |
|
| 2622 |
// FONT PALETTES OVERWRITES |
| 2623 |
#customize-control-sm_font_palette_control ~ .customize-control { |
| 2624 |
display: none !important; |
| 2625 |
} |
| 2626 |
|
| 2627 |
.pix_customizer_setting .font_palette[class]][class]] .customize-inside-control-row { |
| 2628 |
height: auto; |
| 2629 |
padding-top: 52%; |
| 2630 |
background-color: white; |
| 2631 |
border-radius: 6px; |
| 2632 |
overflow: hidden; |
| 2633 |
|
| 2634 |
&:before { |
| 2635 |
border: 1px solid #DFE8EF; |
| 2636 |
border-radius: 6px; |
| 2637 |
} |
| 2638 |
|
| 2639 |
&:before, |
| 2640 |
&:hover:before { |
| 2641 |
box-shadow: 0 1px 0 0 #B8DAEB; |
| 2642 |
} |
| 2643 |
|
| 2644 |
input { |
| 2645 |
display: none; |
| 2646 |
} |
| 2647 |
|
| 2648 |
label { |
| 2649 |
border-radius: 6px; |
| 2650 |
left: 0; |
| 2651 |
} |
| 2652 |
|
| 2653 |
input + label { |
| 2654 |
border: 2px solid transparent; |
| 2655 |
} |
| 2656 |
|
| 2657 |
input:checked + label { |
| 2658 |
border-color: #57ABD5; |
| 2659 |
} |
| 2660 |
|
| 2661 |
.label__inner { |
| 2662 |
display: none; |
| 2663 |
} |
| 2664 |
} |
| 2665 |
|
| 2666 |
// remove ugly top border top |
| 2667 |
#customize-theme-controls .control-panel-content:not(.control-panel-nav_menus) .control-section:nth-child(2), |
| 2668 |
#customize-theme-controls .control-panel-nav_menus .control-section-nav_menu, |
| 2669 |
#customize-theme-controls .control-section-nav_menu_locations .accordion-section-title { |
| 2670 |
border-top: 0; |
| 2671 |
} |
| 2672 |
|