forever_style_guide 3.4.1 → 3.4.2

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: fb3c3abfe56a5c39cf8f8331f627d313e05d3a17
4
- data.tar.gz: ba022dc9195fb8761b19c5451c13aaadd7079d58
3
+ metadata.gz: 47c87bf7585e574a530b928027d099d435813f87
4
+ data.tar.gz: 01b88761a341f0abd2c1f8c324caf51b2754d3a1
5
5
  SHA512:
6
- metadata.gz: b528bf4dcbcccd00200bcdf08baa58fe3463ab2fcb418b74f559fbfcf26316aee1807393b982ef2ee5bd5f509ec305abea691492783f98073aa0d73f0d80e398
7
- data.tar.gz: b28e68723069df06c35a2e41ef92f1b4093851cc654e8a300fe58fba9b3a43a9c8c1c5de8b781626a4e2f2e8996b4e0a545d57e3cce751978c6a2bbc72399c84
6
+ metadata.gz: a82bb3854da2ef576dbfcb1e56d9528d7889a9c7941f59ef16747deae877b598275069f74674ea54a57a96d38463a4275f03a12bc1e67b66a6dea20cb2a357f8
7
+ data.tar.gz: 3fc0baaabfcdf7d5e139672b2ba3ee753e0e254f260eb0d81ad7a004c98dc3940b5c1efd58f6eeff3b90f29793cba209a81b522b1c252ab03dd412ef387da9e0
@@ -61,6 +61,10 @@
61
61
  }
62
62
  }
63
63
 
64
+ .l-section-last {
65
+ margin-bottom: 40px;
66
+ }
67
+
64
68
  // Layout utility for unpadded bootstrap columns ex. class="row no-gutter"
65
69
  .no-gutter > [class*='col-'] {
66
70
  padding-right: 0;
@@ -56,8 +56,8 @@
56
56
  }
57
57
  }
58
58
 
59
- // creates a button style for each color in core color dictionary
60
- @each $id, $color in $core_colors {
59
+ // creates a button style for each color in color dictionary
60
+ @each $id, $color in $colors {
61
61
  @at-root #{&}.btn-#{$id} {
62
62
  @include btn-color(#{$id});
63
63
 
@@ -263,6 +263,10 @@
263
263
  width: 100%;
264
264
  }
265
265
 
266
+ .btn-block {
267
+ @include btn-block();
268
+ }
269
+
266
270
  .btn-block-xs {
267
271
  @media (max-width: $screen-xs-max) {
268
272
  @include btn-block();
@@ -4,9 +4,31 @@
4
4
  border-radius: $border-radius-xl;
5
5
  }
6
6
 
7
+ @mixin message_box_dismiss($base-color) {
8
+ color: darken($base-color, 10%);
9
+ }
10
+
7
11
  // creates a message_box class for each color in color dictionary
8
12
  @each $id, $color in $colors {
9
13
  .message_box-#{$id} {
14
+ position: relative;
10
15
  @include message_box(color('#{$id}'));
16
+
17
+ .message_box-dismiss {
18
+ @include message_box_dismiss(color('#{$id}'));
19
+ }
11
20
  }
12
21
  }
22
+
23
+ .message_box-dismiss {
24
+ position: absolute;
25
+ /**
26
+ * since the content in a message_box can be basically anything entered, the below numbers are an arbitrary offset
27
+ * so a font awesome icon can be placed at the top right of the message box with ample spacing.
28
+ */
29
+ right: 8px;
30
+ top: 8px;
31
+ line-height: 1;
32
+ font-size: $font-size-400;
33
+ cursor: pointer;
34
+ }
@@ -1,3 +1,3 @@
1
1
  module ForeverStyleGuide
2
- VERSION = "3.4.1"
2
+ VERSION = "3.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forever_style_guide
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.1
4
+ version: 3.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas McClay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-12 00:00:00.000000000 Z
11
+ date: 2018-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails