StyleSass 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +4 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +41 -0
  8. data/Rakefile +6 -0
  9. data/StyleSass.gemspec +35 -0
  10. data/app/assets/fonts/FontAwesome.otf +0 -0
  11. data/app/assets/fonts/fontawesome-webfont.eot +0 -0
  12. data/app/assets/fonts/fontawesome-webfont.svg +640 -0
  13. data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
  14. data/app/assets/fonts/fontawesome-webfont.woff +0 -0
  15. data/app/assets/fonts/fontawesome-webfont.woff2 +0 -0
  16. data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  17. data/app/assets/fonts/glyphicons-halflings-regular.svg +288 -0
  18. data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  19. data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  20. data/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
  21. data/app/assets/javascripts/bootstrap/affix.js +162 -0
  22. data/app/assets/javascripts/bootstrap/alert.js +94 -0
  23. data/app/assets/javascripts/bootstrap/button.js +120 -0
  24. data/app/assets/javascripts/bootstrap/carousel.js +237 -0
  25. data/app/assets/javascripts/bootstrap/collapse.js +211 -0
  26. data/app/assets/javascripts/bootstrap/dropdown.js +165 -0
  27. data/app/assets/javascripts/bootstrap/modal.js +337 -0
  28. data/app/assets/javascripts/bootstrap/popover.js +108 -0
  29. data/app/assets/javascripts/bootstrap/scrollspy.js +172 -0
  30. data/app/assets/javascripts/bootstrap/tab.js +155 -0
  31. data/app/assets/javascripts/bootstrap/tooltip.js +514 -0
  32. data/app/assets/javascripts/bootstrap/transition.js +59 -0
  33. data/app/assets/javascripts/bootstrap-sprockets.js +12 -0
  34. data/app/assets/javascripts/bootstrap.js +2363 -0
  35. data/app/assets/javascripts/bootstrap.min.js +7 -0
  36. data/app/assets/stylesheets/_bootstrap-compass.scss +9 -0
  37. data/app/assets/stylesheets/_bootstrap-mincer.scss +19 -0
  38. data/app/assets/stylesheets/_bootstrap-sprockets.scss +9 -0
  39. data/app/assets/stylesheets/_bootstrap.scss +56 -0
  40. data/app/assets/stylesheets/_bourbon-deprecated-upcoming.scss +411 -0
  41. data/app/assets/stylesheets/_bourbon.scss +87 -0
  42. data/app/assets/stylesheets/_font-awesome.css.scss +2026 -0
  43. data/app/assets/stylesheets/_font-awesome.min.css.scss +4 -0
  44. data/app/assets/stylesheets/_normalize.css.scss +427 -0
  45. data/app/assets/stylesheets/addons/_border-color.scss +26 -0
  46. data/app/assets/stylesheets/addons/_border-radius.scss +48 -0
  47. data/app/assets/stylesheets/addons/_border-style.scss +25 -0
  48. data/app/assets/stylesheets/addons/_border-width.scss +25 -0
  49. data/app/assets/stylesheets/addons/_buttons.scss +64 -0
  50. data/app/assets/stylesheets/addons/_clearfix.scss +25 -0
  51. data/app/assets/stylesheets/addons/_ellipsis.scss +30 -0
  52. data/app/assets/stylesheets/addons/_font-stacks.scss +31 -0
  53. data/app/assets/stylesheets/addons/_hide-text.scss +27 -0
  54. data/app/assets/stylesheets/addons/_margin.scss +26 -0
  55. data/app/assets/stylesheets/addons/_padding.scss +26 -0
  56. data/app/assets/stylesheets/addons/_position.scss +48 -0
  57. data/app/assets/stylesheets/addons/_prefixer.scss +66 -0
  58. data/app/assets/stylesheets/addons/_retina-image.scss +25 -0
  59. data/app/assets/stylesheets/addons/_size.scss +51 -0
  60. data/app/assets/stylesheets/addons/_text-inputs.scss +113 -0
  61. data/app/assets/stylesheets/addons/_timing-functions.scss +34 -0
  62. data/app/assets/stylesheets/addons/_triangle.scss +63 -0
  63. data/app/assets/stylesheets/addons/_word-wrap.scss +29 -0
  64. data/app/assets/stylesheets/bootstrap/_alerts.scss +73 -0
  65. data/app/assets/stylesheets/bootstrap/_badges.scss +68 -0
  66. data/app/assets/stylesheets/bootstrap/_breadcrumbs.scss +28 -0
  67. data/app/assets/stylesheets/bootstrap/_button-groups.scss +244 -0
  68. data/app/assets/stylesheets/bootstrap/_buttons.scss +168 -0
  69. data/app/assets/stylesheets/bootstrap/_carousel.scss +269 -0
  70. data/app/assets/stylesheets/bootstrap/_close.scss +36 -0
  71. data/app/assets/stylesheets/bootstrap/_code.scss +69 -0
  72. data/app/assets/stylesheets/bootstrap/_component-animations.scss +37 -0
  73. data/app/assets/stylesheets/bootstrap/_dropdowns.scss +216 -0
  74. data/app/assets/stylesheets/bootstrap/_forms.scss +611 -0
  75. data/app/assets/stylesheets/bootstrap/_glyphicons.scss +307 -0
  76. data/app/assets/stylesheets/bootstrap/_grid.scss +84 -0
  77. data/app/assets/stylesheets/bootstrap/_input-groups.scss +167 -0
  78. data/app/assets/stylesheets/bootstrap/_jumbotron.scss +52 -0
  79. data/app/assets/stylesheets/bootstrap/_labels.scss +66 -0
  80. data/app/assets/stylesheets/bootstrap/_list-group.scss +130 -0
  81. data/app/assets/stylesheets/bootstrap/_media.scss +66 -0
  82. data/app/assets/stylesheets/bootstrap/_mixins.scss +40 -0
  83. data/app/assets/stylesheets/bootstrap/_modals.scss +150 -0
  84. data/app/assets/stylesheets/bootstrap/_navbar.scss +662 -0
  85. data/app/assets/stylesheets/bootstrap/_navs.scss +242 -0
  86. data/app/assets/stylesheets/bootstrap/_normalize.scss +424 -0
  87. data/app/assets/stylesheets/bootstrap/_pager.scss +54 -0
  88. data/app/assets/stylesheets/bootstrap/_pagination.scss +89 -0
  89. data/app/assets/stylesheets/bootstrap/_panels.scss +271 -0
  90. data/app/assets/stylesheets/bootstrap/_popovers.scss +131 -0
  91. data/app/assets/stylesheets/bootstrap/_print.scss +101 -0
  92. data/app/assets/stylesheets/bootstrap/_progress-bars.scss +87 -0
  93. data/app/assets/stylesheets/bootstrap/_responsive-embed.scss +35 -0
  94. data/app/assets/stylesheets/bootstrap/_responsive-utilities.scss +179 -0
  95. data/app/assets/stylesheets/bootstrap/_scaffolding.scss +161 -0
  96. data/app/assets/stylesheets/bootstrap/_tables.scss +234 -0
  97. data/app/assets/stylesheets/bootstrap/_theme.scss +291 -0
  98. data/app/assets/stylesheets/bootstrap/_thumbnails.scss +38 -0
  99. data/app/assets/stylesheets/bootstrap/_tooltip.scss +101 -0
  100. data/app/assets/stylesheets/bootstrap/_type.scss +298 -0
  101. data/app/assets/stylesheets/bootstrap/_utilities.scss +55 -0
  102. data/app/assets/stylesheets/bootstrap/_variables.scss +872 -0
  103. data/app/assets/stylesheets/bootstrap/_wells.scss +29 -0
  104. data/app/assets/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
  105. data/app/assets/stylesheets/bootstrap/mixins/_background-variant.scss +12 -0
  106. data/app/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
  107. data/app/assets/stylesheets/bootstrap/mixins/_buttons.scss +68 -0
  108. data/app/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
  109. data/app/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
  110. data/app/assets/stylesheets/bootstrap/mixins/_forms.scss +88 -0
  111. data/app/assets/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
  112. data/app/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
  113. data/app/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
  114. data/app/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
  115. data/app/assets/stylesheets/bootstrap/mixins/_image.scss +33 -0
  116. data/app/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
  117. data/app/assets/stylesheets/bootstrap/mixins/_list-group.scss +32 -0
  118. data/app/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  119. data/app/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  120. data/app/assets/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
  121. data/app/assets/stylesheets/bootstrap/mixins/_pagination.scss +24 -0
  122. data/app/assets/stylesheets/bootstrap/mixins/_panels.scss +24 -0
  123. data/app/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
  124. data/app/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
  125. data/app/assets/stylesheets/bootstrap/mixins/_reset-text.scss +18 -0
  126. data/app/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  127. data/app/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
  128. data/app/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
  129. data/app/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
  130. data/app/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
  131. data/app/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +12 -0
  132. data/app/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
  133. data/app/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  134. data/app/assets/stylesheets/css3/_animation.scss +43 -0
  135. data/app/assets/stylesheets/css3/_appearance.scss +3 -0
  136. data/app/assets/stylesheets/css3/_backface-visibility.scss +3 -0
  137. data/app/assets/stylesheets/css3/_background-image.scss +42 -0
  138. data/app/assets/stylesheets/css3/_background.scss +55 -0
  139. data/app/assets/stylesheets/css3/_border-image.scss +59 -0
  140. data/app/assets/stylesheets/css3/_calc.scss +4 -0
  141. data/app/assets/stylesheets/css3/_columns.scss +47 -0
  142. data/app/assets/stylesheets/css3/_filter.scss +4 -0
  143. data/app/assets/stylesheets/css3/_flex-box.scss +287 -0
  144. data/app/assets/stylesheets/css3/_font-face.scss +24 -0
  145. data/app/assets/stylesheets/css3/_font-feature-settings.scss +4 -0
  146. data/app/assets/stylesheets/css3/_hidpi-media-query.scss +10 -0
  147. data/app/assets/stylesheets/css3/_hyphens.scss +4 -0
  148. data/app/assets/stylesheets/css3/_image-rendering.scss +14 -0
  149. data/app/assets/stylesheets/css3/_keyframes.scss +36 -0
  150. data/app/assets/stylesheets/css3/_linear-gradient.scss +38 -0
  151. data/app/assets/stylesheets/css3/_perspective.scss +8 -0
  152. data/app/assets/stylesheets/css3/_placeholder.scss +8 -0
  153. data/app/assets/stylesheets/css3/_radial-gradient.scss +39 -0
  154. data/app/assets/stylesheets/css3/_selection.scss +42 -0
  155. data/app/assets/stylesheets/css3/_text-decoration.scss +19 -0
  156. data/app/assets/stylesheets/css3/_transform.scss +15 -0
  157. data/app/assets/stylesheets/css3/_transition.scss +71 -0
  158. data/app/assets/stylesheets/css3/_user-select.scss +3 -0
  159. data/app/assets/stylesheets/functions/_assign-inputs.scss +11 -0
  160. data/app/assets/stylesheets/functions/_contains-falsy.scss +20 -0
  161. data/app/assets/stylesheets/functions/_contains.scss +26 -0
  162. data/app/assets/stylesheets/functions/_is-length.scss +11 -0
  163. data/app/assets/stylesheets/functions/_is-light.scss +21 -0
  164. data/app/assets/stylesheets/functions/_is-number.scss +11 -0
  165. data/app/assets/stylesheets/functions/_is-size.scss +13 -0
  166. data/app/assets/stylesheets/functions/_modular-scale.scss +69 -0
  167. data/app/assets/stylesheets/functions/_px-to-em.scss +13 -0
  168. data/app/assets/stylesheets/functions/_px-to-rem.scss +15 -0
  169. data/app/assets/stylesheets/functions/_shade.scss +24 -0
  170. data/app/assets/stylesheets/functions/_strip-units.scss +17 -0
  171. data/app/assets/stylesheets/functions/_tint.scss +24 -0
  172. data/app/assets/stylesheets/functions/_transition-property-name.scss +22 -0
  173. data/app/assets/stylesheets/functions/_unpack.scss +27 -0
  174. data/app/assets/stylesheets/helpers/_convert-units.scss +21 -0
  175. data/app/assets/stylesheets/helpers/_directional-values.scss +96 -0
  176. data/app/assets/stylesheets/helpers/_font-source-declaration.scss +43 -0
  177. data/app/assets/stylesheets/helpers/_gradient-positions-parser.scss +13 -0
  178. data/app/assets/stylesheets/helpers/_linear-angle-parser.scss +25 -0
  179. data/app/assets/stylesheets/helpers/_linear-gradient-parser.scss +41 -0
  180. data/app/assets/stylesheets/helpers/_linear-positions-parser.scss +61 -0
  181. data/app/assets/stylesheets/helpers/_linear-side-corner-parser.scss +31 -0
  182. data/app/assets/stylesheets/helpers/_radial-arg-parser.scss +69 -0
  183. data/app/assets/stylesheets/helpers/_radial-gradient-parser.scss +50 -0
  184. data/app/assets/stylesheets/helpers/_radial-positions-parser.scss +18 -0
  185. data/app/assets/stylesheets/helpers/_render-gradients.scss +26 -0
  186. data/app/assets/stylesheets/helpers/_shape-size-stripper.scss +10 -0
  187. data/app/assets/stylesheets/helpers/_str-to-num.scss +50 -0
  188. data/app/assets/stylesheets/settings/_asset-pipeline.scss +7 -0
  189. data/app/assets/stylesheets/settings/_prefixer.scss +9 -0
  190. data/app/assets/stylesheets/settings/_px-to-em.scss +1 -0
  191. data/bin/console +14 -0
  192. data/bin/setup +8 -0
  193. data/lib/StyleSass/engine.rb +5 -0
  194. data/lib/StyleSass/version.rb +3 -0
  195. data/lib/StyleSass.rb +2 -0
  196. data/lib/generators/style_sass/install_generator.rb +13 -0
  197. metadata +295 -0
