shipyard-framework 0.5.54 → 0.5.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/stylesheets/shipyard/components/_boxes.sass +4 -14
- data/assets/stylesheets/shipyard/mixins/_prefixed.sass +2 -0
- data/lib/shipyard-framework/jekyll/tags/box_tag.rb +1 -1
- data/lib/shipyard-framework/version.rb +1 -1
- data/styleguide/components/boxes.md +22 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f40ecec157c31290f222df4bef18bce37cbe1014
|
|
4
|
+
data.tar.gz: 6e82cc40048597c484009650f30f23df61df981b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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, &-
|
|
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
|
-
&-
|
|
27
|
-
&-
|
|
28
|
-
&-
|
|
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)
|
|
@@ -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
|
|
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
|
|
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.
|
|
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-
|
|
11
|
+
date: 2017-10-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionview
|