forever_style_guide 3.2.18 → 3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/forever_style_guide/forever-logo-small.svg +1 -0
  3. data/app/assets/images/forever_style_guide/forever-logo.svg +1 -0
  4. data/app/assets/stylesheets/forever_style_guide/base/_typography.scss +6 -0
  5. data/app/assets/stylesheets/forever_style_guide/globals/_breakpoints.scss +3 -1
  6. data/app/assets/stylesheets/forever_style_guide/globals/_variables.scss +2 -1
  7. data/app/assets/stylesheets/forever_style_guide/modules/_all.scss +4 -8
  8. data/app/assets/stylesheets/forever_style_guide/modules/_ambassador_banner.scss +173 -0
  9. data/app/assets/stylesheets/forever_style_guide/modules/_footer.scss +104 -36
  10. data/app/assets/stylesheets/forever_style_guide/modules/_impersonation_banner.scss +22 -13
  11. data/app/assets/stylesheets/forever_style_guide/modules/_mars_manifest.scss +4 -8
  12. data/app/assets/stylesheets/forever_style_guide/modules/_nav-account_dropdown.scss +193 -0
  13. data/app/assets/stylesheets/forever_style_guide/modules/_nav-cart.scss +39 -0
  14. data/app/assets/stylesheets/forever_style_guide/modules/_nav-fixed.scss +0 -1
  15. data/app/assets/stylesheets/forever_style_guide/modules/_nav-icons.scss +0 -8
  16. data/app/assets/stylesheets/forever_style_guide/modules/_nav-mobile-menu.scss +111 -0
  17. data/app/assets/stylesheets/forever_style_guide/modules/_nav.scss +266 -118
  18. data/app/assets/stylesheets/forever_style_guide/modules/_responsive_utilities.scss +16 -0
  19. data/app/helpers/forever_style_guide/application_helper.rb +2 -28
  20. data/lib/forever_style_guide/version.rb +1 -1
  21. metadata +8 -22
  22. data/app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns-account.scss +0 -60
  23. data/app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns-ambassador.scss +0 -107
  24. data/app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns-help.scss +0 -21
  25. data/app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns.scss +0 -208
  26. data/app/assets/stylesheets/forever_style_guide/modules/_shame.scss +0 -32
  27. data/app/views/forever_style_guide/sections/components/footer/_footer.erb +0 -78
  28. data/app/views/forever_style_guide/sections/components/navigation/_impersonation_banner.erb +0 -10
  29. data/app/views/forever_style_guide/sections/components/navigation/_nav.erb +0 -73
  30. data/app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb +0 -24
  31. data/app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown_menu.erb +0 -86
  32. data/app/views/forever_style_guide/sections/components/navigation/_nav_account_signed_out_mobile.erb +0 -6
  33. data/app/views/forever_style_guide/sections/components/navigation/_nav_ambassador_dropdown.erb +0 -112
  34. data/app/views/forever_style_guide/sections/components/navigation/_nav_cart_icon.erb +0 -4
  35. data/app/views/forever_style_guide/sections/components/navigation/_nav_community_dropdown.erb +0 -99
  36. data/app/views/forever_style_guide/sections/components/navigation/_nav_deals.erb +0 -3
  37. data/app/views/forever_style_guide/sections/components/navigation/_nav_help.erb +0 -10
  38. data/app/views/forever_style_guide/sections/components/navigation/_nav_help_dropdown_menu.erb +0 -33
  39. data/app/views/forever_style_guide/sections/components/navigation/_nav_inspiration.erb +0 -3
  40. data/app/views/forever_style_guide/sections/components/navigation/_nav_my_forever_dropdown.erb +0 -130
  41. data/app/views/forever_style_guide/sections/components/navigation/_nav_products_dropdown.erb +0 -143
@@ -1,149 +1,297 @@
1
- $offcanvas-width: 270px;
2
- $offcanvas-padding: 10px;
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
- $nav-li-a-padding-base: 4px;
6
- $nav-li-a-padding-right-desktop: 20px;
7
- $nav-li-a-padding-right-md_to_lg: 14px;
8
- $nav-li-a-padding-right-lg: 16px;
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
- @mixin nav-border($sides...) {
11
- @each $side in $sides {
12
- border-#{$side}: 1px solid color('gray-400');
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
- // Basic styles - A lot of overriding Bootstrap defaults
17
- .navbar-toggle {
18
- @media (max-width: $grid-float-breakpoint-max) {
19
- display: block;
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
- .navbar-brand-logo-xs {
33
- display: none;
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
- @media (max-width: $minimum-application-width-xs-max) {
37
- padding-top: 0;
38
- padding-right: $header-height;
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
- .navbar-brand-logo-xs {
42
- display: block;
43
- height: 100%;
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
- .navbar-brand-logo {
46
- display: none;
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
- .nav.navbar-nav {
57
- margin-top: 0;
58
- margin-bottom: 0;
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
- @media (max-width: $grid-float-breakpoint-max) {
61
- margin-left: 0;
62
- margin-right: 0;
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
- > li > a {
66
- height: $header-height;
67
- padding: $offcanvas-padding; /* bootstrap override */
68
- color: color('gray-400');
69
- font-size: $font-size-100;
70
- font-weight: $font-weight-bold;
71
- font-family: $font-face-gotham;
72
- text-transform: uppercase;
73
-
74
- @media (max-width: $grid-float-breakpoint-max) {
75
- padding-top: $offcanvas-padding;
76
- font-size: $font-size-large;
77
- @include nav-border(top);
78
- border-color: color('gray-600')
79
- }
80
- @media (min-width: $grid-float-breakpoint-max) {
81
- position: relative;
82
- color: color('gray-600');
83
- }
84
- @media (min-width: $grid-float-breakpoint-max) and (max-width: $screen-md_to_lg) {
85
- padding-left: $nav-li-a-padding-base;
86
- padding-right: $nav-li-a-padding-base;
87
- }
88
- @media (min-width: $screen-md_to_lg) and (max-width: $screen-lg-min) {
89
- padding-left: $nav-li-a-padding-base * 2;
90
- padding-right: $nav-li-a-padding-base * 2;
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
- .dropdown.open > .dropdown-toggle {
112
- color: color('white');
162
+ }
113
163
 
114
- @media (min-width: $grid-float-breakpoint) {
115
- color: color('gray-400');
116
- background-color: $nav-bg-color;
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
- > .active > a {
120
- background-color: transparent;
121
-
122
- &:hover,
123
- &:focus {
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
- &.navbar-right {
130
- margin-right: 0;
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
- .navbar-account-signed_out_btn {
136
- position: absolute;
137
- width: $offcanvas-width - ($offcanvas-padding * 2) - 5; // 5 = .dropdown-menu-nav padding-left
138
- left: $offcanvas-padding + 5;
139
- margin-top: $offcanvas-padding;
140
- margin-bottom: $offcanvas-padding;
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
- &.is_fixed_bottom {
143
- bottom: 10px;
144
- margin-bottom: 0;
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
- .btn-action-icon {
147
- margin-top: 2px;
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
- return true if @pages.any?{ |matches| [controller.controller_name, controller.action_name].include? matches }
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
@@ -1,3 +1,3 @@
1
1
  module ForeverStyleGuide
2
- VERSION = "3.2.18"
2
+ VERSION = "3.3"
3
3
  end
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.2.18
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-01-12 00:00:00.000000000 Z
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-dropdowns-account.scss
255
- - app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns-ambassador.scss
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
- }