@@ -0,0 +1,69 @@
1
+ @function _radial-arg-parser($g1, $g2, $pos, $shape-size) {
2
+ @each $value in $g1, $g2 {
3
+ $first-val: nth($value, 1);
4
+ $pos-type: type-of($first-val);
5
+ $spec-at-index: null;
6
+
7
+ // Determine if spec was passed to mixin
8
+ @if type-of($value) == list {
9
+ $spec-at-index: if(index($value, at), index($value, at), false);
10
+ }
11
+ @if $spec-at-index {
12
+ @if $spec-at-index > 1 {
13
+ @for $i from 1 through ($spec-at-index - 1) {
14
+ $shape-size: $shape-size nth($value, $i);
15
+ }
16
+ @for $i from ($spec-at-index + 1) through length($value) {
17
+ $pos: $pos nth($value, $i);
18
+ }
19
+ }
20
+ @else if $spec-at-index == 1 {
21
+ @for $i from ($spec-at-index + 1) through length($value) {
22
+ $pos: $pos nth($value, $i);
23
+ }
24
+ }
25
+ $g1: null;
26
+ }
27
+
28
+ // If not spec calculate correct values
29
+ @else {
30
+ @if ($pos-type != color) or ($first-val != "transparent") {
31
+ @if ($pos-type == number)
32
+ or ($first-val == "center")
33
+ or ($first-val == "top")
34
+ or ($first-val == "right")
35
+ or ($first-val == "bottom")
36
+ or ($first-val == "left") {
37
+
38
+ $pos: $value;
39
+
40
+ @if $pos == $g1 {
41
+ $g1: null;
42
+ }
43
+ }
44
+
45
+ @else if
46
+ ($first-val == "ellipse")
47
+ or ($first-val == "circle")
48
+ or ($first-val == "closest-side")
49
+ or ($first-val == "closest-corner")
50
+ or ($first-val == "farthest-side")
51
+ or ($first-val == "farthest-corner")
52
+ or ($first-val == "contain")
53
+ or ($first-val == "cover") {
54
+
55
+ $shape-size: $value;
56
+
57
+ @if $value == $g1 {
58
+ $g1: null;
59
+ }
60
+
61
+ @else if $value == $g2 {
62
+ $g2: null;
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ @return $g1, $g2, $pos, $shape-size;
69
+ }
@@ -0,0 +1,50 @@
1
+ @function _radial-gradient-parser($image) {
2
+ $image: unquote($image);
3
+ $gradients: ();
4
+ $start: str-index($image, "(");
5
+ $end: str-index($image, ",");
6
+ $first-val: str-slice($image, $start + 1, $end - 1);
7
+
8
+ $prefix: str-slice($image, 1, $start);
9
+ $suffix: str-slice($image, $end, str-length($image));
10
+
11
+ $is-spec-syntax: str-index($first-val, "at");
12
+
13
+ @if $is-spec-syntax and $is-spec-syntax > 1 {
14
+ $keyword: str-slice($first-val, 1, $is-spec-syntax - 2);
15
+ $pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val));
16
+ $pos: append($pos, $keyword, comma);
17
+
18
+ $gradients: (
19
+ webkit-image: -webkit- + $prefix + $pos + $suffix,
20
+ spec-image: $image
21
+ );
22
+ }
23
+
24
+ @else if $is-spec-syntax == 1 {
25
+ $pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val));
26
+
27
+ $gradients: (
28
+ webkit-image: -webkit- + $prefix + $pos + $suffix,
29
+ spec-image: $image
30
+ );
31
+ }
32
+
33
+ @else if str-index($image, "cover") or str-index($image, "contain") {
34
+ @warn "Radial-gradient needs to be updated to conform to latest spec.";
35
+
36
+ $gradients: (
37
+ webkit-image: null,
38
+ spec-image: $image
39
+ );
40
+ }
41
+
42
+ @else {
43
+ $gradients: (
44
+ webkit-image: -webkit- + $image,
45
+ spec-image: $image
46
+ );
47
+ }
48
+
49
+ @return $gradients;
50
+ }
@@ -0,0 +1,18 @@
1
+ @function _radial-positions-parser($gradient-pos) {
2
+ $shape-size: nth($gradient-pos, 1);
3
+ $pos: nth($gradient-pos, 2);
4
+ $shape-size-spec: _shape-size-stripper($shape-size);
5
+
6
+ $pre-spec: unquote(if($pos, "#{$pos}, ", null))
7
+ unquote(if($shape-size, "#{$shape-size},", null));
8
+ $pos-spec: if($pos, "at #{$pos}", null);
9
+
10
+ $spec: "#{$shape-size-spec} #{$pos-spec}";
11
+
12
+ // Add comma
13
+ @if ($spec != " ") {
14
+ $spec: "#{$spec},";
15
+ }
16
+
17
+ @return $pre-spec $spec;
18
+ }
@@ -0,0 +1,26 @@
1
+ // User for linear and radial gradients within background-image or border-image properties
2
+
3
+ @function _render-gradients($gradient-positions, $gradients, $gradient-type, $vendor: false) {
4
+ $pre-spec: null;
5
+ $spec: null;
6
+ $vendor-gradients: null;
7
+ @if $gradient-type == linear {
8
+ @if $gradient-positions {
9
+ $pre-spec: nth($gradient-positions, 1);
10
+ $spec: nth($gradient-positions, 2);
11
+ }
12
+ }
13
+ @else if $gradient-type == radial {
14
+ $pre-spec: nth($gradient-positions, 1);
15
+ $spec: nth($gradient-positions, 2);
16
+ }
17
+
18
+ @if $vendor {
19
+ $vendor-gradients: -#{$vendor}-#{$gradient-type}-gradient(#{$pre-spec} $gradients);
20
+ }
21
+ @else if $vendor == false {
22
+ $vendor-gradients: "#{$gradient-type}-gradient(#{$spec} #{$gradients})";
23
+ $vendor-gradients: unquote($vendor-gradients);
24
+ }
25
+ @return $vendor-gradients;
26
+ }
@@ -0,0 +1,10 @@
1
+ @function _shape-size-stripper($shape-size) {
2
+ $shape-size-spec: null;
3
+ @each $value in $shape-size {
4
+ @if ($value == "cover") or ($value == "contain") {
5
+ $value: null;
6
+ }
7
+ $shape-size-spec: "#{$shape-size-spec} #{$value}";
8
+ }
9
+ @return $shape-size-spec;
10
+ }
@@ -0,0 +1,50 @@
1
+ //************************************************************************//
2
+ // Helper function for linear/radial-gradient-parsers.
3
+ // Source: http://sassmeister.com/gist/9647408
4
+ //************************************************************************//
5
+ @function _str-to-num($string) {
6
+ // Matrices
7
+ $strings: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9";
8
+ $numbers: 0 1 2 3 4 5 6 7 8 9;
9
+
10
+ // Result
11
+ $result: 0;
12
+ $divider: 0;
13
+ $minus: false;
14
+
15
+ // Looping through all characters
16
+ @for $i from 1 through str-length($string) {
17
+ $character: str-slice($string, $i, $i);
18
+ $index: index($strings, $character);
19
+
20
+ @if $character == "-" {
21
+ $minus: true;
22
+ }
23
+
24
+ @else if $character == "." {
25
+ $divider: 1;
26
+ }
27
+
28
+ @else {
29
+ @if not $index {
30
+ $result: if($minus, $result * -1, $result);
31
+ @return _convert-units($result, str-slice($string, $i));
32
+ }
33
+
34
+ $number: nth($numbers, $index);
35
+
36
+ @if $divider == 0 {
37
+ $result: $result * 10;
38
+ }
39
+
40
+ @else {
41
+ // Move the decimal dot to the left
42
+ $divider: $divider * 10;
43
+ $number: $number / $divider;
44
+ }
45
+
46
+ $result: $result + $number;
47
+ }
48
+ }
49
+ @return if($minus, $result * -1, $result);
50
+ }
@@ -0,0 +1,7 @@
1
+ @charset "UTF-8";
2
+
3
+ /// A global setting to enable or disable the `$asset-pipeline` variable for all functions that accept it.
4
+ ///
5
+ /// @type Bool
6
+
7
+ $asset-pipeline: false !default;
@@ -0,0 +1,9 @@
1
+ @charset "UTF-8";
2
+
3
+ /// Global variables to enable or disable vendor prefixes
4
+
5
+ $prefix-for-webkit: true !default;
6
+ $prefix-for-mozilla: true !default;
7
+ $prefix-for-microsoft: true !default;
8
+ $prefix-for-opera: true !default;
9
+ $prefix-for-spec: true !default;
@@ -0,0 +1 @@
1
+ $em-base: 16px !default;
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "StyleSass"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,5 @@
1
+ module StyleSass
2
+ class Engine < Rails::Engine
3
+
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module StyleSass
2
+ VERSION = "0.1.2"
3
+ end
data/lib/StyleSass.rb ADDED
@@ -0,0 +1,2 @@
1
+ require "StyleSass/version"
2
+ require "StyleSass/engine"
@@ -0,0 +1,13 @@
1
+
2
+ module StyleSass
3
+ module Generators
4
+ class InstallGenerator < Rails::Generators::Base
5
+ source_root File.expand_path("../../../..",__FILE__)
6
+
7
+ def copy_views
8
+ directory 'app/assets/', 'app/assets/stylesheets/'
9
+ end
10
+
11
+ end
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,295 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: StyleSass
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ platform: ruby
6
+ authors:
7
+ - Alinuxfriend
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-12-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: ''
70
+ email:
71
+ - ajoshi856@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - ".rspec"
78
+ - ".travis.yml"
79
+ - Gemfile
80
+ - LICENSE.txt
81
+ - README.md
82
+ - Rakefile
83
+ - StyleSass.gemspec
84
+ - app/assets/fonts/FontAwesome.otf
85
+ - app/assets/fonts/fontawesome-webfont.eot
86
+ - app/assets/fonts/fontawesome-webfont.svg
87
+ - app/assets/fonts/fontawesome-webfont.ttf
88
+ - app/assets/fonts/fontawesome-webfont.woff
89
+ - app/assets/fonts/fontawesome-webfont.woff2
90
+ - app/assets/fonts/glyphicons-halflings-regular.eot
91
+ - app/assets/fonts/glyphicons-halflings-regular.svg
92
+ - app/assets/fonts/glyphicons-halflings-regular.ttf
93
+ - app/assets/fonts/glyphicons-halflings-regular.woff
94
+ - app/assets/fonts/glyphicons-halflings-regular.woff2
95
+ - app/assets/javascripts/bootstrap-sprockets.js
96
+ - app/assets/javascripts/bootstrap.js
97
+ - app/assets/javascripts/bootstrap.min.js
98
+ - app/assets/javascripts/bootstrap/affix.js
99
+ - app/assets/javascripts/bootstrap/alert.js
100
+ - app/assets/javascripts/bootstrap/button.js
101
+ - app/assets/javascripts/bootstrap/carousel.js
102
+ - app/assets/javascripts/bootstrap/collapse.js
103
+ - app/assets/javascripts/bootstrap/dropdown.js
104
+ - app/assets/javascripts/bootstrap/modal.js
105
+ - app/assets/javascripts/bootstrap/popover.js
106
+ - app/assets/javascripts/bootstrap/scrollspy.js
107
+ - app/assets/javascripts/bootstrap/tab.js
108
+ - app/assets/javascripts/bootstrap/tooltip.js
109
+ - app/assets/javascripts/bootstrap/transition.js
110
+ - app/assets/stylesheets/_bootstrap-compass.scss
111
+ - app/assets/stylesheets/_bootstrap-mincer.scss
112
+ - app/assets/stylesheets/_bootstrap-sprockets.scss
113
+ - app/assets/stylesheets/_bootstrap.scss
114
+ - app/assets/stylesheets/_bourbon-deprecated-upcoming.scss
115
+ - app/assets/stylesheets/_bourbon.scss
116
+ - app/assets/stylesheets/_font-awesome.css.scss
117
+ - app/assets/stylesheets/_font-awesome.min.css.scss
118
+ - app/assets/stylesheets/_normalize.css.scss
119
+ - app/assets/stylesheets/addons/_border-color.scss
120
+ - app/assets/stylesheets/addons/_border-radius.scss
121
+ - app/assets/stylesheets/addons/_border-style.scss
122
+ - app/assets/stylesheets/addons/_border-width.scss
123
+ - app/assets/stylesheets/addons/_buttons.scss
124
+ - app/assets/stylesheets/addons/_clearfix.scss
125
+ - app/assets/stylesheets/addons/_ellipsis.scss
126
+ - app/assets/stylesheets/addons/_font-stacks.scss
127
+ - app/assets/stylesheets/addons/_hide-text.scss
128
+ - app/assets/stylesheets/addons/_margin.scss
129
+ - app/assets/stylesheets/addons/_padding.scss
130
+ - app/assets/stylesheets/addons/_position.scss
131
+ - app/assets/stylesheets/addons/_prefixer.scss
132
+ - app/assets/stylesheets/addons/_retina-image.scss
133
+ - app/assets/stylesheets/addons/_size.scss
134
+ - app/assets/stylesheets/addons/_text-inputs.scss
135
+ - app/assets/stylesheets/addons/_timing-functions.scss
136
+ - app/assets/stylesheets/addons/_triangle.scss
137
+ - app/assets/stylesheets/addons/_word-wrap.scss
138
+ - app/assets/stylesheets/bootstrap/_alerts.scss
139
+ - app/assets/stylesheets/bootstrap/_badges.scss
140
+ - app/assets/stylesheets/bootstrap/_breadcrumbs.scss
141
+ - app/assets/stylesheets/bootstrap/_button-groups.scss
142
+ - app/assets/stylesheets/bootstrap/_buttons.scss
143
+ - app/assets/stylesheets/bootstrap/_carousel.scss
144
+ - app/assets/stylesheets/bootstrap/_close.scss
145
+ - app/assets/stylesheets/bootstrap/_code.scss
146
+ - app/assets/stylesheets/bootstrap/_component-animations.scss
147
+ - app/assets/stylesheets/bootstrap/_dropdowns.scss
148
+ - app/assets/stylesheets/bootstrap/_forms.scss
149
+ - app/assets/stylesheets/bootstrap/_glyphicons.scss
150
+ - app/assets/stylesheets/bootstrap/_grid.scss
151
+ - app/assets/stylesheets/bootstrap/_input-groups.scss
152
+ - app/assets/stylesheets/bootstrap/_jumbotron.scss
153
+ - app/assets/stylesheets/bootstrap/_labels.scss
154
+ - app/assets/stylesheets/bootstrap/_list-group.scss
155
+ - app/assets/stylesheets/bootstrap/_media.scss
156
+ - app/assets/stylesheets/bootstrap/_mixins.scss
157
+ - app/assets/stylesheets/bootstrap/_modals.scss
158
+ - app/assets/stylesheets/bootstrap/_navbar.scss
159
+ - app/assets/stylesheets/bootstrap/_navs.scss
160
+ - app/assets/stylesheets/bootstrap/_normalize.scss
161
+ - app/assets/stylesheets/bootstrap/_pager.scss
162
+ - app/assets/stylesheets/bootstrap/_pagination.scss
163
+ - app/assets/stylesheets/bootstrap/_panels.scss
164
+ - app/assets/stylesheets/bootstrap/_popovers.scss
165
+ - app/assets/stylesheets/bootstrap/_print.scss
166
+ - app/assets/stylesheets/bootstrap/_progress-bars.scss
167
+ - app/assets/stylesheets/bootstrap/_responsive-embed.scss
168
+ - app/assets/stylesheets/bootstrap/_responsive-utilities.scss
169
+ - app/assets/stylesheets/bootstrap/_scaffolding.scss
170
+ - app/assets/stylesheets/bootstrap/_tables.scss
171
+ - app/assets/stylesheets/bootstrap/_theme.scss
172
+ - app/assets/stylesheets/bootstrap/_thumbnails.scss
173
+ - app/assets/stylesheets/bootstrap/_tooltip.scss
174
+ - app/assets/stylesheets/bootstrap/_type.scss
175
+ - app/assets/stylesheets/bootstrap/_utilities.scss
176
+ - app/assets/stylesheets/bootstrap/_variables.scss
177
+ - app/assets/stylesheets/bootstrap/_wells.scss
178
+ - app/assets/stylesheets/bootstrap/mixins/_alerts.scss
179
+ - app/assets/stylesheets/bootstrap/mixins/_background-variant.scss
180
+ - app/assets/stylesheets/bootstrap/mixins/_border-radius.scss
181
+ - app/assets/stylesheets/bootstrap/mixins/_buttons.scss
182
+ - app/assets/stylesheets/bootstrap/mixins/_center-block.scss
183
+ - app/assets/stylesheets/bootstrap/mixins/_clearfix.scss
184
+ - app/assets/stylesheets/bootstrap/mixins/_forms.scss
185
+ - app/assets/stylesheets/bootstrap/mixins/_gradients.scss
186
+ - app/assets/stylesheets/bootstrap/mixins/_grid-framework.scss
187
+ - app/assets/stylesheets/bootstrap/mixins/_grid.scss
188
+ - app/assets/stylesheets/bootstrap/mixins/_hide-text.scss
189
+ - app/assets/stylesheets/bootstrap/mixins/_image.scss
190
+ - app/assets/stylesheets/bootstrap/mixins/_labels.scss
191
+ - app/assets/stylesheets/bootstrap/mixins/_list-group.scss
192
+ - app/assets/stylesheets/bootstrap/mixins/_nav-divider.scss
193
+ - app/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss
194
+ - app/assets/stylesheets/bootstrap/mixins/_opacity.scss
195
+ - app/assets/stylesheets/bootstrap/mixins/_pagination.scss
196
+ - app/assets/stylesheets/bootstrap/mixins/_panels.scss
197
+ - app/assets/stylesheets/bootstrap/mixins/_progress-bar.scss
198
+ - app/assets/stylesheets/bootstrap/mixins/_reset-filter.scss
199
+ - app/assets/stylesheets/bootstrap/mixins/_reset-text.scss
200
+ - app/assets/stylesheets/bootstrap/mixins/_resize.scss
201
+ - app/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss
202
+ - app/assets/stylesheets/bootstrap/mixins/_size.scss
203
+ - app/assets/stylesheets/bootstrap/mixins/_tab-focus.scss
204
+ - app/assets/stylesheets/bootstrap/mixins/_table-row.scss
205
+ - app/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss
206
+ - app/assets/stylesheets/bootstrap/mixins/_text-overflow.scss
207
+ - app/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss
208
+ - app/assets/stylesheets/css3/_animation.scss
209
+ - app/assets/stylesheets/css3/_appearance.scss
210
+ - app/assets/stylesheets/css3/_backface-visibility.scss
211
+ - app/assets/stylesheets/css3/_background-image.scss
212
+ - app/assets/stylesheets/css3/_background.scss
213
+ - app/assets/stylesheets/css3/_border-image.scss
214
+ - app/assets/stylesheets/css3/_calc.scss
215
+ - app/assets/stylesheets/css3/_columns.scss
216
+ - app/assets/stylesheets/css3/_filter.scss
217
+ - app/assets/stylesheets/css3/_flex-box.scss
218
+ - app/assets/stylesheets/css3/_font-face.scss
219
+ - app/assets/stylesheets/css3/_font-feature-settings.scss
220
+ - app/assets/stylesheets/css3/_hidpi-media-query.scss
221
+ - app/assets/stylesheets/css3/_hyphens.scss
222
+ - app/assets/stylesheets/css3/_image-rendering.scss
223
+ - app/assets/stylesheets/css3/_keyframes.scss
224
+ - app/assets/stylesheets/css3/_linear-gradient.scss
225
+ - app/assets/stylesheets/css3/_perspective.scss
226
+ - app/assets/stylesheets/css3/_placeholder.scss
227
+ - app/assets/stylesheets/css3/_radial-gradient.scss
228
+ - app/assets/stylesheets/css3/_selection.scss
229
+ - app/assets/stylesheets/css3/_text-decoration.scss
230
+ - app/assets/stylesheets/css3/_transform.scss
231
+ - app/assets/stylesheets/css3/_transition.scss
232
+ - app/assets/stylesheets/css3/_user-select.scss
233
+ - app/assets/stylesheets/functions/_assign-inputs.scss
234
+ - app/assets/stylesheets/functions/_contains-falsy.scss
235
+ - app/assets/stylesheets/functions/_contains.scss
236
+ - app/assets/stylesheets/functions/_is-length.scss
237
+ - app/assets/stylesheets/functions/_is-light.scss
238
+ - app/assets/stylesheets/functions/_is-number.scss
239
+ - app/assets/stylesheets/functions/_is-size.scss
240
+ - app/assets/stylesheets/functions/_modular-scale.scss
241
+ - app/assets/stylesheets/functions/_px-to-em.scss
242
+ - app/assets/stylesheets/functions/_px-to-rem.scss
243
+ - app/assets/stylesheets/functions/_shade.scss
244
+ - app/assets/stylesheets/functions/_strip-units.scss
245
+ - app/assets/stylesheets/functions/_tint.scss
246
+ - app/assets/stylesheets/functions/_transition-property-name.scss
247
+ - app/assets/stylesheets/functions/_unpack.scss
248
+ - app/assets/stylesheets/helpers/_convert-units.scss
249
+ - app/assets/stylesheets/helpers/_directional-values.scss
250
+ - app/assets/stylesheets/helpers/_font-source-declaration.scss
251
+ - app/assets/stylesheets/helpers/_gradient-positions-parser.scss
252
+ - app/assets/stylesheets/helpers/_linear-angle-parser.scss
253
+ - app/assets/stylesheets/helpers/_linear-gradient-parser.scss
254
+ - app/assets/stylesheets/helpers/_linear-positions-parser.scss
255
+ - app/assets/stylesheets/helpers/_linear-side-corner-parser.scss
256
+ - app/assets/stylesheets/helpers/_radial-arg-parser.scss
257
+ - app/assets/stylesheets/helpers/_radial-gradient-parser.scss
258
+ - app/assets/stylesheets/helpers/_radial-positions-parser.scss
259
+ - app/assets/stylesheets/helpers/_render-gradients.scss
260
+ - app/assets/stylesheets/helpers/_shape-size-stripper.scss
261
+ - app/assets/stylesheets/helpers/_str-to-num.scss
262
+ - app/assets/stylesheets/settings/_asset-pipeline.scss
263
+ - app/assets/stylesheets/settings/_prefixer.scss
264
+ - app/assets/stylesheets/settings/_px-to-em.scss
265
+ - bin/console
266
+ - bin/setup
267
+ - lib/StyleSass.rb
268
+ - lib/StyleSass/engine.rb
269
+ - lib/StyleSass/version.rb
270
+ - lib/generators/style_sass/install_generator.rb
271
+ homepage: https://github.com/Alinuxfriend/StyleSass
272
+ licenses:
273
+ - MIT
274
+ metadata: {}
275
+ post_install_message:
276
+ rdoc_options: []
277
+ require_paths:
278
+ - lib
279
+ required_ruby_version: !ruby/object:Gem::Requirement
280
+ requirements:
281
+ - - ">="
282
+ - !ruby/object:Gem::Version
283
+ version: '0'
284
+ required_rubygems_version: !ruby/object:Gem::Requirement
285
+ requirements:
286
+ - - ">="
287
+ - !ruby/object:Gem::Version
288
+ version: '0'
289
+ requirements: []
290
+ rubyforge_project:
291
+ rubygems_version: 2.4.8
292
+ signing_key:
293
+ specification_version: 4
294
+ summary: ''
295
+ test_files: []