|
224 | 224 | min-width: 0; }
|
225 | 225 | .sg-controls .sg-nav-phases .sg-acc-panel.active {
|
226 | 226 | max-height: none; }
|
227 |
| - @media all and (min-width: 69.5em) { |
228 |
| - .sg-controls { |
229 |
| - width: 41.5em; } } |
230 | 227 |
|
231 | 228 | .sg-control-trigger {
|
232 | 229 | border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
|
|
263 | 260 | .sg-current-size:hover .sg-input {
|
264 | 261 | background: #999999;
|
265 | 262 | color: #000; }
|
266 |
| - @media all and (min-width: 69.5em) { |
| 263 | + @media all and (min-width: 72.5em) { |
267 | 264 | .sg-current-size {
|
268 | 265 | float: left; } }
|
269 | 266 |
|
|
273 | 270 | .sg-size {
|
274 | 271 | width: auto; } }
|
275 | 272 |
|
276 |
| -@media all and (min-width: 69.5em) { |
| 273 | +@media all and (min-width: 72.5em) { |
277 | 274 | .sg-size-options {
|
278 | 275 | float: left;
|
279 | 276 | position: static;
|
|
312 | 309 | top: 2em;
|
313 | 310 | left: 0; }
|
314 | 311 |
|
315 |
| -.sg-checkbox:before { |
| 312 | +.sg-iconitem:before { |
316 | 313 | display: inline-block;
|
317 | 314 | margin-right: 0.4em; }
|
318 | 315 |
|
|
348 | 345 | bottom: 0;
|
349 | 346 | left: 0;
|
350 | 347 | right: 0;
|
| 348 | + background-color: white; |
351 | 349 | }
|
352 | 350 | #sg-viewport.hay-mode {
|
353 | 351 | -webkit-transition: all 40s linear;
|
|
503 | 501 | -o-transition: bottom 0.3s ease-out;
|
504 | 502 | transition: bottom 0.3s ease-out; }
|
505 | 503 |
|
| 504 | +.sg-view-close { |
| 505 | + width: 100%; |
| 506 | + margin-bottom: -10px; } |
| 507 | + |
506 | 508 | .sg-view-close-btn {
|
507 | 509 | color: #fff;
|
508 |
| - position: absolute; |
509 |
| - top: 1em; |
510 |
| - right: 1em; |
511 | 510 | text-transform: uppercase;
|
512 | 511 | text-decoration: none;
|
513 |
| - text-align: right; } |
| 512 | + text-align: right; |
| 513 | + display: block; } |
514 | 514 |
|
515 | 515 | .has-annotation {
|
516 | 516 | cursor: help !important;
|
|
585 | 585 | color: gray;
|
586 | 586 | font-size: 1em; }
|
587 | 587 |
|
588 |
| -/* Pattern Lab icon fonts */ |
589 |
| -@font-face { |
590 |
| - font-family: 'icons'; |
591 |
| - src: url("../assets/icons.eot"); |
592 |
| - src: url("../assets/icons.eot?#iefix") format("embedded-opentype"), url("../assets/icons.woff") format("woff"), url("../assets/icons.ttf") format("truetype"), url("../assets/icons.svg#icons") format("svg"); |
593 |
| - font-weight: normal; |
594 |
| - font-style: normal; } |
| 588 | +#sg-code-markup { |
| 589 | + padding-top: 10px; } |
595 | 590 |
|
596 |
| -.icon-reload, .icon-cog, .icon-minus, .icon-plus, .icon-menu, .icon-checkbox-unchecked, .sg-checkbox, .icon-checkbox-checked, .sg-checkbox.active, .icon-eye { |
597 |
| - font-family: 'icons'; |
598 |
| - speak: none; |
599 |
| - font-style: normal; |
600 |
| - font-weight: normal; |
601 |
| - font-variant: normal; |
602 |
| - text-transform: none; |
603 |
| - line-height: 1; |
604 |
| - -webkit-font-smoothing: antialiased; } |
| 591 | +#sg-code-tabs { |
| 592 | + list-style: none; |
| 593 | + margin: 0; |
| 594 | + padding: 0; } |
605 | 595 |
|
606 |
| -.icon-reload:before { |
607 |
| - content: "\e002"; } |
| 596 | +#sg-code-tabs li { |
| 597 | + float: left; |
| 598 | + background-color: #333; |
| 599 | + font-size: 1.3em; |
| 600 | + font-weight: bold; |
| 601 | + padding: 5px 15px; |
| 602 | + border-top: 2px solid #666; |
| 603 | + margin-right: 2px; |
| 604 | + cursor: pointer; } |
608 | 605 |
|
609 |
| -.icon-cog:before { |
610 |
| - content: "\e000"; } |
| 606 | +.sg-code-title-active { |
| 607 | + color: #bbb; |
| 608 | + background-color: #272822 !important; } |
611 | 609 |
|
612 |
| -.icon-minus:before { |
613 |
| - content: "\e003"; } |
| 610 | +div.clear { |
| 611 | + clear: both; } |
614 | 612 |
|
615 |
| -.icon-plus:before { |
616 |
| - content: "\e004"; } |
| 613 | +.sg-code-patternname { |
| 614 | + color: #aaa; } |
617 | 615 |
|
618 |
| -.icon-menu:before { |
619 |
| - content: "\e005"; } |
| 616 | +#sg-code-loader { |
| 617 | + display: none; |
| 618 | + position: absolute; |
| 619 | + left: 45%; |
| 620 | + top: 20%; |
| 621 | + width: 150px; |
| 622 | + padding: 10px; |
| 623 | + text-align: center; |
| 624 | + border-radius: 10px; |
| 625 | + background-color: #000; |
| 626 | + z-index: 100; } |
| 627 | + |
| 628 | +.spinner { |
| 629 | + height: 30px; |
| 630 | + width: 30px; |
| 631 | + margin-left: auto; margin-right: auto; |
| 632 | + background-position: center center; |
| 633 | + background-repeat: no-repeat; |
| 634 | + background: url('../images/spinner.gif'); |
| 635 | + border-radius: 50%; |
| 636 | + opacity: .7; } |
620 | 637 |
|
621 |
| -.icon-checkbox-unchecked:before, .sg-checkbox:before { |
622 |
| - content: "\e006"; } |
| 638 | +/* Pattern Lab icon fonts */ |
| 639 | +@font-face { |
| 640 | + font-family: 'icomoon'; |
| 641 | + src:url('../fonts/icomoon.eot?srsv7g'); |
| 642 | + src:url('../fonts/icomoon.eot?#iefixsrsv7g') format('embedded-opentype'), |
| 643 | + url('../fonts/icomoon.woff?srsv7g') format('woff'), |
| 644 | + url('../fonts/icomoon.ttf?srsv7g') format('truetype'), |
| 645 | + url('../fonts/icomoon.svg?srsv7g#icomoon') format('svg'); |
| 646 | + font-weight: normal; |
| 647 | + font-style: normal; |
| 648 | +} |
623 | 649 |
|
624 |
| -.icon-checkbox-checked:before, .sg-checkbox.active:before { |
625 |
| - content: "\e007"; } |
| 650 | +.icon-search, .icon-cog, .icon-minus, .icon-plus, .icon-menu, .icon-radio-checked, .icon-radio-unchecked, .icon-file, .icon-link, .icon-keyboard, .icon-qrcode, .icon-eye, .sg-iconitem { |
| 651 | + font-family: 'icomoon'; |
| 652 | + speak: none; |
| 653 | + font-style: normal; |
| 654 | + font-weight: normal; |
| 655 | + font-variant: normal; |
| 656 | + text-transform: none; |
| 657 | + line-height: 1; |
| 658 | + |
| 659 | + /* Better Font Rendering =========== */ |
| 660 | + -webkit-font-smoothing: antialiased; |
| 661 | + -moz-osx-font-smoothing: grayscale; |
| 662 | +} |
626 | 663 |
|
| 664 | +.icon-search:before { |
| 665 | + content: "\e600"; |
| 666 | +} |
| 667 | +.icon-cog:before { |
| 668 | + content: "\e601"; |
| 669 | +} |
| 670 | +.icon-minus:before { |
| 671 | + content: "\e602"; |
| 672 | +} |
| 673 | +.icon-plus:before { |
| 674 | + content: "\e603"; |
| 675 | +} |
| 676 | +.icon-menu:before { |
| 677 | + content: "\e604"; |
| 678 | +} |
| 679 | +.icon-radio-checked:before, .sg-checkbox.active:before { |
| 680 | + content: "\e605"; |
| 681 | +} |
| 682 | +.icon-radio-unchecked:before, .sg-checkbox:before { |
| 683 | + content: "\e606"; |
| 684 | +} |
| 685 | +.icon-file:before { |
| 686 | + content: "\e607"; |
| 687 | +} |
| 688 | +.icon-link:before { |
| 689 | + content: "\e608"; |
| 690 | +} |
| 691 | +.icon-keyboard:before { |
| 692 | + content: "\e609"; |
| 693 | +} |
| 694 | +.icon-qrcode:before { |
| 695 | + content: "\e60a"; |
| 696 | +} |
627 | 697 | .icon-eye:before {
|
628 |
| - content: "\e001"; } |
| 698 | + content: "\e60b"; |
| 699 | +} |
629 | 700 |
|
630 | 701 | /******************************************************************/
|
631 | 702 | /* End Pattern Lab Interface code */
|
|
0 commit comments