GIPainter-helpers 0.2.3 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
1
+ $max-border-size : 5;
2
+ $max-border-radius : 5;
3
+
4
+ $border-position: (
5
+ border:"",
6
+ border-top: "top",
7
+ border-right: "right",
8
+ border-bottom: "bottom",
9
+ border-left: "left"
10
+ );
11
+
12
+ $css3_radius: (
13
+ border-radius:"",
14
+ border-radius-top-left: "top-left",
15
+ border-radius-top-right: "top-right",
16
+ border-radius-bottom-left: "bottom-left",
17
+ border-radius-bottom-right: "bottom-right"
18
+ );
@@ -0,0 +1,35 @@
1
+ // Spacing
2
+ //
3
+ // Control the default styling of most Bootstrap elements by modifying these
4
+ // variables. Mostly focused on spacing.
5
+ // You can add more entries to the $spacers map, should you need more variation.
6
+
7
+ $spacer: 1rem !default;
8
+ $spacer-x: $spacer !default;
9
+ $spacer-y: $spacer !default;
10
+ $spacers: (
11
+ 0: (
12
+ x: 0,
13
+ y: 0
14
+ ),
15
+ 1: (
16
+ x: ($spacer-x * .25),
17
+ y: ($spacer-y * .25)
18
+ ),
19
+ 2: (
20
+ x: ($spacer-x * .5),
21
+ y: ($spacer-y * .5)
22
+ ),
23
+ 3: (
24
+ x: $spacer-x,
25
+ y: $spacer-y
26
+ ),
27
+ 4: (
28
+ x: ($spacer-x * 1.5),
29
+ y: ($spacer-y * 1.5)
30
+ ),
31
+ 5: (
32
+ x: ($spacer-x * 3),
33
+ y: ($spacer-y * 3)
34
+ )
35
+ ) !default;
@@ -0,0 +1,18 @@
1
+ $max-lead : 28;
2
+ $weight-style: normal, bold, bolder;
3
+ $align-style: left, center, right, justify;
4
+ $text-style: lowercase, capitalize, uppercase;
5
+ $decoration-style: underline, none;
6
+
7
+ $default_typo: (
8
+ font-family-sans-serif: $font-family-sans-serif,
9
+ font-family-serif: $font-family-serif,
10
+ font-family-monospace: $font-family-monospace,
11
+ font-family-base: $font-family-base
12
+ );
13
+
14
+ $default_typo_size: (
15
+ font-size-base: $font-size-base,
16
+ font-size-large: $font-size-large,
17
+ font-size-small: $font-size-small
18
+ );
@@ -1,12 +1,14 @@
1
- // @file
2
- // SCSS partials import
3
- // -----------------------------------------------------------------------------
4
-
5
- // COMPASS Imports
6
- // -----------------------------------------------------------------------------
7
- @import "compass";
8
- @import 'compass/css3';
9
-
10
- // GIPainter Variables and Mixins
11
- // -----------------------------------------------------------------------------
12
- @import "Base/**/*";
1
+ // @file
2
+ // SCSS partials import
3
+ // -----------------------------------------------------------------------------
4
+
5
+ // COMPASS Imports
6
+ // -----------------------------------------------------------------------------
7
+ @import "compass";
8
+ @import 'compass/css3';
9
+
10
+ // GIPainter Variables and Mixins
11
+ // -----------------------------------------------------------------------------
12
+ @import "Mixins/**/*";
13
+ @import "Functions/**/*";
14
+ @import "Base/core";
@@ -1,51 +1,51 @@
1
- require 'rubygems'
2
- require 'bundler/setup'
3
- require "GIPainter-helpers/version"
4
-
5
- module GIPainter_helpers
6
- class << self
7
- def load!
8
- register_compass_extension if compass?
9
- configure_sass
10
- end
11
-
12
- # Paths
13
- def gem_path
14
- @gem_path ||= File.expand_path '..', File.dirname(__FILE__)
15
- end
16
-
17
- def stylesheets_path
18
- File.join assets_path, 'stylesheets'
19
- end
20
-
21
- def assets_path
22
- @assets_path ||= File.join gem_path, 'assets'
23
- end
24
-
25
- def compass?
26
- defined?(::Compass::Frameworks)
27
- end
28
-
29
- private
30
-
31
- def configure_sass
32
- require 'sass'
33
-
34
- ::Sass.load_paths << stylesheets_path
35
-
36
- ::Sass::Script::Number.precision = [8, ::Sass::Script::Number.precision].max
37
- end
38
-
39
- def register_compass_extension
40
- ::Compass::Frameworks.register(
41
- 'GIPainter-helpers',
42
- :version => GIPainter_helpers::VERSION,
43
- :path => gem_path,
44
- :stylesheets_directory => stylesheets_path,
45
- :templates_directory => File.join(gem_path, 'templates')
46
- )
47
- end
48
- end
49
- end
50
-
51
- GIPainter_helpers.load!
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require "GIPainter-helpers/version"
4
+
5
+ module GIPainter_helpers
6
+ class << self
7
+ def load!
8
+ register_compass_extension if compass?
9
+ configure_sass
10
+ end
11
+
12
+ # Paths
13
+ def gem_path
14
+ @gem_path ||= File.expand_path '..', File.dirname(__FILE__)
15
+ end
16
+
17
+ def stylesheets_path
18
+ File.join assets_path, 'stylesheets'
19
+ end
20
+
21
+ def assets_path
22
+ @assets_path ||= File.join gem_path, 'assets'
23
+ end
24
+
25
+ def compass?
26
+ defined?(::Compass::Frameworks)
27
+ end
28
+
29
+ private
30
+
31
+ def configure_sass
32
+ require 'sass'
33
+
34
+ ::Sass.load_paths << stylesheets_path
35
+
36
+ ::Sass::Script::Number.precision = [8, ::Sass::Script::Number.precision].max
37
+ end
38
+
39
+ def register_compass_extension
40
+ ::Compass::Frameworks.register(
41
+ 'GIPainter-helpers',
42
+ :version => GIPainter_helpers::VERSION,
43
+ :path => gem_path,
44
+ :stylesheets_directory => stylesheets_path,
45
+ :templates_directory => File.join(gem_path, 'templates')
46
+ )
47
+ end
48
+ end
49
+ end
50
+
51
+ GIPainter_helpers.load!
@@ -1,3 +1,3 @@
1
- module GIPainter_helpers
2
- VERSION = '0.2.3'
3
- end
1
+ module GIPainter_helpers
2
+ VERSION = '0.2.5'
3
+ end
@@ -1,7 +1,7 @@
1
- stylesheet '_GIPainter-helpers.scss', :media => 'screen, projection'
2
-
3
- description "A Compass plugin for the Genious-interactive agency"
4
-
5
- help %Q{
6
- See GIPainter documentation
1
+ stylesheet '_GIPainter-helpers.scss', :media => 'screen, projection'
2
+
3
+ description "A Compass plugin for the Genious-interactive agency"
4
+
5
+ help %Q{
6
+ See GIPainter documentation
7
7
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: GIPainter-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genious Interactive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-22 00:00:00.000000000 Z
11
+ date: 2017-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: GIPainter-base
@@ -149,7 +149,10 @@ files:
149
149
  - assets/stylesheets/Base/_core.scss
150
150
  - assets/stylesheets/Base/_positioning.scss
151
151
  - assets/stylesheets/Base/_spacing.scss
152
- - assets/stylesheets/Base/_typo.scss
152
+ - assets/stylesheets/Base/_typography.scss
153
+ - assets/stylesheets/Variables/_border.scss
154
+ - assets/stylesheets/Variables/_spacing.scss
155
+ - assets/stylesheets/Variables/_typography.scss
153
156
  - assets/stylesheets/_GIPainter-helpers.scss
154
157
  - lib/GIPainter-helpers.rb
155
158
  - lib/GIPainter-helpers/version.rb