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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb1e3dd93ee1270c6e024c9cca29be822c8549ff
4
- data.tar.gz: 2d62c7639c22d7e596d74be8d5ba592c26238ed5
3
+ metadata.gz: e62c70cac7fad6f3c6b1dfd8e1468ff27619d613
4
+ data.tar.gz: ca1618330cbee95fc0f7af99bbc4ba2e18590f8e
5
5
  SHA512:
6
- metadata.gz: acf3dbe0e24077eb442f4f6a6eb1f5990054ffd7ef0922924288781ca6ef9a0128c945e54159fb1914e8748ca8ecdd54d3c021c32b26fa7ef63bbbddb257d4d0
7
- data.tar.gz: c6995f0e0ae861eb26bd6d521860b7be97446c7c6f701713550d3a9bd128193518ac822590d09f326229ee71915d1f27a1271ee705bebe514f7a122a275917ad
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" (query-params anchor="products") class="side-nav"
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" (query-params anchor="products") class="menu-tab"
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: 75px;
17
- max-height: 100px;
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
  }
@@ -1,3 +1,3 @@
1
1
  module Cloudrider
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudrider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Chen