basscss-rails 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/LICENSE.txt +1 -1
- data/README.md +2 -14
- data/app/assets/stylesheets/basscss/_background-images.scss +17 -0
- data/app/assets/stylesheets/basscss/_base-buttons.scss +110 -0
- data/app/assets/stylesheets/basscss/_base-forms.scss +129 -0
- data/app/assets/stylesheets/basscss/_base-reset.scss +16 -0
- data/app/assets/stylesheets/basscss/_base-tables.scss +99 -0
- data/app/assets/stylesheets/basscss/_base-typography.scss +135 -0
- data/app/assets/stylesheets/basscss/_borders.scss +82 -3
- 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 +135 -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-transparent.scss +139 -0
- data/app/assets/stylesheets/basscss/_color-base.scss +137 -0
- data/app/assets/stylesheets/basscss/_color-buttons.scss +196 -0
- data/app/assets/stylesheets/basscss/_color-forms-dark.scss +123 -0
- data/app/assets/stylesheets/basscss/_color-forms.scss +115 -0
- data/app/assets/stylesheets/basscss/_color-tables.scss +85 -0
- data/app/assets/stylesheets/basscss/_colors.scss +155 -19
- data/app/assets/stylesheets/basscss/_defaults.scss +72 -0
- data/app/assets/stylesheets/basscss/_flex-object.scss +109 -0
- data/app/assets/stylesheets/basscss/_grid.scss +303 -39
- 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 +17 -17
- 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 +40 -8
- 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 +31 -0
- data/app/assets/stylesheets/basscss/_utility-typography.scss +20 -0
- data/app/assets/stylesheets/basscss/_white-space.scss +126 -0
- data/app/assets/stylesheets/basscss/basscss.scss +37 -40
- data/lib/basscss/rails/version.rb +1 -1
- metadata +38 -20
- data/app/assets/stylesheets/basscss/_button-themes.scss +0 -32
- data/app/assets/stylesheets/basscss/_buttons.scss +0 -33
- data/app/assets/stylesheets/basscss/_form-themes.scss +0 -37
- data/app/assets/stylesheets/basscss/_forms.scss +0 -68
- data/app/assets/stylesheets/basscss/_lists.scss +0 -16
- data/app/assets/stylesheets/basscss/_margins.scss +0 -34
- data/app/assets/stylesheets/basscss/_nav-themes.scss +0 -130
- data/app/assets/stylesheets/basscss/_navs.scss +0 -59
- data/app/assets/stylesheets/basscss/_padding.scss +0 -18
- data/app/assets/stylesheets/basscss/_reset.scss +0 -10
- data/app/assets/stylesheets/basscss/_table-themes.scss +0 -8
- data/app/assets/stylesheets/basscss/_tables.scss +0 -23
- data/app/assets/stylesheets/basscss/_theme.scss +0 -16
- data/app/assets/stylesheets/basscss/_type.scss +0 -43
- data/app/assets/stylesheets/basscss/_utilities.scss +0 -30
- data/app/assets/stylesheets/basscss/_variables.scss +0 -62
- data/app/assets/stylesheets/basscss/basscss-lite.scss +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9f9901ec7a855ceac897385e585c3a958177690
|
4
|
+
data.tar.gz: 9a1f3aef00e7cebe3965d1ea3457c38aab87e47f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcc314f85efd9fc5ece452688719778f734a3f81d8b2ec642bd68d6ab09cf14f463a6233e44b2e170b184fc0ffaf853bbb1152261247be88167e925ff84cc05f
|
7
|
+
data.tar.gz: db8320885ff2a28c01ded6078e517abc5f4bc04a9f6f8f6475b5cb87d7bd2fb4dd6e23259e65c7a02078db7e1a650793d17d209455f25745cf7b22af3d06200e
|
data/.gitignore
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Repackaged from <https://github.com/jxnblk/basscss> by Brent Jackson.
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
gem 'basscss'
|
12
|
+
gem 'basscss-rails'
|
13
13
|
```
|
14
14
|
|
15
15
|
And then execute:
|
@@ -18,7 +18,7 @@ And then execute:
|
|
18
18
|
|
19
19
|
Or install it yourself as:
|
20
20
|
|
21
|
-
$ gem install basscss
|
21
|
+
$ gem install basscss-rails
|
22
22
|
|
23
23
|
##### Using Sass
|
24
24
|
|
@@ -28,12 +28,6 @@ You will then need to require the stylesheet in your application.scss:
|
|
28
28
|
@import "basscss/basscss";
|
29
29
|
```
|
30
30
|
|
31
|
-
There's also a lite version of BASSCSS, which can be included instead:
|
32
|
-
|
33
|
-
```scss
|
34
|
-
@import "basscss/basscss-lite";
|
35
|
-
```
|
36
|
-
|
37
31
|
##### Using CSS
|
38
32
|
|
39
33
|
Or, in your application.css:
|
@@ -42,12 +36,6 @@ Or, in your application.css:
|
|
42
36
|
*= require basscss/basscss;
|
43
37
|
```
|
44
38
|
|
45
|
-
Or, for BASSCSS lite:
|
46
|
-
|
47
|
-
```css
|
48
|
-
*= require basscss/basscss-lite;
|
49
|
-
```
|
50
|
-
|
51
39
|
## Usage
|
52
40
|
|
53
41
|
Further documentation can be found on the BASSCSS website: <http://www.basscss.com/docs/>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
|
2
|
+
// Converted Variables
|
3
|
+
|
4
|
+
|
5
|
+
// Custom Media Query Variables
|
6
|
+
|
7
|
+
|
8
|
+
/* Basscss Background Images */
|
9
|
+
|
10
|
+
.bg-cover { background-size: cover }
|
11
|
+
.bg-contain { background-size: contain }
|
12
|
+
|
13
|
+
.bg-center { background-position: center }
|
14
|
+
.bg-top { background-position: top }
|
15
|
+
.bg-right { background-position: right }
|
16
|
+
.bg-bottom { background-position: bottom }
|
17
|
+
.bg-left { background-position: left }
|
@@ -0,0 +1,110 @@
|
|
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
|
+
$button-font-size: inherit !default;
|
56
|
+
$button-font-weight: $bold-font-weight /* Fallback value: bold */ !default;
|
57
|
+
$button-line-height: 1.125rem !default;
|
58
|
+
$button-padding-y: .5rem !default;
|
59
|
+
$button-padding-x: 1rem !default;
|
60
|
+
|
61
|
+
// Custom Media Query Variables
|
62
|
+
|
63
|
+
$breakpoint-sm: '(min-width: 40em)' !default;
|
64
|
+
$breakpoint-md: '(min-width: 52em)' !default;
|
65
|
+
$breakpoint-lg: '(min-width: 64em)' !default;
|
66
|
+
|
67
|
+
/* Basscss Base Buttons */
|
68
|
+
|
69
|
+
button,
|
70
|
+
.button {
|
71
|
+
font-size: $button-font-size;
|
72
|
+
font-weight: $button-font-weight;
|
73
|
+
text-decoration: none;
|
74
|
+
cursor: pointer;
|
75
|
+
display: inline-block;
|
76
|
+
box-sizing: border-box;
|
77
|
+
line-height: $button-line-height;
|
78
|
+
padding: $button-padding-y $button-padding-x;
|
79
|
+
margin: 0;
|
80
|
+
height: auto;
|
81
|
+
border: $border-width solid transparent;
|
82
|
+
vertical-align: middle;
|
83
|
+
-webkit-appearance: none;
|
84
|
+
}
|
85
|
+
|
86
|
+
button:after,
|
87
|
+
button:before,
|
88
|
+
.button:after,
|
89
|
+
.button:before {
|
90
|
+
box-sizing: border-box;
|
91
|
+
}
|
92
|
+
|
93
|
+
::-moz-focus-inner {
|
94
|
+
border: 0;
|
95
|
+
padding: 0;
|
96
|
+
}
|
97
|
+
|
98
|
+
.button:hover { text-decoration: none }
|
99
|
+
|
100
|
+
/* Basscss Defaults */
|
101
|
+
|
102
|
+
/*
|
103
|
+
|
104
|
+
COLOR VARIABLES
|
105
|
+
|
106
|
+
- Cool
|
107
|
+
- Warm
|
108
|
+
- Gray Scale
|
109
|
+
|
110
|
+
*/
|
@@ -0,0 +1,129 @@
|
|
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 Base Forms */
|
63
|
+
|
64
|
+
input,
|
65
|
+
select,
|
66
|
+
textarea,
|
67
|
+
fieldset {
|
68
|
+
font-size: $form-field-font-size;
|
69
|
+
margin-top: 0;
|
70
|
+
margin-bottom: 0;
|
71
|
+
}
|
72
|
+
|
73
|
+
input[type=text],
|
74
|
+
input[type=datetime],
|
75
|
+
input[type=datetime-local],
|
76
|
+
input[type=email],
|
77
|
+
input[type=month],
|
78
|
+
input[type=number],
|
79
|
+
input[type=password],
|
80
|
+
input[type=search],
|
81
|
+
input[type=tel],
|
82
|
+
input[type=time],
|
83
|
+
input[type=url],
|
84
|
+
input[type=week] {
|
85
|
+
box-sizing: border-box;
|
86
|
+
height: $form-field-height;
|
87
|
+
padding: $form-field-padding-y $form-field-padding-x;
|
88
|
+
vertical-align: middle;
|
89
|
+
-webkit-appearance: none;
|
90
|
+
}
|
91
|
+
|
92
|
+
select {
|
93
|
+
box-sizing: border-box;
|
94
|
+
line-height: 1.75;
|
95
|
+
padding: $form-field-padding-y $form-field-padding-x;
|
96
|
+
}
|
97
|
+
|
98
|
+
select:not([multiple]) {
|
99
|
+
height: $form-field-height;
|
100
|
+
vertical-align: middle;
|
101
|
+
}
|
102
|
+
|
103
|
+
textarea {
|
104
|
+
box-sizing: border-box;
|
105
|
+
line-height: 1.75;
|
106
|
+
padding: $form-field-padding-y $form-field-padding-x;
|
107
|
+
}
|
108
|
+
|
109
|
+
.fieldset-reset {
|
110
|
+
padding: 0;
|
111
|
+
margin-left: 0;
|
112
|
+
margin-right: 0;
|
113
|
+
border: 0;
|
114
|
+
}
|
115
|
+
.fieldset-reset legend {
|
116
|
+
padding: 0;
|
117
|
+
}
|
118
|
+
|
119
|
+
/* Basscss Defaults */
|
120
|
+
|
121
|
+
/*
|
122
|
+
|
123
|
+
COLOR VARIABLES
|
124
|
+
|
125
|
+
- Cool
|
126
|
+
- Warm
|
127
|
+
- Gray Scale
|
128
|
+
|
129
|
+
*/
|
@@ -0,0 +1,99 @@
|
|
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
|
+
$table-header-font-weight: $bold-font-weight !default;
|
56
|
+
$table-cell-padding-x: $space-2 !default;
|
57
|
+
$table-cell-padding-y: .25rem !default;
|
58
|
+
|
59
|
+
// Custom Media Query Variables
|
60
|
+
|
61
|
+
$breakpoint-sm: '(min-width: 40em)' !default;
|
62
|
+
$breakpoint-md: '(min-width: 52em)' !default;
|
63
|
+
$breakpoint-lg: '(min-width: 64em)' !default;
|
64
|
+
|
65
|
+
/* Basscss Base Tables */
|
66
|
+
|
67
|
+
table {
|
68
|
+
border-collapse: separate;
|
69
|
+
border-spacing: 0;
|
70
|
+
max-width: 100%;
|
71
|
+
width: 100%;
|
72
|
+
}
|
73
|
+
|
74
|
+
th {
|
75
|
+
text-align: left;
|
76
|
+
font-weight: $table-header-font-weight;
|
77
|
+
}
|
78
|
+
|
79
|
+
th,
|
80
|
+
td {
|
81
|
+
padding: $table-cell-padding-y $table-cell-padding-x;
|
82
|
+
line-height: inherit;
|
83
|
+
}
|
84
|
+
|
85
|
+
th { vertical-align: bottom }
|
86
|
+
td { vertical-align: top }
|
87
|
+
|
88
|
+
|
89
|
+
/* Basscss Defaults */
|
90
|
+
|
91
|
+
/*
|
92
|
+
|
93
|
+
COLOR VARIABLES
|
94
|
+
|
95
|
+
- Cool
|
96
|
+
- Warm
|
97
|
+
- Gray Scale
|
98
|
+
|
99
|
+
*/
|