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.
- 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,107 +0,0 @@
|
|
1
|
-
$ambassador-name-max-width: 228px;
|
2
|
-
$ambassador-name-max-width-md: 100px;
|
3
|
-
$ambassador-name-max-width-lg: 140px;
|
4
|
-
$distance-to-close-ambassador-text-gap: -3px;
|
5
|
-
|
6
|
-
.dropdown-ambassador {
|
7
|
-
.dropdown-toggle {
|
8
|
-
padding-top: 0 !important; // overriding .navbar .nav.navbar-nav > li > a
|
9
|
-
}
|
10
|
-
.fa-chevron-down {
|
11
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
12
|
-
top: $offcanvas-padding;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
.dropdown-ambassador-container {
|
16
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
17
|
-
width: $offcanvas-width - $offcanvas-padding;
|
18
|
-
padding-left: 15px;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
.dropdown-menu-nav {
|
22
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
23
|
-
box-shadow: none;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
.btn.btn-ambassador.btn-lg {
|
27
|
-
//preferring redunant button styling to redundant mobile markup for this one instance
|
28
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
29
|
-
display: block;
|
30
|
-
height: $btn-size;
|
31
|
-
padding: $padding-default-vertical $btn-padding-default-horizontal;
|
32
|
-
font-size: $font-size-300;
|
33
|
-
line-height: 1.3;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
38
|
-
@include nav-border(bottom);
|
39
|
-
border-color: color('gray-600');
|
40
|
-
}
|
41
|
-
}
|
42
|
-
.dropdown-ambassador-text_container {
|
43
|
-
display: inline-block;
|
44
|
-
}
|
45
|
-
.dropdown-ambassador-intro_text {
|
46
|
-
margin-bottom: $distance-to-close-ambassador-text-gap * 2;
|
47
|
-
color: inherit;
|
48
|
-
font-family: $font-face-gotham;
|
49
|
-
font-size: $font-size-xsmall !important; // override in web app .area-settings p
|
50
|
-
font-weight: $font-weight-normal;
|
51
|
-
text-transform: capitalize;
|
52
|
-
|
53
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
54
|
-
margin-bottom: $distance-to-close-ambassador-text-gap;
|
55
|
-
}
|
56
|
-
|
57
|
-
@media (min-width: $grid-float-breakpoint) {
|
58
|
-
text-align: center;
|
59
|
-
}
|
60
|
-
}
|
61
|
-
.dropdown-ambassador-primary_text {
|
62
|
-
max-width: $ambassador-name-max-width; // managing points at which ambassador name is ellipsized
|
63
|
-
font-family: $font-face-gotham;
|
64
|
-
white-space: nowrap;
|
65
|
-
overflow: hidden;
|
66
|
-
text-overflow: ellipsis;
|
67
|
-
|
68
|
-
@media (min-width: $grid-float-breakpoint) {
|
69
|
-
max-width: $ambassador-name-max-width-md;
|
70
|
-
}
|
71
|
-
@media (min-width: $screen-md_to_lg) {
|
72
|
-
max-width: $ambassador-name-max-width-lg;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
.dropdown-ambassador-edit_btn {
|
76
|
-
display: block;
|
77
|
-
|
78
|
-
@media (min-width: $grid-float-breakpoint) {
|
79
|
-
margin-top: -30px;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
.dropdown-ambassador-basic_info {
|
83
|
-
overflow: hidden;
|
84
|
-
|
85
|
-
.dropdown-ambassador-name{
|
86
|
-
margin-top: 2px;
|
87
|
-
margin-bottom: 0;
|
88
|
-
font-size: $font-size-500;
|
89
|
-
}
|
90
|
-
.dropdown-ambassador-rank {
|
91
|
-
margin-bottom: 0;
|
92
|
-
}
|
93
|
-
.dropdown-ambassador-city {
|
94
|
-
margin-top: -5px;
|
95
|
-
}
|
96
|
-
}
|
97
|
-
.dropdown-ambassador-contact_btn {
|
98
|
-
&:hover,
|
99
|
-
&:active,
|
100
|
-
&:focus {
|
101
|
-
color: color('secondary')!important;
|
102
|
-
text-decoration: underline!important;
|
103
|
-
}
|
104
|
-
.btn-action-icon {
|
105
|
-
margin-right: 8px;
|
106
|
-
}
|
107
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
$supporting-text-icon-offset: 33px;
|
2
|
-
|
3
|
-
.nav-dropdown-help {
|
4
|
-
.icon-offset {
|
5
|
-
display: block;
|
6
|
-
padding-left: $supporting-text-icon-offset;
|
7
|
-
line-height: $font-size-large;
|
8
|
-
}
|
9
|
-
}
|
10
|
-
.dropdown-menu-help {
|
11
|
-
padding-top: 15px;
|
12
|
-
border-bottom-right-radius: $border-radius-large;
|
13
|
-
border-bottom-left-radius: $border-radius-large;
|
14
|
-
|
15
|
-
@media (min-width: $grid-float-breakpoint) {
|
16
|
-
width: $nav-icon-width * 4;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
.nav-help-section-title {
|
20
|
-
font-family: $font-face-semibold;
|
21
|
-
}
|
@@ -1,208 +0,0 @@
|
|
1
|
-
$dropdown-height: 345px; // Allows for entire hero_simple text to display from $screen-md and up
|
2
|
-
$nav-icon-width: 60px;
|
3
|
-
$dropdown-spacer-height: 51px;
|
4
|
-
$dropdown-spacer-height-alt: 39px;
|
5
|
-
|
6
|
-
@mixin dropdown-content-style {
|
7
|
-
display: inline-block;
|
8
|
-
color: color('gray-300');
|
9
|
-
font-family: $font-face-light;
|
10
|
-
font-size: $font-size-large;
|
11
|
-
}
|
12
|
-
|
13
|
-
@mixin active-style($color) {
|
14
|
-
@media (min-width: $grid-float-breakpoint) {
|
15
|
-
box-shadow: inset 0 3px 0 0 $color;
|
16
|
-
}
|
17
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
18
|
-
box-shadow: inset 3px 0 0 0 $color;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
@mixin mobile-active-dropdown-bg($color) {
|
23
|
-
color: color('white');
|
24
|
-
background-color: $color;
|
25
|
-
border-top-color: $color;
|
26
|
-
}
|
27
|
-
|
28
|
-
// Behavior
|
29
|
-
.nav .dropdown.open {
|
30
|
-
& > .dropdown-menu-nav {
|
31
|
-
opacity: 1;
|
32
|
-
visibility: visible;
|
33
|
-
@include transition(opacity 0.2s ease-in-out);
|
34
|
-
|
35
|
-
@media (min-width: $grid-float-breakpoint) {
|
36
|
-
height: $dropdown-height;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
&.dropdown-full_width {
|
40
|
-
position: static;
|
41
|
-
|
42
|
-
.dropdown-menu-nav {
|
43
|
-
right: 0;
|
44
|
-
left: 0;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
.dropdown-menu-nav {
|
48
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
49
|
-
padding-bottom: 20px;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
.dropdown {
|
55
|
-
&:last-child {
|
56
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
57
|
-
@include nav-border(bottom);
|
58
|
-
border-color: color('gray-600');
|
59
|
-
}
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
// Override bootstrap default to show dropdowns at custom breakpoint
|
64
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
65
|
-
.navbar-nav .open .dropdown-menu {
|
66
|
-
position: static;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
// Active State for 3 primary product side navs
|
71
|
-
.dropdown-toggle {
|
72
|
-
&.dropdown-toggle-my_forever.active {
|
73
|
-
@include active-style($color-primary);
|
74
|
-
}
|
75
|
-
&.dropdown-toggle-products.active {
|
76
|
-
@include active-style($color-secondary);
|
77
|
-
}
|
78
|
-
&.dropdown-toggle-community.active {
|
79
|
-
@include active-style($color-accent);
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
.navbar-deals {
|
84
|
-
//ugly cousin active state
|
85
|
-
&.active {
|
86
|
-
@include active-style($color-forever_orange);
|
87
|
-
}
|
88
|
-
|
89
|
-
@media (min-width: $grid-float-breakpoint) {
|
90
|
-
color: $color-forever-orange !important;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
// Mega Menu Expanded Styles
|
95
|
-
.navbar .dropdown.open > .dropdown-toggle {
|
96
|
-
color: color('gray-400');
|
97
|
-
background-color: $nav-bg-color;
|
98
|
-
|
99
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
100
|
-
&.dropdown-toggle-my_forever {
|
101
|
-
@include mobile-active-dropdown-bg($color-primary);
|
102
|
-
}
|
103
|
-
&.dropdown-toggle-products {
|
104
|
-
@include mobile-active-dropdown-bg($color-secondary);
|
105
|
-
}
|
106
|
-
&.dropdown-toggle-community {
|
107
|
-
@include mobile-active-dropdown-bg($color-accent);
|
108
|
-
}
|
109
|
-
&.dropdown-toggle-account {
|
110
|
-
@include mobile-active-dropdown-bg($color-forever_services);
|
111
|
-
}
|
112
|
-
&.dropdown-toggle-ambassador {
|
113
|
-
@include mobile-active-dropdown-bg($color-forever_ambassador);
|
114
|
-
}
|
115
|
-
&.dropdown-toggle-help{
|
116
|
-
@include mobile-active-dropdown-bg($color-primary);
|
117
|
-
}
|
118
|
-
}
|
119
|
-
}
|
120
|
-
|
121
|
-
.dropdown-menu-nav {
|
122
|
-
display: block;
|
123
|
-
opacity: 0;
|
124
|
-
visibility: hidden;
|
125
|
-
border: none;
|
126
|
-
border-radius: 0;
|
127
|
-
|
128
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
129
|
-
padding-left: 5px;
|
130
|
-
}
|
131
|
-
|
132
|
-
.dropdown-menu-nav-container {
|
133
|
-
@media (min-width: $grid-float-breakpoint) and (max-width: $screen-md-min) {
|
134
|
-
width: $grid-float-breakpoint;
|
135
|
-
}
|
136
|
-
}
|
137
|
-
}
|
138
|
-
|
139
|
-
.dropdown-menu-nav-spacer {
|
140
|
-
margin-top: $dropdown-spacer-height;
|
141
|
-
|
142
|
-
@media (min-width: $grid-float-breakpoint-max) and (max-width: $screen-lg) {
|
143
|
-
margin-top: $dropdown-spacer-height-alt;
|
144
|
-
}
|
145
|
-
}
|
146
|
-
|
147
|
-
.dropdown-menu-nav-extra_column {
|
148
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
149
|
-
margin-top: -10px; // compensate for l-padded-thin
|
150
|
-
padding-top: 0;
|
151
|
-
}
|
152
|
-
}
|
153
|
-
|
154
|
-
a.dropdown-menu-nav-link {
|
155
|
-
@include dropdown-content-style;
|
156
|
-
|
157
|
-
&:not(.dropdown-menu-nav-link-no_margin) {
|
158
|
-
margin-top: 8px;
|
159
|
-
}
|
160
|
-
&.dropdown-menu-nav-link-sm {
|
161
|
-
@media (min-width: $grid-float-breakpoint) {
|
162
|
-
font-size: $font-size-200;
|
163
|
-
}
|
164
|
-
}
|
165
|
-
.fa {
|
166
|
-
margin-right: 10px;
|
167
|
-
}
|
168
|
-
}
|
169
|
-
.dropdown-menu-account-item {
|
170
|
-
.dropdown-menu-nav-link {
|
171
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
172
|
-
margin-top: $padding-small-vertical;
|
173
|
-
}
|
174
|
-
}
|
175
|
-
}
|
176
|
-
|
177
|
-
.dropdown-menu-nav-link-subhead {
|
178
|
-
display: block;
|
179
|
-
margin-top: -5px;
|
180
|
-
color: $color-gray-500;
|
181
|
-
font-size: $font-size-200;
|
182
|
-
}
|
183
|
-
.dropdown-menu-nav-bullets {
|
184
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
185
|
-
margin-left: 10px;
|
186
|
-
}
|
187
|
-
a.dropdown-menu-nav-link {
|
188
|
-
font-size: $font-size-200 !important;
|
189
|
-
}
|
190
|
-
}
|
191
|
-
.dropdown-menu-nav-description {
|
192
|
-
@include dropdown-content-style;
|
193
|
-
|
194
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
195
|
-
font-size: $font-size-300;
|
196
|
-
}
|
197
|
-
}
|
198
|
-
.dropdown-menu-nav-title {
|
199
|
-
margin-top: 10px;
|
200
|
-
font-size: $font-size-400;
|
201
|
-
|
202
|
-
@media (min-width: $screen-md-min) {
|
203
|
-
margin-top: 15px;
|
204
|
-
}
|
205
|
-
@media (min-width: $screen-lg) {
|
206
|
-
font-size: $font-size-500;
|
207
|
-
}
|
208
|
-
}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
// overrides bootstraps collapse breakpoint
|
2
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
3
|
-
.navbar-header {
|
4
|
-
float: none;
|
5
|
-
}
|
6
|
-
.navbar-left,.navbar-right {
|
7
|
-
float: none !important;
|
8
|
-
}
|
9
|
-
.navbar-toggle {
|
10
|
-
display: block;
|
11
|
-
}
|
12
|
-
.navbar-fixed-top {
|
13
|
-
top: 0;
|
14
|
-
}
|
15
|
-
.navbar-collapse {
|
16
|
-
padding-left: 0;
|
17
|
-
padding-right: 0;
|
18
|
-
}
|
19
|
-
.navbar-collapse.collapse {
|
20
|
-
display: none !important;
|
21
|
-
}
|
22
|
-
.navbar-nav {
|
23
|
-
float: none !important;
|
24
|
-
margin: 7.5px 0;
|
25
|
-
}
|
26
|
-
.navbar-nav > li {
|
27
|
-
float: none;
|
28
|
-
}
|
29
|
-
.collapse.in {
|
30
|
-
display:block !important;
|
31
|
-
}
|
32
|
-
}
|
@@ -1,78 +0,0 @@
|
|
1
|
-
<footer class="footer color_block-gray-700">
|
2
|
-
<div class="container-fluid color_block-services-dark">
|
3
|
-
<h4 class="color-white text-center footer-header">Collect, curate, and celebrate your memories now and for generations™</h4>
|
4
|
-
</div>
|
5
|
-
|
6
|
-
<div class="container footer-main_block">
|
7
|
-
<div class="row">
|
8
|
-
|
9
|
-
<div class="col-md-6 col-md-push-3 col-xs-12">
|
10
|
-
<h4 class="color-gray-300 footer-title">FOREVER™ Products</h4>
|
11
|
-
<hr class="footer-divider" />
|
12
|
-
<div class="row">
|
13
|
-
<div class="col-xs-6">
|
14
|
-
<ul class="list-unstyled">
|
15
|
-
|
16
|
-
<!-- TODO use trademark helper when it appropriately handles upcasing -->
|
17
|
-
<li><%= link_to "FOREVER Storage®", storage_url, class: "footer-link", title: "Guaranteed Permanent Storage for Photos & Documents" %></li>
|
18
|
-
<li><%= link_to "FOREVER™ Print", forever_print_url, class: "footer-link", title: "Online Photo Books in No Time" %></li>
|
19
|
-
<li><%= link_to "FOREVER Artisan®", artisan_url, class: "footer-link", title: "Forever Artisan 5 Digital Scrapbooking Software" %></li>
|
20
|
-
|
21
|
-
</ul>
|
22
|
-
</div>
|
23
|
-
<div class="col-xs-6">
|
24
|
-
<ul class="list-unstyled">
|
25
|
-
<li><%= link_to "FOREVER Historian™", historian_url, class: "footer-link", title: "Photo Management Software for Windows" %></li>
|
26
|
-
<li><%= link_to "Digital Art", digital_art_url, class: "footer-link" , title: "Premium Digital Scrapbooking Art" %></li>
|
27
|
-
<li>
|
28
|
-
<%= link_to services_url, class: "footer-link", title: "Digitization and Scanning Services" do %>
|
29
|
-
Media Conversion <span class="hidden-xs">Services</span>
|
30
|
-
<% end %>
|
31
|
-
</li>
|
32
|
-
</ul>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div class="col-md-3 col-md-pull-6 col-sm-6 col-xs-12">
|
38
|
-
<h4 class="color-gray-300 footer-title">Support</h4>
|
39
|
-
<hr class="footer-divider" />
|
40
|
-
<ul class="list-unstyled">
|
41
|
-
<li><%= link_to "Visit FOREVER Help Center", help_center_url, class: "footer-link", title: "Visit the FOREVER Help Center", target: '_blank' %></li>
|
42
|
-
<li><%= mail_to "support@forever.com", "support@forever.com", class: "footer-link", title: "Email us at support@forever.com" %></li>
|
43
|
-
<li><%= link_to "1-888-FOREVER (1-888-367-3837)", "tel:1-888-367-3837", class: "footer-link", title: "Call us at 1-888-367-3837" %></li>
|
44
|
-
</ul>
|
45
|
-
</div>
|
46
|
-
|
47
|
-
<div class="col-md-3 col-xs-12 col-sm-6">
|
48
|
-
<h4 class="color-gray-300 footer-title">Stay Connected</h4>
|
49
|
-
<hr class="footer-divider" />
|
50
|
-
<div class="footer-social_icons">
|
51
|
-
<%= link_to (fa_stacked_icon "facebook feature_bullet-icon", base: "circle", class: "fa-feature_bullet color-gray-600"), facebook_url, title: "Follow FOREVER on Facebook", target: '_blank' %>
|
52
|
-
<%= link_to (fa_stacked_icon "twitter feature_bullet-icon", base: "circle", class: "fa-feature_bullet color-gray-600"), twitter_url, title: "Follow FOREVER on Twitter", target: '_blank' %>
|
53
|
-
<%= link_to (fa_stacked_icon "instagram feature_bullet-icon", base: "circle", class: "fa-feature_bullet color-gray-600"), instagram_url, title: "Follow FOREVER on Instagram", target: '_blank' %>
|
54
|
-
<%= link_to (fa_stacked_icon "youtube feature_bullet-icon", base: "circle", class: "fa-feature_bullet color-gray-600"), youtube_url, title: "Follow FOREVER on YouTube", target: '_blank' %>
|
55
|
-
<%= link_to (fa_stacked_icon "pinterest feature_bullet-icon", base: "circle", class: "fa-feature_bullet color-gray-600"), pinterest_url, title: "Follow FOREVER on Pinterest", target: '_blank' %>
|
56
|
-
</div>
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
|
60
|
-
<div class="row l-section-close">
|
61
|
-
<div class="col-xs-12 col-sm-6 col-md-4">
|
62
|
-
<p class="footer-link footer-link-dark footer-copyright">© <%= Time.now.year %> FOREVER, Inc</p>
|
63
|
-
</div>
|
64
|
-
|
65
|
-
<div class="col-xs-12 col-sm-6 col-md-4 col-md-push-4">
|
66
|
-
<p class="small color-gray-400 footer-policy_links">
|
67
|
-
<%= link_to "Careers", careers_url, title: "Join the FOREVER Team", class: "footer-link footer-link-dark", target: '_blank' %> |
|
68
|
-
<%= link_to "Privacy Policy", privacy_url, class: "footer-link footer-link-dark", title: "FOREVER Privacy Policy" %> |
|
69
|
-
<%= link_to "Terms of Service", tos_url, class: "footer-link footer-link-dark", title: "FOREVER Terms of Service" %>
|
70
|
-
</p>
|
71
|
-
</div>
|
72
|
-
|
73
|
-
<div class="col-xs-12 col-md-4 col-md-pull-4">
|
74
|
-
<small class="color-gray-500 footer-location">One PPG Place 20th Floor • Pittsburgh, PA 15222 USA</small>
|
75
|
-
</div>
|
76
|
-
</div>
|
77
|
-
</div>
|
78
|
-
</footer>
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<div class="impersonation_banner color_block-danger">
|
2
|
-
<div class="container-fluid">
|
3
|
-
<div class="color-white pull-left">
|
4
|
-
<span class="hidden-xs">Logged in as <%= current_admin.name %>, but a</span><span class="visible-xs-inline">A</span>cting on behalf of <%= current_user.name %>
|
5
|
-
</div>
|
6
|
-
<%= link_to stop_impersonating_url, class: 'btn btn-sm btn-link btn-cancel_impersonation', method: :delete do %>
|
7
|
-
<i class="fa fa-times"></i> Stop Managing <span class="hidden-xs"><%= current_user.name %></span>
|
8
|
-
<% end %>
|
9
|
-
</div>
|
10
|
-
</div>
|
@@ -1,73 +0,0 @@
|
|
1
|
-
<header id='header-is_fixed'>
|
2
|
-
|
3
|
-
<% if defined?(current_admin) && current_admin.present? %>
|
4
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/impersonation_banner" %>
|
5
|
-
<% end %>
|
6
|
-
|
7
|
-
<nav class='navbar navbar-default color_block-white' role='navigation'>
|
8
|
-
|
9
|
-
<div class='navbar-header'>
|
10
|
-
<button type="button" class="navbar-toggle offcanvas-toggle pull-left nav-icon-stack" data-toggle="offcanvas" data-target="#js-main-nav-offcanvas">
|
11
|
-
<span class="icon-bar"></span>
|
12
|
-
<span class="icon-bar"></span>
|
13
|
-
<span class="icon-bar"></span>
|
14
|
-
<div class='nav-icon-label'>Menu</div>
|
15
|
-
</button>
|
16
|
-
|
17
|
-
<div class="navbar-brand">
|
18
|
-
<%= link_to marketing_home_url, title: 'Forever Guaranteed Storage, Digital Scrapbooking, and Printing Logo' do %>
|
19
|
-
<%= image_tag image_url("forever_style_guide/forever-logo.jpg"), class: "navbar-brand-logo", alt: "Forever Guaranteed Storage, Digital Scrapbooking, and Printing Logo", title: 'Forever Guaranteed Storage, Digital Scrapbooking, and Printing Logo' %>
|
20
|
-
<%= image_tag image_url("forever_style_guide/forever-logo-xs.png"), class: "navbar-brand-logo-xs", alt: "Forever Guaranteed Storage, Digital Scrapbooking, and Printing Logo", title: 'Forever Guaranteed Storage, Digital Scrapbooking, and Printing Logo' %>
|
21
|
-
<% end %>
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<!-- Show cart in primary header bar on mobile: see nav_account_dropdown.erb for desktop -->
|
25
|
-
<div class="visible-grid-float-breakpoint">
|
26
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/nav_cart_icon" %>
|
27
|
-
</div>
|
28
|
-
</div>
|
29
|
-
|
30
|
-
<div class="navbar-offcanvas" id="js-main-nav-offcanvas">
|
31
|
-
<div class="navbar-offcanvas-container">
|
32
|
-
|
33
|
-
<ul class='nav navbar-nav navbar-left'>
|
34
|
-
|
35
|
-
<li class="hidden-lg">
|
36
|
-
<div class="navbar-toggle navbar-toggle-close color_block-white" id="js-close-main-nav">
|
37
|
-
<div class="nav-icon-stack pull-left navbar-toggle">
|
38
|
-
<i class='fa fa-lg fa-close'></i>
|
39
|
-
<span class='nav-icon-label'>Close</span>
|
40
|
-
</div>
|
41
|
-
</div>
|
42
|
-
</li>
|
43
|
-
|
44
|
-
<li class='dropdown dropdown-full_width'>
|
45
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/nav_my_forever_dropdown" %>
|
46
|
-
</li>
|
47
|
-
|
48
|
-
<li class='dropdown dropdown-full_width'>
|
49
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/nav_products_dropdown" %>
|
50
|
-
</li>
|
51
|
-
|
52
|
-
<li class='dropdown dropdown-full_width'>
|
53
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/nav_community_dropdown" %>
|
54
|
-
</li>
|
55
|
-
|
56
|
-
<li class=''>
|
57
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/nav_deals" %>
|
58
|
-
</li>
|
59
|
-
</ul>
|
60
|
-
|
61
|
-
<ul class='nav navbar-nav navbar-right'>
|
62
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/nav_inspiration" %>
|
63
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/nav_help" %>
|
64
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/nav_ambassador_dropdown" %>
|
65
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/nav_account_dropdown" %>
|
66
|
-
</ul>
|
67
|
-
|
68
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/nav_account_signed_out_mobile" %>
|
69
|
-
</div>
|
70
|
-
</div>
|
71
|
-
|
72
|
-
</nav>
|
73
|
-
</header>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<!-- Show cart in navbar right on desktop: see nav.erb for mobile -->
|
2
|
-
<li class="navbar-account_item-cart hidden-grid-float-breakpoint">
|
3
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/nav_cart_icon" %>
|
4
|
-
</li>
|
5
|
-
|
6
|
-
<% if defined?(current_user) && current_user.present? %>
|
7
|
-
<li class='dropdown'>
|
8
|
-
<%= link_to nil, class: 'dropdown-toggle dropdown-toggle-account', :data => { :toggle => 'dropdown' } do %>
|
9
|
-
Account
|
10
|
-
<i class='fa fa-chevron-down'></i>
|
11
|
-
<% end %>
|
12
|
-
|
13
|
-
<div class='dropdown-menu dropdown-menu-nav dropdown-menu-account color_block-gray-700'>
|
14
|
-
<%= render partial: "forever_style_guide/sections/components/navigation/nav_account_dropdown_menu" %>
|
15
|
-
</div>
|
16
|
-
</li>
|
17
|
-
|
18
|
-
<% else %>
|
19
|
-
<li class='dropdown hidden-grid-float-breakpoint'>
|
20
|
-
<%= link_to login_url do %>
|
21
|
-
Log In
|
22
|
-
<% end %>
|
23
|
-
</li>
|
24
|
-
<% end %>
|
data/app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown_menu.erb
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
<div class='container-fluid'>
|
2
|
-
<div class='row'>
|
3
|
-
<div class='col-xs-12'>
|
4
|
-
|
5
|
-
<ul class="list-unstyled">
|
6
|
-
<li class="dropdown-menu-account-item">
|
7
|
-
<% if current_user.avatar_url_small %>
|
8
|
-
<%= image_tag current_user.avatar_url_small, class: "dropdown-menu-account-avatar avatar avatar-sm pull-left", alt: current_user.name, title: current_user.name %>
|
9
|
-
<% else %>
|
10
|
-
<%= image_tag "default_avatar.jpg", class: "dropdown-menu-account-avatar avatar avatar-sm pull-left", alt: current_user.name, title: current_user.name %>
|
11
|
-
<% end %>
|
12
|
-
|
13
|
-
<div class="dropdown-menu-account-user">
|
14
|
-
<p class="dropdown-menu-account-user-intro color-gray-300">Signed in as</p>
|
15
|
-
<h4 class="dropdown-menu-account-user-name page-title color-gray-300"><%= current_user.name %></h4>
|
16
|
-
</div>
|
17
|
-
</li>
|
18
|
-
|
19
|
-
<% if current_user.superadmin? %>
|
20
|
-
<li class="dropdown-menu-account-item">
|
21
|
-
<%= link_to store_admin_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-sm dropdown-menu-nav-link-no_margin', title: 'Administer The Forever Store' do %>
|
22
|
-
<i class='fa fa-shield fa-fw'></i>Admin
|
23
|
-
<% end %>
|
24
|
-
</li>
|
25
|
-
|
26
|
-
<li class="dropdown-menu-account-divider dropdown-menu-account-divider-thin hidden-grid-float-breakpoint"></li>
|
27
|
-
<% end %>
|
28
|
-
|
29
|
-
<li class="dropdown-menu-account-item <%= 'hide' if current_user.superadmin? %>">
|
30
|
-
<p class="dropdown-menu-account-storage color-gray-300">
|
31
|
-
|
32
|
-
<%= storage_ratio_percent %> of <%= capacity_readable %>
|
33
|
-
<%= link_to "Upgrade", upgrade_url, title: "Upgrade your Forever Guaranteed Permanent Storage" %>
|
34
|
-
</p>
|
35
|
-
|
36
|
-
<div class="progress progress-thin color_block-gray-400">
|
37
|
-
<div class="progress-bar" role="progressbar" aria-valuenow="<%= storage_ratio %>" aria-valuemin="0" aria-valuemax="100" style="width: <%= storage_ratio_percent %>; max-width: 100%;"></div>
|
38
|
-
</div>
|
39
|
-
</li>
|
40
|
-
|
41
|
-
<% if current_user.linked_ambassador.try(:active?) %>
|
42
|
-
<li class="dropdown-menu-account-item">
|
43
|
-
<%= link_to back_office_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-sm dropdown-menu-nav-link-no_margin', title: 'Ambassador Back Office Reports' do %>
|
44
|
-
<i class='fa fa-suitcase fa-fw'></i>My Back Office
|
45
|
-
<% end %>
|
46
|
-
</li>
|
47
|
-
<li class="dropdown-menu-account-divider dropdown-menu-account-divider-thin hidden-grid-float-breakpoint"></li>
|
48
|
-
<% end %>
|
49
|
-
|
50
|
-
<li class="dropdown-menu-account-item">
|
51
|
-
<%= link_to user_settings_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-sm dropdown-menu-nav-link-no_margin', title: 'View User Settings' do %>
|
52
|
-
<i class='fa fa-cog fa-fw'></i>Account Settings
|
53
|
-
<% end %>
|
54
|
-
</li>
|
55
|
-
|
56
|
-
<li class="dropdown-menu-account-item">
|
57
|
-
<%= link_to user_order_history_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-sm dropdown-menu-nav-link-no_margin', title: 'View Order History' do %>
|
58
|
-
<i class='fa fa-credit-card fa-fw'></i>Order History
|
59
|
-
<% end %>
|
60
|
-
</li>
|
61
|
-
|
62
|
-
<li class="dropdown-menu-account-item">
|
63
|
-
<%= link_to user_downloads_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-sm dropdown-menu-nav-link-no_margin', title: 'View Downloads' do %>
|
64
|
-
<i class='fa fa-cloud-download fa-fw'></i>Downloads
|
65
|
-
<% end %>
|
66
|
-
</li>
|
67
|
-
|
68
|
-
<li class="dropdown-menu-account-item">
|
69
|
-
<%= link_to projects_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-sm dropdown-menu-nav-link-no_margin', title: 'View Print Projects' do %>
|
70
|
-
<i class='fa fa-paint-brush fa-fw'></i>Print Projects
|
71
|
-
<% end %>
|
72
|
-
</li>
|
73
|
-
|
74
|
-
<li class="dropdown-menu-account-divider dropdown-menu-account-divider-thin hidden-grid-float-breakpoint"></li>
|
75
|
-
|
76
|
-
<li class="dropdown-menu-account-item">
|
77
|
-
|
78
|
-
<%= link_to current_admin ? stop_impersonating_url : log_out_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-sm dropdown-menu-nav-link-no_margin', title: 'Log Out of Forever', method: :delete do %>
|
79
|
-
<i class='fa fa-share fa-fw'></i>Log Out
|
80
|
-
<% end %>
|
81
|
-
</li>
|
82
|
-
</ul>
|
83
|
-
|
84
|
-
</div>
|
85
|
-
</div>
|
86
|
-
</div>
|
data/app/views/forever_style_guide/sections/components/navigation/_nav_account_signed_out_mobile.erb
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
<% if !(defined?(current_user) && current_user.present?) %>
|
2
|
-
<%= link_to login_url, class: 'visible-grid-float-breakpoint btn btn-action btn-primary navbar-account-signed_out_btn is_fixed_bottom' do %>
|
3
|
-
<span class="btn-action-label">Log In or Sign Up</span>
|
4
|
-
<%= fa_icon "chevron-right", class: "btn-action-icon" %>
|
5
|
-
<% end %>
|
6
|
-
<% end %>
|