helio 0.0.1.2 → 0.0.1.3

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: 97216ea3f9eabbfcb9139d37aaa8b29d55f157cb
4
- data.tar.gz: 3fe87149c4e5cf95ba8dba1659a6f184bf375b03
3
+ metadata.gz: 40a9e016971dbce17629f1fcb74faaef847a5786
4
+ data.tar.gz: 77d49abc24db10dba196f7d53eefd51c0f499d99
5
5
  SHA512:
6
- metadata.gz: 2e16f5c32979f17d23a6a9e3b378e2da909620dda93d7b69a90422f20103ca472d7ccfc25f035139ec6de7f7a1ae2f440100502d2b6a89595b348be34e261249
7
- data.tar.gz: 8a98fd1c3a18f46a152029b9bdae062a24c77d22e3d08d917d2efd20fa639f915ceacd0c9fbda54a3025bb6d04565c573a3e6e2f71a58510347ba18daea1551d
6
+ metadata.gz: 4a5a29c25595b7986f611b75c29f2f4812861404dcc7098445601cec0c8f63b849895a80c296760dd960403431193f1832ad25db321e2d96376042b5a8c778fc
7
+ data.tar.gz: 29de561b6eeff1a98016ced62fe87f04c79b80cf01f9bc4dbcbc19d4b0b2a6d29b037eb1d377edf257134c10a585dbf331a02226c407cc520be0d775ef73670e
@@ -7,4 +7,5 @@
7
7
  @import "helio/spaces";
8
8
  @import "helio/fonts";
9
9
  @import "helio/borders";
10
+ @import "helio/opacities";
10
11
  @import "helio/utilities";
@@ -302,3 +302,11 @@
302
302
 
303
303
  @include border-widths(#{$name}, #{$value});
304
304
  }
305
+
306
+ @include border-radiuses(0, 0px);
307
+ @for $space-index from 1 through length($helio-spaces) {
308
+ $name: $space-index;
309
+ $value: nth($helio-spaces, $space-index);
310
+
311
+ @include border-radiuses($name, $value);
312
+ }
@@ -0,0 +1,24 @@
1
+ @mixin opacities($name, $integer) {
2
+ .opa-#{$name},
3
+ .opa-#{$name}-hover:hover,
4
+ .active .opa-#{$name}-active,
5
+ .active .opa-#{$name}-active:hover {
6
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=$integer)";
7
+ filter: alpha(opacity=$integer);
8
+ -moz-opacity: $integer / 100;
9
+ -khtml-opacity: $integer / 100;
10
+ opacity: $integer / 100;
11
+ }
12
+ }
13
+
14
+
15
+
16
+ @include opacities(0, 0);
17
+ @include opacities(a, 100);
18
+
19
+ @for $fade-index from 1 through length($helio-fades) {
20
+ $name: $fade-index;
21
+ $value: nth($helio-fades, $fade-index);
22
+
23
+ @include opacities($name, $value);
24
+ }
@@ -78,6 +78,17 @@ $helio-border-radiuses: 2px,
78
78
  30px
79
79
  !default;
80
80
 
81
+ $helio-fades: 10,
82
+ 20,
83
+ 30,
84
+ 40,
85
+ 50,
86
+ 60,
87
+ 70,
88
+ 80,
89
+ 90
90
+ !default;
91
+
81
92
 
82
93
  //== Media queries breakpoints
83
94
  //== Credit: Bootstrap
@@ -1,3 +1,3 @@
1
1
  module Helio
2
- VERSION = '0.0.1.2'
2
+ VERSION = '0.0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.2
4
+ version: 0.0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Jovanovic
@@ -194,6 +194,7 @@ files:
194
194
  - assets/stylesheets/helio/_fonts.scss
195
195
  - assets/stylesheets/helio/_functions.scss
196
196
  - assets/stylesheets/helio/_mixins.scss
197
+ - assets/stylesheets/helio/_opacities.scss
197
198
  - assets/stylesheets/helio/_spaces.scss
198
199
  - assets/stylesheets/helio/_utilities.scss
199
200
  - assets/stylesheets/helio/_variables.scss