forever_style_guide 3.2.18 → 3.3
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 +4 -4
- data/app/assets/images/forever_style_guide/forever-logo-small.svg +1 -0
- data/app/assets/images/forever_style_guide/forever-logo.svg +1 -0
- data/app/assets/stylesheets/forever_style_guide/base/_typography.scss +6 -0
- data/app/assets/stylesheets/forever_style_guide/globals/_breakpoints.scss +3 -1
- data/app/assets/stylesheets/forever_style_guide/globals/_variables.scss +2 -1
- data/app/assets/stylesheets/forever_style_guide/modules/_all.scss +4 -8
- data/app/assets/stylesheets/forever_style_guide/modules/_ambassador_banner.scss +173 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_footer.scss +104 -36
- data/app/assets/stylesheets/forever_style_guide/modules/_impersonation_banner.scss +22 -13
- data/app/assets/stylesheets/forever_style_guide/modules/_mars_manifest.scss +4 -8
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-account_dropdown.scss +193 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-cart.scss +39 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-fixed.scss +0 -1
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-icons.scss +0 -8
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-mobile-menu.scss +111 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_nav.scss +266 -118
- data/app/assets/stylesheets/forever_style_guide/modules/_responsive_utilities.scss +16 -0
- data/app/helpers/forever_style_guide/application_helper.rb +2 -28
- data/lib/forever_style_guide/version.rb +1 -1
- metadata +8 -22
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns-account.scss +0 -60
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns-ambassador.scss +0 -107
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns-help.scss +0 -21
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns.scss +0 -208
- data/app/assets/stylesheets/forever_style_guide/modules/_shame.scss +0 -32
- data/app/views/forever_style_guide/sections/components/footer/_footer.erb +0 -78
- data/app/views/forever_style_guide/sections/components/navigation/_impersonation_banner.erb +0 -10
- data/app/views/forever_style_guide/sections/components/navigation/_nav.erb +0 -73
- data/app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb +0 -24
- data/app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown_menu.erb +0 -86
- data/app/views/forever_style_guide/sections/components/navigation/_nav_account_signed_out_mobile.erb +0 -6
- data/app/views/forever_style_guide/sections/components/navigation/_nav_ambassador_dropdown.erb +0 -112
- data/app/views/forever_style_guide/sections/components/navigation/_nav_cart_icon.erb +0 -4
- data/app/views/forever_style_guide/sections/components/navigation/_nav_community_dropdown.erb +0 -99
- data/app/views/forever_style_guide/sections/components/navigation/_nav_deals.erb +0 -3
- data/app/views/forever_style_guide/sections/components/navigation/_nav_help.erb +0 -10
- data/app/views/forever_style_guide/sections/components/navigation/_nav_help_dropdown_menu.erb +0 -33
- data/app/views/forever_style_guide/sections/components/navigation/_nav_inspiration.erb +0 -3
- data/app/views/forever_style_guide/sections/components/navigation/_nav_my_forever_dropdown.erb +0 -130
- data/app/views/forever_style_guide/sections/components/navigation/_nav_products_dropdown.erb +0 -143
| @@ -1,149 +1,297 @@ | |
| 1 | 
            -
            $ | 
| 2 | 
            -
            $ | 
| 3 | 
            -
            $nav-bg-color: color('gray-700');
         | 
| 1 | 
            +
            $navigation-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
         | 
| 2 | 
            +
            $nav-height: 50px;
         | 
| 4 3 |  | 
| 5 | 
            -
            $ | 
| 6 | 
            -
            $ | 
| 7 | 
            -
            $ | 
| 8 | 
            -
            $ | 
| 4 | 
            +
            $lg-logo-vertical-align: 5px;
         | 
| 5 | 
            +
            $sm-logo-vertical-align: 8px;
         | 
| 6 | 
            +
            $logo-height-large: 28px;
         | 
| 7 | 
            +
            $logo-height-small: 18px;
         | 
| 9 8 |  | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 9 | 
            +
            $nav-horizontal-spacing: 10px;
         | 
| 10 | 
            +
            $nav-horizontal-spacing-small: 3px;
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            $hover-border-size: 4px;
         | 
| 13 | 
            +
            $navigation-link-hover-transition: color 0.15s ease-in-out;
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            $letter-spacing-xlarge: 0.6px;
         | 
| 16 | 
            +
            $letter-spacing-large: 0.5px;
         | 
| 17 | 
            +
            $letter-spacing-medium: 0;
         | 
| 18 | 
            +
            $font-size-150: 13px;
         | 
| 19 | 
            +
             | 
| 20 | 
            +
            $deals-icon-horizontal-position: -3px;
         | 
| 21 | 
            +
            $deals-icon-vertical-position: -5px;
         | 
| 22 | 
            +
             | 
| 23 | 
            +
            // animation on hover
         | 
