shipyard-framework 0.4.5 → 0.4.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf177c5a1565eba97757c12bbd705b24f31cc8a4
4
- data.tar.gz: 94fbb2e6a7e03cd21cd9684d24f48ca324136f7c
3
+ metadata.gz: 70913653c12f9a6d7a6f0308f67f743fde08be1f
4
+ data.tar.gz: df4242fae67f754c7aa38b206a1830780453078f
5
5
  SHA512:
6
- metadata.gz: 9db4bc456dd331cb0e69c63f2e872bdeea59f29f995c7d815ce9ca4bc2f5ea41ec0b4ac021b130732fe5db5e62f726abe66aea162d450d1dde1b763e3e3253ae
7
- data.tar.gz: ab3ccda38277bbf22682a40a5f02ba70107cc13f5224330a2ec12c0e4b0f1b7c43387bd05875957d5d44be0c2de2444f3b5abb7c3d335f2987efd533ef4d6b55
6
+ metadata.gz: 0d3fe2a031435a59ad42c9f23fb26c81274d2628129bc1d82c989e9239fdc6c4a7a43eebeddab4adf81a580618f198a9f3bbf02ad551af1d27e3231a2616f05d
7
+ data.tar.gz: 780afdbe9be21ff37a96a6ca4dfca84dcff829847c8a1a6c143c3ad9b8da2e6cf88c452df966ff682c980283da82b0337ffe0263dd877bec7bc1a7a91edc2fa0
@@ -4,14 +4,33 @@
4
4
  border: 1px solid darken($gray-lighter, 5%)
5
5
  font-family: $font-monospace
6
6
  font-size: $font-size-sm
7
+
8
+ &-block
9
+ +extend
10
+ padding: 20px 30px
11
+ line-height: 1.6
12
+ +border-radius
13
+
7
14
  &-inline
8
15
  +extend
9
16
  padding: 2px 4px
10
17
  border-radius: 4px
11
18
  font-weight: $normal
12
19
  white-space: nowrap
13
- &-block
14
- +extend
15
- padding: 20px 30px
16
- line-height: 1.6
17
- +border-radius
20
+
21
+ // Code blocks inside of alerts
22
+ .alert &
23
+ color: #fff
24
+ margin: 0 2px
25
+ .alert-info &
26
+ border-color: darken($blue, 10%)
27
+ background-color: darken($blue, 5%)
28
+ .alert-error &
29
+ border-color: $red-dark
30
+ background-color: lighten($red-dark, 7%)
31
+ .alert-warning &
32
+ border-color: $yellow-darker
33
+ background-color: darken($yellow-dark, 5%)
34
+ .alert-success &
35
+ border-color: darken($green, 15%)
36
+ background-color: darken($green, 10%)
@@ -30,8 +30,10 @@ $teal-darkest: color('teal', darkest) !default
30
30
  // Red
31
31
  $red: color('red') !default
32
32
  $red-light: color('red', light) !default
33
+ $red-lighter: color('red', lighter) !default
33
34
  $red-lightest: color('red', lightest) !default
34
35
  $red-dark: color('red', dark) !default
36
+ $red-darker: color('red', darker) !default
35
37
  $red-darkest: color('red', darkest) !default
36
38
 
37
39
  // Yellow
@@ -30,10 +30,12 @@ $colors: (
30
30
  ),
