bassy-rails 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +24 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +35 -0
- data/Rakefile +10 -0
- data/app/assets/stylesheets/basscss/_align.scss +13 -0
- data/app/assets/stylesheets/basscss/_background-colors.scss +99 -0
- data/app/assets/stylesheets/basscss/_background-images.scss +17 -0
- data/app/assets/stylesheets/basscss/_base-buttons.scss +114 -0
- data/app/assets/stylesheets/basscss/_base-forms.scss +128 -0
- data/app/assets/stylesheets/basscss/_base-reset.scss +10 -0
- data/app/assets/stylesheets/basscss/_base-tables.scss +99 -0
- data/app/assets/stylesheets/basscss/_base-typography.scss +132 -0
- data/app/assets/stylesheets/basscss/_border-colors.scss +99 -0
- data/app/assets/stylesheets/basscss/_borders.scss +116 -0
- data/app/assets/stylesheets/basscss/_btn-outline.scss +98 -0
- data/app/assets/stylesheets/basscss/_btn-primary.scss +97 -0
- data/app/assets/stylesheets/basscss/_btn.scss +113 -0
- data/app/assets/stylesheets/basscss/_button-blue-outline.scss +46 -0
- data/app/assets/stylesheets/basscss/_button-blue.scss +41 -0
- data/app/assets/stylesheets/basscss/_button-gray.scss +42 -0
- data/app/assets/stylesheets/basscss/_button-light-gray.scss +43 -0
- data/app/assets/stylesheets/basscss/_button-link.scss +42 -0
- data/app/assets/stylesheets/basscss/_button-nav-dark.scss +23 -0
- data/app/assets/stylesheets/basscss/_button-nav-light.scss +26 -0
- data/app/assets/stylesheets/basscss/_button-nav-tab.scss +34 -0
- data/app/assets/stylesheets/basscss/_button-outline.scss +123 -0
- data/app/assets/stylesheets/basscss/_button-red.scss +41 -0
- data/app/assets/stylesheets/basscss/_button-sizes.scss +93 -0
- data/app/assets/stylesheets/basscss/_button-solid.scss +104 -0
- data/app/assets/stylesheets/basscss/_button-transparent.scss +127 -0
- data/app/assets/stylesheets/basscss/_color-base.scss +110 -0
- data/app/assets/stylesheets/basscss/_color-buttons.scss +196 -0
- data/app/assets/stylesheets/basscss/_color-forms-dark.scss +142 -0
- data/app/assets/stylesheets/basscss/_color-forms.scss +135 -0
- data/app/assets/stylesheets/basscss/_color-input-range.scss +119 -0
- data/app/assets/stylesheets/basscss/_color-progress.scss +95 -0
- data/app/assets/stylesheets/basscss/_color-tables.scss +85 -0
- data/app/assets/stylesheets/basscss/_colors.scss +97 -0
- data/app/assets/stylesheets/basscss/_defaults.scss +72 -0
- data/app/assets/stylesheets/basscss/_flex-object.scss +104 -0
- data/app/assets/stylesheets/basscss/_grid.scss +320 -0
- data/app/assets/stylesheets/basscss/_highlight.scss +166 -0
- data/app/assets/stylesheets/basscss/_input-range.scss +155 -0
- data/app/assets/stylesheets/basscss/_positions.scss +22 -0
- data/app/assets/stylesheets/basscss/_progress.scss +101 -0
- data/app/assets/stylesheets/basscss/_responsive-states.scss +114 -0
- data/app/assets/stylesheets/basscss/_responsive-white-space.scss +194 -0
- data/app/assets/stylesheets/basscss/_table-object.scss +58 -0
- data/app/assets/stylesheets/basscss/_type-scale.scss +81 -0
- data/app/assets/stylesheets/basscss/_ui-utility-groups.scss +21 -0
- data/app/assets/stylesheets/basscss/_utility-headings.scss +33 -0
- data/app/assets/stylesheets/basscss/_utility-layout.scss +32 -0
- data/app/assets/stylesheets/basscss/_utility-typography.scss +33 -0
- data/app/assets/stylesheets/basscss/_white-space.scss +128 -0
- data/app/assets/stylesheets/basscss/basscss.scss +42 -0
- data/bassy-rails.gemspec +23 -0
- data/lib/bassy/rails.rb +7 -0
- data/lib/bassy/rails/engine.rb +8 -0
- data/lib/bassy/rails/version.rb +5 -0
- metadata +134 -0
@@ -0,0 +1,128 @@
|
|
1
|
+
|
2
|
+
// Converted Variables
|
3
|
+
|
4
|
+
$aqua: #7fdbff !default;
|
5
|
+
$blue: #0074d9 !default;
|
6
|
+
$navy: #001f3f !default;
|
7
|
+
$teal: #39cccc !default;
|
8
|
+
$green: #2ecc40 !default;
|
9
|
+
$olive: #3d9970 !default;
|
10
|
+
$lime: #01ff70 !default;
|
11
|
+
$yellow: #ffdc00 !default;
|
12
|
+
$orange: #ff851b !default;
|
13
|
+
$red: #ff4136 !default;
|
14
|
+
$fuchsia: #f012be !default;
|
15
|
+
$purple: #b10dc9 !default;
|
16
|
+
$maroon: #85144b !default;
|
17
|
+
$white: #fff !default;
|
18
|
+
$silver: #ddd !default;
|
19
|
+
$gray: #aaa !default;
|
20
|
+
$black: #111 !default;
|
21
|
+
$font-family: 'Helvetica Neue', Helvetica, sans-serif !default;
|
22
|
+
$line-height: 1.5 !default;
|
23
|
+
$heading-font-family: $font-family !default;
|
24
|
+
$heading-font-weight: bold !default;
|
25
|
+
$heading-line-height: 1.25 !default;
|
26
|
+
$monospace-font-family: 'Source Code Pro', Consolas, monospace !default;
|
27
|
+
$h1: 2rem !default;
|
28
|
+
$h2: 1.5rem !default;
|
29
|
+
$h3: 1.25rem !default;
|
30
|
+
$h4: 1rem !default;
|
31
|
+
$h5: .875rem !default;
|
32
|
+
$h6: .75rem !default;
|
33
|
+
$bold-font-weight: bold !default;
|
34
|
+
$space-1: .5rem !default;
|
35
|
+
$space-2: 1rem !default;
|
36
|
+
$space-3: 2rem !default;
|
37
|
+
$space-4: 4rem !default;
|
38
|
+
$form-field-font-size: 1rem !default;
|
39
|
+
$form-field-height: 2.25rem !default;
|
40
|
+
$form-field-padding-y: .5rem !default;
|
41
|
+
$form-field-padding-x: .5rem !default;
|
42
|
+
$button-font-size: inherit !default;
|
43
|
+
$button-font-weight: bold !default;
|
44
|
+
$button-line-height: 1.125rem !default;
|
45
|
+
$button-padding-y: .5rem !default;
|
46
|
+
$button-padding-x: 1rem !default;
|
47
|
+
$container-width: 64em !default;
|
48
|
+
$darken-1: rgba(0,0,0,.0625) !default;
|
49
|
+
$darken-2: rgba(0,0,0,.125) !default;
|
50
|
+
$darken-3: rgba(0,0,0,.25) !default;
|
51
|
+
$darken-4: rgba(0,0,0,.5) !default;
|
52
|
+
$border-width: 1px !default;
|
53
|
+
$border-radius: 3px !default;
|
54
|
+
$border-color: $darken-2 !default;
|
55
|
+
|
56
|
+
// Custom Media Query Variables
|
57
|
+
|
58
|
+
$breakpoint-sm: '(min-width: 40em)' !default;
|
59
|
+
$breakpoint-md: '(min-width: 52em)' !default;
|
60
|
+
$breakpoint-lg: '(min-width: 64em)' !default;
|
61
|
+
|
62
|
+
/* Basscss Utility White Space */
|
63
|
+
|
64
|
+
.m0 { margin: 0 }
|
65
|
+
.mt0 { margin-top: 0 }
|
66
|
+
.mr0 { margin-right: 0 }
|
67
|
+
.mb0 { margin-bottom: 0 }
|
68
|
+
.ml0 { margin-left: 0 }
|
69
|
+
|
70
|
+
.m1 { margin: $space-1 }
|
71
|
+
.mt1 { margin-top: $space-1 }
|
72
|
+
.mr1 { margin-right: $space-1 }
|
73
|
+
.mb1 { margin-bottom: $space-1 }
|
74
|
+
.ml1 { margin-left: $space-1 }
|
75
|
+
|
76
|
+
.m2 { margin: $space-2 }
|
77
|
+
.mt2 { margin-top: $space-2 }
|
78
|
+
.mr2 { margin-right: $space-2 }
|
79
|
+
.mb2 { margin-bottom: $space-2 }
|
80
|
+
.ml2 { margin-left: $space-2 }
|
81
|
+
|
82
|
+
.m3 { margin: $space-3 }
|
83
|
+
.mt3 { margin-top: $space-3 }
|
84
|
+
.mr3 { margin-right: $space-3 }
|
85
|
+
.mb3 { margin-bottom: $space-3 }
|
86
|
+
.ml3 { margin-left: $space-3 }
|
87
|
+
|
88
|
+
.m4 { margin: $space-4 }
|
89
|
+
.mt4 { margin-top: $space-4 }
|
90
|
+
.mr4 { margin-right: $space-4 }
|
91
|
+
.mb4 { margin-bottom: $space-4 }
|
92
|
+
.ml4 { margin-left: $space-4 }
|
93
|
+
|
94
|
+
.mxn1 { margin-left: -$space-1; margin-right: -$space-1; }
|
95
|
+
.mxn2 { margin-left: -$space-2; margin-right: -$space-2; }
|
96
|
+
.mxn3 { margin-left: -$space-3; margin-right: -$space-3; }
|
97
|
+
.mxn4 { margin-left: -$space-4; margin-right: -$space-4; }
|
98
|
+
|
99
|
+
.mx-auto { margin-left: auto; margin-right: auto; }
|
100
|
+
.p0 { padding: 0 }
|
101
|
+
|
102
|
+
.p1 { padding: $space-1 }
|
103
|
+
.py1 { padding-top: $space-1; padding-bottom: $space-1 }
|
104
|
+
.px1 { padding-left: $space-1; padding-right: $space-1 }
|
105
|
+
|
106
|
+
.p2 { padding: $space-2 }
|
107
|
+
.py2 { padding-top: $space-2; padding-bottom: $space-2 }
|
108
|
+
.px2 { padding-left: $space-2; padding-right: $space-2 }
|
109
|
+
|
110
|
+
.p3 { padding: $space-3 }
|
111
|
+
.py3 { padding-top: $space-3; padding-bottom: $space-3 }
|
112
|
+
.px3 { padding-left: $space-3; padding-right: $space-3 }
|
113
|
+
|
114
|
+
.p4 { padding: $space-4 }
|
115
|
+
.py4 { padding-top: $space-4; padding-bottom: $space-4 }
|
116
|
+
.px4 { padding-left: $space-4; padding-right: $space-4 }
|
117
|
+
|
118
|
+
/* Basscss Defaults */
|
119
|
+
|
120
|
+
/*
|
121
|
+
|
122
|
+
COLOR VARIABLES
|
123
|
+
|
124
|
+
- Cool
|
125
|
+
- Warm
|
126
|
+
- Gray Scale
|
127
|
+
|
128
|
+
*/
|
@@ -0,0 +1,42 @@
|
|
1
|
+
@import "defaults";
|
2
|
+
@import "base-reset";
|
3
|
+
@import "base-forms";
|
4
|
+
@import "base-tables";
|
5
|
+
@import "base-typography";
|
6
|
+
@import "color-base";
|
7
|
+
@import "color-forms";
|
8
|
+
@import "color-tables";
|
9
|
+
@import "btn";
|
10
|
+
@import "btn-primary";
|
11
|
+
@import "btn-outline";
|
12
|
+
@import "type-scale";
|
13
|
+
@import "utility-typography";
|
14
|
+
@import "utility-layout";
|
15
|
+
@import "align";
|
16
|
+
@import "white-space";
|
17
|
+
@import "positions";
|
18
|
+
@import "responsive-states";
|
19
|
+
@import "grid";
|
20
|
+
@import "flex-object";
|
21
|
+
@import "borders";
|
22
|
+
@import "colors";
|
23
|
+
@import "background-colors";
|
24
|
+
@import "background-images";
|
25
|
+
@import "base-buttons";
|
26
|
+
@import "border-colors";
|
27
|
+
@import "button-link";
|
28
|
+
@import "button-outline";
|
29
|
+
@import "button-sizes";
|
30
|
+
@import "button-solid";
|
31
|
+
@import "button-transparent";
|
32
|
+
@import "color-buttons";
|
33
|
+
@import "color-forms-dark";
|
34
|
+
@import "color-input-range";
|
35
|
+
@import "color-progress";
|
36
|
+
@import "highlight";
|
37
|
+
@import "input-range";
|
38
|
+
@import "progress";
|
39
|
+
@import "responsive-white-space";
|
40
|
+
@import "table-object";
|
41
|
+
@import "ui-utility-groups";
|
42
|
+
@import "utility-headings";
|
data/bassy-rails.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'bassy/rails/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "bassy-rails"
|
8
|
+
spec.version = Bassy::Rails::VERSION
|
9
|
+
spec.authors = ["Vlad Arbatov"]
|
10
|
+
spec.email = ["hello@arbdigital.ru"]
|
11
|
+
spec.summary = %q{Include Basscss in Rails apps.}
|
12
|
+
spec.description = %q{Include "Lightning-Fast Modular CSS with No Side Effects" Basscss in Rails. Basscss is a lightweight collection of base element styles and immutable utilities designed for speed, clarity, performance, and scalability.}
|
13
|
+
spec.homepage = "https://github.com/vladzima/bassy-rails"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.6"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
end
|
data/lib/bassy/rails.rb
ADDED
metadata
ADDED
@@ -0,0 +1,134 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bassy-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.8
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vlad Arbatov
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-10-22 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.6'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: Include "Lightning-Fast Modular CSS with No Side Effects" Basscss in
|
42
|
+
Rails. Basscss is a lightweight collection of base element styles and immutable
|
43
|
+
utilities designed for speed, clarity, performance, and scalability.
|
44
|
+
email:
|
45
|
+
- hello@arbdigital.ru
|
46
|
+
executables: []
|
47
|
+
extensions: []
|
48
|
+
extra_rdoc_files: []
|
49
|
+
files:
|
50
|
+
- ".gitignore"
|
51
|
+
- Gemfile
|
52
|
+
- LICENSE.txt
|
53
|
+
- README.md
|
54
|
+
- Rakefile
|
55
|
+
- app/assets/stylesheets/basscss/_align.scss
|
56
|
+
- app/assets/stylesheets/basscss/_background-colors.scss
|
57
|
+
- app/assets/stylesheets/basscss/_background-images.scss
|
58
|
+
- app/assets/stylesheets/basscss/_base-buttons.scss
|
59
|
+
- app/assets/stylesheets/basscss/_base-forms.scss
|
60
|
+
- app/assets/stylesheets/basscss/_base-reset.scss
|
61
|
+
- app/assets/stylesheets/basscss/_base-tables.scss
|
62
|
+
- app/assets/stylesheets/basscss/_base-typography.scss
|
63
|
+
- app/assets/stylesheets/basscss/_border-colors.scss
|
64
|
+
- app/assets/stylesheets/basscss/_borders.scss
|
65
|
+
- app/assets/stylesheets/basscss/_btn-outline.scss
|
66
|
+
- app/assets/stylesheets/basscss/_btn-primary.scss
|
67
|
+
- app/assets/stylesheets/basscss/_btn.scss
|
68
|
+
- app/assets/stylesheets/basscss/_button-blue-outline.scss
|
69
|
+
- app/assets/stylesheets/basscss/_button-blue.scss
|
70
|
+
- app/assets/stylesheets/basscss/_button-gray.scss
|
71
|
+
- app/assets/stylesheets/basscss/_button-light-gray.scss
|
72
|
+
- app/assets/stylesheets/basscss/_button-link.scss
|
73
|
+
- app/assets/stylesheets/basscss/_button-nav-dark.scss
|
74
|
+
- app/assets/stylesheets/basscss/_button-nav-light.scss
|
75
|
+
- app/assets/stylesheets/basscss/_button-nav-tab.scss
|
76
|
+
- app/assets/stylesheets/basscss/_button-outline.scss
|
77
|
+
- app/assets/stylesheets/basscss/_button-red.scss
|
78
|
+
- app/assets/stylesheets/basscss/_button-sizes.scss
|
79
|
+
- app/assets/stylesheets/basscss/_button-solid.scss
|
80
|
+
- app/assets/stylesheets/basscss/_button-transparent.scss
|
81
|
+
- app/assets/stylesheets/basscss/_color-base.scss
|
82
|
+
- app/assets/stylesheets/basscss/_color-buttons.scss
|
83
|
+
- app/assets/stylesheets/basscss/_color-forms-dark.scss
|
84
|
+
- app/assets/stylesheets/basscss/_color-forms.scss
|
85
|
+
- app/assets/stylesheets/basscss/_color-input-range.scss
|
86
|
+
- app/assets/stylesheets/basscss/_color-progress.scss
|
87
|
+
- app/assets/stylesheets/basscss/_color-tables.scss
|
88
|
+
- app/assets/stylesheets/basscss/_colors.scss
|
89
|
+
- app/assets/stylesheets/basscss/_defaults.scss
|
90
|
+
- app/assets/stylesheets/basscss/_flex-object.scss
|
91
|
+
- app/assets/stylesheets/basscss/_grid.scss
|
92
|
+
- app/assets/stylesheets/basscss/_highlight.scss
|
93
|
+
- app/assets/stylesheets/basscss/_input-range.scss
|
94
|
+
- app/assets/stylesheets/basscss/_positions.scss
|
95
|
+
- app/assets/stylesheets/basscss/_progress.scss
|
96
|
+
- app/assets/stylesheets/basscss/_responsive-states.scss
|
97
|
+
- app/assets/stylesheets/basscss/_responsive-white-space.scss
|
98
|
+
- app/assets/stylesheets/basscss/_table-object.scss
|
99
|
+
- app/assets/stylesheets/basscss/_type-scale.scss
|
100
|
+
- app/assets/stylesheets/basscss/_ui-utility-groups.scss
|
101
|
+
- app/assets/stylesheets/basscss/_utility-headings.scss
|
102
|
+
- app/assets/stylesheets/basscss/_utility-layout.scss
|
103
|
+
- app/assets/stylesheets/basscss/_utility-typography.scss
|
104
|
+
- app/assets/stylesheets/basscss/_white-space.scss
|
105
|
+
- app/assets/stylesheets/basscss/basscss.scss
|
106
|
+
- bassy-rails.gemspec
|
107
|
+
- lib/bassy/rails.rb
|
108
|
+
- lib/bassy/rails/engine.rb
|
109
|
+
- lib/bassy/rails/version.rb
|
110
|
+
homepage: https://github.com/vladzima/bassy-rails
|
111
|
+
licenses:
|
112
|
+
- MIT
|
113
|
+
metadata: {}
|
114
|
+
post_install_message:
|
115
|
+
rdoc_options: []
|
116
|
+
require_paths:
|
117
|
+
- lib
|
118
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0'
|
128
|
+
requirements: []
|
129
|
+
rubyforge_project:
|
130
|
+
rubygems_version: 2.4.8
|
131
|
+
signing_key:
|
132
|
+
specification_version: 4
|
133
|
+
summary: Include Basscss in Rails apps.
|
134
|
+
test_files: []
|