| 24 | 
            +
            @mixin nav_hover_border($orientation) {
         | 
| 25 | 
            +
              &::before {
         | 
| 26 | 
            +
                position: absolute;
         | 
| 27 | 
            +
                bottom: 0;
         | 
| 28 | 
            +
                left: 0;
         | 
| 29 | 
            +
             | 
| 30 | 
            +
                @if $orientation == horizontal {
         | 
| 31 | 
            +
                  height: $hover-border-size;
         | 
| 32 | 
            +
                  width: 100%;
         | 
| 33 | 
            +
                } @else if $orientation == vertical {
         | 
| 34 | 
            +
                  height: 100%;
         | 
| 35 | 
            +
                  width: $hover-border-size;
         | 
| 36 | 
            +
                }
         | 
| 37 | 
            +
             | 
| 38 | 
            +
                background-color: $color-secondary;
         | 
| 39 | 
            +
                content: "";
         | 
| 40 | 
            +
                transform: scaleX(0);
         | 
| 41 | 
            +
                @include transition(transform 0.15s ease-in-out);
         | 
| 42 | 
            +
              }
         | 
| 43 | 
            +
             | 
| 44 | 
            +
              &:hover {
         | 
| 45 | 
            +
                &::before {
         | 
| 46 | 
            +
                  transform: scaleX(1);
         | 
| 47 | 
            +
                }
         | 
| 13 48 | 
             
              }
         | 
| 14 49 | 
             
            }
         | 
| 15 50 |  | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 51 | 
            +
            .navigation {
         | 
| 52 | 
            +
              box-shadow: $navigation-shadow;
         | 
| 53 | 
            +
             | 
| 54 | 
            +
              .container-fluid > .navbar-header {
         | 
| 55 | 
            +
                @media (min-width: $grid-float-breakpoint) and (max-width: $screen-md) {
         | 
| 56 | 
            +
                  margin-right: -10px;
         | 
| 57 | 
            +
                  margin-left: -10px;
         | 
| 58 | 
            +
                }
         | 
| 20 59 | 
             
              }
         | 
| 21 60 | 
             
            }
         | 