31
31
  "red": (
32
32
  base: #e06158,
33
- light: #f7a09e,
34
- lightest: #ffc6cb,
33
+ light: lighten(#e06158, 8%),
34
+ lighter: lighten(#e06158, 16%),
35
+ lightest: lighten(#e06158, 25%),
35
36
  dark: #b13b39,
36
- darkest: #892120
37
+ darker: #892120,
38
+ darkest: desaturate(darken(#892120, 8%), 0%)
37
39
  ),
38
40
  "yellow": (
39
41
  base: #ffca49,
@@ -1,3 +1,3 @@
1
1
  module Shipyard
2
- VERSION = '0.4.5'
2
+ VERSION = '0.4.6'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- shipyard-framework (0.4.5)
4
+ shipyard-framework (0.4.6)
5
5
  actionview (~> 5.0)
6
6
 
7
7
  GEM
@@ -0,0 +1,32 @@
1
+ ---
2
+ title: Shipyard Alerts
3
+ ---
4
+
5
+ # {{ page.title }}
6
+
7
+ ---
8
+
9
+ <div class="alert alert-info">
10
+ <p class="alert-txt">
11
+ Ten other people are also viewing tickets for this flight.
12
+ Use the code <code class="code-inline">Travel_Light_2017</code> before you book your flight.
13
+ </p>
14
+ </div>
15
+ <div class="alert alert-success">
16
+ <p class="alert-txt">
17
+ Pack your bags! You'll be on the next flight to Hawaii.
18
+ Use the code <code class="code-inline">Travel_Light_2017</code> on your next flight.
19
+ </p>
20
+ </div>
21
+ <div class="alert alert-warning">
22
+ <p class="alert-txt">
23
+ There are only 2 seats left on this flight! We recommend to book your tickets as soon as possible.
24
+ Use the code <code class="code-inline">Travel_Light_2017</code> before you book your flight.
25
+ </p>
26
+ </div>
27
+ <div class="alert alert-error">
28
+ <p class="alert-txt">
29
+ This flight is now sold out. Let's get you on the next flight to Kauai.
30
+ We hope the code <code class="code-inline">Travel_Light_2017</code> will be useful for your next flight.
31
+ </p>
32
+ </div>
@@ -19,3 +19,31 @@ title: Shipyard Code Component
19
19
  def bar
20
20
  end
21
21
  end</code></pre>
22
+
23
+ <hr />
24
+
25
+ <h2 class="margin-bottom-sm">Code Alert Examples</h2>
26
+ <div class="alert alert-info">
27
+ <p class="alert-txt">
28
+ Ten other people are also viewing tickets for this flight.
29
+ Use the code <code class="code-inline">Travel_Light_2017</code> before you book your flight.
30
+ </p>
31
+ </div>
32
+ <div class="alert alert-success">
33
+ <p class="alert-txt">
34
+ Pack your bags! You'll be on the next flight to Hawaii.
35
+ Use the code <code class="code-inline">Travel_Light_2017</code> on your next flight.
36
+ </p>
37
+ </div>
38
+ <div class="alert alert-warning">
39
+ <p class="alert-txt">
40
+ There are only 2 seats left on this flight! We recommend to book your tickets as soon as possible.
41
+ Use the code <code class="code-inline">Travel_Light_2017</code> before you book your flight.
42
+ </p>
43
+ </div>
44
+ <div class="alert alert-error">
45
+ <p class="alert-txt">
46
+ This flight is now sold out. Let's get you on the next flight to Kauai.
47
+ We hope the code <code class="code-inline">Travel_Light_2017</code> will be useful for your next flight.
48
+ </p>
49
+ </div>
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.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shipyard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-28 00:00:00.000000000 Z
11
+ date: 2017-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -149,7 +149,7 @@ files:
149
149
  - styleguide/_sass/layout.sass
150
150
  - styleguide/_sass/views.sass
151
151
  - styleguide/assets/css/application.sass
152
- - styleguide/components/alerts.html
152
+ - styleguide/components/alerts.md
153
153
  - styleguide/components/boxes.html
154
154
  - styleguide/components/buttons.html
155
155
  - styleguide/components/code.html
@@ -1,12 +0,0 @@
1
- ---
2
- title: Shipyard Alerts
3
- ---
4
-
5
- <h1>{{ page.title }}</h1>
6
-
7
- <hr />
8
-
9
- {% alert :info, Ten other people are also viewing tickets for this flight. %}
10
- {% alert :success, Pack your bags! You'll be on the next flight to Hawaii. %}
11
- {% alert :warning, There are only 2 seats left on this flight! We recommend to book your tickets as soon as possible. %}
12
- {% alert :error, This flight is now sold out. Let's get you on the next flight to Kauai. %}