spree_frontend 4.2.3 → 4.3.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/app/assets/config/spree_frontend_manifest.js +4 -0
- data/app/assets/images/card-image.svg +4 -0
- data/app/assets/images/file-image.svg +4 -0
- data/app/assets/images/image.svg +4 -0
- data/app/assets/images/noimage/large.png +0 -0
- data/app/assets/images/noimage/mini.png +0 -0
- data/app/assets/images/noimage/plp.svg +23 -0
- data/app/assets/images/noimage/product.png +0 -0
- data/app/assets/images/noimage/small.png +0 -0
- data/app/assets/javascripts/spree.js +78 -0
- data/app/assets/javascripts/spree/api/main.js +36 -0
- data/app/assets/javascripts/spree/api/storefront/cart.js +49 -0
- data/app/assets/javascripts/spree/frontend.js +3 -0
- data/app/assets/javascripts/spree/frontend/checkout.js +16 -0
- data/app/assets/javascripts/spree/frontend/checkout/payment.js +18 -5
- data/app/assets/javascripts/spree/frontend/currency.js +11 -9
- data/app/assets/javascripts/spree/frontend/locale.es6 +13 -0
- data/app/assets/javascripts/spree/frontend/views/spree/home/product_carousels.js +3 -3
- data/app/assets/javascripts/spree/frontend/views/spree/products/index.js +0 -9
- data/app/assets/javascripts/spree/frontend/views/spree/products/price_filters.es6 +46 -0
- data/app/assets/stylesheets/spree/frontend/application.scss +1 -0
- data/app/assets/stylesheets/spree/frontend/components-bootstrap/button.scss +8 -0
- data/app/assets/stylesheets/spree/frontend/helpers/spree/frontend_helper.scss +41 -0
- data/app/assets/stylesheets/spree/frontend/variables/variables.scss +2 -2
- data/app/assets/stylesheets/spree/frontend/views/spree/checkout/edit.scss +17 -5
- data/app/assets/stylesheets/spree/frontend/views/spree/cms_sections/_index.scss +1 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/cms_sections/product_buy_bar.scss +20 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/home/index.scss +54 -67
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/category_nav_bar.scss +3 -3
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/footer.scss +4 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/main_nav_bar.scss +12 -1
- data/app/controllers/spree/addresses_controller.rb +14 -19
- data/app/controllers/spree/checkout_controller.rb +5 -3
- data/app/controllers/spree/cms_pages_controller.rb +29 -0
- data/app/controllers/spree/content_controller.rb +0 -2
- data/app/controllers/spree/errors_controller.rb +11 -0
- data/app/controllers/spree/home_controller.rb +34 -1
- data/app/controllers/spree/locale_controller.rb +7 -1
- data/app/controllers/spree/orders_controller.rb +9 -7
- data/app/controllers/spree/products_controller.rb +14 -13
- data/app/controllers/spree/store_controller.rb +25 -1
- data/app/controllers/spree/taxons_controller.rb +12 -5
- data/app/helpers/spree/addresses_helper.rb +9 -4
- data/app/helpers/spree/cms_pages_helper.rb +23 -0
- data/app/helpers/spree/frontend_helper.rb +109 -10
- data/app/helpers/spree/navigation_helper.rb +73 -4
- data/app/helpers/spree/products_filters_helper.rb +168 -0
- data/app/helpers/spree/store_helper.rb +3 -1
- data/app/views/spree/checkout/_address.html.erb +1 -1
- data/app/views/spree/checkout/_credit_card.html.erb +1 -0
- data/app/views/spree/cms_pages/show.html.erb +16 -0
- data/app/views/spree/errors/forbidden.html.erb +0 -0
- data/app/views/spree/errors/unauthorized.html.erb +0 -0
- data/app/views/spree/home/index.html.erb +19 -118
- data/app/views/spree/layouts/spree_application.html.erb +1 -1
- data/app/views/spree/products/_description.html.erb +16 -19
- data/app/views/spree/products/_filters_desktop.html.erb +50 -15
- data/app/views/spree/products/_filters_mobile.html.erb +38 -10
- data/app/views/spree/products/_sort_desktop.html.erb +17 -11
- data/app/views/spree/products/_sort_mobile.html.erb +16 -0
- data/app/views/spree/products/index.html.erb +1 -1
- data/app/views/spree/shared/_carousel_4_products.html.erb +2 -2
- data/app/views/spree/shared/_checkout_header.html.erb +22 -21
- data/app/views/spree/shared/_copyright.html.erb +1 -1
- data/app/views/spree/shared/_footer.html.erb +15 -9
- data/app/views/spree/shared/_head.html.erb +1 -1
- data/app/views/spree/shared/_header.html.erb +3 -3
- data/app/views/spree/shared/_main_nav_bar.html.erb +61 -43
- data/app/views/spree/shared/_mobile_navigation.html.erb +30 -19
- data/app/views/spree/shared/_nav_bar.html.erb +1 -1
- data/app/views/spree/shared/_option_values.html.erb +2 -21
- data/app/views/spree/shared/_order_details.html.erb +1 -1
- data/app/views/spree/shared/_paths.html.erb +8 -0
- data/app/views/spree/shared/_properties.html.erb +4 -0
- data/app/views/spree/shared/_translations.html.erb +2 -1
- data/app/views/spree/shared/carousel/_single.html.erb +1 -1
- data/app/views/spree/shared/carousel/_thumbnails.html.erb +1 -1
- data/app/views/spree/shared/cms/pages/_edit_mode.html.erb +13 -0
- data/app/views/spree/shared/cms/sections/_featured_article.html.erb +27 -0
- data/app/views/spree/shared/cms/sections/_hero_image.html.erb +60 -0
- data/app/views/spree/shared/cms/sections/_image_gallery.html.erb +171 -0
- data/app/views/spree/shared/cms/sections/_product_carousel.html.erb +5 -0
- data/app/views/spree/shared/cms/sections/_rich_text_content.html.erb +3 -0
- data/app/views/spree/shared/cms/sections/_side_by_side_images.html.erb +118 -0
- data/app/views/spree/taxons/_header.html.erb +6 -1
- data/app/views/spree/users/show.html.erb +1 -1
- data/config/initializers/assets.rb +4 -13
- data/config/routes.rb +9 -3
- data/lib/generators/spree/frontend/install/install_generator.rb +5 -5
- data/lib/generators/spree/frontend/install/templates/app/assets/config/manifest.js +2 -0
- data/lib/generators/spree/frontend/install/templates/vendor/assets/javascripts/spree/frontend/all.js +8 -0
- data/lib/generators/spree/frontend/install/templates/vendor/assets/stylesheets/spree/frontend/all.css +9 -0
- data/lib/spree/frontend.rb +6 -3
- data/lib/spree/frontend/engine.rb +6 -0
- data/spec/fixtures/files/store_favicon.ico +0 -0
- data/spree_frontend.gemspec +12 -8
- data/vendor/assets/javascripts/cleave.js +8 -0
- data/vendor/assets/javascripts/fetch.umd.js +531 -0
- data/vendor/assets/javascripts/jquery.payment.js +652 -0
- data/vendor/assets/javascripts/jsuri.js +458 -0
- data/vendor/assets/javascripts/polyfill.min.js +1 -0
- metadata +130 -84
- data/app/assets/images/homepage/big_category_banner.jpg +0 -0
- data/app/assets/images/homepage/big_category_banner_mobile.jpg +0 -0
- data/app/assets/images/homepage/big_category_banner_tablet_landscape.jpg +0 -0
- data/app/assets/images/homepage/big_category_banner_tablet_portrait.jpg +0 -0
- data/app/assets/images/homepage/category_banner_lower.jpg +0 -0
- data/app/assets/images/homepage/category_banner_lower_mobile.jpg +0 -0
- data/app/assets/images/homepage/category_banner_lower_tablet_landscape.jpg +0 -0
- data/app/assets/images/homepage/category_banner_lower_tablet_portrait.jpg +0 -0
- data/app/assets/images/homepage/category_banner_upper.jpg +0 -0
- data/app/assets/images/homepage/category_banner_upper_mobile.jpg +0 -0
- data/app/assets/images/homepage/category_banner_upper_tablet_landscape.jpg +0 -0
- data/app/assets/images/homepage/category_banner_upper_tablet_portrait.jpg +0 -0
- data/app/assets/images/homepage/main_banner.jpg +0 -0
- data/app/assets/images/homepage/main_banner_mobile.jpg +0 -0
- data/app/assets/images/homepage/main_banner_tablet_landscape.jpg +0 -0
- data/app/assets/images/homepage/main_banner_tablet_portrait.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_left.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_left_mobile.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_left_tablet_landscape.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_left_tablet_portrait.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_right.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_right_mobile.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_right_tablet_landscape.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_right_tablet_portrait.jpg +0 -0
- data/app/assets/images/meganav/promo_banner_left-first-category.jpg +0 -0
- data/app/assets/images/meganav/promo_banner_left-second-category.jpg +0 -0
- data/app/assets/images/meganav/promo_banner_left-third-category.jpg +0 -0
- data/app/assets/images/meganav/promo_banner_right-first-category.jpg +0 -0
- data/app/assets/images/meganav/promo_banner_right-second-category.jpg +0 -0
- data/app/assets/images/meganav/promo_banner_right-third-category.jpg +0 -0
- data/app/assets/images/noimage/big_category_banner.jpg +0 -0
- data/app/assets/images/noimage/big_category_banner_mobile.jpg +0 -0
- data/app/assets/images/noimage/big_category_banner_tablet_landscape.jpg +0 -0
- data/app/assets/images/noimage/big_category_banner_tablet_portrait.jpg +0 -0
- data/app/assets/images/noimage/category_banner.jpg +0 -0
- data/app/assets/images/noimage/category_banner_mobile.jpg +0 -0
- data/app/assets/images/noimage/category_banner_plp.jpg +0 -0
- data/app/assets/images/noimage/category_banner_tablet_landscape.jpg +0 -0
- data/app/assets/images/noimage/category_banner_tablet_portrait.jpg +0 -0
- data/app/assets/images/noimage/main_banner.jpg +0 -0
- data/app/assets/images/noimage/main_banner_mobile.jpg +0 -0
- data/app/assets/images/noimage/main_banner_tablet_landscape.jpg +0 -0
- data/app/assets/images/noimage/main_banner_tablet_portrait.jpg +0 -0
- data/app/assets/images/noimage/product_photo.jpg +0 -0
- data/app/assets/images/noimage/promo_banner.jpg +0 -0
- data/app/assets/images/noimage/promo_banner_megamenu.jpg +0 -0
- data/app/assets/images/noimage/promo_banner_mobile.jpg +0 -0
- data/app/assets/images/noimage/promo_banner_tablet_landscape.jpg +0 -0
- data/app/assets/images/noimage/promo_banner_tablet_portrait.jpg +0 -0
- data/app/assets/javascripts/spree/frontend/locale.js +0 -13
- data/app/assets/javascripts/spree/frontend/multi_currency.js +0 -13
- data/lib/generators/spree/frontend/install/templates/config/initializers/spree_storefront.rb +0 -1
- data/lib/generators/spree/frontend/install/templates/config/spree_storefront.yml +0 -99
@@ -28,6 +28,7 @@
|
|
28
28
|
@import "spree/frontend/views/spree/shared/order_details";
|
29
29
|
@import "spree/frontend/views/spree/shared/main_nav_bar";
|
30
30
|
@import "spree/frontend/views/spree/errors/not_found";
|
31
|
+
@import "spree/frontend/views/spree/cms_sections/_index";
|
31
32
|
@import "spree/frontend/views/spree/shared/carousel/thumbnails";
|
32
33
|
@import "spree/frontend/views/spree/shared/carousel/single";
|
33
34
|
@import "spree/frontend/views/spree/home/index";
|
@@ -1,3 +1,22 @@
|
|
1
|
+
.position-absolute-center {
|
2
|
+
position:absolute;
|
3
|
+
left:50%;
|
4
|
+
top:50%;
|
5
|
+
transform:translate(-50%, -50%);
|
6
|
+
}
|
7
|
+
|
8
|
+
.position-absolute-x-center {
|
9
|
+
position:absolute;
|
10
|
+
left:50%;
|
11
|
+
transform:translate(-50%, 0);
|
12
|
+
}
|
13
|
+
|
14
|
+
.position-absolute-y-center {
|
15
|
+
position:absolute;
|
16
|
+
top:50%;
|
17
|
+
transform:translate(0, -50%);
|
18
|
+
}
|
19
|
+
|
1
20
|
#breadcrumbs {
|
2
21
|
padding: 0;
|
3
22
|
}
|
@@ -30,3 +49,25 @@
|
|
30
49
|
overflow: hidden;
|
31
50
|
text-overflow: ellipsis;
|
32
51
|
}
|
52
|
+
|
53
|
+
// Aspect Ratios
|
54
|
+
[style*="--aspect-ratio"] > img,
|
55
|
+
[style*="--aspect-ratio"] > svg {
|
56
|
+
width: 100%;
|
57
|
+
height: 100%;
|
58
|
+
position: absolute;
|
59
|
+
top: 0;
|
60
|
+
left: 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
@supports (--custom:property) {
|
64
|
+
[style*="--aspect-ratio"] {
|
65
|
+
position: relative;
|
66
|
+
}
|
67
|
+
|
68
|
+
[style*="--aspect-ratio"]::before {
|
69
|
+
content: "";
|
70
|
+
display: block;
|
71
|
+
padding-bottom: calc(100% / (var(--aspect-ratio)));
|
72
|
+
}
|
73
|
+
}
|
@@ -21,7 +21,7 @@ $spree-header-tablet-height: 75px;
|
|
21
21
|
$spree-header-desktop-height: 75px;
|
22
22
|
|
23
23
|
// bootstrap overrides
|
24
|
-
$grid-gutter-width:
|
24
|
+
$grid-gutter-width: 1rem;
|
25
25
|
$body-color: $font-color;
|
26
26
|
$theme-colors: (
|
27
27
|
// standard bootstrap colors
|
@@ -62,7 +62,7 @@ $container-max-widths: (
|
|
62
62
|
);
|
63
63
|
|
64
64
|
// helper variables
|
65
|
-
$container-padding:
|
65
|
+
$container-padding: $grid-gutter-width / 2;
|
66
66
|
$photo-width-to-height-ratio: 30001/ 37500;
|
67
67
|
$photo-width-to-height-ratio-zoom: 28015 / 37500;
|
68
68
|
$thumbnails-carousel-single-height: 100% / $photo-width-to-height-ratio;
|
@@ -32,9 +32,21 @@
|
|
32
32
|
}
|
33
33
|
}
|
34
34
|
&-text {
|
35
|
-
|
35
|
+
color: black;
|
36
|
+
font-size: 0.8rem;
|
37
|
+
@include media-breakpoint-up(sm) {
|
38
|
+
font-size: 1rem;
|
39
|
+
}
|
40
|
+
@include media-breakpoint-up(lg) {
|
41
|
+
font-size: 1.25rem;
|
42
|
+
}
|
43
|
+
svg {
|
44
|
+
height: 15px;
|
45
|
+
padding-top: 2px;
|
46
|
+
}
|
36
47
|
&:hover {
|
37
48
|
text-decoration: underline;
|
49
|
+
color: black;
|
38
50
|
}
|
39
51
|
}
|
40
52
|
}
|
@@ -388,19 +400,19 @@
|
|
388
400
|
}
|
389
401
|
&-header {
|
390
402
|
font-size: font-px-to-rem(16px);
|
403
|
+
hyphens: auto;
|
404
|
+
overflow-wrap: break-word;
|
405
|
+
word-wrap: break-word;
|
391
406
|
font-weight: 500;
|
392
|
-
line-height: 1.06;
|
393
407
|
letter-spacing: 0.4px;
|
394
|
-
margin-bottom:
|
408
|
+
margin-bottom: 30px;
|
395
409
|
@include media-breakpoint-up(sm) {
|
396
410
|
font-size: font-px-to-rem(29px);
|
397
|
-
line-height: 1.1;
|
398
411
|
letter-spacing: 0.73px;
|
399
412
|
margin-bottom: 74px;
|
400
413
|
}
|
401
414
|
@include media-breakpoint-up(lg) {
|
402
415
|
font-size: font-px-to-rem(26px);
|
403
|
-
line-height: 0.65;
|
404
416
|
letter-spacing: 0.65px;
|
405
417
|
margin-bottom: 35px;
|
406
418
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "spree/frontend/views/spree/cms_sections/product_buy_bar";
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.row.section-row.sticky-top {
|
2
|
+
z-index: 3;
|
3
|
+
background-color: rgba(255, 255, 255, 0.95);
|
4
|
+
padding: 5px 0;
|
5
|
+
border-top: 1px solid $global-border-style;
|
6
|
+
border-bottom: 1px solid $global-border-style;
|
7
|
+
top: $spree-header-mobile-height + 24px;
|
8
|
+
|
9
|
+
.buy-container {
|
10
|
+
min-height: $spree-header-mobile-height;
|
11
|
+
}
|
12
|
+
|
13
|
+
li.buy-bar {
|
14
|
+
a { color: grey;
|
15
|
+
&.active {
|
16
|
+
color: $header-font-color;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
@@ -1,10 +1,29 @@
|
|
1
|
+
:root {
|
2
|
+
--spree-border-color: transparent;
|
3
|
+
}
|
4
|
+
|
5
|
+
.brand {
|
6
|
+
img {
|
7
|
+
width: 85%;
|
8
|
+
max-width: 140px;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.section-row {
|
13
|
+
margin-bottom: #{$grid-gutter-width};
|
14
|
+
}
|
15
|
+
|
16
|
+
.match-col-gap {
|
17
|
+
padding-left: $container-padding;
|
18
|
+
padding-right: $container-padding;
|
19
|
+
}
|
20
|
+
|
1
21
|
.homepage {
|
2
22
|
&-hero-image {
|
3
23
|
display: flex;
|
4
|
-
justify-content:
|
24
|
+
justify-content: flex-start;
|
5
25
|
flex-direction: column;
|
6
26
|
text-align: center;
|
7
|
-
height: 204px;
|
8
27
|
width: 100%;
|
9
28
|
overflow: hidden;
|
10
29
|
|
@@ -16,16 +35,7 @@
|
|
16
35
|
height: 100%;
|
17
36
|
}
|
18
37
|
|
19
|
-
@include media-breakpoint-up(md) {
|
20
|
-
height: 418px;
|
21
|
-
}
|
22
|
-
|
23
|
-
@include media-breakpoint-up(lg) {
|
24
|
-
height: 600px;
|
25
|
-
}
|
26
|
-
|
27
38
|
.hero-content {
|
28
|
-
position: absolute;
|
29
39
|
z-index: 1;
|
30
40
|
right: 10%;
|
31
41
|
}
|
@@ -40,7 +50,7 @@
|
|
40
50
|
|
41
51
|
@include media-breakpoint-up(md) {
|
42
52
|
font-size: font-px-to-rem(44px);
|
43
|
-
width:
|
53
|
+
width: 398px;
|
44
54
|
}
|
45
55
|
|
46
56
|
@include media-breakpoint-up(lg) {
|
@@ -65,17 +75,6 @@
|
|
65
75
|
|
66
76
|
&-taxon-box {
|
67
77
|
display: block;
|
68
|
-
flex-direction: column;
|
69
|
-
height: 140px;
|
70
|
-
position: relative;
|
71
|
-
overflow: hidden;
|
72
|
-
|
73
|
-
img {
|
74
|
-
display: block;
|
75
|
-
object-fit: cover;
|
76
|
-
width: 100%;
|
77
|
-
height: 100%;
|
78
|
-
}
|
79
78
|
|
80
79
|
h3 {
|
81
80
|
margin: 0;
|
@@ -97,14 +96,6 @@
|
|
97
96
|
}
|
98
97
|
}
|
99
98
|
|
100
|
-
@include media-breakpoint-up(md) {
|
101
|
-
height: 324px;
|
102
|
-
}
|
103
|
-
|
104
|
-
@include media-breakpoint-up(lg) {
|
105
|
-
height: 390px;
|
106
|
-
}
|
107
|
-
|
108
99
|
&-text {
|
109
100
|
width: 100%;
|
110
101
|
text-transform: uppercase;
|
@@ -133,10 +124,10 @@
|
|
133
124
|
&-fashion-trends-box {
|
134
125
|
background: $secondary-background;
|
135
126
|
color: $secondary-font-color;
|
136
|
-
padding: 30px
|
127
|
+
padding: 30px 15px;
|
137
128
|
|
138
129
|
@include media-breakpoint-up(md) {
|
139
|
-
padding:
|
130
|
+
padding: 5vw 0px;
|
140
131
|
}
|
141
132
|
|
142
133
|
&-summer-text {
|
@@ -178,11 +169,12 @@
|
|
178
169
|
color: $font-color;
|
179
170
|
margin: auto;
|
180
171
|
font-size: font-px-to-rem(12px);
|
181
|
-
width: 283px;
|
172
|
+
max-width: 283px;
|
182
173
|
|
183
174
|
@include media-breakpoint-up(md) {
|
184
175
|
font-size: font-px-to-rem(16px);
|
185
|
-
width:
|
176
|
+
width: 90%;
|
177
|
+
max-width: 608px;
|
186
178
|
}
|
187
179
|
}
|
188
180
|
.spree-btn {
|
@@ -190,58 +182,36 @@
|
|
190
182
|
border: solid 2px theme-color('primary');
|
191
183
|
font-size: font-px-to-rem(12px);
|
192
184
|
font-weight: bold;
|
185
|
+
max-width: 100%;
|
193
186
|
@include media-breakpoint-up(md) {
|
194
187
|
font-size: font-px-to-rem(22px);
|
195
|
-
width: 400px;
|
196
|
-
padding-top: 0.7rem;
|
197
188
|
}
|
198
189
|
@include media-breakpoint-up(lg) {
|
199
190
|
font-size: font-px-to-rem(20px);
|
200
|
-
width: 497.2px;
|
201
191
|
}
|
202
192
|
}
|
203
193
|
}
|
204
194
|
}
|
205
195
|
|
206
196
|
&-bottom-box {
|
207
|
-
background: $secondary-background;
|
208
|
-
color: $secondary-font-color;
|
209
|
-
display: flex;
|
210
|
-
justify-content: center;
|
211
|
-
flex-direction: column;
|
212
|
-
text-align: center;
|
213
|
-
height: 168px;
|
214
|
-
overflow: hidden;
|
215
|
-
|
216
197
|
img {
|
217
198
|
width: 100%;
|
218
199
|
object-fit: cover;
|
219
200
|
}
|
220
201
|
|
221
|
-
@include media-breakpoint-up(md) {
|
222
|
-
height: 363px;
|
223
|
-
}
|
224
|
-
@include media-breakpoint-up(lg) {
|
225
|
-
height: 350px;
|
226
|
-
}
|
227
|
-
|
228
202
|
&-inner {
|
229
203
|
background: $primary-background;
|
230
204
|
margin: auto;
|
231
|
-
padding: 10px 30px;
|
232
205
|
position: absolute;
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
padding: 30px 100px;
|
238
|
-
}
|
206
|
+
max-height: 70%;
|
207
|
+
min-width: 60%;
|
208
|
+
max-width: 80%;
|
209
|
+
bottom: 35px;
|
239
210
|
|
240
211
|
&-small-text {
|
241
212
|
font-weight: 500;
|
242
213
|
line-height: 0.9;
|
243
214
|
letter-spacing: 0.25px;
|
244
|
-
text-align: center;
|
245
215
|
color: theme-color('primary');
|
246
216
|
font-size: font-px-to-rem(10px);
|
247
217
|
|
@@ -257,9 +227,12 @@
|
|
257
227
|
font-weight: 600;
|
258
228
|
line-height: 1.2;
|
259
229
|
letter-spacing: 0.38px;
|
260
|
-
text-align: center;
|
261
230
|
color: $font-color;
|
262
|
-
font-size: font-px-to-rem(
|
231
|
+
font-size: font-px-to-rem(14px);
|
232
|
+
|
233
|
+
@include media-breakpoint-up(sm) {
|
234
|
+
font-size: font-px-to-rem(22px);
|
235
|
+
}
|
263
236
|
|
264
237
|
@include media-breakpoint-up(md) {
|
265
238
|
font-size: font-px-to-rem(27px);
|
@@ -280,14 +253,28 @@
|
|
280
253
|
text-decoration: none !important;
|
281
254
|
}
|
282
255
|
&-text {
|
283
|
-
font-size: 12px;
|
256
|
+
font-size: font-px-to-rem(12px);
|
284
257
|
|
285
258
|
@include media-breakpoint-up(md) {
|
286
|
-
font-size: 22px;
|
259
|
+
font-size: font-px-to-rem(22px);
|
287
260
|
}
|
288
261
|
@include media-breakpoint-up(lg) {
|
289
|
-
font-size: 24px;
|
262
|
+
font-size: font-px-to-rem(24px);
|
290
263
|
}
|
291
264
|
}
|
292
265
|
}
|
266
|
+
|
267
|
+
&-hpb {
|
268
|
+
border: 3px solid var(--spree-border-color);
|
269
|
+
}
|
270
|
+
}
|
271
|
+
|
272
|
+
#missingHomepage {
|
273
|
+
.missing-homepage-logo-container {
|
274
|
+
width: 160px;
|
275
|
+
|
276
|
+
img {
|
277
|
+
max-width: 100%;
|
278
|
+
}
|
279
|
+
}
|
293
280
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.category {
|
2
2
|
&-links {
|
3
|
-
width:
|
4
|
-
min-width:
|
3
|
+
width: 170px;
|
4
|
+
min-width: 170px;
|
5
5
|
|
6
6
|
&-header {
|
7
7
|
color: $meganav-font-color;
|
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
ul {
|
14
14
|
list-style-type: none;
|
15
|
-
padding-top:
|
15
|
+
padding-top: 15px;
|
16
16
|
}
|
17
17
|
|
18
18
|
li {
|
@@ -28,6 +28,14 @@
|
|
28
28
|
}
|
29
29
|
}
|
30
30
|
|
31
|
+
#{$self}-button.active {
|
32
|
+
color: $header-font-color;
|
33
|
+
text-decoration: none;
|
34
|
+
&:after {
|
35
|
+
border-bottom-color: $header-font-color;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
31
39
|
.dropdown-item {
|
32
40
|
width: auto;
|
33
41
|
padding: 0;
|
@@ -35,6 +43,10 @@
|
|
35
43
|
&:hover, &:focus {
|
36
44
|
background-color: transparent;
|
37
45
|
}
|
46
|
+
&.active {
|
47
|
+
color: $header-font-color;
|
48
|
+
text-decoration: underline;
|
49
|
+
}
|
38
50
|
}
|
39
51
|
|
40
52
|
&-button {
|
@@ -60,7 +72,6 @@
|
|
60
72
|
}
|
61
73
|
|
62
74
|
&-dropdown {
|
63
|
-
padding: 51px 0px 51px 0px;
|
64
75
|
min-height: 341px;
|
65
76
|
left: 0;
|
66
77
|
right: 0;
|