| 22 | 
            -
            .navbar-brand {
         | 
| 23 | 
            -
              position: absolute;
         | 
| 24 | 
            -
              width: 100%;
         | 
| 25 | 
            -
              left: 0;
         | 
| 26 | 
            -
              top: 0;
         | 
| 27 | 
            -
              margin: auto;
         | 
| 28 | 
            -
              padding: $padding-xs-vertical 0 0;
         | 
| 29 | 
            -
              height: $header-height;
         | 
| 30 | 
            -
              text-align: center;
         | 
| 31 61 |  | 
| 32 | 
            -
             | 
| 33 | 
            -
             | 
| 62 | 
            +
            .navbar-logo_image,
         | 
| 63 | 
            +
            .navbar-logo {
         | 
| 64 | 
            +
              height: $logo-height-large;
         | 
| 65 | 
            +
              margin-top: $lg-logo-vertical-align;
         | 
| 66 | 
            +
             | 
| 67 | 
            +
              @media (max-width: $screen-md_to_lg-plus) {
         | 
| 68 | 
            +
                height: $logo-height-small;
         | 
| 69 | 
            +
                margin-top: $sm-logo-vertical-align;
         | 
| 70 | 
            +
              }
         | 
| 71 | 
            +
              @media (max-width: $grid-float-breakpoint) {
         | 
| 72 | 
            +
                display: inline-block;
         | 
| 73 | 
            +
                height: $logo-height-large;
         | 
| 74 | 
            +
                margin-top: $lg-logo-vertical-align;
         | 
| 75 | 
            +
              }
         | 
| 76 | 
            +
              @media (max-width: $screen-sm) {
         | 
| 77 | 
            +
                margin-left: $nav-horizontal-spacing;
         | 
| 34 78 | 
             
              }
         | 
| 79 | 
            +
            }
         | 
| 35 80 |  | 
| 36 | 
            -
             | 
| 37 | 
            -
             | 
| 38 | 
            -
             | 
| 39 | 
            -
                padding-left: $header-height;
         | 
| 81 | 
            +
            // main product nav links
         | 
| 82 | 
            +
            .navigation-menu-list {
         | 
| 83 | 
            +
              height: $nav-height; // TODO - this hsould probably be the $header-height variable, pending further confirmation
         | 
| 40 84 |  | 
| 41 | 
            -
             | 
| 42 | 
            -
             | 
| 43 | 
            -
             | 
| 85 | 
            +
              .navbar-nav.navbar-text_center > li > a {
         | 
| 86 | 
            +
                letter-spacing: $letter-spacing-xlarge;
         | 
| 87 | 
            +
                padding-left: $nav-horizontal-spacing;
         | 
| 88 | 
            +
                padding-right: $nav-horizontal-spacing;
         | 
| 89 | 
            +
                max-height: $nav-height;
         | 
| 90 | 
            +
             | 
| 91 | 
            +
                @media (max-width: $screen-lg-plus) {
         | 
| 92 | 
            +
                  padding-left: 4px;
         | 
| 93 | 
            +
                  padding-right: 4px;
         | 
| 94 | 
            +
                  letter-spacing: $letter-spacing-medium;
         | 
| 44 95 | 
             
                }
         | 
| 45 | 
            -
             | 
| 46 | 
            -
             | 
| 96 | 
            +
             | 
| 97 | 
            +
                @media (min-width: $grid-float-breakpoint) and (max-width: $screen-md_to_lg-plus) {
         | 
| 98 | 
            +
                  font-size: $font-size-150;
         | 
| 47 99 | 
             
                }
         | 
| 48 100 | 
             
              }
         | 
| 49 101 | 
             
            }
         | 
| 50 | 
            -
            .navbar {
         | 
| 51 | 
            -
              min-height: $header-height;
         | 
| 52 | 
            -
              border-radius: 0;
         | 
| 53 | 
            -
              border: none;
         | 
| 54 | 
            -
              @extend %card-shadow;
         | 
| 55 102 |  | 
| 56 | 
            -
             | 
| 57 | 
            -
             | 
| 58 | 
            -
             | 
| 103 | 
            +
            .navbar-text_center {
         | 
| 104 | 
            +
              display: inline-block;
         | 
| 105 | 
            +
              float: none;
         | 
| 106 | 
            +
             | 
| 107 | 
            +
              @media (min-width: $grid-float-breakpoint) and (max-width: $screen-md) {
         | 
| 108 | 
            +
                margin-right: -10px;
         | 
| 109 | 
            +
                margin-left: -10px;
         | 
| 110 | 
            +
              }
         | 
| 59 111 |  | 
| 60 | 
            -
             | 
| 61 | 
            -
             | 
| 62 | 
            -
             | 
| 112 | 
            +
              @media (max-width: $grid-float-breakpoint) {
         | 
| 113 | 
            +
                width: 100%;
         | 
| 114 | 
            +
                padding-left: $nav-horizontal-spacing * 2;
         | 
| 115 | 
            +
                padding-bottom: $nav-horizontal-spacing;
         | 
| 116 | 
            +
                border-bottom: solid 1px $color-gray-300;
         | 
| 117 | 
            +
              }
         | 
| 118 | 
            +
             | 
| 119 | 
            +
              @media (max-width: $screen-sm) {
         | 
| 120 | 
            +
                padding-left: $nav-horizontal-spacing;
         | 
| 121 | 
            +
              }
         | 
| 122 | 
            +
            }
         | 
| 123 | 
            +
             | 
| 124 | 
            +
            .navigation-menu-list_item-active {
         | 
| 125 | 
            +
              a.navigation-items-link {
         | 
| 126 | 
            +
                color: $color-secondary;
         | 
| 127 | 
            +
             | 
| 128 | 
            +
                &::before {
         | 
| 129 | 
            +
                  background-color: $color-secondary;
         | 
| 130 | 
            +
                  transform: scaleX(1);
         | 
| 63 131 | 
             
                }
         | 
| 132 | 
            +
              }
         | 
| 133 | 
            +
            }
         | 
| 64 134 |  | 
| 65 | 
            -
             | 
| 66 | 
            -
             | 
| 67 | 
            -
             | 
| 68 | 
            -
             | 
| 69 | 
            -
             | 
| 70 | 
            -
             | 
| 71 | 
            -
             | 
| 72 | 
            -
             | 
| 73 | 
            -
             | 
| 74 | 
            -
             | 
| 75 | 
            -
             | 
| 76 | 
            -
             | 
| 77 | 
            -
             | 
| 78 | 
            -
             | 
| 79 | 
            -
             | 
| 80 | 
            -
             | 
| 81 | 
            -
             | 
| 82 | 
            -
             | 
| 83 | 
            -
             | 
| 84 | 
            -
             | 
| 85 | 
            -
             | 
| 86 | 
            -
             | 
| 87 | 
            -
             | 
| 88 | 
            -
             | 
| 89 | 
            -
             | 
| 90 | 
            -
             | 
| 91 | 
            -
                  }
         | 
| 92 | 
            -
                  &:hover {
         | 
| 93 | 
            -
                    @media (min-width: $grid-float-breakpoint-max) {
         | 
| 94 | 
            -
                      background-color: color('gray-300');
         | 
| 95 | 
            -
                    }
         | 
| 96 | 
            -
                  }
         | 
| 97 | 
            -
                  &.dropdown-toggle {
         | 
| 98 | 
            -
                    @media (min-width: $grid-float-breakpoint) {
         | 
| 99 | 
            -
                      padding-right: $nav-li-a-padding-right-desktop;
         | 
| 100 | 
            -
                    }
         | 
| 101 | 
            -
                    @media (min-width: $grid-float-breakpoint) and (max-width: $screen-md_to_lg) {
         | 
| 102 | 
            -
                      padding-left: $nav-li-a-padding-base;
         | 
| 103 | 
            -
                      padding-right: $nav-li-a-padding-right-md_to_lg;
         | 
| 104 | 
            -
                    }
         | 
| 105 | 
            -
                    @media (min-width: $screen-md_to_lg) and (max-width: $screen-lg) {
         | 
| 106 | 
            -
                      padding-left: $nav-li-a-padding-base + 2;
         | 
| 107 | 
            -
                      padding-right: $nav-li-a-padding-right-lg;
         | 
| 108 | 
            -
                    }
         | 
| 109 | 
            -
                  }
         | 
| 135 | 
            +
            a.navigation-items-link {
         | 
| 136 | 
            +
              padding-top: $padding-default-vertical;
         | 
| 137 | 
            +
              padding-bottom: $padding-default-vertical;
         | 
| 138 | 
            +
              color: $color-gray-600;
         | 
| 139 | 
            +
              text-transform: uppercase;
         | 
| 140 | 
            +
              text-decoration: none;
         | 
| 141 | 
            +
             | 
| 142 | 
            +
              @media screen and (min-width: $screen-sm) {
         | 
| 143 | 
            +
                align-items: center;
         | 
| 144 | 
            +
                height: 100%;
         | 
| 145 | 
            +
                @include transition($navigation-link-hover-transition);
         | 
| 146 | 
            +
                @include nav_hover_border(horizontal)
         | 
| 147 | 
            +
              }
         | 
| 148 | 
            +
             | 
| 149 | 
            +
              @media screen and (min-width: $screen-lg) {
         | 
| 150 | 
            +
                font-size: $font-size-200;
         | 
| 151 | 
            +
              }
         | 
| 152 | 
            +
             | 
| 153 | 
            +
              @media (max-width: $grid-float-breakpoint) {
         | 
| 154 | 
            +
                align-items: center;
         | 
| 155 | 
            +
                height: 100%;
         | 
| 156 | 
            +
                @include transition($navigation-link-hover-transition);
         | 
| 157 | 
            +
                @include nav_hover_border(vertical)
         | 
| 158 | 
            +
             | 
| 159 | 
            +
                &:before {
         | 
| 160 | 
            +
                  left: -21px;
         | 
| 110 161 | 
             
                }
         | 
| 111 | 
            -
             | 
| 112 | 
            -
                  color: color('white');
         | 
| 162 | 
            +
              }
         | 
| 113 163 |  | 
| 114 | 
            -
             | 
| 115 | 
            -
             | 
| 116 | 
            -
             | 
| 117 | 
            -
             | 
| 164 | 
            +
              &:hover {
         | 
| 165 | 
            +
                color: $color-secondary;
         | 
| 166 | 
            +
              }
         | 
| 167 | 
            +
            }
         | 
| 168 | 
            +
             | 
| 169 | 
            +
            a.navigation-items-link-deals {
         | 
| 170 | 
            +
              position: relative;
         | 
| 171 | 
            +
              color: $color-warning;
         | 
| 172 | 
            +
             | 
| 173 | 
            +
              &::after {
         | 
| 174 | 
            +
                position: relative;
         | 
| 175 | 
            +
                top: $deals-icon-vertical-position;
         | 
| 176 | 
            +
                right: $deals-icon-horizontal-position;
         | 
| 177 | 
            +
                font-family: 'FontAwesome';
         | 
| 178 | 
            +
                font-size: $font-size-000;
         | 
| 179 | 
            +
                content: "\f005"; // Star
         | 
| 180 | 
            +
              }
         | 
| 181 | 
            +
             | 
| 182 | 
            +
              @media (max-width: $screen-lg-plus) {
         | 
| 183 | 
            +
                &::after {
         | 
| 184 | 
            +
                  font-size: $font-size-100 - 1;
         | 
| 118 185 | 
             
                }
         | 
| 119 | 
            -
             | 
| 120 | 
            -
             | 
| 121 | 
            -
             | 
| 122 | 
            -
             | 
| 123 | 
            -
                   | 
| 124 | 
            -
                    @media (max-width: $grid-float-breakpoint-max) {
         | 
| 125 | 
            -
                      color: color('gray-400');
         | 
| 126 | 
            -
                    }
         | 
| 127 | 
            -
                  }
         | 
| 186 | 
            +
              }
         | 
| 187 | 
            +
             | 
| 188 | 
            +
              @media (max-width: $screen-sm) {
         | 
| 189 | 
            +
                &::after {
         | 
| 190 | 
            +
                  content: none;
         | 
| 128 191 | 
             
                }
         | 
| 129 | 
            -
             | 
| 130 | 
            -
             | 
| 192 | 
            +
              }
         | 
| 193 | 
            +
            }
         | 
