flint-gs 1.3.5 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +86 -72
- data/lib/flint.rb +2 -2
- data/stylesheets/_flint.scss +3 -3
- data/stylesheets/flint/config/_config.scss +9 -9
- data/stylesheets/flint/functions/helpers/_helpers.scss +37 -31
- data/stylesheets/flint/functions/lib/_calc-breakpoint.scss +14 -11
- data/stylesheets/flint/functions/lib/_calc-margin.scss +13 -13
- data/stylesheets/flint/functions/lib/_calc-width.scss +13 -13
- data/stylesheets/flint/functions/lib/_exists.scss +3 -3
- data/stylesheets/flint/functions/lib/_fluid-width.scss +3 -3
- data/stylesheets/flint/functions/lib/_get-family-instance.scss +3 -3
- data/stylesheets/flint/functions/lib/_get-index.scss +3 -3
- data/stylesheets/flint/functions/lib/_get-instance-value.scss +7 -7
- data/stylesheets/flint/functions/lib/_get-substring.scss +3 -3
- data/stylesheets/flint/functions/lib/_get-value.scss +7 -7
- data/stylesheets/flint/functions/lib/_instance.scss +10 -10
- data/stylesheets/flint/functions/lib/_last.scss +2 -2
- data/stylesheets/flint/functions/lib/_list-to-string.scss +3 -3
- data/stylesheets/flint/functions/lib/_map-fetch.scss +5 -6
- data/stylesheets/flint/functions/lib/_next-index.scss +6 -6
- data/stylesheets/flint/functions/lib/_purge.scss +2 -2
- data/stylesheets/flint/functions/lib/_remove.scss +4 -4
- data/stylesheets/flint/functions/lib/_replace.scss +4 -4
- data/stylesheets/flint/functions/lib/_steal-key.scss +4 -4
- data/stylesheets/flint/functions/lib/_steal-values.scss +3 -3
- data/stylesheets/flint/functions/lib/_string-to-list.scss +4 -4
- data/stylesheets/flint/functions/lib/_string-to-number.scss +3 -3
- data/stylesheets/flint/mixins/lib/_clearfix.scss +3 -2
- data/stylesheets/flint/mixins/lib/_flint-calculate.scss +115 -115
- data/stylesheets/flint/mixins/lib/_flint-main.scss +174 -141
- data/stylesheets/flint/mixins/lib/_new-instance.scss +9 -9
- data/stylesheets/flint/mixins/lib/_print-instance.scss +4 -4
- metadata +2 -2
@@ -1,15 +1,15 @@
|
|
1
1
|
// Creates a new instance, adds to global instance map
|
2
2
|
// -------------------------------------------------------------------------------
|
3
|
-
// @param $calcKey [
|
4
|
-
// @param $calcSpan [
|
5
|
-
// @param $calcContext [
|
6
|
-
// @param $calcGutter [
|
7
|
-
// @param $calcShift [
|
8
|
-
// @param $outputWidth [
|
9
|
-
// @param $outputMarginRight [
|
10
|
-
// @param $outputMarginLeft [
|
3
|
+
// @param $calcKey [string] : breakpoint key
|
4
|
+
// @param $calcSpan [integer] : span
|
5
|
+
// @param $calcContext [integer] : context
|
6
|
+
// @param $calcGutter [integer] : gutter
|
7
|
+
// @param $calcShift [integer] : shift
|
8
|
+
// @param $outputWidth [integer] : width
|
9
|
+
// @param $outputMarginRight [integer] : right margin
|
10
|
+
// @param $outputMarginLeft [integer] : left margin
|
11
11
|
// -------------------------------------------------------------------------------
|
12
|
-
// @output
|
12
|
+
// @output new instance map
|
13
13
|
|
14
14
|
@mixin newInstance ($calcKey, $calcSpan, $calcContext, $calcGutter, $calcShift, $outputWidth, $outputMarginRight, $outputMarginLeft) {
|
15
15
|
$flint__instances:
|
@@ -2,9 +2,9 @@
|
|
2
2
|
// -------------------------------------------------------------------------------
|
3
3
|
// @dependence `printInstance()`
|
4
4
|
// -------------------------------------------------------------------------------
|
5
|
-
// @param $calcKey [
|
5
|
+
// @param $calcKey [string] : breakpoint key to search for instance
|
6
6
|
// -------------------------------------------------------------------------------
|
7
|
-
// @output
|
7
|
+
// @output instance map
|
8
8
|
|
9
9
|
@mixin debugPrintInstance($calcKey) {
|
10
10
|
// Lets clean up the selector a bit...
|
@@ -20,9 +20,9 @@
|
|
20
20
|
|
21
21
|
// Prints all contents of instance
|
22
22
|
// -------------------------------------------------------------------------------
|
23
|
-
// @param $instance [
|
23
|
+
// @param $instance [map] : instance
|
24
24
|
// -------------------------------------------------------------------------------
|
25
|
-
// @output
|
25
|
+
// @output instance map
|
26
26
|
|
27
27
|
@mixin printInstance($instance) {
|
28
28
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flint-gs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ezekiel Gabrielse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|