|
49 | 49 | /*------------------------------------*\
|
50 | 50 | $PATTERN LAB INTERFACE
|
51 | 51 | \*------------------------------------*/
|
52 |
| - |
53 | 52 | #patternlab-html, #patternlab-body {
|
54 | 53 | margin: 0;
|
55 | 54 | padding: 0;
|
|
70 | 69 | clip: rect(1px, 1px, 1px, 1px); }
|
71 | 70 |
|
72 | 71 | .sg-cf, .sg-pattern {
|
73 |
| - /*zoom: 1;*/ } |
| 72 | + /**zoom: 1;*/ } |
74 | 73 | .sg-cf:before, .sg-pattern:before, .sg-cf:after, .sg-pattern:after {
|
75 | 74 | content: " ";
|
76 | 75 | display: table; }
|
|
227 | 226 | min-width: 0; }
|
228 | 227 | .sg-controls .sg-nav-phases .sg-acc-panel.active {
|
229 | 228 | max-height: none; }
|
| 229 | + @media all and (min-width: 69.5em) { |
| 230 | + .sg-controls { |
| 231 | + width: 41.5em; } } |
230 | 232 |
|
231 | 233 | .sg-control-trigger {
|
232 | 234 | border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
|
|
263 | 265 | .sg-current-size:hover .sg-input {
|
264 | 266 | background: #999999;
|
265 | 267 | color: #000; }
|
266 |
| - @media all and (min-width: 72.5em) { |
| 268 | + @media all and (min-width: 69.5em) { |
267 | 269 | .sg-current-size {
|
268 | 270 | float: left; } }
|
269 | 271 |
|
|
273 | 275 | .sg-size {
|
274 | 276 | width: auto; } }
|
275 | 277 |
|
276 |
| -@media all and (min-width: 72.5em) { |
| 278 | +@media all and (min-width: 69.5em) { |
277 | 279 | .sg-size-options {
|
278 | 280 | float: left;
|
279 | 281 | position: static;
|
|
284 | 286 | border: 0;
|
285 | 287 | border-left: 1px solid rgba(255, 255, 255, 0.05); } }
|
286 | 288 |
|
287 |
| -.sg-find, .sg-mqs { |
288 |
| - display: none; |
289 |
| -} |
| 289 | +.sg-find { |
| 290 | + display: none; } |
290 | 291 |
|
291 | 292 | @media all and (min-width: 48em) {
|
292 |
| - .sg-find, .sg-mqs { |
293 |
| - display: block; |
294 |
| - } |
295 |
| -} |
296 |
| - |
| 293 | + .sg-find { |
| 294 | + display: block; } } |
297 | 295 | #sg-form {
|
298 | 296 | margin: 0;
|
299 | 297 | border: 0;
|
|
322 | 320 | top: 2em;
|
323 | 321 | left: 0; }
|
324 | 322 |
|
325 |
| -.sg-iconitem:before { |
| 323 | +.sg-checkbox:before { |
326 | 324 | display: inline-block;
|
327 | 325 | margin-right: 0.4em; }
|
328 | 326 |
|
|
338 | 336 | bottom: 0;
|
339 | 337 | left: 0;
|
340 | 338 | right: 0;
|
341 |
| - z-index: 0; |
342 |
| -} |
| 339 | + z-index: 0; } |
343 | 340 | #sg-vp-wrap.wrap-animate {
|
344 | 341 | -webkit-transition: left 0.3s ease-out;
|
345 | 342 | -moz-transition: left 0.3s ease-out;
|
|
358 | 355 | bottom: 0;
|
359 | 356 | left: 0;
|
360 | 357 | right: 0;
|
361 |
| - background-color: white; |
362 |
| -} |
| 358 | + background-color: white; } |
363 | 359 | #sg-viewport.hay-mode {
|
364 | 360 | -webkit-transition: all 40s linear;
|
365 | 361 | -moz-transition: all 40s linear;
|
|
387 | 383 | margin: 0 auto;
|
388 | 384 | -webkit-overflow-scrolling: touch;
|
389 | 385 | overflow-y: auto;
|
390 |
| - overflow-x: hidden; |
391 |
| -} |
| 386 | + overflow-x: hidden; } |
392 | 387 | #sg-gen-container.hay-mode {
|
393 | 388 | -webkit-transition: all 40s linear;
|
394 | 389 | -moz-transition: all 40s linear;
|
|
401 | 396 | float: right;
|
402 | 397 | margin: 0;
|
403 | 398 | height: 100%;
|
404 |
| - cursor: col-resize; |
405 |
| -} |
| 399 | + cursor: col-resize; } |
406 | 400 |
|
407 | 401 | #sg-rightpull {
|
408 | 402 | margin: 0;
|
|
432 | 426 | \*------------------------------------*/
|
433 | 427 | /* Section Pattern */
|
434 | 428 | .sg-pattern {
|
435 |
| - margin-bottom: 2em; } |
| 429 | + margin-bottom: 2em; |
| 430 | + position: relative; } |
436 | 431 |
|
437 | 432 | /* Section Head */
|
438 | 433 | .sg-pattern-head {
|
|
522 | 517 | color: #fff;
|
523 | 518 | text-transform: uppercase;
|
524 | 519 | text-decoration: none;
|
525 |
| - text-align: right; |
| 520 | + text-align: right; |
526 | 521 | display: block; }
|
527 | 522 |
|
528 | 523 | .has-annotation {
|
529 | 524 | cursor: help !important;
|
530 |
| - box-shadow: 0 0 10px gray; |
531 |
| - } |
| 525 | + box-shadow: 0 0 10px gray; } |
532 | 526 | .has-annotation a, .has-annotation input {
|
533 | 527 | cursor: help !important; }
|
534 | 528 | .has-annotation:hover {
|
|
537 | 531 | box-shadow: inset 0 0 20px gray; }
|
538 | 532 |
|
539 | 533 | .annotation-tip {
|
540 |
| - display: block; |
541 |
| - position: absolute; |
542 |
| - margin-top: -10px !important; |
543 |
| - margin-left: -10px !important; |
544 |
| - width: 25px !important; |
545 |
| - height: 25px !important; |
546 |
| - border-radius: 13px !important; |
547 |
| - text-align: center !important; |
548 |
| - background: #444 !important; |
549 |
| - color: #fff !important; |
550 |
| - font-weight: bold !important; |
551 |
| - font-size: 16px !important; |
552 |
| - z-index: 100; |
553 |
| -} |
| 534 | + display: block; |
| 535 | + position: absolute; |
| 536 | + margin-top: -10px !important; |
| 537 | + margin-left: -10px !important; |
| 538 | + width: 25px !important; |
| 539 | + height: 25px !important; |
| 540 | + border-radius: 13px !important; |
| 541 | + text-align: center !important; |
| 542 | + background: #444 !important; |
| 543 | + color: #fff !important; |
| 544 | + font-weight: bold !important; |
| 545 | + font-size: 16px !important; |
| 546 | + z-index: 100; } |
554 | 547 |
|
555 | 548 | #sg-comments-container {
|
556 | 549 | max-width: 60em;
|
@@ -641,75 +634,70 @@ div.clear {
|
641 | 634 | .spinner {
|
642 | 635 | height: 30px;
|
643 | 636 | width: 30px;
|
644 |
| - margin-left: auto; margin-right: auto; |
| 637 | + margin-left: auto; |
| 638 | + margin-right: auto; |
645 | 639 | background-position: center center;
|
646 | 640 | background-repeat: no-repeat;
|
647 |
| - background: url('../images/spinner.gif'); |
| 641 | + background: url("../images/spinner.gif"); |
648 | 642 | border-radius: 50%;
|
649 | 643 | opacity: .7; }
|
650 | 644 |
|
| 645 | +/* Pattern Lab icon fonts */ |
651 | 646 | /* Pattern Lab icon fonts */
|
652 | 647 | @font-face {
|
653 |
| - font-family: 'icomoon'; |
654 |
| - src:url('../fonts/icomoon.eot?srsv7g'); |
655 |
| - src:url('../fonts/icomoon.eot?#iefixsrsv7g') format('embedded-opentype'), |
656 |
| - url('../fonts/icomoon.woff?srsv7g') format('woff'), |
657 |
| - url('../fonts/icomoon.ttf?srsv7g') format('truetype'), |
658 |
| - url('../fonts/icomoon.svg?srsv7g#icomoon') format('svg'); |
659 |
| - font-weight: normal; |
660 |
| - font-style: normal; |
661 |
| -} |
662 |
| - |
663 |
| -.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 { |
664 |
| - font-family: 'icomoon'; |
665 |
| - speak: none; |
666 |
| - font-style: normal; |
667 |
| - font-weight: normal; |
668 |
| - font-variant: normal; |
669 |
| - text-transform: none; |
670 |
| - line-height: 1; |
671 |
| - |
672 |
| - /* Better Font Rendering =========== */ |
673 |
| - -webkit-font-smoothing: antialiased; |
674 |
| - -moz-osx-font-smoothing: grayscale; |
675 |
| -} |
| 648 | + font-family: 'icomoon'; |
| 649 | + src: url("../fonts/icomoon.eot?srsv7g"); |
| 650 | + src: url("../fonts/icomoon.eot?#iefixsrsv7g") format("embedded-opentype"), url("../fonts/icomoon.woff?srsv7g") format("woff"), url("../fonts/icomoon.ttf?srsv7g") format("truetype"), url("../fonts/icomoon.svg?srsv7g#icomoon") format("svg"); |
| 651 | + font-weight: normal; |
| 652 | + font-style: normal; } |
| 653 | + |
| 654 | +.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-checkbox { |
| 655 | + font-family: 'icomoon'; |
| 656 | + speak: none; |
| 657 | + font-style: normal; |
| 658 | + font-weight: normal; |
| 659 | + font-variant: normal; |
| 660 | + text-transform: none; |
| 661 | + line-height: 1; |
| 662 | + /* Better Font Rendering =========== */ |
| 663 | + -webkit-font-smoothing: antialiased; |
| 664 | + -moz-osx-font-smoothing: grayscale; } |
676 | 665 |
|
677 | 666 | .icon-search:before {
|
678 |
| - content: "\e600"; |
679 |
| -} |
| 667 | + content: "\e600"; } |
| 668 | + |
680 | 669 | .icon-cog:before {
|
681 |
| - content: "\e601"; |
682 |
| -} |
| 670 | + content: "\e601"; } |
| 671 | + |
683 | 672 | .icon-minus:before {
|
684 |
| - content: "\e602"; |
685 |
| -} |
| 673 | + content: "\e602"; } |
| 674 | + |
686 | 675 | .icon-plus:before {
|
687 |
| - content: "\e603"; |
688 |
| -} |
| 676 | + content: "\e603"; } |
| 677 | + |
689 | 678 | .icon-menu:before {
|
690 |
| - content: "\e604"; |
691 |
| -} |
| 679 | + content: "\e604"; } |
| 680 | + |
692 | 681 | .icon-radio-checked:before, .sg-checkbox.active:before {
|
693 |
| - content: "\e605"; |
694 |
| -} |
| 682 | + content: "\e605"; } |
| 683 | + |
695 | 684 | .icon-radio-unchecked:before, .sg-checkbox:before {
|
696 |
| - content: "\e606"; |
697 |
| -} |
| 685 | + content: "\e606"; } |
| 686 | + |
698 | 687 | .icon-file:before {
|
699 |
| - content: "\e607"; |
700 |
| -} |
| 688 | + content: "\e607"; } |
| 689 | + |
701 | 690 | .icon-link:before {
|
702 |
| - content: "\e608"; |
703 |
| -} |
| 691 | + content: "\e608"; } |
| 692 | + |
704 | 693 | .icon-keyboard:before {
|
705 |
| - content: "\e609"; |
706 |
| -} |
| 694 | + content: "\e609"; } |
| 695 | + |
707 | 696 | .icon-qrcode:before {
|
708 |
| - content: "\e60a"; |
709 |
| -} |
| 697 | + content: "\e60a"; } |
| 698 | + |
710 | 699 | .icon-eye:before {
|
711 |
| - content: "\e60b"; |
712 |
| -} |
| 700 | + content: "\e60b"; } |
713 | 701 |
|
714 | 702 | /******************************************************************/
|
715 | 703 | /* End Pattern Lab Interface code */
|
|
0 commit comments