| 194 | 
            +
             | 
| 195 | 
            +
            .navbar-nav {
         | 
| 196 | 
            +
              &.navbar-right {
         | 
| 197 | 
            +
                max-height: $nav-height;
         | 
| 198 | 
            +
             | 
| 199 | 
            +
                &.navbar-right-icons-container {
         | 
| 200 | 
            +
                  @media (max-width: $grid-float-breakpoint) {
         | 
| 201 | 
            +
                    float: right !important;
         | 
| 202 | 
            +
                    margin: auto;
         | 
| 203 | 
            +
                  }
         | 
| 204 | 
            +
                  @media (max-width: $screen-sm) {
         | 
| 205 | 
            +
                    margin: 3.5px 0;
         | 
| 206 | 
            +
                  }
         | 
| 131 207 | 
             
                }
         | 
| 132 208 | 
             
              }
         | 
| 133 209 | 
             
            }
         | 
| 134 210 |  | 
| 135 | 
            -
            . | 
| 136 | 
            -
               | 
| 137 | 
            -
               | 
| 138 | 
            -
               | 
| 139 | 
            -
               | 
| 140 | 
            -
             | 
| 211 | 
            +
            .nav > li > a.navigation-user_info-logged_out-log_in_link {
         | 
| 212 | 
            +
              text-transform: uppercase;
         | 
| 213 | 
            +
              color: $color-gray-600;
         | 
| 214 | 
            +
              text-decoration: none;
         | 
| 215 | 
            +
              @include transition(color 0.15s ease-in-out);
         | 
| 216 | 
            +
             | 
| 217 | 
            +
              &:hover {
         | 
| 218 | 
            +
                color: $color-secondary;
         | 
| 219 | 
            +
                text-decoration: none;
         | 
| 220 | 
            +
              }
         | 
| 221 | 
            +
             | 
| 222 | 
            +
              @media (min-width: $grid-float-breakpoint) and (max-width: $screen-md_to_lg-plus) {
         | 
| 223 | 
            +
                padding-left: 5px;
         | 
| 224 | 
            +
                padding-right: 8px; // visual alignment
         | 
| 225 | 
            +
                font-size: $font-size-100;
         | 
| 226 | 
            +
              }
         | 
| 227 | 
            +
             | 
| 228 | 
            +
              @media screen and (min-width: $screen-md) {
         | 
| 229 | 
            +
                margin-left: $nav-horizontal-spacing-small;
         | 
| 230 | 
            +
                letter-spacing: $letter-spacing-large;
         | 
| 231 | 
            +
              }
         | 
| 232 | 
            +
             | 
| 233 | 
            +
              @media screen and (min-width: $screen-lg) {
         | 
| 234 | 
            +
                font-size: $font-size-200;
         | 
| 235 | 
            +
                letter-spacing: 0;
         | 
| 236 | 
            +
                margin-left: 0;
         | 
| 237 | 
            +
              }
         | 
| 238 | 
            +
            }
         | 
