shipyard-framework 0.5.85 → 0.5.86

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
  SHA256:
3
- metadata.gz: 1c300db6c77b8a5c466db15595b9bb109ce06a1004be92273ba5f04b4607ce78
4
- data.tar.gz: 7d45bce23826fe11d893783f0104d187ae6a0b76c0ae7028a14ddfe7206d2538
3
+ metadata.gz: e6a117746076275509014c7f145acb8b239aa2beeb6a0687420618030db8c95f
4
+ data.tar.gz: ef3c00e15b5f1acb767d42f0ccdb62e4dbc6cc4aeb3bd1fdadd260b71cc6ceb2
5
5
  SHA512:
6
- metadata.gz: 9a70d9b0ff6c7ce4d0ab46c3d034e1744135f8c32be0666b99e910156297dcbe23d0b82a46cb7784999889c4a46ef66dea9aae21a9f4337812bd6684045f497b
7
- data.tar.gz: d5e921f1ebed256bc531b5dc9e15d4dc2acf49337f149c99af2fafea63bee46777676c3ff5c47687154f6da630cae6d2bcbf46ab8df5f147330a8f3ea08cb7c0
6
+ metadata.gz: 58ad89442d81440b3d21f7746eda3d668ae8d79926ec1d6cd2b22751d4c5648ccf755459543d5943f8edb458bef78289fd9d687f549c93aaf9d283d4bc45065d
7
+ data.tar.gz: 8222ee7dbd3f2eb48664c753c1cd177f06a7031b39780de4615cbdf13703c20e8439a8d3f82503f9e21f2eb34162ccda29decd8fb2fbdf4cbef679670b0566a6
@@ -22,6 +22,13 @@ $sizes: (sm: 18px, md: 20px, lg: 22px, xl: 24px)
22
22
  &:not(:disabled)
23
23
  +btn-color($border-color-dark, $border-color: transparent)
24
24
 
25
+ &-warning
26
+ &:checked
27
+ &, &:not(:disabled)
28
+ +btn-color($yellow-dark, $border-color: transparent)
29
+ &:hover, &:focus
30
+ +btn-color(darken($yellow-dark, 5%), $border-color: transparent)
31
+
25
32
  // Checkbox Switch: White Dot
26
33
  &::after
27
34
  top: 0
@@ -1,3 +1,3 @@
1
1
  module Shipyard
2
- VERSION = '0.5.85'
2
+ VERSION = '0.5.86'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- shipyard-framework (0.5.85)
4
+ shipyard-framework (0.5.86)
5
5
  actionview (~> 5.0)
6
6
  sprockets-es6 (~> 0.9.2)
7
7
 
@@ -36,7 +36,7 @@ GEM
36
36
  fastimage (2.1.0)
37
37
  ffi (1.9.18)
38
38
  forwardable-extended (2.6.0)
39
- i18n (0.9.1)
39
+ i18n (0.9.3)
40
40
  concurrent-ruby (~> 1.0)
41
41
  jekyll (3.6.2)
42
42
  addressable (~> 2.4)
@@ -72,8 +72,8 @@ GEM
72
72
  nokogiri (>= 1.5.9)
73
73
  mercenary (0.3.6)
74
74
  mini_portile2 (2.3.0)
75
- minitest (5.11.1)
76
- nokogiri (1.8.1)
75
+ minitest (5.11.3)
76
+ nokogiri (1.8.2)
77
77
  mini_portile2 (~> 2.3.0)
78
78
  pathutil (0.16.1)
79
79
  forwardable-extended (~> 2.6)
@@ -108,7 +108,7 @@ GEM
108
108
  babel-transpiler
109
109
  sprockets (>= 3.0.0)
110
110
  thread_safe (0.3.6)
111
- tzinfo (1.2.4)
111
+ tzinfo (1.2.5)
112
112
  thread_safe (~> 0.1)
113
113
 
114
114
  PLATFORMS
@@ -217,6 +217,32 @@ Useful when you don't need to draw attention to the bright-red, off state.
217
217
 
218
218
  ---
219
219
 
220
+ ## Warning Checkbox-Switches
221
+ Useful to communicate that your object is only partially connected, and it needs additional attention.
222
+ {: .section-description }
223
+
224
+ <div class="box box-xs margin-bottom-sm padding-top-md padding-bottom-md padding-left-sm padding-right-sm padding-left-x1-lg padding-right-x1-lg">
225
+ <div class="col-container-nowrap">
226
+ <div class="components-checkboxes-switch-col col col-100 text-light text-overflow-ellipsis">Praesent commodo cursus magna, vel scelerisque aenean eu leo quam pellentesque ornare sem lacinia quam.</div>
227
+ <div class="col margin-left-sm">
228
+ <input type="checkbox" class="input input-switch-secondary input-switch-warning" checked />
229
+ </div>
230
+ </div>
231
+ </div>
232
+ <div class="box-secondary box-xs padding-top-md padding-bottom-md padding-left-sm padding-right-sm padding-left-x1-lg padding-right-x1-lg">
233
+ <div class="col-container-nowrap">
234
+ <div class="components-checkboxes-switch-col col col-100 text-light text-overflow-ellipsis">Praesent commodo cursus magna, vel scelerisque aenean eu leo quam pellentesque ornare sem lacinia quam.</div>
235
+ <div class="col margin-left-sm">
236
+ <input type="checkbox" class="input input-switch-secondary input-switch-warning" />
237
+ </div>
238
+ </div>
239
+ </div>
240
+ ```html
241
+ <input type="checkbox" class="input input-switch-secondary input-switch-warning" />
242
+ ```
243
+
244
+ ---
245
+
220
246
  ## Checkbox-Switch Sizes `input-switch-{ x1..x4 }-{ sm..xl }`
221
247
  Each size can be used or altered at any breakpoint.
222
248
  {: .section-description }
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.85
4
+ version: 0.5.86
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codeship
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-09 00:00:00.000000000 Z
11
+ date: 2018-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview