cloudrider 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/generica/app/varissets/javascripts/templates/components/product-display.emblem.erb +4 -0
- data/generica/app/varissets/javascripts/templates/components/product-listing.emblem.erb +9 -0
- data/generica/app/varissets/javascripts/templates/components/site-nav.emblem.erb +2 -2
- data/generica/app/varissets/stylesheets/apiv1/components/_product-display.css.scss.erb +24 -0
- data/generica/app/varissets/stylesheets/apiv1/components/_product-listing.css.scss.erb +27 -2
- data/lib/cloudrider/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e62c70cac7fad6f3c6b1dfd8e1468ff27619d613
|
4
|
+
data.tar.gz: ca1618330cbee95fc0f7af99bbc4ba2e18590f8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaf4e464e8c996a9ac0dacd17cc0890cfc1ff472492442b073ec22dbd1563f204ed93544e17fc92ea78df6fa5574d7e4066eb359ee1b805f833451f61f43b4e4
|
7
|
+
data.tar.gz: d7be4a82b8bb03f7a73606254ae16602df9f5e0e2ea5b527326ef2bf05e5a432d5da55520bca3708e7a26d4e7dca9c29feea260ff039dec06c8dc36f536ccc22
|
@@ -10,6 +10,10 @@ if product
|
|
10
10
|
tr-span en=product.material
|
11
11
|
if product.sku
|
12
12
|
span.predash= product.sku
|
13
|
+
if product.taxons
|
14
|
+
.taxon-tags
|
15
|
+
each taxon in product.taxons
|
16
|
+
span.tag= taxon.taxonName
|
13
17
|
if product.others
|
14
18
|
p.product-summary
|
15
19
|
tr-span en=product.others
|
@@ -10,6 +10,11 @@ if product
|
|
10
10
|
if product.quality
|
11
11
|
span.predash
|
12
12
|
tr-span en=product.quality
|
13
|
+
span.right
|
14
|
+
if product.hasShowOrder
|
15
|
+
span #
|
16
|
+
span.spacebar= product.showcaseOrder
|
17
|
+
|
13
18
|
.smaller-details
|
14
19
|
if product.price
|
15
20
|
span= product.price
|
@@ -17,6 +22,10 @@ if product
|
|
17
22
|
span @
|
18
23
|
tr-span en=product.place
|
19
24
|
|
25
|
+
if product.taxons
|
26
|
+
.taxon-tags
|
27
|
+
each taxon in product.taxons
|
28
|
+
span.tag= taxon.taxonName
|
20
29
|
else
|
21
30
|
.product-header
|
22
31
|
.media-object
|
@@ -10,7 +10,7 @@
|
|
10
10
|
span.capitalize.prespace
|
11
11
|
tr-span en="about"
|
12
12
|
.nav-button
|
13
|
-
link-to "index"
|
13
|
+
link-to "products.index" class="side-nav"
|
14
14
|
i.fa.fa-tags
|
15
15
|
span.capitalize.prespace
|
16
16
|
tr-span en="products"
|
@@ -32,7 +32,7 @@
|
|
32
32
|
i.fa.fa-info-circle
|
33
33
|
.menu-nav.show-for-medium-up
|
34
34
|
tr-span en="about"
|
35
|
-
link-to "index"
|
35
|
+
link-to "products.index" class="menu-tab"
|
36
36
|
.hide-for-medium-up
|
37
37
|
i.fa.fa-tags
|
38
38
|
.menu-nav.show-for-medium-up
|
@@ -26,5 +26,29 @@
|
|
26
26
|
font-size: 2rem;
|
27
27
|
text-transform: capitalize;
|
28
28
|
}
|
29
|
+
.taxon-tags {
|
30
|
+
padding-bottom: 15px;
|
31
|
+
}
|
32
|
+
.tag {
|
33
|
+
@include transition-property(background-color);
|
34
|
+
@include transition-duration(300ms);
|
35
|
+
@include transition-timing-function(ease-out);
|
36
|
+
background: {
|
37
|
+
color: darken(red, 25%);
|
38
|
+
}
|
39
|
+
&:hover {
|
40
|
+
background-color: darken(red, 15%);
|
41
|
+
}
|
42
|
+
&:before {
|
43
|
+
content: "+";
|
44
|
+
}
|
45
|
+
font-size: 1.15rem;
|
46
|
+
color: #ddd;
|
47
|
+
padding-left: 5px;
|
48
|
+
padding-right: 10px;
|
49
|
+
padding-top: 5px;
|
50
|
+
padding-bottom: 5px;
|
51
|
+
margin-right: 10px;
|
52
|
+
}
|
29
53
|
<% end %>
|
30
54
|
}
|
@@ -13,8 +13,8 @@
|
|
13
13
|
}
|
14
14
|
}
|
15
15
|
.product-image {
|
16
|
-
width:
|
17
|
-
max-height:
|
16
|
+
width: 100px;
|
17
|
+
max-height: 200px;
|
18
18
|
}
|
19
19
|
.media-texts {
|
20
20
|
font-size: 1.45rem;
|
@@ -33,5 +33,30 @@
|
|
33
33
|
@include align-items(center);
|
34
34
|
border-bottom: 1px solid #bbb;
|
35
35
|
}
|
36
|
+
.taxon-tags {
|
37
|
+
margin-top: 5px;
|
38
|
+
margin-bottom: 5px;
|
39
|
+
}
|
40
|
+
.tag {
|
41
|
+
@include transition-property(background-color);
|
42
|
+
@include transition-duration(300ms);
|
43
|
+
@include transition-timing-function(ease-out);
|
44
|
+
background: {
|
45
|
+
color: #777;
|
46
|
+
}
|
47
|
+
&:hover {
|
48
|
+
background-color: #999;
|
49
|
+
}
|
50
|
+
&:before {
|
51
|
+
content: "+";
|
52
|
+
}
|
53
|
+
font-size: 1.15rem;
|
54
|
+
color: #ddd;
|
55
|
+
padding-left: 5px;
|
56
|
+
padding-right: 10px;
|
57
|
+
padding-top: 5px;
|
58
|
+
padding-bottom: 5px;
|
59
|
+
margin-right: 10px;
|
60
|
+
}
|
36
61
|
<% end %>
|
37
62
|
}
|
data/lib/cloudrider/version.rb
CHANGED