| 239 | 
            +
             | 
| 240 | 
            +
            .nav-sign_in-sign_up {
         | 
| 241 | 
            +
              @media (max-width: $screen-xs) {
         | 
| 242 | 
            +
                float: left !important;
         | 
| 243 | 
            +
              }
         | 
| 244 | 
            +
            }
         | 
| 245 | 
            +
             | 
| 246 | 
            +
            .navigation-menu-list_item {
         | 
| 247 | 
            +
              @media (max-width: $grid-float-breakpoint) {
         | 
| 248 | 
            +
                text-align: left;
         | 
| 249 | 
            +
              }
         | 
| 250 | 
            +
             | 
| 251 | 
            +
              @media (max-width: $screen-sm) {
         | 
| 252 | 
            +
                min-width: 300px;
         | 
| 253 | 
            +
                margin-left: $nav-horizontal-spacing;
         | 
| 254 | 
            +
              }
         | 
| 255 | 
            +
            }
         | 
| 141 256 |  | 
| 142 | 
            -
             | 
| 143 | 
            -
             | 
| 144 | 
            -
             | 
| 257 | 
            +
            .navbar-right-icons-container,
         | 
| 258 | 
            +
            .nav > li.navbar-right-icons,
         | 
| 259 | 
            +
            .navbar-mobile-menu {
         | 
| 260 | 
            +
              @media (max-width: $grid-float-breakpoint) {
         | 
| 261 | 
            +
                display: inline-block;
         | 
| 262 | 
            +
                float: right; //aligns mobile menu
         | 
| 145 263 | 
             
              }
         | 
| 146 | 
            -
             | 
| 147 | 
            -
             | 
| 264 | 
            +
            }
         | 
