shipyard-framework 0.5.54 → 0.5.55

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: 3a839c8e129d973a4aa72ad436e2f4616b6ac2f5
4
- data.tar.gz: ae2a1c9e315fd7393a313606bfc28b1ffa3a92d7
3
+ metadata.gz: f40ecec157c31290f222df4bef18bce37cbe1014
4
+ data.tar.gz: 6e82cc40048597c484009650f30f23df61df981b
5
5
  SHA512:
6
- metadata.gz: b305580345363534c9effbf60ce0fc4875ae6bc75964c8c6261cd43eb87ab7b9c614b4784205cea38bdb27f67c94994cbbd4396b6307174bd47b4a65356197d0
7
- data.tar.gz: 2861453d7468188722d291b4a2b785bed27aaed827025e982971cff06a56d00ed0f45ef92fcb78c91d3e972cc13b9ee12b91714593fdebe3842d685bd8b9fdf4
6
+ metadata.gz: 2c7220f20c3bed855754189be9cd27285d4bc30275991a034f57e63e7c32aa8f80216415dce4a78b7b2d66d85538a56ab567ca2a5265306ca3856e4db07944f0
7
+ data.tar.gz: 4d877afb8c01fc29be1e0b156adadb0899a7c13c38effa4c09283816f51335dc1215ccc8cb75f405b69eca8b8ac47c4c7fa7be44e826e7f01e4035bdf194ba9e
@@ -13,19 +13,16 @@
13
13
  &-secondary
14
14
  background: $gray-lighter
15
15
 
16
- &-rounded
17
- border-radius: 1000px
18
-
19
16
  &-link
20
17
  color: $blue
21
18
  cursor: pointer
22
- &:hover, &:active, &-selected, &-active
19
+ &:hover, &:active, &-active
23
20
  color: $blue-dark
24
21
  outline: none
25
22
  box-shadow: 0 0 4px 1px rgba($blue,.5)
26
- &-active-green,
27
- &-active-green:hover,
28
- &-active-green:active
23
+ &-selected,
24
+ &-selected:hover,
25
+ &-selected:active
29
26
  outline: none
30
27
  cursor: default
31
28
  box-shadow: 0 0 4px 1px rgba(darken($green, 5%),.75)
@@ -33,13 +30,6 @@
33
30
  &-padding
34
31
  +respond-to(padding, $margins)
35
32
 
36
- // Box: Margins
37
- &-margin
38
- +all-media-sizes
39
- @each $size, $margin in (sm: 10px 0, md: 15px 0, lg: 30px 0)
40
- &-#{$size}
41
- margin: $margin
42
-
43
33
  // Box Sizes
44
34
  +all-media-sizes
45
35
  @each $size, $height in (xxs: 50px, xs: 60px, sm: 70px, md: 80px, lg: 90px, xl: 100px, xxl: 110px)
@@ -14,6 +14,8 @@
14
14
  -webkit-backdrop-filter: $value
15
15
 
16
16
  @mixin placeholder
17
+ &::placeholder
18
+ @content
17
19
  &:-moz-placeholder
18
20
  @content
19
21
  &:-ms-input-placeholder
@@ -9,7 +9,7 @@ module Shipyard
9
9
  super
10
10
  @types = []
11
11
  types.tr(' ','').split(',').each do |type|
12
- @types << type.tr(':','').to_sym
12
+ @types << type.tr(':','').tr('_','-').to_sym
13
13
  end
14
14
  end
15
15
 
@@ -1,3 +1,3 @@
1
1
  module Shipyard
2
- VERSION = '0.5.54'
2
+ VERSION = '0.5.55'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Shipyard Boxes
3
3
  description: Boxes should be used to grab a draw attention to specific groups of content, and are most useful to linked content. By default, all boxes need to have the base class of `.box` in order to function properly.
4
- box_sizes: [xxs, xs, sm, md, lg, xl]
4
+ box_sizes: [xxs, xs, sm, md, lg, xl, xxl]
5
5
  ---
6
6
 
7
7
  {% include page-heading.html page=page %}
@@ -29,7 +29,25 @@ box_sizes: [xxs, xs, sm, md, lg, xl]
29
29
  ### Linked `.box-link`
30
30
  <p class="text-light margin-bottom-sm">Useful when linking important components to another page or another group of content.</p>
31
31
 
32
- {% box :link, :padding %}
32
+ {% box :link %}
33
+ <p>Donec id elit non mi porta gravida at eget metus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>
34
+ {% endbox %}
35
+
36
+ ---
37
+
38
+ ### Linked & Active `.box-link-active`
39
+ <p class="text-light margin-bottom-sm">Useful when linking important components to another page or another group of content.</p>
40
+
41
+ {% box :link, :link_active %}
42
+ <p>Donec id elit non mi porta gravida at eget metus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>
43
+ {% endbox %}
44
+
45
+ ---
46
+
47
+ ### Linked & Selected `.box-link-selected`
48
+ <p class="text-light margin-bottom-sm">Useful when highlighting a linked box that's been selected by the user.</p>
49
+
50
+ {% box :link, :link_selected %}
33
51
  <p>Donec id elit non mi porta gravida at eget metus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>
34
52
  {% endbox %}
35
53
 
@@ -38,10 +56,11 @@ box_sizes: [xxs, xs, sm, md, lg, xl]
38
56
  ### Secondary `.box-secondary`
39
57
  <p class="text-light margin-bottom-sm">Useful when connecting secondary information to the default box styles.</p>
40
58
 
41
- {% box :secondary, :padding %}
59
+ {% box :secondary %}
42
60
  <p>Donec id elit non mi porta gravida at eget metus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>
43
61
  {% endbox %}
44
62
 
63
+
45
64
  ---
46
65
 
47
66
  ### Box Sizes `.box-[{{ page.box_sizes | join: ', ' }}]`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipyard-framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.54
4
+ version: 0.5.55
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codeship
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-24 00:00:00.000000000 Z
11
+ date: 2017-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview