| 1 |
.merchant-metabox { |
| 2 |
display: -webkit-box; |
| 3 |
display: -ms-flexbox; |
| 4 |
display: flex; |
| 5 |
padding: 20px; |
| 6 |
} |
| 7 |
|
| 8 |
.merchant-metabox-tabs { |
| 9 |
display: -webkit-box; |
| 10 |
display: -ms-flexbox; |
| 11 |
display: flex; |
| 12 |
-webkit-box-orient: vertical; |
| 13 |
-webkit-box-direction: normal; |
| 14 |
-ms-flex-direction: column; |
| 15 |
flex-direction: column; |
| 16 |
width: 225px; |
| 17 |
margin-left: -20px; |
| 18 |
} |
| 19 |
|
| 20 |
.merchant-metabox-tabs a { |
| 21 |
position: relative; |
| 22 |
display: -webkit-box; |
| 23 |
display: -ms-flexbox; |
| 24 |
display: flex; |
| 25 |
font-size: 16px; |
| 26 |
line-height: 24px; |
| 27 |
font-weight: 600; |
| 28 |
color: #1a1a1a; |
| 29 |
padding: 9px 16px; |
| 30 |
text-decoration: none; |
| 31 |
-webkit-transition: all .1s; |
| 32 |
transition: all .1s; |
| 33 |
} |
| 34 |
|
| 35 |
.merchant-metabox-tabs a:before { |
| 36 |
content: ''; |
| 37 |
position: absolute; |
| 38 |
top: 0; |
| 39 |
left: 0; |
| 40 |
width: 4px; |
| 41 |
height: 100%; |
| 42 |
border-radius: 0 4px 4px 0; |
| 43 |
opacity: 0; |
| 44 |
visibility: hidden; |
| 45 |
-webkit-transition: ease opacity 200ms; |
| 46 |
transition: ease opacity 200ms; |
| 47 |
} |
| 48 |
|
| 49 |
.merchant-metabox-tabs a:focus, .merchant-metabox-tabs a:active, .merchant-metabox-tabs a:hover { |
| 50 |
color: #757575; |
| 51 |
outline: none; |
| 52 |
-webkit-box-shadow: none; |
| 53 |
box-shadow: none; |
| 54 |
} |
| 55 |
|
| 56 |
.merchant-metabox-tabs a:focus:before, .merchant-metabox-tabs a:active:before, .merchant-metabox-tabs a:hover:before { |
| 57 |
background-color: #e1e1e1; |
| 58 |
opacity: 1; |
| 59 |
visibility: visible; |
| 60 |
} |
| 61 |
|
| 62 |
.merchant-metabox-tabs a.active { |
| 63 |
color: #3858E9; |
| 64 |
} |
| 65 |
|
| 66 |
.merchant-metabox-tabs a.active:before { |
| 67 |
background-color: #3858E9; |
| 68 |
opacity: 1; |
| 69 |
visibility: visible; |
| 70 |
} |
| 71 |
|
| 72 |
.merchant-metabox-contents { |
| 73 |
-webkit-box-flex: 1; |
| 74 |
-ms-flex: 1; |
| 75 |
flex: 1; |
| 76 |
display: -webkit-box; |
| 77 |
display: -ms-flexbox; |
| 78 |
display: flex; |
| 79 |
-webkit-box-orient: vertical; |
| 80 |
-webkit-box-direction: normal; |
| 81 |
-ms-flex-direction: column; |
| 82 |
flex-direction: column; |
| 83 |
border: 1px solid #F0F0F1; |
| 84 |
border-radius: 4px; |
| 85 |
} |
| 86 |
|
| 87 |
.merchant-metabox-content { |
| 88 |
display: -webkit-box; |
| 89 |
display: -ms-flexbox; |
| 90 |
display: flex; |
| 91 |
-webkit-box-orient: vertical; |
| 92 |
-webkit-box-direction: normal; |
| 93 |
-ms-flex-direction: column; |
| 94 |
flex-direction: column; |
| 95 |
} |
| 96 |
|
| 97 |
.merchant-metabox-content:not(.active) { |
| 98 |
display: none; |
| 99 |
} |
| 100 |
|
| 101 |
.merchant-metabox-content-title { |
| 102 |
display: none; |
| 103 |
margin: 0; |
| 104 |
padding: 10px 15px; |
| 105 |
color: #1e1e1e; |
| 106 |
background-color: #eee; |
| 107 |
} |
| 108 |
|
| 109 |
.merchant-metabox-field { |
| 110 |
display: -webkit-box; |
| 111 |
display: -ms-flexbox; |
| 112 |
display: flex; |
| 113 |
-ms-flex-wrap: wrap; |
| 114 |
flex-wrap: wrap; |
| 115 |
grid-gap: 20px; |
| 116 |
padding: 20px; |
| 117 |
} |
| 118 |
|
| 119 |
.merchant-metabox-field:first-child { |
| 120 |
border-top: none; |
| 121 |
} |
| 122 |
|
| 123 |
.merchant-metabox-field:last-child { |
| 124 |
border-bottom: none; |
| 125 |
} |
| 126 |
|
| 127 |
.merchant-metabox-field-hidden { |
| 128 |
display: none; |
| 129 |
} |
| 130 |
|
| 131 |
.merchant-metabox-field-separator-before { |
| 132 |
border-top: 1px solid #eee; |
| 133 |
} |
| 134 |
|
| 135 |
.merchant-metabox-field-separator-after { |
| 136 |
border-bottom: 1px solid #eee; |
| 137 |
} |
| 138 |
|
| 139 |
.merchant-metabox-field-inline { |
| 140 |
-webkit-box-orient: vertical; |
| 141 |
-webkit-box-direction: normal; |
| 142 |
-ms-flex-direction: column; |
| 143 |
flex-direction: column; |
| 144 |
} |
| 145 |
|
| 146 |
.merchant-metabox-field-title { |
| 147 |
width: 30%; |
| 148 |
max-width: 275px; |
| 149 |
display: -webkit-box; |
| 150 |
display: -ms-flexbox; |
| 151 |
display: flex; |
| 152 |
-ms-flex-wrap: wrap; |
| 153 |
flex-wrap: wrap; |
| 154 |
grid-gap: 5px; |
| 155 |
-webkit-box-orient: vertical; |
| 156 |
-webkit-box-direction: normal; |
| 157 |
-ms-flex-direction: column; |
| 158 |
flex-direction: column; |
| 159 |
} |
| 160 |
|
| 161 |
.merchant-metabox-field-title h4 { |
| 162 |
margin: 0; |
| 163 |
color: #1e1e1e; |
| 164 |
} |
| 165 |
|
| 166 |
.merchant-metabox-field-title small { |
| 167 |
opacity: 0.75; |
| 168 |
} |
| 169 |
|
| 170 |
.merchant-metabox-field-title small code { |
| 171 |
font-size: 1em; |
| 172 |
} |
| 173 |
|
| 174 |
.merchant-metabox-field-content { |
| 175 |
-webkit-box-flex: 1; |
| 176 |
-ms-flex: 1; |
| 177 |
flex: 1; |
| 178 |
} |
| 179 |
|
| 180 |
.merchant-metabox-field-description { |
| 181 |
font-size: 80%; |
| 182 |
opacity: 0.75; |
| 183 |
margin-top: 10px; |
| 184 |
} |
| 185 |
|
| 186 |
.merchant-metabox-field-description code { |
| 187 |
font-size: 1em; |
| 188 |
} |
| 189 |
|
| 190 |
.merchant-metabox-field-description a { |
| 191 |
color: #3858E9; |
| 192 |
} |
| 193 |
|
| 194 |
.merchant-metabox-field-description a:focus { |
| 195 |
-webkit-box-shadow: none; |
| 196 |
box-shadow: none; |
| 197 |
} |
| 198 |
|
| 199 |
.merchant-metabox-field-text input { |
| 200 |
width: 50%; |
| 201 |
max-width: 100%; |
| 202 |
} |
| 203 |
|
| 204 |
.merchant-metabox-field-number input { |
| 205 |
width: 100px; |
| 206 |
max-width: 100%; |
| 207 |
} |
| 208 |
|
| 209 |
.merchant-metabox-field-textarea textarea { |
| 210 |
width: 100%; |
| 211 |
max-width: 100%; |
| 212 |
min-height: 100px; |
| 213 |
vertical-align: top; |
| 214 |
} |
| 215 |
|
| 216 |
.merchant-metabox-field-checkbox label { |
| 217 |
display: -webkit-box; |
| 218 |
display: -ms-flexbox; |
| 219 |
display: flex; |
| 220 |
grid-gap: 6px; |
| 221 |
-webkit-box-align: center; |
| 222 |
-ms-flex-align: center; |
| 223 |
align-items: center; |
| 224 |
-webkit-user-select: none; |
| 225 |
-moz-user-select: none; |
| 226 |
-ms-user-select: none; |
| 227 |
user-select: none; |
| 228 |
} |
| 229 |
|
| 230 |
.merchant-metabox-field-checkbox label input { |
| 231 |
margin: 0; |
| 232 |
} |
| 233 |
|
| 234 |
.merchant-metabox-field-switcher label { |
| 235 |
display: -webkit-inline-box; |
| 236 |
display: -ms-inline-flexbox; |
| 237 |
display: inline-flex; |
| 238 |
grid-gap: 6px; |
| 239 |
-webkit-box-align: center; |
| 240 |
-ms-flex-align: center; |
| 241 |
align-items: center; |
| 242 |
-webkit-user-select: none; |
| 243 |
-moz-user-select: none; |
| 244 |
-ms-user-select: none; |
| 245 |
user-select: none; |
| 246 |
} |
| 247 |
|
| 248 |
.merchant-metabox-field-switcher i { |
| 249 |
position: relative; |
| 250 |
overflow: hidden; |
| 251 |
display: -webkit-box; |
| 252 |
display: -ms-flexbox; |
| 253 |
display: flex; |
| 254 |
width: 45px; |
| 255 |
height: 22px; |
| 256 |
background-color: #c8c8c8; |
| 257 |
border-radius: 20px; |
| 258 |
-webkit-transition: all 0.2s; |
| 259 |
transition: all 0.2s; |
| 260 |
} |
| 261 |
|
| 262 |
.merchant-metabox-field-switcher i:before { |
| 263 |
content: ""; |
| 264 |
position: absolute; |
| 265 |
display: block; |
| 266 |
width: 14px; |
| 267 |
height: 14px; |
| 268 |
top: 4px; |
| 269 |
left: 6px; |
| 270 |
background-color: #fff; |
| 271 |
border-radius: 20px; |
| 272 |
-webkit-transition: all 0.1s; |
| 273 |
transition: all 0.1s; |
| 274 |
} |
| 275 |
|
| 276 |
.merchant-metabox-field-switcher input { |
| 277 |
display: none; |
| 278 |
} |
| 279 |
|
| 280 |
.merchant-metabox-field-switcher input:checked + i { |
| 281 |
background-color: #3858E9; |
| 282 |
} |
| 283 |
|
| 284 |
.merchant-metabox-field-switcher input:checked + i:before { |
| 285 |
left: 26px; |
| 286 |
} |
| 287 |
|
| 288 |
.merchant-metabox-field-choices-images { |
| 289 |
display: -webkit-box; |
| 290 |
display: -ms-flexbox; |
| 291 |
display: flex; |
| 292 |
-ms-flex-wrap: wrap; |
| 293 |
flex-wrap: wrap; |
| 294 |
grid-gap: 2px; |
| 295 |
} |
| 296 |
|
| 297 |
.merchant-metabox-field-choices-images label { |
| 298 |
display: -webkit-box; |
| 299 |
display: -ms-flexbox; |
| 300 |
display: flex; |
| 301 |
-webkit-user-select: none; |
| 302 |
-moz-user-select: none; |
| 303 |
-ms-user-select: none; |
| 304 |
user-select: none; |
| 305 |
} |
| 306 |
|
| 307 |
.merchant-metabox-field-choices-images figure { |
| 308 |
padding: 4px; |
| 309 |
margin: 0; |
| 310 |
border: 2px solid transparent; |
| 311 |
border-radius: 4px; |
| 312 |
-webkit-transition: all .2s; |
| 313 |
transition: all .2s; |
| 314 |
max-width: 80px; |
| 315 |
max-height: 80px; |
| 316 |
} |
| 317 |
|
| 318 |
.merchant-metabox-field-choices-images figure img { |
| 319 |
width: 100%; |
| 320 |
vertical-align: top; |
| 321 |
} |
| 322 |
|
| 323 |
.merchant-metabox-field-choices-images input { |
| 324 |
display: none; |
| 325 |
} |
| 326 |
|
| 327 |
.merchant-metabox-field-choices-images input:checked + figure { |
| 328 |
border-color: #1e1e1e; |
| 329 |
} |
| 330 |
|
| 331 |
.merchant-metabox-field-choices-images input:checked + figure:before { |
| 332 |
left: 26px; |
| 333 |
} |
| 334 |
|
| 335 |
.merchant-metabox-field-uploads-thumbnail { |
| 336 |
border-right: 1px solid #e5e5e5; |
| 337 |
margin-right: 10px; |
| 338 |
padding-right: 10px; |
| 339 |
position: relative; |
| 340 |
} |
| 341 |
|
| 342 |
.merchant-metabox-field-uploads-thumbnail-remove { |
| 343 |
position: absolute; |
| 344 |
left: -8px; |
| 345 |
top: -7px; |
| 346 |
background: white; |
| 347 |
border-radius: 50%; |
| 348 |
color: #d58f90; |
| 349 |
font-size: 18px; |
| 350 |
width: 18px; |
| 351 |
height: 18px; |
| 352 |
} |
| 353 |
|
| 354 |
.merchant-metabox-field-uploads-thumbnail-remove:hover { |
| 355 |
color: #a00; |
| 356 |
} |
| 357 |
|
| 358 |
.merchant-metabox-field-uploads-thumbnail-upload { |
| 359 |
display: -webkit-box; |
| 360 |
display: -ms-flexbox; |
| 361 |
display: flex; |
| 362 |
-webkit-box-pack: center; |
| 363 |
-ms-flex-pack: center; |
| 364 |
justify-content: center; |
| 365 |
-webkit-box-align: center; |
| 366 |
-ms-flex-align: center; |
| 367 |
align-items: center; |
| 368 |
width: 40px; |
| 369 |
height: 40px; |
| 370 |
border: 1px solid #e5e5e5; |
| 371 |
-webkit-box-sizing: border-box; |
| 372 |
box-sizing: border-box; |
| 373 |
color: #d4d4d4; |
| 374 |
font-size: 25px; |
| 375 |
font-weight: 200; |
| 376 |
text-decoration: none; |
| 377 |
} |
| 378 |
|
| 379 |
.merchant-metabox-field-uploads-thumbnail-upload img { |
| 380 |
width: 100%; |
| 381 |
height: 100%; |
| 382 |
-o-object-fit: cover; |
| 383 |
object-fit: cover; |
| 384 |
-o-object-position: center center; |
| 385 |
object-position: center center; |
| 386 |
} |
| 387 |
|
| 388 |
.merchant-metabox-field-repeater-move, |
| 389 |
.merchant-metabox-field-repeater-remove, |
| 390 |
.merchant-metabox-field-flexible-content-move, |
| 391 |
.merchant-metabox-field-flexible-content-remove { |
| 392 |
cursor: pointer; |
| 393 |
padding: 5px; |
| 394 |
width: auto; |
| 395 |
height: auto; |
| 396 |
-webkit-user-select: none; |
| 397 |
-moz-user-select: none; |
| 398 |
-ms-user-select: none; |
| 399 |
user-select: none; |
| 400 |
color: #1e1e1e; |
| 401 |
opacity: 0.5; |
| 402 |
-webkit-transition: all .2s; |
| 403 |
transition: all .2s; |
| 404 |
} |
| 405 |
|
| 406 |
.merchant-metabox-field-repeater-move:hover, |
| 407 |
.merchant-metabox-field-repeater-remove:hover, |
| 408 |
.merchant-metabox-field-flexible-content-move:hover, |
| 409 |
.merchant-metabox-field-flexible-content-remove:hover { |
| 410 |
opacity: 1; |
| 411 |
} |
| 412 |
|
| 413 |
.merchant-metabox-field-repeater-remove, |
| 414 |
.merchant-metabox-field-flexible-content-remove { |
| 415 |
color: #a00; |
| 416 |
font-size: 18px; |
| 417 |
} |
| 418 |
|
| 419 |
.merchant-metabox-field-uploads-content, |
| 420 |
.merchant-metabox-field-repeater-content { |
| 421 |
display: -webkit-box; |
| 422 |
display: -ms-flexbox; |
| 423 |
display: flex; |
| 424 |
-webkit-box-orient: vertical; |
| 425 |
-webkit-box-direction: normal; |
| 426 |
-ms-flex-direction: column; |
| 427 |
flex-direction: column; |
| 428 |
-webkit-box-align: start; |
| 429 |
-ms-flex-align: start; |
| 430 |
align-items: flex-start; |
| 431 |
} |
| 432 |
|
| 433 |
.merchant-metabox-field-uploads-content ul, |
| 434 |
.merchant-metabox-field-repeater-content ul { |
| 435 |
margin: 0; |
| 436 |
padding: 0; |
| 437 |
list-style: none; |
| 438 |
width: 100%; |
| 439 |
} |
| 440 |
|
| 441 |
.merchant-metabox-field-uploads-content ul li, |
| 442 |
.merchant-metabox-field-repeater-content ul li { |
| 443 |
margin: 0; |
| 444 |
padding: 0; |
| 445 |
display: -webkit-box; |
| 446 |
display: -ms-flexbox; |
| 447 |
display: flex; |
| 448 |
-webkit-box-align: center; |
| 449 |
-ms-flex-align: center; |
| 450 |
align-items: center; |
| 451 |
-webkit-box-pack: start; |
| 452 |
-ms-flex-pack: start; |
| 453 |
justify-content: flex-start; |
| 454 |
margin-bottom: 10px; |
| 455 |
} |
| 456 |
|
| 457 |
.merchant-metabox-field-uploads-content ul li.hidden, |
| 458 |
.merchant-metabox-field-repeater-content ul li.hidden { |
| 459 |
display: none; |
| 460 |
} |
| 461 |
|
| 462 |
.merchant-metabox-field-uploads-content ul li span, |
| 463 |
.merchant-metabox-field-repeater-content ul li span { |
| 464 |
font-size: 20px; |
| 465 |
padding: 5px; |
| 466 |
width: auto; |
| 467 |
height: auto; |
| 468 |
-webkit-user-select: none; |
| 469 |
-moz-user-select: none; |
| 470 |
-ms-user-select: none; |
| 471 |
user-select: none; |
| 472 |
} |
| 473 |
|
| 474 |
.merchant-metabox-field-uploads-content input, |
| 475 |
.merchant-metabox-field-repeater-content input { |
| 476 |
width: 50%; |
| 477 |
max-width: 100%; |
| 478 |
max-width: 100%; |
| 479 |
margin-right: 5px; |
| 480 |
} |
| 481 |
|
| 482 |
.merchant-metabox-field-uploads-content .merchant-metabox-field-repeater-list-item-field, |
| 483 |
.merchant-metabox-field-repeater-content .merchant-metabox-field-repeater-list-item-field { |
| 484 |
display: -webkit-box; |
| 485 |
display: -ms-flexbox; |
| 486 |
display: flex; |
| 487 |
margin-right: 5px; |
| 488 |
} |
| 489 |
|
| 490 |
.merchant-metabox-field-uploads-content .merchant-metabox-field-repeater-list-item-field input, |
| 491 |
.merchant-metabox-field-repeater-content .merchant-metabox-field-repeater-list-item-field input { |
| 492 |
width: 100%; |
| 493 |
} |
| 494 |
|
| 495 |
.merchant-metabox-field-uploads-content .merchant-metabox-field-repeater-list-item-field span, |
| 496 |
.merchant-metabox-field-repeater-content .merchant-metabox-field-repeater-list-item-field span { |
| 497 |
font-size: 14px; |
| 498 |
} |
| 499 |
|
| 500 |
.merchant-metabox-field-uploads-content .merchant-metabox-field-repeater-list-item-fields, |
| 501 |
.merchant-metabox-field-repeater-content .merchant-metabox-field-repeater-list-item-fields { |
| 502 |
display: -webkit-box; |
| 503 |
display: -ms-flexbox; |
| 504 |
display: flex; |
| 505 |
-webkit-box-align: center; |
| 506 |
-ms-flex-align: center; |
| 507 |
align-items: center; |
| 508 |
-webkit-box-pack: start; |
| 509 |
-ms-flex-pack: start; |
| 510 |
justify-content: flex-start; |
| 511 |
} |
| 512 |
|
| 513 |
.merchant-metabox-field-size-chart ul { |
| 514 |
margin: 0; |
| 515 |
padding: 0; |
| 516 |
list-style: none; |
| 517 |
} |
| 518 |
|
| 519 |
.merchant-metabox-field-size-chart ul li { |
| 520 |
margin-bottom: 20px; |
| 521 |
} |
| 522 |
|
| 523 |
.merchant-metabox-field-size-chart ul li.hidden { |
| 524 |
display: none; |
| 525 |
} |
| 526 |
|
| 527 |
.merchant-metabox-field-size-chart table { |
| 528 |
width: 100%; |
| 529 |
border-spacing: 0; |
| 530 |
border-collapse: collapse; |
| 531 |
background-color: #fff; |
| 532 |
} |
| 533 |
|
| 534 |
.merchant-metabox-field-size-chart table th, |
| 535 |
.merchant-metabox-field-size-chart table td { |
| 536 |
padding: 15px; |
| 537 |
border: 1px solid rgba(0, 0, 0, 0.1); |
| 538 |
} |
| 539 |
|
| 540 |
.merchant-metabox-field-size-chart table th:last-child, |
| 541 |
.merchant-metabox-field-size-chart table td:last-child { |
| 542 |
width: 1%; |
| 543 |
min-width: 75px; |
| 544 |
} |
| 545 |
|
| 546 |
.merchant-metabox-field-size-chart table thead { |
| 547 |
text-align: center; |
| 548 |
} |
| 549 |
|
| 550 |
.merchant-metabox-field-size-chart table thead label { |
| 551 |
display: -webkit-inline-box; |
| 552 |
display: -ms-inline-flexbox; |
| 553 |
display: inline-flex; |
| 554 |
grid-gap: 5px; |
| 555 |
-webkit-box-pack: center; |
| 556 |
-ms-flex-pack: center; |
| 557 |
justify-content: center; |
| 558 |
-webkit-box-align: center; |
| 559 |
-ms-flex-align: center; |
| 560 |
align-items: center; |
| 561 |
} |
| 562 |
|
| 563 |
.merchant-metabox-field-size-chart table tbody input { |
| 564 |
width: 100%; |
| 565 |
max-width: 100%; |
| 566 |
text-align: center; |
| 567 |
} |
| 568 |
|
| 569 |
.merchant-metabox-field-size-chart table tbody tr:nth-child(2) td:not(:last-child) { |
| 570 |
background-color: #eee; |
| 571 |
} |
| 572 |
|
| 573 |
.merchant-metabox-field-size-chart table tfoot { |
| 574 |
text-align: right; |
| 575 |
} |
| 576 |
|
| 577 |
.merchant-metabox-field-size-chart .merchant-buttons { |
| 578 |
display: -webkit-box; |
| 579 |
display: -ms-flexbox; |
| 580 |
display: flex; |
| 581 |
grid-gap: 10px; |
| 582 |
-webkit-box-pack: center; |
| 583 |
-ms-flex-pack: center; |
| 584 |
justify-content: center; |
| 585 |
-webkit-box-align: center; |
| 586 |
-ms-flex-align: center; |
| 587 |
align-items: center; |
| 588 |
} |
| 589 |
|
| 590 |
.merchant-metabox-field-size-chart .merchant-buttons a { |
| 591 |
display: -webkit-box; |
| 592 |
display: -ms-flexbox; |
| 593 |
display: flex; |
| 594 |
-webkit-box-pack: center; |
| 595 |
-ms-flex-pack: center; |
| 596 |
justify-content: center; |
| 597 |
-webkit-box-align: center; |
| 598 |
-ms-flex-align: center; |
| 599 |
align-items: center; |
| 600 |
width: 16px; |
| 601 |
height: 16px; |
| 602 |
font-size: 14px; |
| 603 |
line-height: 1em; |
| 604 |
font-weight: bold; |
| 605 |
padding: 2px; |
| 606 |
border-radius: 4px; |
| 607 |
-webkit-user-select: none; |
| 608 |
-moz-user-select: none; |
| 609 |
-ms-user-select: none; |
| 610 |
user-select: none; |
| 611 |
-webkit-box-shadow: none; |
| 612 |
box-shadow: none; |
| 613 |
text-decoration: none; |
| 614 |
} |
| 615 |
|
| 616 |
.merchant-metabox-field-size-chart .merchant-buttons a:active { |
| 617 |
opacity: 0.5; |
| 618 |
} |
| 619 |
|
| 620 |
.merchant-metabox-field-size-chart .merchant-add-col, |
| 621 |
.merchant-metabox-field-size-chart .merchant-add-row { |
| 622 |
color: #27ae60; |
| 623 |
background-color: #d5f5e3; |
| 624 |
} |
| 625 |
|
| 626 |
.merchant-metabox-field-size-chart .merchant-del-col, |
| 627 |
.merchant-metabox-field-size-chart .merchant-del-row { |
| 628 |
color: #e74c3c; |
| 629 |
background-color: #f2d7d5; |
| 630 |
} |
| 631 |
|
| 632 |
.merchant-metabox-field-size-chart .merchant-remove { |
| 633 |
color: #fff; |
| 634 |
border-color: #d50204; |
| 635 |
background: #d50204; |
| 636 |
} |
| 637 |
|
| 638 |
.merchant-metabox-field-size-chart .merchant-remove:hover, .merchant-metabox-field-size-chart .merchant-remove:focus { |
| 639 |
border-color: #b32d2e; |
| 640 |
background: #b32d2e; |
| 641 |
} |
| 642 |
|
| 643 |
.merchant-metabox-field-size-chart .merchant-remove:focus { |
| 644 |
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #b32d2e; |
| 645 |
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #b32d2e; |
| 646 |
} |
| 647 |
|
| 648 |
.merchant-metabox-field-size-chart .merchant-remove:active { |
| 649 |
border-color: #b32d2e; |
| 650 |
background: #b32d2e; |
| 651 |
} |
| 652 |
|
| 653 |
.merchant-metabox-field-size-chart .merchant-duplicate { |
| 654 |
display: -webkit-box; |
| 655 |
display: -ms-flexbox; |
| 656 |
display: flex; |
| 657 |
-webkit-box-pack: center; |
| 658 |
-ms-flex-pack: center; |
| 659 |
justify-content: center; |
| 660 |
-webkit-box-align: center; |
| 661 |
-ms-flex-align: center; |
| 662 |
align-items: center; |
| 663 |
-webkit-user-select: none; |
| 664 |
-moz-user-select: none; |
| 665 |
-ms-user-select: none; |
| 666 |
user-select: none; |
| 667 |
-webkit-box-shadow: none; |
| 668 |
box-shadow: none; |
| 669 |
text-decoration: none; |
| 670 |
color: #000; |
| 671 |
-webkit-transition: all .2s; |
| 672 |
transition: all .2s; |
| 673 |
} |
| 674 |
|
| 675 |
.merchant-metabox-field-size-chart .merchant-duplicate:hover, .merchant-metabox-field-size-chart .merchant-duplicate:active { |
| 676 |
opacity: 0.5; |
| 677 |
} |
| 678 |
|
| 679 |
.merchant-metabox-field-size-chart .merchant-duplicate i { |
| 680 |
width: auto; |
| 681 |
height: auto; |
| 682 |
font-size: 20px; |
| 683 |
} |
| 684 |
|
| 685 |
.merchant-metabox-field-media figure { |
| 686 |
display: -webkit-box; |
| 687 |
display: -ms-flexbox; |
| 688 |
display: flex; |
| 689 |
-webkit-box-pack: center; |
| 690 |
-ms-flex-pack: center; |
| 691 |
justify-content: center; |
| 692 |
-webkit-box-align: center; |
| 693 |
-ms-flex-align: center; |
| 694 |
align-items: center; |
| 695 |
margin: 0; |
| 696 |
padding: 5px; |
| 697 |
width: 75px; |
| 698 |
height: 75px; |
| 699 |
border: 1px solid #e5e5e5; |
| 700 |
background-color: #fff; |
| 701 |
-webkit-box-sizing: border-box; |
| 702 |
box-sizing: border-box; |
| 703 |
} |
| 704 |
|
| 705 |
.merchant-metabox-field-media figure img { |
| 706 |
max-width: 100%; |
| 707 |
height: auto; |
| 708 |
} |
| 709 |
|
| 710 |
.merchant-metabox-field-media input { |
| 711 |
display: none; |
| 712 |
} |
| 713 |
|
| 714 |
.merchant-metabox-field-media .merchant-button-remove { |
| 715 |
color: #b32d2e; |
| 716 |
border-color: #b32d2e; |
| 717 |
background: #fff8f8; |
| 718 |
} |
| 719 |
|
| 720 |
.merchant-metabox-field-media .merchant-button-remove:hover, .merchant-metabox-field-media .merchant-button-remove:focus, .merchant-metabox-field-media .merchant-button-remove:active { |
| 721 |
color: #b32d2e; |
| 722 |
border-color: #b32d2e; |
| 723 |
background: #fff0f0; |
| 724 |
} |
| 725 |
|
| 726 |
.merchant-metabox-field-media .merchant-button-remove:focus { |
| 727 |
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #b32d2e; |
| 728 |
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #b32d2e; |
| 729 |
} |
| 730 |
|
| 731 |
.merchant-metabox-field-select-ajax select { |
| 732 |
display: none; |
| 733 |
width: 100%; |
| 734 |
} |
| 735 |
|
| 736 |
.merchant-metabox-field-select-ajax ul { |
| 737 |
margin: 0; |
| 738 |
padding: 0; |
| 739 |
list-style: none; |
| 740 |
vertical-align: top; |
| 741 |
} |
| 742 |
|
| 743 |
.merchant-metabox-field-select-ajax ul li { |
| 744 |
margin: 0; |
| 745 |
padding: 0; |
| 746 |
} |
| 747 |
|
| 748 |
.merchant-metabox-field-select-ajax .select2-container--default .select2-selection--multiple .select2-selection__rendered { |
| 749 |
width: auto; |
| 750 |
display: inline; |
| 751 |
padding: 0; |
| 752 |
} |
| 753 |
|
| 754 |
.merchant-metabox-field-select-ajax .select2-container .select2-search--inline .select2-search__field { |
| 755 |
margin: 0; |
| 756 |
padding: 0; |
| 757 |
} |
| 758 |
|
| 759 |
.merchant-metabox-field-select-ajax .select2-container--default.select2-container--focus .select2-selection--multiple { |
| 760 |
border-color: #aaa; |
| 761 |
} |
| 762 |
|
| 763 |
.merchant-metabox-field-select-ajax .select2-container--default .select2-selection--multiple { |
| 764 |
padding: 0 5px; |
| 765 |
} |
| 766 |
|
| 767 |
.merchant-metabox-field-select-ajax .select2-container--default .select2-selection--multiple .select2-selection__choice { |
| 768 |
margin-left: 0; |
| 769 |
} |
| 770 |
|
| 771 |
.merchant-metabox-field-select-ajax .merchant-select2-clear { |
| 772 |
display: block; |
| 773 |
width: 100%; |
| 774 |
clear: both; |
| 775 |
} |
| 776 |
|
| 777 |
.merchant-metabox-field-select-ajax .merchant-metabox-field-content { |
| 778 |
min-height: 32px; |
| 779 |
} |
| 780 |
|
| 781 |
.merchant-metabox-field-wc-attributes ul { |
| 782 |
margin: 0; |
| 783 |
padding: 0; |
| 784 |
list-style: none; |
| 785 |
display: -webkit-box; |
| 786 |
display: -ms-flexbox; |
| 787 |
display: flex; |
| 788 |
grid-gap: 5px; |
| 789 |
-webkit-box-orient: vertical; |
| 790 |
-webkit-box-direction: normal; |
| 791 |
-ms-flex-direction: column; |
| 792 |
flex-direction: column; |
| 793 |
} |
| 794 |
|
| 795 |
.merchant-metabox-field-wc-attributes ul li { |
| 796 |
margin: 0; |
| 797 |
padding: 0; |
| 798 |
display: -webkit-box; |
| 799 |
display: -ms-flexbox; |
| 800 |
display: flex; |
| 801 |
max-width: 300px; |
| 802 |
-webkit-box-align: center; |
| 803 |
-ms-flex-align: center; |
| 804 |
align-items: center; |
| 805 |
border: 1px solid #e5e5e5; |
| 806 |
background-color: #fdfdfd; |
| 807 |
border-radius: 3px; |
| 808 |
} |
| 809 |
|
| 810 |
.merchant-metabox-field-wc-attributes ul li:hover { |
| 811 |
border-color: #ccc; |
| 812 |
} |
| 813 |
|
| 814 |
.merchant-metabox-field-wc-attributes ul li label { |
| 815 |
display: -webkit-box; |
| 816 |
display: -ms-flexbox; |
| 817 |
display: flex; |
| 818 |
grid-gap: 5px; |
| 819 |
-webkit-box-align: center; |
| 820 |
-ms-flex-align: center; |
| 821 |
align-items: center; |
| 822 |
-webkit-box-flex: 1; |
| 823 |
-ms-flex: 1; |
| 824 |
flex: 1; |
| 825 |
padding: 8px; |
| 826 |
-webkit-user-select: none; |
| 827 |
-moz-user-select: none; |
| 828 |
-ms-user-select: none; |
| 829 |
user-select: none; |
| 830 |
} |
| 831 |
|
| 832 |
.merchant-metabox-field-wc-attributes ul li label input { |
| 833 |
margin: 0; |
| 834 |
} |
| 835 |
|
| 836 |
.merchant-metabox-field-wc-attributes ul li .merchant-sortable-move { |
| 837 |
cursor: pointer; |
| 838 |
padding: 8px; |
| 839 |
} |
| 840 |
|
| 841 |
.merchant-metabox-field-code-editor .CodeMirror-wrap { |
| 842 |
border: 1px solid #eee; |
| 843 |
} |
| 844 |
|
| 845 |
.merchant-metabox-field-media-content { |
| 846 |
display: -webkit-box; |
| 847 |
display: -ms-flexbox; |
| 848 |
display: flex; |
| 849 |
grid-gap: 10px; |
| 850 |
-webkit-box-align: center; |
| 851 |
-ms-flex-align: center; |
| 852 |
align-items: center; |
| 853 |
} |
| 854 |
|
| 855 |
.merchant-metabox-field-media-button { |
| 856 |
-webkit-box-flex: 1; |
| 857 |
-ms-flex: 1; |
| 858 |
flex: 1; |
| 859 |
display: -webkit-box; |
| 860 |
display: -ms-flexbox; |
| 861 |
display: flex; |
| 862 |
grid-gap: 5px; |
| 863 |
} |
| 864 |
|
| 865 |
.merchant-metabox-field-no-padding { |
| 866 |
padding-top: 0; |
| 867 |
padding-bottom: 0; |
| 868 |
} |
| 869 |
|
| 870 |
body:not(.block-editor-page) #merchant_metabox .inside { |
| 871 |
margin: 0; |
| 872 |
padding: 0; |
| 873 |
} |
| 874 |
|
| 875 |
#side-sortables .merchant-metabox-tabs { |
| 876 |
display: none; |
| 877 |
} |
| 878 |
|
| 879 |
#side-sortables .merchant-metabox-content-title, |
| 880 |
#side-sortables .merchant-metabox-content:not(.active) { |
| 881 |
display: block; |
| 882 |
} |
| 883 |
|
| 884 |
#side-sortables .merchant-metabox-field { |
| 885 |
grid-gap: 8px; |
| 886 |
padding: 10px 15px; |
| 887 |
-webkit-box-orient: vertical; |
| 888 |
-webkit-box-direction: normal; |
| 889 |
-ms-flex-direction: column; |
| 890 |
flex-direction: column; |
| 891 |
} |
| 892 |
|
| 893 |
#side-sortables .merchant-metabox-field-title { |
| 894 |
width: auto; |
| 895 |
font-size: 12px; |
| 896 |
} |
| 897 |
|
| 898 |
#side-sortables .merchant-metabox-field-title:empty { |
| 899 |
display: none; |
| 900 |
} |
| 901 |
|
| 902 |
#side-sortables .merchant-metabox-contents { |
| 903 |
border-left: none; |
| 904 |
border-right: none; |
| 905 |
} |
| 906 |
|
| 907 |
#side-sortables #merchant_metabox .postbox-header { |
| 908 |
border-top: none; |
| 909 |
} |
| 910 |
|
| 911 |
#side-sortables #merchant_metabox .postbox-header h2 { |
| 912 |
color: #1e1e1e; |
| 913 |
padding: 0 0 0 15px; |
| 914 |
font-size: 13px; |
| 915 |
font-weight: 500; |
| 916 |
} |
| 917 |
|
| 918 |
#side-sortables #merchant_metabox .inside { |
| 919 |
padding: 0; |
| 920 |
} |
| 921 |
|
| 922 |
#side-sortables .merchant-metabox-field-text input, |
| 923 |
#side-sortables .merchant-metabox-field-uploads-content input, |
| 924 |
#side-sortables .merchant-metabox-field-repeater-content input { |
| 925 |
width: 100%; |
| 926 |
} |
| 927 |
|
| 928 |
.merchant-metabox-field-flexible-content-list { |
| 929 |
display: -webkit-box; |
| 930 |
display: -ms-flexbox; |
| 931 |
display: flex; |
| 932 |
-webkit-box-orient: vertical; |
| 933 |
-webkit-box-direction: normal; |
| 934 |
-ms-flex-direction: column; |
| 935 |
flex-direction: column; |
| 936 |
width: 100%; |
| 937 |
grid-gap: 10px; |
| 938 |
} |
| 939 |
|
| 940 |
.merchant-metabox-field-flexible-content-list.empty { |
| 941 |
border: 2px dashed #dcdcde; |
| 942 |
min-height: 100px; |
| 943 |
} |
| 944 |
|
| 945 |
.merchant-metabox-field-flexible-content-item { |
| 946 |
border: 1px solid #c3c4c7; |
| 947 |
border-left: 3px solid #3858e9; |
| 948 |
} |
| 949 |
|
| 950 |
.merchant-metabox-field-flexible-content-item:first-child { |
| 951 |
display: none; |
| 952 |
} |
| 953 |
|
| 954 |
.merchant-metabox-field-flexible-content-item-content { |
| 955 |
display: -webkit-box; |
| 956 |
display: -ms-flexbox; |
| 957 |
display: flex; |
| 958 |
-webkit-box-orient: vertical; |
| 959 |
-webkit-box-direction: normal; |
| 960 |
-ms-flex-direction: column; |
| 961 |
flex-direction: column; |
| 962 |
grid-gap: 10px; |
| 963 |
padding: 15px; |
| 964 |
} |
| 965 |
|
| 966 |
.merchant-metabox-field-flexible-content-item-content > div { |
| 967 |
display: -webkit-box; |
| 968 |
display: -ms-flexbox; |
| 969 |
display: flex; |
| 970 |
grid-gap: 10px; |
| 971 |
} |
| 972 |
|
| 973 |
.merchant-metabox-field-flexible-content-item-content > div:not(:last-child) > div { |
| 974 |
border-bottom: 1px solid #f3f3f3; |
| 975 |
padding-bottom: 15px; |
| 976 |
} |
| 977 |
|
| 978 |
.merchant-metabox-field-flexible-content-item-content > div label { |
| 979 |
width: 200px; |
| 980 |
} |
| 981 |
|
| 982 |
.merchant-metabox-field-flexible-content-item-content > div > div { |
| 983 |
width: calc(100% - 200px); |
| 984 |
} |
| 985 |
|
| 986 |
.merchant-metabox-field-flexible-content-item-title { |
| 987 |
margin-left: 10px; |
| 988 |
font-weight: bold; |
| 989 |
} |
| 990 |
|
| 991 |
.merchant-metabox-field-flexible-content-item-actions { |
| 992 |
display: -webkit-box; |
| 993 |
display: -ms-flexbox; |
| 994 |
display: flex; |
| 995 |
-webkit-box-pack: end; |
| 996 |
-ms-flex-pack: end; |
| 997 |
justify-content: flex-end; |
| 998 |
-webkit-box-flex: 1; |
| 999 |
-ms-flex-positive: 1; |
| 1000 |
flex-grow: 1; |
| 1001 |
} |
| 1002 |
|
| 1003 |
.merchant-metabox-field-flexible-content-item-header { |
| 1004 |
display: -webkit-box; |
| 1005 |
display: -ms-flexbox; |
| 1006 |
display: flex; |
| 1007 |
-webkit-box-align: center; |
| 1008 |
-ms-flex-align: center; |
| 1009 |
align-items: center; |
| 1010 |
padding: 10px 15px; |
| 1011 |
border-bottom: 1px solid #f3f3f3; |
| 1012 |
} |
| 1013 |
|
| 1014 |
.merchant-metabox-field-flexible-content-item-count { |
| 1015 |
border-radius: 50%; |
| 1016 |
width: 24px; |
| 1017 |
height: 23px; |
| 1018 |
border: 1px solid #949494; |
| 1019 |
text-align: center; |
| 1020 |
display: -webkit-box; |
| 1021 |
display: -ms-flexbox; |
| 1022 |
display: flex; |
| 1023 |
-webkit-box-pack: center; |
| 1024 |
-ms-flex-pack: center; |
| 1025 |
justify-content: center; |
| 1026 |
-webkit-box-orient: vertical; |
| 1027 |
-webkit-box-direction: normal; |
| 1028 |
-ms-flex-direction: column; |
| 1029 |
flex-direction: column; |
| 1030 |
font-size: 12px; |
| 1031 |
font-weight: bold; |
| 1032 |
} |
| 1033 |
|
| 1034 |
.merchant-metabox-field-flexible-content-add-wrapper { |
| 1035 |
position: relative; |
| 1036 |
display: inline-block; |
| 1037 |
} |
| 1038 |
|
| 1039 |
.merchant-metabox-field-flexible-content-add-list { |
| 1040 |
opacity: 0; |
| 1041 |
visibility: hidden; |
| 1042 |
position: absolute; |
| 1043 |
background-color: #ffffff; |
| 1044 |
border: 1px solid #c3c4c7; |
| 1045 |
border-left: 3px solid #3858e9; |
| 1046 |
-webkit-box-shadow: 0 2px 10px 0 #0000001a; |
| 1047 |
box-shadow: 0 2px 10px 0 #0000001a; |
| 1048 |
width: 180px; |
| 1049 |
bottom: 100%; |
| 1050 |
display: -webkit-box; |
| 1051 |
display: -ms-flexbox; |
| 1052 |
display: flex; |
| 1053 |
-webkit-box-orient: vertical; |
| 1054 |
-webkit-box-direction: normal; |
| 1055 |
-ms-flex-direction: column; |
| 1056 |
flex-direction: column; |
| 1057 |
left: 50%; |
| 1058 |
-webkit-transform: translate(-50%, 10px); |
| 1059 |
transform: translate(-50%, 10px); |
| 1060 |
padding: 3px 3px 3px 5px; |
| 1061 |
} |
| 1062 |
|
| 1063 |
.merchant-metabox-field-flexible-content-add-list.active { |
| 1064 |
z-index: 10; |
| 1065 |
opacity: 1; |
| 1066 |
visibility: visible; |
| 1067 |
-webkit-transform: translate(-50%, -15px); |
| 1068 |
transform: translate(-50%, -15px); |
| 1069 |
-webkit-transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97); |
| 1070 |
transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97); |
| 1071 |
} |
| 1072 |
|
| 1073 |
.merchant-metabox-field-flexible-content-add-list:before, .merchant-metabox-field-flexible-content-add-list:after { |
| 1074 |
position: absolute; |
| 1075 |
z-index: -1; |
| 1076 |
content: ""; |
| 1077 |
border-style: solid; |
| 1078 |
-webkit-transition-duration: 0.3s; |
| 1079 |
transition-duration: 0.3s; |
| 1080 |
-webkit-transition-property: -webkit-transform; |
| 1081 |
transition-property: -webkit-transform; |
| 1082 |
transition-property: transform; |
| 1083 |
transition-property: transform, -webkit-transform; |
| 1084 |
} |
| 1085 |
|
| 1086 |
.merchant-metabox-field-flexible-content-add-list:before { |
| 1087 |
right: calc(50% - 12px); |
| 1088 |
bottom: -14px; |
| 1089 |
border-width: 14px 14px 0 15px; |
| 1090 |
border-color: #c3c4c7 transparent transparent transparent; |
| 1091 |
} |
| 1092 |
|
| 1093 |
.merchant-metabox-field-flexible-content-add-list:after { |
| 1094 |
content: ""; |
| 1095 |
right: calc(50% - 10px); |
| 1096 |
bottom: -12px; |
| 1097 |
border-width: 12px 12px 0 13px; |
| 1098 |
border-color: #ffffff transparent transparent transparent; |
| 1099 |
} |
| 1100 |
|
| 1101 |
.merchant-metabox-field-flexible-content-add { |
| 1102 |
display: block; |
| 1103 |
-ms-flex-negative: 0; |
| 1104 |
flex-shrink: 0; |
| 1105 |
padding: 10px; |
| 1106 |
text-decoration: none; |
| 1107 |
} |
| 1108 |
|
| 1109 |
.merchant-metabox-field-flexible-content-add:hover { |
| 1110 |
background: #f0f0f1; |
| 1111 |
} |
| 1112 |
|
| 1113 |
.merchant-metabox-field-input-container { |
| 1114 |
display: -webkit-box; |
| 1115 |
display: -ms-flexbox; |
| 1116 |
display: flex; |
| 1117 |
} |
| 1118 |
|
| 1119 |
.merchant-metabox-field-append, .merchant-metabox-field-prepend { |
| 1120 |
background: #f0f0f1; |
| 1121 |
border: 1px solid #8c8f94; |
| 1122 |
-webkit-box-align: center; |
| 1123 |
-ms-flex-align: center; |
| 1124 |
align-items: center; |
| 1125 |
display: -webkit-box; |
| 1126 |
display: -ms-flexbox; |
| 1127 |
display: flex; |
| 1128 |
position: relative; |
| 1129 |
padding: 0 8px; |
| 1130 |
} |
| 1131 |
|
| 1132 |
.merchant-metabox-field-append { |
| 1133 |
font-size: 12px; |
| 1134 |
margin-left: -7px; |
| 1135 |
-ms-flex-negative: 0; |
| 1136 |
flex-shrink: 0; |
| 1137 |
border-top-right-radius: 5px; |
| 1138 |
border-bottom-right-radius: 5px; |
| 1139 |
} |
| 1140 |
|
| 1141 |
.merchant-metabox-field-prepend { |
| 1142 |
font-size: 14px; |
| 1143 |
margin-right: -3px; |
| 1144 |
padding: 0 10px; |
| 1145 |
margin-left: 4px; |
| 1146 |
border-top-left-radius: 5px; |
| 1147 |
border-bottom-left-radius: 5px; |
| 1148 |
} |
| 1149 |
|
| 1150 |
@media only screen and (max-width: 991px) { |
| 1151 |
.merchant-metabox-tabs { |
| 1152 |
display: none; |
| 1153 |
} |
| 1154 |
.merchant-metabox-content-title, |
| 1155 |
.merchant-metabox-content:not(.active) { |
| 1156 |
display: block; |
| 1157 |
} |
| 1158 |
.merchant-metabox-field { |
| 1159 |
grid-gap: 8px; |
| 1160 |
padding: 15px; |
| 1161 |
-webkit-box-orient: vertical; |
| 1162 |
-webkit-box-direction: normal; |
| 1163 |
-ms-flex-direction: column; |
| 1164 |
flex-direction: column; |
| 1165 |
} |
| 1166 |
.merchant-metabox-field-title { |
| 1167 |
width: auto; |
| 1168 |
} |
| 1169 |
.merchant-metabox-field-title:empty { |
| 1170 |
display: none; |
| 1171 |
} |
| 1172 |
.merchant-metabox-contents { |
| 1173 |
border-left: none; |
| 1174 |
border-right: none; |
| 1175 |
} |
| 1176 |
#merchant_metabox .inside { |
| 1177 |
padding: 0; |
| 1178 |
} |
| 1179 |
.merchant-metabox-field-text input, |
| 1180 |
.merchant-metabox-field-uploads-content input, |
| 1181 |
.merchant-metabox-field-repeater-content input { |
| 1182 |
width: 100%; |
| 1183 |
} |
| 1184 |
} |
| 1185 |
|