| 265 | 
            +
             | 
| 266 | 
            +
            .navbar-nav > li.navigation-user_info-logged_out.navigation-log_in {
         | 
| 267 | 
            +
              padding-top: 0;
         | 
| 268 | 
            +
            } 
         | 
| 269 | 
            +
             | 
| 270 | 
            +
            .navigation-user_info-logged_out-container {
         | 
| 271 | 
            +
              @media (max-width: $grid-float-breakpoint) {
         | 
| 272 | 
            +
                display: block;
         | 
| 273 | 
            +
              }
         | 
| 274 | 
            +
            }
         | 
| 275 | 
            +
             | 
| 276 | 
            +
            li.navbar-user_info-logged_out {
         | 
| 277 | 
            +
              float: right;
         | 
| 278 | 
            +
             | 
| 279 | 
            +
              @media (max-width: $grid-float-breakpoint) {
         | 
| 280 | 
            +
                display: none;
         | 
| 281 | 
            +
              }
         | 
| 282 | 
            +
            }
         | 
| 283 | 
            +
             | 
| 284 | 
            +
            .btn.btn-sm.navbar-sign_up_btn {
         | 
| 285 | 
            +
              margin-top: 7px; // vertical align custom sized button
         | 
| 286 | 
            +
              margin-right: $padding-default-vertical;
         | 
| 287 | 
            +
              font-size: $font-size-200;
         | 
| 288 | 
            +
            }
         | 
| 289 | 
            +
             | 
| 290 | 
            +
             | 
| 291 | 
            +
            // All-purpose bootstrap override for background-color of links that are not styled as buttons
         | 
| 292 | 
            +
            .nav > li > a:not(.btn) {
         | 
| 293 | 
            +
              &:hover,
         | 
| 294 | 
            +
              &:focus {
         | 
| 295 | 
            +
                background-color: inherit !important;
         | 
| 148 296 | 
             
              }
         | 
| 149 297 | 
             
            }
         | 
| @@ -51,3 +51,19 @@ | |
| 51 51 | 
             
                float: left !important;
         | 
| 52 52 | 
             
              }
         | 
| 53 53 | 
             
            }
         | 
| 54 | 
            +
             | 
| 55 | 
            +
             | 
| 56 | 
            +
            // Utilities for new nav w/ custom breakpoint
         | 
| 57 | 
            +
            .visible-mobile {
         | 
| 58 | 
            +
              display: none !important;
         | 
| 59 | 
            +
             | 
| 60 | 
            +
              @media (max-width: $grid-float-breakpoint) {
         | 
| 61 | 
            +
                display: inline-block !important;
         | 
| 62 | 
            +
              }
         | 
| 63 | 
            +
            }
         | 
| 64 | 
            +
             | 
| 65 | 
            +
            .hidden-mobile {
         | 
| 66 | 
            +
              @media (max-width: $grid-float-breakpoint) {
         | 
| 67 | 
            +
                display: none !important;
         | 
| 68 | 
            +
              }
         | 
| 69 | 
            +
            }
         | 
| @@ -70,34 +70,8 @@ module ForeverStyleGuide | |
| 70 70 | 
             
                end
         | 
| 71 71 |  | 
| 72 72 | 
             
                #active state nav
         | 
| 73 | 
            -
                def is_active?
         | 
| 74 | 
            -
                   | 
| 75 | 
            -
                end
         | 
| 76 | 
            -
             | 
| 77 | 
            -
                def is_in_product_dropdown?
         | 
| 78 | 
            -
                  @pages = [
         | 
| 79 | 
            -
                    'guaranteed_storage', 'add_storage', 'services', 'historian', 'downloads',
         | 
| 80 | 
            -
                    'artisan', 'digital_art', 'digital_art_library', 'forever_print_library' 'p2p',
         | 
| 81 | 
            -
                    'forever_print', 'print', 'prints', 'print_quality',
         | 
| 82 | 
            -
                    'gifts', 'shipping', 'bulk_orders', 'returns',
         | 
| 83 | 
            -
                    'products'
         | 
| 84 | 
            -
                  ]
         | 
| 85 | 
            -
                  is_active?
         | 
| 86 | 
            -
                end
         | 
| 87 | 
            -
             | 
| 88 | 
            -
                def is_in_my_forever_dropdown?
         | 
| 89 | 
            -
                  @pages = ['guarantee', 'about', 'team', 'beliefs']
         | 
| 90 | 
            -
                  is_active?
         | 
| 91 | 
            -
                end
         | 
| 92 | 
            -
             | 
| 93 | 
            -
                def is_in_community_dropdown?
         | 
| 94 | 
            -
                  @pages = ['opportunity', 'find_ambassadors', 'commitments', 'retreats']
         | 
| 95 | 
            -
                  is_active?
         | 
