style.css
626 lines
| 1 | .wrap{ |
| 2 | max-width: 1000px; |
| 3 | margin: 0 auto; |
| 4 | } |
| 5 | |
| 6 | h1.sc_title { |
| 7 | background: url(../images/shortcoder.png) no-repeat left; |
| 8 | background-size: 32px 32px; |
| 9 | padding-left: 40px; |
| 10 | padding-bottom: 9px; |
| 11 | } |
| 12 | h1.sc_title .title-count { |
| 13 | font-size: 10px; |
| 14 | padding: 2px 8px; |
| 15 | opacity: 0.7; |
| 16 | } |
| 17 | .head_wrap { |
| 18 | padding: 15px 0; |
| 19 | position: relative; |
| 20 | } |
| 21 | |
| 22 | #content{ |
| 23 | background: #fff; |
| 24 | padding: 20px; |
| 25 | border: 1px solid #dfdfdf; |
| 26 | border-radius: 3px; |
| 27 | box-shadow: 0 0 4px -3px; |
| 28 | } |
| 29 | |
| 30 | .page_title { |
| 31 | border-bottom: 1px solid #dfdfdf; |
| 32 | margin: -20px -20px 20px -20px; |
| 33 | padding: 1em; |
| 34 | background: #fafafa; |
| 35 | position: relative; |
| 36 | } |
| 37 | |
| 38 | .sc_list { |
| 39 | margin: -20px 0; |
| 40 | position: relative; |
| 41 | counter-reset: sccounter; |
| 42 | } |
| 43 | .sc_list > li { |
| 44 | margin: 0; |
| 45 | position: relative; |
| 46 | counter-increment: sccounter; |
| 47 | } |
| 48 | .sc_list li a { |
| 49 | text-decoration: none; |
| 50 | } |
| 51 | .sc_list > li .sc_link { |
| 52 | display: block; |
| 53 | margin: 0 -20px; |
| 54 | padding: 15px; |
| 55 | border-bottom: 1px solid #dfdfdf; |
| 56 | font-size: 17px; |
| 57 | padding-left: 65px; |
| 58 | } |
| 59 | .sc_list > li:last-child .sc_link{ |
| 60 | border-bottom: 0; |
| 61 | } |
| 62 | .sc_list > li:before { |
| 63 | content: counter(sccounter); |
| 64 | position: absolute; |
| 65 | left: 0; |
| 66 | top: 50%; |
| 67 | border-right: 1px solid #dfdfdf; |
| 68 | padding-right: 15px; |
| 69 | margin-top: -10px; |
| 70 | color: #666; |
| 71 | } |
| 72 | .sc_link:hover{ |
| 73 | background: #fffeea; |
| 74 | } |
| 75 | .sc_link:hover:after { |
| 76 | font-family: dashicons; |
| 77 | content: "\f464"; |
| 78 | font-size: 15px; |
| 79 | position: absolute; |
| 80 | margin-left: 10px; |
| 81 | } |
| 82 | .sc_controls { |
| 83 | position: absolute; |
| 84 | top: 5px; |
| 85 | right: 0; |
| 86 | } |
| 87 | .sc_list .sc_controls a { |
| 88 | padding: 8px; |
| 89 | border-radius: 50%; |
| 90 | margin: 0 0 0 15px; |
| 91 | border: 1px solid transparent; |
| 92 | display: inline-block; |
| 93 | } |
| 94 | .sc_list .sc_controls a:hover{ |
| 95 | border: 1px solid #dfdfdf; |
| 96 | } |
| 97 | |
| 98 | .sc_list .sc_delete:hover{ |
| 99 | border-color: red; |
| 100 | color: red; |
| 101 | } |
| 102 | |
| 103 | .sc_list:empty:before { |
| 104 | content: attr( data-empty ); |
| 105 | position: absolute; |
| 106 | left: 0; |
| 107 | right: 0; |
| 108 | text-align: center; |
| 109 | font-style: italic; |
| 110 | top: 25px; |
| 111 | } |
| 112 | .sc_list:empty { |
| 113 | height: 70px; |
| 114 | } |
| 115 | .spin{ |
| 116 | animation: spin infinite 1s; |
| 117 | } |
| 118 | .sc_copy_box { |
| 119 | position: absolute; |
| 120 | top: 0px; |
| 121 | font-size: 19px; |
| 122 | width: 91%; |
| 123 | padding: 10px; |
| 124 | left: -20px; |
| 125 | display: none; |
| 126 | cursor: copy; |
| 127 | background: #f9f9f9 !important; |
| 128 | box-shadow: none !important; |
| 129 | text-align: center; |
| 130 | border: none !important; |
| 131 | bottom: 0; |
| 132 | } |
| 133 | .sc_list .disabled_text{ |
| 134 | font-size: 10px; |
| 135 | background: #ffdfdd; |
| 136 | border-radius: 10px; |
| 137 | padding: 2px 10px; |
| 138 | margin: 0 0 0 10px; |
| 139 | color: #F44336; |
| 140 | } |
| 141 | |
| 142 | .sc_tags_list { |
| 143 | display: inline-block; |
| 144 | vertical-align: middle; |
| 145 | position: relative; |
| 146 | } |
| 147 | .sc_tags_list li { |
| 148 | float: left; |
| 149 | background: transparent; |
| 150 | padding: 0.5em; |
| 151 | border-radius: 3px; |
| 152 | margin-left: 0.75em; |
| 153 | color: #717171; |
| 154 | /*box-shadow: 0 1px 2px -1px;*/ |
| 155 | cursor: pointer; |
| 156 | } |
| 157 | .sc_tags_list li:hover { |
| 158 | box-shadow: 0 1px 2px -1px; |
| 159 | background: #fff; |
| 160 | } |
| 161 | .sc_tags_list:before { |
| 162 | content: "\f323"; |
| 163 | font-family: Dashicons; |
| 164 | position: absolute; |
| 165 | left: -15px; |
| 166 | top: 10px; |
| 167 | color: #9c9c9c; |
| 168 | } |
| 169 | |
| 170 | |
| 171 | .sc_tags_filt_btn{ |
| 172 | padding: 0 !important; |
| 173 | } |
| 174 | .sc_tags_filt_btn .sc_tags_filt_icon{ |
| 175 | padding: 0 10px; |
| 176 | } |
| 177 | .sc_tags_filt_btn.active .sc_tags_filt_icon{ |
| 178 | padding: 0 5px; |
| 179 | } |
| 180 | .sc_tags_filt_btn:active, .sc_tags_filt_btn.active{ |
| 181 | transform: none !important; |
| 182 | } |
| 183 | .sc_tags_filt_btn.active .sc_tags_filter_wrap{ |
| 184 | display: inline-block; |
| 185 | } |
| 186 | .sc_tags_filter_wrap{ |
| 187 | width: 260px; |
| 188 | display: none; |
| 189 | } |
| 190 | .sc_tags_filter_wrap .selectize-input{ |
| 191 | height: 26px; |
| 192 | padding: 2px !important; |
| 193 | border-radius: 0 3px 3px 0; |
| 194 | border: none; |
| 195 | border-left: 1px solid #dfdfdf; |
| 196 | } |
| 197 | .sc_tags_filter_wrap .selectize-control{ |
| 198 | margin: 0; |
| 199 | text-align: left; |
| 200 | } |
| 201 | .sc_tags_filter_wrap .item{ |
| 202 | background: #e1f6ff !important; |
| 203 | color: #2196F3 !important; |
| 204 | font-size: 10px; |
| 205 | } |
| 206 | .sc_tags_filter_wrap .item:hover{ |
| 207 | opacity: 0.5; |
| 208 | } |
| 209 | .sc_tags_filter_wrap .item.active{ |
| 210 | color: red !important; |
| 211 | background: #ffe1e1 !important; |
| 212 | } |
| 213 | |
| 214 | .sc_copy_field { |
| 215 | background: transparent !important; |
| 216 | border: none !important; |
| 217 | box-shadow: none !important; |
| 218 | font-size: 13px; |
| 219 | padding: 0 !important; |
| 220 | cursor: text; |
| 221 | margin: 0 !important; |
| 222 | } |
| 223 | .sc_copy_field:readonly{ |
| 224 | color: #000; |
| 225 | } |
| 226 | |
| 227 | .sc_menu{ |
| 228 | position: absolute; |
| 229 | top: 10px; |
| 230 | right: 20px; |
| 231 | } |
| 232 | .sc_menu > *{ |
| 233 | margin-left: 10px !important; |
| 234 | } |
| 235 | |
| 236 | #content .button .dashicons{ |
| 237 | margin: 0.5em 0 0 0; |
| 238 | font-size: 15px; |
| 239 | } |
| 240 | |
| 241 | .sc_section{ |
| 242 | margin: 0 0 20px 0; |
| 243 | } |
| 244 | .sc_section label{ |
| 245 | display: block; |
| 246 | margin: 0 0 10px 0; |
| 247 | } |
| 248 | .sc_section label select{ |
| 249 | font-size: 12px; |
| 250 | margin-top: 10px; |
| 251 | } |
| 252 | |
| 253 | .sc_settings { |
| 254 | display: flex; |
| 255 | flex-wrap: wrap; |
| 256 | } |
| 257 | .sc_settings .sc_section { |
| 258 | flex: 1; |
| 259 | margin-bottom: 0; |
| 260 | } |
| 261 | |
| 262 | #sc_name{ |
| 263 | padding: 10px; |
| 264 | } |
| 265 | .sc_name_wrap { |
| 266 | position: relative; |
| 267 | } |
| 268 | |
| 269 | .sc_name_wrap > .copy_shortcode { |
| 270 | position: absolute; |
| 271 | top: 1px; |
| 272 | right: 1px; |
| 273 | bottom: 1px; |
| 274 | padding: 10px; |
| 275 | border-left: 1px solid #d0d0d0; |
| 276 | background: rgba(255, 255, 255, 0.5); |
| 277 | } |
| 278 | |
| 279 | .page_footer{ |
| 280 | margin: 30px -20px -20px -20px; |
| 281 | background: #f7f7f7; |
| 282 | padding: 20px; |
| 283 | border-top: 1px solid #dfdfdf; |
| 284 | border-radius: 0 0 5px 5px; |
| 285 | } |
| 286 | .page_footer .sc_delete_ep{ |
| 287 | float: right; |
| 288 | } |
| 289 | .page_footer .sc_delete_ep:hover{ |
| 290 | color: red; |
| 291 | } |
| 292 | |
| 293 | .wrap .notice{ |
| 294 | margin-bottom: 0; |
| 295 | } |
| 296 | |
| 297 | .params_wrap{ |
| 298 | box-shadow: 0 3px 5px rgba(0,0,0,.2); |
| 299 | border: 1px solid #dfdfdf; |
| 300 | margin: 0; |
| 301 | position: absolute; |
| 302 | display: none; |
| 303 | background: #fff; |
| 304 | z-index: 9999; |
| 305 | } |
| 306 | .params_wrap li{ |
| 307 | position: relative; |
| 308 | background: #fff; |
| 309 | margin: 0; |
| 310 | padding: 7px 10px; |
| 311 | width: 200px; |
| 312 | border-bottom: 1px solid #dfdfdf; |
| 313 | cursor: pointer; |
| 314 | } |
| 315 | .params_wrap li:hover{ |
| 316 | background: lightyellow; |
| 317 | } |
| 318 | .params_wrap > li:after{ |
| 319 | position: absolute; |
| 320 | font-family: dashicons; |
| 321 | content: "\f139"; |
| 322 | right: 5px; |
| 323 | top: 7px; |
| 324 | } |
| 325 | .params_wrap li:last-child{ |
| 326 | border: 0; |
| 327 | } |
| 328 | .params_wrap li ul{ |
| 329 | background: #fff; |
| 330 | position: absolute; |
| 331 | display: none; |
| 332 | top: 0; |
| 333 | left: 100%; |
| 334 | box-shadow: 0 3px 5px rgba(0,0,0,.2); |
| 335 | border: 1px solid #dfdfdf; |
| 336 | z-index: 9999; |
| 337 | max-height: 300px; |
| 338 | overflow: auto; |
| 339 | } |
| 340 | .params_wrap li:hover ul{ |
| 341 | display: block; |
| 342 | } |
| 343 | |
| 344 | .params_wrap .isc_form{ |
| 345 | cursor: auto; |
| 346 | width: 330px; |
| 347 | } |
| 348 | .isc_form h4{ |
| 349 | margin: 0 0 15px 0; |
| 350 | } |
| 351 | .isc_info{ |
| 352 | margin: 5px 0; |
| 353 | } |
| 354 | .isc_info.red{ |
| 355 | color: red; |
| 356 | } |
| 357 | |
| 358 | .top_sharebar{ |
| 359 | position: absolute; |
| 360 | right: 0; |
| 361 | top: 24px; |
| 362 | } |
| 363 | .top_sharebar > * { |
| 364 | vertical-align: middle; |
| 365 | margin-left: 10px; |
| 366 | float: right; |
| 367 | } |
| 368 | .share_text { |
| 369 | font-size: 10px; |
| 370 | text-align: right; |
| 371 | line-height: 1.5; |
| 372 | margin-right: 5px; |
| 373 | color: #838383; |
| 374 | } |
| 375 | .share_btn{ |
| 376 | background: #333; |
| 377 | color: #fff; |
| 378 | text-decoration: none; |
| 379 | padding: 2px 10px; |
| 380 | border-radius: 2em; |
| 381 | font-size: 12px; |
| 382 | line-height: 2em; |
| 383 | } |
| 384 | .share_btn:hover{ |
| 385 | opacity: 0.5; |
| 386 | color: #fff; |
| 387 | } |
| 388 | .share_btn:active, .share_btn:focus{ |
| 389 | color: #fff; |
| 390 | } |
| 391 | .share_btn .dashicons { |
| 392 | font-size: 14px; |
| 393 | margin: 5px 2px 0 0; |
| 394 | height: 14px; |
| 395 | } |
| 396 | .share_btn.twitter{ |
| 397 | background-color: #2196F3; |
| 398 | } |
| 399 | .share_btn.googleplus{ |
| 400 | background-color: #dd4b39; |
| 401 | } |
| 402 | .share_btn.rate_btn .dashicons{ |
| 403 | color: #FF9800; |
| 404 | } |
| 405 | |
| 406 | .coffee_box{ |
| 407 | padding: 15px 15px 25px 15px; |
| 408 | border: 1px solid #4CAF50; |
| 409 | padding-left: 18%; |
| 410 | background: url(../images/coffee.svg) no-repeat; |
| 411 | border-radius: 3px; |
| 412 | background-position: 30px center; |
| 413 | margin: 30px 0 15px 0; |
| 414 | background-size: 84px; |
| 415 | } |
| 416 | .coffee_box .coffee_amt { |
| 417 | width: 120px; |
| 418 | padding: 5px; |
| 419 | height: auto; |
| 420 | font-size: 1.5em; |
| 421 | } |
| 422 | .coffee_amt_wrap{ |
| 423 | float: right; |
| 424 | margin: 0 30px; |
| 425 | } |
| 426 | .credits_box{ |
| 427 | font-size: 12px; |
| 428 | font-style: italic; |
| 429 | color: #757575; |
| 430 | } |
| 431 | .credits_box img { |
| 432 | vertical-align: middle; |
| 433 | margin-right: 5px; |
| 434 | } |
| 435 | |
| 436 | #import_form{ |
| 437 | display: none; |
| 438 | } |
| 439 | .search_btn .search_box{ |
| 440 | display: none; |
| 441 | } |
| 442 | .search_btn.active .search_box{ |
| 443 | display: inline; |
| 444 | } |
| 445 | .search_box{ |
| 446 | height: 26px; |
| 447 | border: 0; |
| 448 | margin: 0 -10px 0 10px; |
| 449 | border-left: 1px solid #ccc; |
| 450 | border-radius: 0 3px 3px 0; |
| 451 | } |
| 452 | .search_btn .dashicons-search{ |
| 453 | position: relative; |
| 454 | } |
| 455 | .search_btn.filtered .dashicons-search{ |
| 456 | color: #f44336; |
| 457 | } |
| 458 | .search_empty_msg{ |
| 459 | margin: 40px 0 20px 0; |
| 460 | } |
| 461 | |
| 462 | .sc_note{ |
| 463 | background: #fffbdc; |
| 464 | padding: 10px; |
| 465 | color: #965400; |
| 466 | border-radius: 5px; |
| 467 | position: relative; |
| 468 | padding-left: 50px; |
| 469 | box-shadow: 0 2px 1px -2px; |
| 470 | display: none; |
| 471 | } |
| 472 | .sc_note:before { |
| 473 | content: "\f348"; |
| 474 | font-family: dashicons; |
| 475 | position: absolute; |
| 476 | left: 15px; |
| 477 | font-size: 25px; |
| 478 | opacity: 0.8; |
| 479 | top: 12px; |
| 480 | } |
| 481 | .sc_note_btn { |
| 482 | margin: 0 0 0 5px; |
| 483 | font-size: 15px; |
| 484 | height: 15px; |
| 485 | vertical-align: middle; |
| 486 | } |
| 487 | |
| 488 | .sc_editor_list { |
| 489 | position: relative; |
| 490 | display: inline-block; |
| 491 | } |
| 492 | .sc_editor_list select{ |
| 493 | padding: 0 30px !important; |
| 494 | } |
| 495 | .sc_editor_list:before { |
| 496 | font-family: Dashicons; |
| 497 | position: absolute; |
| 498 | left: 10px; |
| 499 | top: 6px; |
| 500 | } |
| 501 | .sc_editor_icon_text:before{ |
| 502 | content: "\f215"; |
| 503 | } |
| 504 | .sc_editor_icon_visual:before{ |
| 505 | content: "\f177"; |
| 506 | } |
| 507 | .sc_editor_icon_code:before{ |
| 508 | content: "\f475"; |
| 509 | } |
| 510 | .sc_editor_list:after{ |
| 511 | font-family: Dashicons; |
| 512 | content: "\f140"; |
| 513 | position: absolute; |
| 514 | right: 25px; |
| 515 | top: 15px; |
| 516 | font-size: 15px; |
| 517 | padding: 0; |
| 518 | width: 0; |
| 519 | height: 0; |
| 520 | line-height: 0; |
| 521 | } |
| 522 | |
| 523 | .sc_cm_menu .sc_editor_list{ |
| 524 | margin-left: 5px; |
| 525 | } |
| 526 | |
| 527 | .rate_link{ |
| 528 | float: right; |
| 529 | } |
| 530 | .rate_link .dashicons{ |
| 531 | color: #e7711b; |
| 532 | text-decoration: none; |
| 533 | font-size: 13px; |
| 534 | } |
| 535 | .rate_link:hover .dashicons{ |
| 536 | text-decoration: underline; |
| 537 | } |
| 538 | .rate_link .dashicons { |
| 539 | font-size: 12px; |
| 540 | margin: 5px 0 0 0; |
| 541 | } |
| 542 | |
| 543 | .help_link{ |
| 544 | margin-left: 10px; |
| 545 | text-decoration: none; |
| 546 | } |
| 547 | .help_link .dashicons{ |
| 548 | font-size: 32px; |
| 549 | width: 32px; |
| 550 | height: 32px; |
| 551 | color: #607D8B; |
| 552 | } |
| 553 | .help_link:hover .dashicons{ |
| 554 | color: #000; |
| 555 | } |
| 556 | |
| 557 | .fright{ |
| 558 | float: right; |
| 559 | } |
| 560 | |
| 561 | @keyframes spin { |
| 562 | from {transform:rotate(0deg);} |
| 563 | to {transform:rotate(360deg);} |
| 564 | } |
| 565 | |
| 566 | .clearfix:after{ |
| 567 | clear: both; |
| 568 | content: "."; |
| 569 | display: block; |
| 570 | height: 0; |
| 571 | visibility: hidden; |
| 572 | font-size: 0; |
| 573 | } |
| 574 | |
| 575 | .CodeMirror{ |
| 576 | border: 1px solid #ccc; |
| 577 | margin-top: 15px; |
| 578 | } |
| 579 | |
| 580 | @media screen and (max-width: 950px) { |
| 581 | .sc_settings { |
| 582 | display: block; |
| 583 | } |
| 584 | .sc_settings .sc_section { |
| 585 | margin-bottom: 20px; |
| 586 | } |
| 587 | } |
| 588 | |
| 589 | [tooltip]{ |
| 590 | margin: 20px 60px; |
| 591 | position:relative; |
| 592 | display:inline-block; |
| 593 | } |
| 594 | [tooltip]::before { |
| 595 | content: ""; |
| 596 | position: absolute; |
| 597 | top:-6px; |
| 598 | left:50%; |
| 599 | transform: translateX(-50%); |
| 600 | border-width: 4px 6px 0 6px; |
| 601 | border-style: solid; |
| 602 | border-color: rgba(0,0,0,0.7) transparent transparent transparent; |
| 603 | z-index: 99; |
| 604 | opacity:0; |
| 605 | } |
| 606 | [tooltip]::after { |
| 607 | content: attr(tooltip); |
| 608 | position: absolute; |
| 609 | left:50%; |
| 610 | top:-6px; |
| 611 | transform: translateX(-50%) translateY(-100%); |
| 612 | background: rgba(0,0,0,0.7); |
| 613 | text-align: center; |
| 614 | color: #fff; |
| 615 | padding: 2px 8px !important; |
| 616 | font-size: 12px; |
| 617 | min-width: 80px; |
| 618 | border-radius: 5px; |
| 619 | pointer-events: none; |
| 620 | padding: 4px 4px; |
| 621 | z-index:99; |
| 622 | opacity:0; |
| 623 | } |
| 624 | [tooltip]:hover::after,[tooltip]:hover::before { |
| 625 | opacity:1 |
| 626 | } |