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 +4 -4
- data/app/assets/stylesheets/forever_style_guide/globals/_layout.scss +4 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_button.scss +6 -2
- data/app/assets/stylesheets/forever_style_guide/modules/_message_box.scss +22 -0
- data/lib/forever_style_guide/version.rb +1 -1
- 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: 47c87bf7585e574a530b928027d099d435813f87
|
4
|
+
data.tar.gz: 01b88761a341f0abd2c1f8c324caf51b2754d3a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a82bb3854da2ef576dbfcb1e56d9528d7889a9c7941f59ef16747deae877b598275069f74674ea54a57a96d38463a4275f03a12bc1e67b66a6dea20cb2a357f8
|
7
|
+
data.tar.gz: 3fc0baaabfcdf7d5e139672b2ba3ee753e0e254f260eb0d81ad7a004c98dc3940b5c1efd58f6eeff3b90f29793cba209a81b522b1c252ab03dd412ef387da9e0
|
@@ -56,8 +56,8 @@
|
|
56
56
|
}
|
57
57
|
}
|
58
58
|
|
59
|
-
// creates a button style for each color in
|
60
|
-
@each $id, $color in $
|
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
|
+
}
|
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.
|
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-
|
11
|
+
date: 2018-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|