| 96 | 
            -
                end
         | 
| 97 | 
            -
             | 
| 98 | 
            -
                def is_in_deals_dropdown?
         | 
| 99 | 
            -
                  @pages = ['promotions', 'deals']
         | 
| 100 | 
            -
                  is_active?
         | 
| 73 | 
            +
                def is_active?(page_name, product_types = nil)
         | 
| 74 | 
            +
                  controller.controller_name.include?(page_name) || controller.action_name.include?(page_name) || (@product != nil && product_types !=nil && product_types.split(',').include?(@product.product_type) && !@product.name.include?('Historian'))
         | 
| 101 75 | 
             
                end
         | 
| 102 76 |  | 
| 103 77 | 
             
                #User storage methds as seen in web app user.rb
         | 
    
        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: 3. | 
| 4 | 
            +
              version: '3.3'
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Nicholas McClay
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2018- | 
| 11 | 
            +
            date: 2018-02-02 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rails
         | 
| @@ -204,9 +204,11 @@ files: | |
| 204 204 | 
             
            - app/assets/images/forever_style_guide/digiart1.png
         | 
| 205 205 | 
             
            - app/assets/images/forever_style_guide/digiart2.png
         | 
| 206 206 | 
             
            - app/assets/images/forever_style_guide/digiart3.png
         | 
| 207 | 
            +
            - app/assets/images/forever_style_guide/forever-logo-small.svg
         | 
| 207 208 | 
             
            - app/assets/images/forever_style_guide/forever-logo-xs.png
         | 
| 208 209 | 
             
            - app/assets/images/forever_style_guide/forever-logo.jpg
         | 
| 209 210 | 
             
            - app/assets/images/forever_style_guide/forever-logo.png
         | 
| 211 | 
            +
            - app/assets/images/forever_style_guide/forever-logo.svg
         | 
| 210 212 | 
             
            - app/assets/images/forever_style_guide/forever-swirl-logo.png
         | 
| 211 213 | 
             
            - app/assets/images/forever_style_guide/historian-logo-sm.png
         | 
| 212 214 | 
             
            - app/assets/images/forever_style_guide/historian-logo.png
         | 
| @@ -237,6 +239,7 @@ files: | |
| 237 239 | 
             
            - app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
         | 
| 238 240 | 
             
            - app/assets/stylesheets/forever_style_guide/globals/_variables.scss
         | 
| 239 241 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_all.scss
         | 
| 242 | 
            +
            - app/assets/stylesheets/forever_style_guide/modules/_ambassador_banner.scss
         | 
| 240 243 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_avatar.scss
         | 
| 241 244 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_button.scss
         | 
| 242 245 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_checkbox.scss
         | 
| @@ -251,40 +254,23 @@ files: | |
| 251 254 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_list.scss
         | 
| 252 255 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_mars_manifest.scss
         | 
| 253 256 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_modal.scss
         | 
| 254 | 
            -
            - app/assets/stylesheets/forever_style_guide/modules/_nav- | 
| 255 | 
            -
            - app/assets/stylesheets/forever_style_guide/modules/_nav- | 
| 256 | 
            -
            - app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns-help.scss
         | 
| 257 | 
            -
            - app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns.scss
         | 
| 257 | 
            +
            - app/assets/stylesheets/forever_style_guide/modules/_nav-account_dropdown.scss
         | 
| 258 | 
            +
            - app/assets/stylesheets/forever_style_guide/modules/_nav-cart.scss
         | 
| 258 259 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_nav-fixed.scss
         | 
| 259 260 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_nav-icons.scss
         | 
| 260 261 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_nav-item-list.scss
         | 
| 262 | 
            +
            - app/assets/stylesheets/forever_style_guide/modules/_nav-mobile-menu.scss
         | 
| 261 263 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_nav-offcanvas.scss
         | 
| 262 264 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_nav.scss
         | 
| 263 265 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_progress.scss
         | 
| 264 266 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_promo_banner.scss
         | 
| 265 267 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_responsive_utilities.scss
         | 
| 266 268 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_select.scss
         | 
| 267 | 
            -
            - app/assets/stylesheets/forever_style_guide/modules/_shame.scss
         | 
| 268 269 | 
             
            - app/assets/stylesheets/forever_style_guide/modules/_signin.scss
         | 
| 269 270 | 
             
            - app/assets/stylesheets/forever_style_guide/utils/_color-utils.scss
         | 
| 270 271 | 
             
            - app/assets/stylesheets/forever_style_guide/utils/_font-utils.scss
         | 
| 271 272 | 
             
            - app/assets/stylesheets/forever_style_guide/utils/_logger.scss
         | 
| 272 273 | 
             
            - app/helpers/forever_style_guide/application_helper.rb
         | 
| 273 | 
            -
            - app/views/forever_style_guide/sections/components/footer/_footer.erb
         | 
