style.css
627 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 | font-family: "Courier New", serif; |
| 216 | background: transparent !important; |
| 217 | border: none !important; |
| 218 | box-shadow: none !important; |
| 219 | font-size: 13px; |
| 220 | padding: 0 !important; |
| 221 | cursor: text; |
| 222 | margin: 0 !important; |
| 223 | } |
| 224 | .sc_copy_field:readonly{ |
| 225 | color: #000; |
| 226 | } |
| 227 | |
| 228 | .sc_menu{ |
| 229 | position: absolute; |
| 230 | top: 10px; |
| 231 | right: 20px; |
| 232 | } |
| 233 | .sc_menu > *{ |
| 234 | margin-left: 10px !important; |
| 235 | } |
| 236 | |
| 237 | #content .button .dashicons{ |
| 238 | margin: 0.5em 0 0 0; |
| 239 | font-size: 15px; |
| 240 | } |
| 241 | |
| 242 | .sc_section{ |
| 243 | margin: 0 0 20px 0; |
| 244 | } |
| 245 | .sc_section label{ |
| 246 | display: block; |
| 247 | margin: 0 0 10px 0; |
| 248 | } |
| 249 | .sc_section label select{ |
| 250 | font-size: 12px; |
| 251 | margin-top: 10px; |
| 252 | } |
| 253 | |
| 254 | .sc_settings { |
| 255 | display: flex; |
| 256 | flex-wrap: wrap; |
| 257 | } |
| 258 | .sc_settings .sc_section { |
| 259 | flex: 1; |
| 260 | margin-bottom: 0; |
| 261 | } |
| 262 | |
| 263 | #sc_name{ |
| 264 | padding: 10px; |
| 265 | } |
| 266 | .sc_name_wrap { |
| 267 | position: relative; |
| 268 | } |
| 269 | |
| 270 | .sc_name_wrap > .copy_shortcode { |
| 271 | position: absolute; |
| 272 | top: 1px; |
| 273 | right: 1px; |
| 274 | bottom: 1px; |
| 275 | padding: 10px; |
| 276 | border-left: 1px solid #d0d0d0; |
| 277 | background: rgba(255, 255, 255, 0.5); |
| 278 | } |
| 279 | |
| 280 | .page_footer{ |
| 281 | margin: 30px -20px -20px -20px; |
| 282 | background: #f7f7f7; |
| 283 | padding: 20px; |
| 284 | border-top: 1px solid #dfdfdf; |
| 285 | border-radius: 0 0 5px 5px; |
| 286 | } |
| 287 | .page_footer .sc_delete_ep{ |
| 288 | float: right; |
| 289 | } |
| 290 | .page_footer .sc_delete_ep:hover{ |
| 291 | color: red; |
| 292 | } |
| 293 | |
| 294 | .wrap .notice{ |
| 295 | margin-bottom: 0; |
| 296 | } |
| 297 | |
| 298 | .params_wrap{ |
| 299 | box-shadow: 0 3px 5px rgba(0,0,0,.2); |
| 300 | border: 1px solid #dfdfdf; |
| 301 | margin: 0; |
| 302 | position: absolute; |
| 303 | display: none; |
| 304 | background: #fff; |
| 305 | z-index: 9999; |
| 306 | } |
| 307 | .params_wrap li{ |
| 308 | position: relative; |
| 309 | background: #fff; |
| 310 | margin: 0; |
| 311 | padding: 7px 10px; |
| 312 | width: 200px; |
| 313 | border-bottom: 1px solid #dfdfdf; |
| 314 | cursor: pointer; |
| 315 | } |
| 316 | .params_wrap li:hover{ |
| 317 | background: lightyellow; |
| 318 | } |
| 319 | .params_wrap > li:after{ |
| 320 | position: absolute; |
| 321 | font-family: dashicons; |
| 322 | content: "\f139"; |
| 323 | right: 5px; |
| 324 | top: 7px; |
| 325 | } |
| 326 | .params_wrap li:last-child{ |
| 327 | border: 0; |
| 328 | } |
| 329 | .params_wrap li ul{ |
| 330 | background: #fff; |
| 331 | position: absolute; |
| 332 | display: none; |
| 333 | top: 0; |
| 334 | left: 100%; |
| 335 | box-shadow: 0 3px 5px rgba(0,0,0,.2); |
| 336 | border: 1px solid #dfdfdf; |
| 337 | z-index: 9999; |
| 338 | max-height: 300px; |
| 339 | overflow: auto; |
| 340 | } |
| 341 | .params_wrap li:hover ul{ |
| 342 | display: block; |
| 343 | } |
| 344 | |
| 345 | .params_wrap .isc_form{ |
| 346 | cursor: auto; |
| 347 | width: 330px; |
| 348 | } |
| 349 | .isc_form h4{ |
| 350 | margin: 0 0 15px 0; |
| 351 | } |
| 352 | .isc_info{ |
| 353 | margin: 5px 0; |
| 354 | } |
| 355 | .isc_info.red{ |
| 356 | color: red; |
| 357 | } |
| 358 | |
| 359 | .top_sharebar{ |
| 360 | position: absolute; |
| 361 | right: 0; |
| 362 | top: 24px; |
| 363 | } |
| 364 | .top_sharebar > * { |
| 365 | vertical-align: middle; |
| 366 | margin-left: 10px; |
| 367 | float: right; |
| 368 | } |
| 369 | .share_text { |
| 370 | font-size: 10px; |
| 371 | text-align: right; |
| 372 | line-height: 1.5; |
| 373 | margin-right: 5px; |
| 374 | color: #838383; |
| 375 | } |
| 376 | .share_btn{ |
| 377 | background: #333; |
| 378 | color: #fff; |
| 379 | text-decoration: none; |
| 380 | padding: 2px 10px; |
| 381 | border-radius: 2em; |
| 382 | font-size: 12px; |
| 383 | line-height: 2em; |
| 384 | } |
| 385 | .share_btn:hover{ |
| 386 | opacity: 0.5; |
| 387 | color: #fff; |
| 388 | } |
| 389 | .share_btn:active, .share_btn:focus{ |
| 390 | color: #fff; |
| 391 | } |
| 392 | .share_btn .dashicons { |
| 393 | font-size: 14px; |
| 394 | margin: 5px 2px 0 0; |
| 395 | height: 14px; |
| 396 | } |
| 397 | .share_btn.twitter{ |
| 398 | background-color: #2196F3; |
| 399 | } |
| 400 | .share_btn.googleplus{ |
| 401 | background-color: #dd4b39; |
| 402 | } |
| 403 | .share_btn.rate_btn .dashicons{ |
| 404 | color: #FF9800; |
| 405 | } |
| 406 | |
| 407 | .coffee_box{ |
| 408 | padding: 15px 15px 25px 15px; |
| 409 | border: 1px solid #4CAF50; |
| 410 | padding-left: 18%; |
| 411 | background: url(../images/coffee.svg) no-repeat; |
| 412 | border-radius: 3px; |
| 413 | background-position: 30px center; |
| 414 | margin: 30px 0 15px 0; |
| 415 | background-size: 84px; |
| 416 | } |
| 417 | .coffee_box .coffee_amt { |
| 418 | width: 120px; |
| 419 | padding: 5px; |
| 420 | height: auto; |
| 421 | font-size: 1.5em; |
| 422 | } |
| 423 | .coffee_amt_wrap{ |
| 424 | float: right; |
| 425 | margin: 0 30px; |
| 426 | } |
| 427 | .credits_box{ |
| 428 | font-size: 12px; |
| 429 | font-style: italic; |
| 430 | color: #757575; |
| 431 | } |
| 432 | .credits_box img { |
| 433 | vertical-align: middle; |
| 434 | margin-right: 5px; |
| 435 | } |
| 436 | |
| 437 | #import_form{ |
| 438 | display: none; |
| 439 | } |
| 440 | .search_btn .search_box{ |
| 441 | display: none; |
| 442 | } |
| 443 | .search_btn.active .search_box{ |
| 444 | display: inline; |
| 445 | } |
| 446 | .search_box{ |
| 447 | height: 26px; |
| 448 | border: 0; |
| 449 | margin: 0 -10px 0 10px; |
| 450 | border-left: 1px solid #ccc; |
| 451 | border-radius: 0 3px 3px 0; |
| 452 | } |
| 453 | .search_btn .dashicons-search{ |
| 454 | position: relative; |
| 455 | } |
| 456 | .search_btn.filtered .dashicons-search{ |
| 457 | color: #f44336; |
| 458 | } |
| 459 | .search_empty_msg{ |
| 460 | margin: 40px 0 20px 0; |
| 461 | } |
| 462 | |
| 463 | .sc_note{ |
| 464 | background: #fffbdc; |
| 465 | padding: 10px; |
| 466 | color: #965400; |
| 467 | border-radius: 5px; |
| 468 | position: relative; |
| 469 | padding-left: 50px; |
| 470 | box-shadow: 0 2px 1px -2px; |
| 471 | display: none; |
| 472 | } |
| 473 | .sc_note:before { |
| 474 | content: "\f348"; |
| 475 | font-family: dashicons; |
| 476 | position: absolute; |
| 477 | left: 15px; |
| 478 | font-size: 25px; |
| 479 | opacity: 0.8; |
| 480 | top: 12px; |
| 481 | } |
| 482 | .sc_note_btn { |
| 483 | margin: 0 0 0 5px; |
| 484 | font-size: 15px; |
| 485 | height: 15px; |
| 486 | vertical-align: middle; |
| 487 | } |
| 488 | |
| 489 | .sc_editor_list { |
| 490 | position: relative; |
| 491 | display: inline-block; |
| 492 | } |
| 493 | .sc_editor_list select{ |
| 494 | padding: 0 30px !important; |
| 495 | } |
| 496 | .sc_editor_list:before { |
| 497 | font-family: Dashicons; |
| 498 | position: absolute; |
| 499 | left: 10px; |
| 500 | top: 6px; |
| 501 | } |
| 502 | .sc_editor_icon_text:before{ |
| 503 | content: "\f215"; |
| 504 | } |
| 505 | .sc_editor_icon_visual:before{ |
| 506 | content: "\f177"; |
| 507 | } |
| 508 | .sc_editor_icon_code:before{ |
| 509 | content: "\f475"; |
| 510 | } |
| 511 | .sc_editor_list:after{ |
| 512 | font-family: Dashicons; |
| 513 | content: "\f140"; |
| 514 | position: absolute; |
| 515 | right: 25px; |
| 516 | top: 15px; |
| 517 | font-size: 15px; |
| 518 | padding: 0; |
| 519 | width: 0; |
| 520 | height: 0; |
| 521 | line-height: 0; |
| 522 | } |
| 523 | |
| 524 | .sc_cm_menu .sc_editor_list{ |
| 525 | margin-left: 5px; |
| 526 | } |
| 527 | |
| 528 | .rate_link{ |
| 529 | float: right; |
| 530 | } |
| 531 | .rate_link .dashicons{ |
| 532 | color: #e7711b; |
| 533 | text-decoration: none; |
| 534 | font-size: 13px; |
| 535 | } |
| 536 | .rate_link:hover .dashicons{ |
| 537 | text-decoration: underline; |
| 538 | } |
| 539 | .rate_link .dashicons { |
| 540 | font-size: 12px; |
| 541 | margin: 5px 0 0 0; |
| 542 | } |
| 543 | |
| 544 | .help_link{ |
| 545 | margin-left: 10px; |
| 546 | text-decoration: none; |
| 547 | } |
| 548 | .help_link .dashicons{ |
| 549 | font-size: 32px; |
| 550 | width: 32px; |
| 551 | height: 32px; |
| 552 | color: #607D8B; |
| 553 | } |
| 554 | .help_link:hover .dashicons{ |
| 555 | color: #000; |
| 556 | } |
| 557 | |
| 558 | .fright{ |
| 559 | float: right; |
| 560 | } |
| 561 | |
| 562 | @keyframes spin { |
| 563 | from {transform:rotate(0deg);} |
| 564 | to {transform:rotate(360deg);} |
| 565 | } |
| 566 | |
| 567 | .clearfix:after{ |
| 568 | clear: both; |
| 569 | content: "."; |
| 570 | display: block; |
| 571 | height: 0; |
| 572 | visibility: hidden; |
| 573 | font-size: 0; |
| 574 | } |
| 575 | |
| 576 | .CodeMirror{ |
| 577 | border: 1px solid #ccc; |
| 578 | margin-top: 15px; |
| 579 | } |
| 580 | |
| 581 | @media screen and (max-width: 950px) { |
| 582 | .sc_settings { |
| 583 | display: block; |
| 584 | } |
| 585 | .sc_settings .sc_section { |
| 586 | margin-bottom: 20px; |
| 587 | } |
| 588 | } |
| 589 | |
| 590 | [tooltip]{ |
| 591 | margin: 20px 60px; |
| 592 | position:relative; |
| 593 | display:inline-block; |
| 594 | } |
| 595 | [tooltip]::before { |
| 596 | content: ""; |
| 597 | position: absolute; |
| 598 | top:-6px; |
| 599 | left:50%; |
| 600 | transform: translateX(-50%); |
| 601 | border-width: 4px 6px 0 6px; |
| 602 | border-style: solid; |
| 603 | border-color: rgba(0,0,0,0.7) transparent transparent transparent; |
| 604 | z-index: 99; |
| 605 | opacity:0; |
| 606 | } |
| 607 | [tooltip]::after { |
| 608 | content: attr(tooltip); |
| 609 | position: absolute; |
| 610 | left:50%; |
| 611 | top:-6px; |
| 612 | transform: translateX(-50%) translateY(-100%); |
| 613 | background: rgba(0,0,0,0.7); |
| 614 | text-align: center; |
| 615 | color: #fff; |
| 616 | padding: 2px 8px !important; |
| 617 | font-size: 12px; |
| 618 | min-width: 80px; |
| 619 | border-radius: 5px; |
| 620 | pointer-events: none; |
| 621 | padding: 4px 4px; |
| 622 | z-index:99; |
| 623 | opacity:0; |
| 624 | } |
| 625 | [tooltip]:hover::after,[tooltip]:hover::before { |
| 626 | opacity:1 |
| 627 | } |