forever_style_guide 4.2.1 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd2d4bc807d4f937f4f652edbddb382f2894cb78afa593b4bb339d337bb7efc4
|
4
|
+
data.tar.gz: d7e9d2ee85a01a0c932f864d11a117cc877f6fde0a007837992b5aea5cc9e8ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69cf32f4750b350af7c7dd5eb9d847872447e007936129534f81523b7d2465f9b972b89e18e14aa08b1444187507e027c2a0ed51cfd0128ae7c47365fc371866
|
7
|
+
data.tar.gz: 8da0e5e251da0d14a95b11c64bdb3d8f0e3c91957de354f25aed8b06fd33a4077e6732c398879e6733f9c66ca8675c9aba813bbf4c38e4e5385ecdd8167c2da0
|
@@ -20,6 +20,20 @@ $f-nav-icon-hover: #bce5fd;
|
|
20
20
|
}
|
21
21
|
|
22
22
|
.f-primary_nav {
|
23
|
+
/* These rules are to bring the nav look closer to what mars/fui are displaying. They are not needed for mars/fui, as they are applied globally there */
|
24
|
+
-webkit-font-smoothing: antialiased;
|
25
|
+
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
|
26
|
+
image-rendering: -webkit-optimize-contrast !important;
|
27
|
+
}
|
28
|
+
|
29
|
+
/* Unset for Safari 11+ */
|
30
|
+
@media not all and (min-resolution: .001dpcm) {
|
31
|
+
@supports (-webkit-appearance: none) and (stroke-color: transparent) {
|
32
|
+
image-rendering: unset !important;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
/* end of specific rules */
|
36
|
+
|
23
37
|
width: 100%;
|
24
38
|
background-color: #007198;
|
25
39
|
|
@@ -448,13 +462,14 @@ $f-nav-icon-hover: #bce5fd;
|
|
448
462
|
&:nth-child(even) { background-color: $color-gray-200; }
|
449
463
|
|
450
464
|
a {
|
465
|
+
color: #007198; // heroblue default
|
451
466
|
display: block;
|
452
467
|
font-family: $font-face-semibold;
|
453
468
|
line-height: 1;
|
454
469
|
}
|
455
470
|
|
456
471
|
p {
|
457
|
-
margin: 0;
|
472
|
+
margin: 10px 0 10px 0;
|
458
473
|
color: $color-forever_gray;
|
459
474
|
font-family: $font-face-regular;
|
460
475
|
line-height: 1.4;
|
@@ -462,30 +477,26 @@ $f-nav-icon-hover: #bce5fd;
|
|
462
477
|
|
463
478
|
> a { font-size: 20px; }
|
464
479
|
|
465
|
-
.f-primary_nav_cpmeganav_title {
|
466
|
-
display: block;
|
467
|
-
font-family: $font-face-semibold;
|
468
|
-
line-height: 1;
|
469
|
-
font-size: 20px;
|
470
|
-
}
|
471
|
-
|
472
480
|
> p { font-size: $font-size-200; }
|
473
481
|
|
474
|
-
>
|
475
|
-
|
482
|
+
> .f-primary_nav_cpmeganav-categories {
|
483
|
+
margin: 20px -10px 0 -10px; // -10px offsets li padding within
|
476
484
|
display: flex;
|
477
485
|
flex-wrap: wrap;
|
478
486
|
justify-content: flex-start;
|
479
487
|
|
480
488
|
> li {
|
481
|
-
min-width:
|
482
|
-
max-width:
|
489
|
+
min-width: 115px;
|
490
|
+
max-width: 140px;
|
483
491
|
min-height: 60px;
|
484
492
|
margin-bottom: 20px;
|
493
|
+
padding: 0;
|
485
494
|
|
486
495
|
img {
|
487
|
-
|
496
|
+
margin: 0 0 10px 10px;
|
488
497
|
width: 60px;
|
498
|
+
height: 60px;
|
499
|
+
object-fit: contain;
|
489
500
|
}
|
490
501
|
|
491
502
|
> a {
|
@@ -496,7 +507,7 @@ $f-nav-icon-hover: #bce5fd;
|
|
496
507
|
|
497
508
|
> p {
|
498
509
|
font-size: 12px;
|
499
|
-
margin: 4px 0 0
|
510
|
+
margin: 4px 0 0 10px;
|
500
511
|
}
|
501
512
|
|
502
513
|
span.badge {
|
@@ -512,8 +523,8 @@ $f-nav-icon-hover: #bce5fd;
|
|
512
523
|
line-height: 1;
|
513
524
|
}
|
514
525
|
|
515
|
-
>
|
516
|
-
margin: 2px 0 0
|
526
|
+
> .f-primary_nav_cpmeganav-products {
|
527
|
+
margin: 2px 0 0 10px;
|
517
528
|
|
518
529
|
> li {
|
519
530
|
margin: 0 0 2px;
|
@@ -528,6 +539,34 @@ $f-nav-icon-hover: #bce5fd;
|
|
528
539
|
}
|
529
540
|
}
|
530
541
|
}
|
542
|
+
|
543
|
+
&.f-primary_nav_cpmeganav-scrapbooking {
|
544
|
+
> ul {
|
545
|
+
flex-wrap: unset;
|
546
|
+
justify-content: unset;
|
547
|
+
gap: 10px;
|
548
|
+
|
549
|
+
margin-right: 0;
|
550
|
+
margin-left: 0;
|
551
|
+
|
552
|
+
> li {
|
553
|
+
padding: 0;
|
554
|
+
max-width: 300px;
|
555
|
+
|
556
|
+
flex: 1;
|
557
|
+
|
558
|
+
img {
|
559
|
+
margin: 0;
|
560
|
+
float: left;
|
561
|
+
width: 60px;
|
562
|
+
}
|
563
|
+
|
564
|
+
p {
|
565
|
+
margin: 4px 0 0 70px;
|
566
|
+
}
|
567
|
+
}
|
568
|
+
}
|
569
|
+
}
|
531
570
|
}
|
532
571
|
}
|
533
572
|
|
@@ -566,17 +605,39 @@ $f-nav-icon-hover: #bce5fd;
|
|
566
605
|
display: flex;
|
567
606
|
|
568
607
|
> li {
|
569
|
-
> p {
|
608
|
+
> p {
|
609
|
+
margin: 10px 0;
|
610
|
+
min-height: 42px;
|
611
|
+
}
|
570
612
|
|
571
|
-
|
613
|
+
&.f-primary_nav_cpmeganav-autoprint,
|
614
|
+
&.f-primary_nav_cpmeganav-design,
|
615
|
+
&.f-primary_nav_cpmeganav-scrapbooking {
|
616
|
+
width: 33%;
|
617
|
+
}
|
572
618
|
|
573
|
-
|
574
|
-
width: 44%;
|
619
|
+
&.f-primary_nav_cpmeganav-design {
|
575
620
|
background-color: transparent;
|
576
621
|
border-style: solid;
|
577
622
|
border-width: 0 1px;
|
578
623
|
border-color: $color-gray-400;
|
579
624
|
}
|
625
|
+
|
626
|
+
> .f-primary_nav_cpmeganav-categories > li {
|
627
|
+
min-width: 130px;
|
628
|
+
max-width: 300px;
|
629
|
+
flex: 1;
|
630
|
+
}
|
631
|
+
|
632
|
+
&.f-primary_nav_cpmeganav-scrapbooking {
|
633
|
+
> ul {
|
634
|
+
flex-wrap: wrap;
|
635
|
+
|
636
|
+
> li {
|
637
|
+
flex: unset;
|
638
|
+
}
|
639
|
+
}
|
640
|
+
}
|
580
641
|
}
|
581
642
|
}
|
582
643
|
}
|
@@ -589,8 +650,26 @@ $f-nav-icon-hover: #bce5fd;
|
|
589
650
|
|
590
651
|
.f-primary_nav_cpmeganav {
|
591
652
|
> li {
|
592
|
-
|
593
|
-
|
653
|
+
&.f-primary_nav_cpmeganav-autoprint { width: 32%; }
|
654
|
+
&.f-primary_nav_cpmeganav-design { width: 42%; }
|
655
|
+
&.f-primary_nav_cpmeganav-scrapbooking { width: 26%; }
|
656
|
+
|
657
|
+
> .f-primary_nav_cpmeganav-categories > li {
|
658
|
+
flex: unset;
|
659
|
+
|
660
|
+
&.f-primary_nav_cpmeganav-photo-prints {
|
661
|
+
width: 100%;
|
662
|
+
max-width: unset;
|
663
|
+
|
664
|
+
img {
|
665
|
+
margin-right: 10px;
|
666
|
+
float: left;
|
667
|
+
}
|
668
|
+
|
669
|
+
a { margin: 14px 0 0; }
|
670
|
+
p { margin-left: 0; }
|
671
|
+
}
|
672
|
+
}
|
594
673
|
}
|
595
674
|
}
|
596
675
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forever_style_guide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas McClay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Install this as a gem in your Forever app and it will expose style guide
|
14
14
|
through /style-guide route
|