| 274 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_impersonation_banner.erb
         | 
| 275 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav.erb
         | 
| 276 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb
         | 
| 277 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown_menu.erb
         | 
| 278 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav_account_signed_out_mobile.erb
         | 
| 279 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav_ambassador_dropdown.erb
         | 
| 280 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav_cart_icon.erb
         | 
| 281 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav_community_dropdown.erb
         | 
| 282 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav_deals.erb
         | 
| 283 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav_help.erb
         | 
| 284 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav_help_dropdown_menu.erb
         | 
| 285 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav_inspiration.erb
         | 
| 286 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav_my_forever_dropdown.erb
         | 
| 287 | 
            -
            - app/views/forever_style_guide/sections/components/navigation/_nav_products_dropdown.erb
         | 
| 288 274 | 
             
            - config/locales/en.yml
         | 
| 289 275 | 
             
            - config/routes.rb
         | 
| 290 276 | 
             
            - config/style_guide.yml
         | 
| @@ -1,60 +0,0 @@ | |
| 1 | 
            -
            .dropdown-menu-account {
         | 
| 2 | 
            -
              padding-top: 15px;
         | 
| 3 | 
            -
              border-bottom-right-radius: $border-radius-large;
         | 
| 4 | 
            -
              border-bottom-left-radius: $border-radius-large;
         | 
| 5 | 
            -
             | 
| 6 | 
            -
              .progress {
         | 
| 7 | 
            -
                margin-bottom: 10px;
         | 
| 8 | 
            -
              }
         | 
| 9 | 
            -
             | 
| 10 | 
            -
              @media (min-width: $grid-float-breakpoint) {
         | 
| 11 | 
            -
                width: $nav-icon-width * 4;
         | 
| 12 | 
            -
              }
         | 
| 13 | 
            -
            }
         | 
| 14 | 
            -
            .dropdown-menu-account-item {
         | 
| 15 | 
            -
              display: block;
         | 
| 16 | 
            -
              overflow: hidden;
         | 
| 17 | 
            -
             | 
| 18 | 
            -
              @media (min-width: $grid-float-breakpoint) {
         | 
| 19 | 
            -
                padding-top: 0;
         | 
| 20 | 
            -
                padding-bottom: $padding-small-vertical;
         | 
| 21 | 
            -
              }
         | 
| 22 | 
            -
            }
         | 
| 23 | 
            -
            .dropdown-menu-account-divider {
         | 
| 24 | 
            -
              margin-top: 5px;
         | 
| 25 | 
            -
              margin-bottom: 10px;
         | 
| 26 | 
            -
              @include nav-border(bottom);
         | 
| 27 | 
            -
             | 
| 28 | 
            -
              @media (max-width: $grid-float-breakpoint-max) {
         | 
| 29 | 
            -
                border-color: color('gray-600');
         | 
| 30 | 
            -
              }
         | 
| 31 | 
            -
            }
         | 
| 32 | 
            -
            .dropdown-menu-account-divider-thin {
         | 
| 33 | 
            -
              margin-top: 0;
         | 
| 34 | 
            -
              border-color: color('gray-600');
         | 
| 35 | 
            -
            }
         | 
| 36 | 
            -
            .dropdown-menu-account-user-name {
         | 
| 37 | 
            -
              @media (min-width: $grid-float-breakpoint) {
         | 
| 38 | 
            -
                @include multi_line_ellipsis($lineHeight: 1.1em, $lineCount: 3, $bgColor: $color-gray-700);
         | 
| 39 | 
            -
              }
         | 
| 40 | 
            -
            }
         | 
| 41 | 
            -
            .dropdown-menu-account-user-intro {
         | 
| 42 | 
            -
              margin-top: $padding-small-vertical;
         | 
| 43 | 
            -
              margin-bottom: 0;
         | 
| 44 | 
            -
              font-size: $font-size-100;
         | 
| 45 | 
            -
            }
         | 
| 46 | 
            -
            .dropdown-menu-account-avatar {
         | 
| 47 | 
            -
              margin-right: 10px;
         | 
| 48 | 
            -
              border: 0;
         | 
| 49 | 
            -
              box-shadow: none;
         | 
| 50 | 
            -
             | 
| 51 | 
            -
              @media (max-width: $grid-float-breakpoint-max) {
         | 
| 52 | 
            -
                height: 40px; // avatar-xs
         | 
| 53 | 
            -
                width: 40px;
         | 
| 54 | 
            -
                margin-top: $padding-small-vertical;
         | 
| 55 | 
            -
              }
         | 
| 56 | 
            -
            }
         | 
| 57 | 
            -
            .dropdown-menu-account-storage {
         | 
| 58 | 
            -
              margin-bottom: 0;
         | 
| 59 | 
            -
              font-size: $font-size-200;
         | 
| 60 | 
            -
            }
         |