basscss-rails 3.0.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +2 -2
- data/app/assets/stylesheets/basscss/_align.scss +3 -0
- data/app/assets/stylesheets/basscss/_all.scss +14 -0
- data/app/assets/stylesheets/basscss/_background-colors.scss +24 -63
- data/app/assets/stylesheets/basscss/_background-images.scss +5 -0
- data/app/assets/stylesheets/basscss/_border-colors.scss +24 -63
- data/app/assets/stylesheets/basscss/_border.scss +51 -0
- data/app/assets/stylesheets/basscss/_btn-outline.scss +4 -70
- data/app/assets/stylesheets/basscss/_btn-primary.scss +6 -71
- data/app/assets/stylesheets/basscss/_btn.scss +5 -71
- data/app/assets/stylesheets/basscss/_colors.scss +25 -53
- data/app/assets/stylesheets/basscss/_darken.scss +20 -0
- data/app/assets/stylesheets/basscss/_flexbox.scss +90 -0
- data/app/assets/stylesheets/basscss/_forms.scss +50 -0
- data/app/assets/stylesheets/basscss/_grid.scss +4 -73
- data/app/assets/stylesheets/basscss/_hide.scss +38 -0
- data/app/assets/stylesheets/basscss/_highlight-dark.scss +166 -0
- data/app/assets/stylesheets/basscss/_highlight.scss +5 -4
- data/app/assets/stylesheets/basscss/_input-range.scss +19 -98
- data/app/assets/stylesheets/basscss/{_utility-layout.scss → _layout.scss} +21 -1
- data/app/assets/stylesheets/basscss/_lighten.scss +20 -0
- data/app/assets/stylesheets/basscss/_margin.scss +96 -0
- data/app/assets/stylesheets/basscss/_media-object.scss +55 -0
- data/app/assets/stylesheets/basscss/_padding.scss +82 -0
- data/app/assets/stylesheets/basscss/{_positions.scss → _position.scss} +17 -5
- data/app/assets/stylesheets/basscss/_progress.scss +5 -73
- data/app/assets/stylesheets/basscss/{_responsive-white-space.scss → _responsive-margin.scss} +44 -64
- data/app/assets/stylesheets/basscss/_responsive-padding.scss +147 -0
- data/app/assets/stylesheets/basscss/_type-scale.scss +5 -64
- data/app/assets/stylesheets/basscss/_typography.scss +65 -0
- data/app/assets/stylesheets/basscss/basscss.scss +8 -33
- data/lib/basscss/rails/version.rb +1 -1
- metadata +19 -27
- data/app/assets/stylesheets/basscss/_base-forms.scss +0 -132
- data/app/assets/stylesheets/basscss/_base-reset.scss +0 -10
- data/app/assets/stylesheets/basscss/_base-tables.scss +0 -103
- data/app/assets/stylesheets/basscss/_base-typography.scss +0 -136
- data/app/assets/stylesheets/basscss/_borders.scss +0 -120
- data/app/assets/stylesheets/basscss/_btn-sizes.scss +0 -97
- data/app/assets/stylesheets/basscss/_color-base.scss +0 -114
- data/app/assets/stylesheets/basscss/_color-forms-dark.scss +0 -146
- data/app/assets/stylesheets/basscss/_color-forms.scss +0 -139
- data/app/assets/stylesheets/basscss/_color-input-range.scss +0 -123
- data/app/assets/stylesheets/basscss/_color-progress.scss +0 -99
- data/app/assets/stylesheets/basscss/_color-tables.scss +0 -89
- data/app/assets/stylesheets/basscss/_defaults.scss +0 -76
- data/app/assets/stylesheets/basscss/_flex-object.scss +0 -119
- data/app/assets/stylesheets/basscss/_responsive-states.scss +0 -118
- data/app/assets/stylesheets/basscss/_table-object.scss +0 -58
- data/app/assets/stylesheets/basscss/_ui-utility-groups.scss +0 -21
- data/app/assets/stylesheets/basscss/_utility-headings.scss +0 -33
- data/app/assets/stylesheets/basscss/_utility-typography.scss +0 -33
- data/app/assets/stylesheets/basscss/_white-space.scss +0 -132
@@ -1,20 +1,30 @@
|
|
1
1
|
|
2
2
|
// Converted Variables
|
3
3
|
|
4
|
+
$width-1: 24rem !default;
|
5
|
+
$width-2: 32rem !default;
|
6
|
+
$width-3: 48rem !default;
|
7
|
+
$width-4: 64rem !default;
|
4
8
|
|
5
9
|
// Custom Media Query Variables
|
6
10
|
|
7
11
|
|
8
|
-
/* Basscss
|
12
|
+
/* Basscss Layout */
|
9
13
|
|
10
14
|
.inline { display: inline }
|
15
|
+
|
11
16
|
.block { display: block }
|
17
|
+
|
12
18
|
.inline-block { display: inline-block }
|
19
|
+
|
13
20
|
.table { display: table }
|
21
|
+
|
14
22
|
.table-cell { display: table-cell }
|
15
23
|
|
16
24
|
.overflow-hidden { overflow: hidden }
|
25
|
+
|
17
26
|
.overflow-scroll { overflow: scroll }
|
27
|
+
|
18
28
|
.overflow-auto { overflow: auto }
|
19
29
|
|
20
30
|
.clearfix:before,
|
@@ -22,11 +32,21 @@
|
|
22
32
|
content: " ";
|
23
33
|
display: table
|
24
34
|
}
|
35
|
+
|
25
36
|
.clearfix:after { clear: both }
|
26
37
|
|
27
38
|
.left { float: left }
|
39
|
+
|
28
40
|
.right { float: right }
|
29
41
|
|
30
42
|
.fit { max-width: 100% }
|
31
43
|
|
44
|
+
.max-width-1 { max-width: $width-1 }
|
45
|
+
|
46
|
+
.max-width-2 { max-width: $width-2 }
|
47
|
+
|
48
|
+
.max-width-3 { max-width: $width-3 }
|
49
|
+
|
50
|
+
.max-width-4 { max-width: $width-4 }
|
51
|
+
|
32
52
|
.border-box { box-sizing: border-box }
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
// Converted Variables
|
3
|
+
|
4
|
+
$lighten-1: rgba(255, 255, 255, .0625) !default;
|
5
|
+
$lighten-2: rgba(255, 255, 255, .125) !default;
|
6
|
+
$lighten-3: rgba(255, 255, 255, .25) !default;
|
7
|
+
$lighten-4: rgba(255, 255, 255, .5) !default;
|
8
|
+
|
9
|
+
// Custom Media Query Variables
|
10
|
+
|
11
|
+
|
12
|
+
/* Basscss Lighten */
|
13
|
+
|
14
|
+
.bg-lighten-1 { background-color: $lighten-1 }
|
15
|
+
|
16
|
+
.bg-lighten-2 { background-color: $lighten-2 }
|
17
|
+
|
18
|
+
.bg-lighten-3 { background-color: $lighten-3 }
|
19
|
+
|
20
|
+
.bg-lighten-4 { background-color: $lighten-4 }
|
@@ -0,0 +1,96 @@
|
|
1
|
+
|
2
|
+
// Converted Variables
|
3
|
+
|
4
|
+
$space-1: .5rem !default;
|
5
|
+
$space-2: 1rem !default;
|
6
|
+
$space-3: 2rem !default;
|
7
|
+
$space-4: 4rem !default;
|
8
|
+
|
9
|
+
// Custom Media Query Variables
|
10
|
+
|
11
|
+
|
12
|
+
/* Basscss Margin */
|
13
|
+
|
14
|
+
.m0 { margin: 0 }
|
15
|
+
|
16
|
+
.mt0 { margin-top: 0 }
|
17
|
+
|
18
|
+
.mr0 { margin-right: 0 }
|
19
|
+
|
20
|
+
.mb0 { margin-bottom: 0 }
|
21
|
+
|
22
|
+
.ml0 { margin-left: 0 }
|
23
|
+
|
24
|
+
.mx0 { margin-left: 0; margin-right: 0 }
|
25
|
+
|
26
|
+
.my0 { margin-top: 0; margin-bottom: 0 }
|
27
|
+
|
28
|
+
.m1 { margin: $space-1 }
|
29
|
+
|
30
|
+
.mt1 { margin-top: $space-1 }
|
31
|
+
|
32
|
+
.mr1 { margin-right: $space-1 }
|
33
|
+
|
34
|
+
.mb1 { margin-bottom: $space-1 }
|
35
|
+
|
36
|
+
.ml1 { margin-left: $space-1 }
|
37
|
+
|
38
|
+
.mx1 { margin-left: $space-1; margin-right: $space-1 }
|
39
|
+
|
40
|
+
.my1 { margin-top: $space-1; margin-bottom: $space-1 }
|
41
|
+
|
42
|
+
.m2 { margin: $space-2 }
|
43
|
+
|
44
|
+
.mt2 { margin-top: $space-2 }
|
45
|
+
|
46
|
+
.mr2 { margin-right: $space-2 }
|
47
|
+
|
48
|
+
.mb2 { margin-bottom: $space-2 }
|
49
|
+
|
50
|
+
.ml2 { margin-left: $space-2 }
|
51
|
+
|
52
|
+
.mx2 { margin-left: $space-2; margin-right: $space-2 }
|
53
|
+
|
54
|
+
.my2 { margin-top: $space-2; margin-bottom: $space-2 }
|
55
|
+
|
56
|
+
.m3 { margin: $space-3 }
|
57
|
+
|
58
|
+
.mt3 { margin-top: $space-3 }
|
59
|
+
|
60
|
+
.mr3 { margin-right: $space-3 }
|
61
|
+
|
62
|
+
.mb3 { margin-bottom: $space-3 }
|
63
|
+
|
64
|
+
.ml3 { margin-left: $space-3 }
|
65
|
+
|
66
|
+
.mx3 { margin-left: $space-3; margin-right: $space-3 }
|
67
|
+
|
68
|
+
.my3 { margin-top: $space-3; margin-bottom: $space-3 }
|
69
|
+
|
70
|
+
.m4 { margin: $space-4 }
|
71
|
+
|
72
|
+
.mt4 { margin-top: $space-4 }
|
73
|
+
|
74
|
+
.mr4 { margin-right: $space-4 }
|
75
|
+
|
76
|
+
.mb4 { margin-bottom: $space-4 }
|
77
|
+
|
78
|
+
.ml4 { margin-left: $space-4 }
|
79
|
+
|
80
|
+
.mx4 { margin-left: $space-4; margin-right: $space-4 }
|
81
|
+
|
82
|
+
.my4 { margin-top: $space-4; margin-bottom: $space-4 }
|
83
|
+
|
84
|
+
.mxn1 { margin-left: -$space-1; margin-right: -$space-1; }
|
85
|
+
|
86
|
+
.mxn2 { margin-left: -$space-2; margin-right: -$space-2; }
|
87
|
+
|
88
|
+
.mxn3 { margin-left: -$space-3; margin-right: -$space-3; }
|
89
|
+
|
90
|
+
.mxn4 { margin-left: -$space-4; margin-right: -$space-4; }
|
91
|
+
|
92
|
+
.ml-auto { margin-left: auto }
|
93
|
+
|
94
|
+
.mr-auto { margin-right: auto }
|
95
|
+
|
96
|
+
.mx-auto { margin-left: auto; margin-right: auto; }
|
@@ -0,0 +1,55 @@
|
|
1
|
+
|
2
|
+
// Converted Variables
|
3
|
+
|
4
|
+
$space-1: .5rem !default;
|
5
|
+
$media-object-space: $space-1 !default;
|
6
|
+
|
7
|
+
// Custom Media Query Variables
|
8
|
+
|
9
|
+
$breakpoint-sm: '(min-width: 40em)' !default;
|
10
|
+
$breakpoint-md: '(min-width: 52em)' !default;
|
11
|
+
$breakpoint-lg: '(min-width: 64em)' !default;
|
12
|
+
|
13
|
+
/* Basscss Media Object */
|
14
|
+
|
15
|
+
.media,
|
16
|
+
.sm-media,
|
17
|
+
.md-media,
|
18
|
+
.lg-media {
|
19
|
+
margin-left: -$media-object-space;
|
20
|
+
margin-right: -$media-object-space;
|
21
|
+
}
|
22
|
+
|
23
|
+
.media {
|
24
|
+
display: flex;
|
25
|
+
}
|
26
|
+
|
27
|
+
.media-center {
|
28
|
+
align-items: center;
|
29
|
+
}
|
30
|
+
|
31
|
+
.media-bottom {
|
32
|
+
align-items: flex-end;
|
33
|
+
}
|
34
|
+
|
35
|
+
.media-img,
|
36
|
+
.media-body {
|
37
|
+
padding-left: $media-object-space;
|
38
|
+
padding-right: $media-object-space;
|
39
|
+
}
|
40
|
+
|
41
|
+
.media-body {
|
42
|
+
flex: 1 1 auto;
|
43
|
+
}
|
44
|
+
|
45
|
+
@media #{$breakpoint-sm} {
|
46
|
+
.sm-media { display: flex }
|
47
|
+
}
|
48
|
+
|
49
|
+
@media #{$breakpoint-md} {
|
50
|
+
.md-media { display: flex }
|
51
|
+
}
|
52
|
+
|
53
|
+
@media #{$breakpoint-lg} {
|
54
|
+
.lg-media { display: flex }
|
55
|
+
}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
|
2
|
+
// Converted Variables
|
3
|
+
|
4
|
+
$space-1: .5rem !default;
|
5
|
+
$space-2: 1rem !default;
|
6
|
+
$space-3: 2rem !default;
|
7
|
+
$space-4: 4rem !default;
|
8
|
+
|
9
|
+
// Custom Media Query Variables
|
10
|
+
|
11
|
+
|
12
|
+
/* Basscss Padding */
|
13
|
+
|
14
|
+
.p0 { padding: 0 }
|
15
|
+
|
16
|
+
.pt0 { padding-top: 0 }
|
17
|
+
|
18
|
+
.pr0 { padding-right: 0 }
|
19
|
+
|
20
|
+
.pb0 { padding-bottom: 0 }
|
21
|
+
|
22
|
+
.pl0 { padding-left: 0 }
|
23
|
+
|
24
|
+
.px0 { padding-left: 0; padding-right: 0 }
|
25
|
+
|
26
|
+
.py0 { padding-top: 0; padding-bottom: 0 }
|
27
|
+
|
28
|
+
.p1 { padding: $space-1 }
|
29
|
+
|
30
|
+
.pt1 { padding-top: $space-1 }
|
31
|
+
|
32
|
+
.pr1 { padding-right: $space-1 }
|
33
|
+
|
34
|
+
.pb1 { padding-bottom: $space-1 }
|
35
|
+
|
36
|
+
.pl1 { padding-left: $space-1 }
|
37
|
+
|
38
|
+
.py1 { padding-top: $space-1; padding-bottom: $space-1 }
|
39
|
+
|
40
|
+
.px1 { padding-left: $space-1; padding-right: $space-1 }
|
41
|
+
|
42
|
+
.p2 { padding: $space-2 }
|
43
|
+
|
44
|
+
.pt2 { padding-top: $space-2 }
|
45
|
+
|
46
|
+
.pr2 { padding-right: $space-2 }
|
47
|
+
|
48
|
+
.pb2 { padding-bottom: $space-2 }
|
49
|
+
|
50
|
+
.pl2 { padding-left: $space-2 }
|
51
|
+
|
52
|
+
.py2 { padding-top: $space-2; padding-bottom: $space-2 }
|
53
|
+
|
54
|
+
.px2 { padding-left: $space-2; padding-right: $space-2 }
|
55
|
+
|
56
|
+
.p3 { padding: $space-3 }
|
57
|
+
|
58
|
+
.pt3 { padding-top: $space-3 }
|
59
|
+
|
60
|
+
.pr3 { padding-right: $space-3 }
|
61
|
+
|
62
|
+
.pb3 { padding-bottom: $space-3 }
|
63
|
+
|
64
|
+
.pl3 { padding-left: $space-3 }
|
65
|
+
|
66
|
+
.py3 { padding-top: $space-3; padding-bottom: $space-3 }
|
67
|
+
|
68
|
+
.px3 { padding-left: $space-3; padding-right: $space-3 }
|
69
|
+
|
70
|
+
.p4 { padding: $space-4 }
|
71
|
+
|
72
|
+
.pt4 { padding-top: $space-4 }
|
73
|
+
|
74
|
+
.pr4 { padding-right: $space-4 }
|
75
|
+
|
76
|
+
.pb4 { padding-bottom: $space-4 }
|
77
|
+
|
78
|
+
.pl4 { padding-left: $space-4 }
|
79
|
+
|
80
|
+
.py4 { padding-top: $space-4; padding-bottom: $space-4 }
|
81
|
+
|
82
|
+
.px4 { padding-left: $space-4; padding-right: $space-4 }
|
@@ -1,22 +1,34 @@
|
|
1
1
|
|
2
2
|
// Converted Variables
|
3
3
|
|
4
|
+
$z1: 1 !default;
|
5
|
+
$z2: 2 !default;
|
6
|
+
$z3: 3 !default;
|
7
|
+
$z4: 4 !default;
|
4
8
|
|
5
9
|
// Custom Media Query Variables
|
6
10
|
|
7
11
|
|
8
|
-
/* Basscss
|
12
|
+
/* Basscss Position */
|
9
13
|
|
10
14
|
.relative { position: relative }
|
15
|
+
|
11
16
|
.absolute { position: absolute }
|
17
|
+
|
12
18
|
.fixed { position: fixed }
|
13
19
|
|
14
20
|
.top-0 { top: 0 }
|
21
|
+
|
15
22
|
.right-0 { right: 0 }
|
23
|
+
|
16
24
|
.bottom-0 { bottom: 0 }
|
25
|
+
|
17
26
|
.left-0 { left: 0 }
|
18
27
|
|
19
|
-
.z1 { z-index:
|
20
|
-
|
21
|
-
.
|
22
|
-
|
28
|
+
.z1 { z-index: $z1 }
|
29
|
+
|
30
|
+
.z2 { z-index: $z2 }
|
31
|
+
|
32
|
+
.z3 { z-index: $z3 }
|
33
|
+
|
34
|
+
.z4 { z-index: $z4 }
|
@@ -1,67 +1,12 @@
|
|
1
1
|
|
2
2
|
// Converted Variables
|
3
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
4
|
$form-field-height: 2.25rem !default;
|
40
5
|
$form-field-padding-y: .5rem !default;
|
41
|
-
$
|
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
|
-
$lighten-1: rgba(255,255,255,.0625) !default;
|
53
|
-
$lighten-2: rgba(255,255,255,.125) !default;
|
54
|
-
$lighten-3: rgba(255,255,255,.25) !default;
|
55
|
-
$lighten-4: rgba(255,255,255,.5) !default;
|
56
|
-
$border-width: 1px !default;
|
57
|
-
$border-radius: 3px !default;
|
58
|
-
$border-color: $darken-2 !default;
|
6
|
+
$darken-2: rgba(0, 0, 0, .125) !default;
|
59
7
|
|
60
8
|
// Custom Media Query Variables
|
61
9
|
|
62
|
-
$breakpoint-sm: '(min-width: 40em)' !default;
|
63
|
-
$breakpoint-md: '(min-width: 52em)' !default;
|
64
|
-
$breakpoint-lg: '(min-width: 64em)' !default;
|
65
10
|
|
66
11
|
/* Basscss Progress */
|
67
12
|
|
@@ -70,10 +15,10 @@ $breakpoint-lg: '(min-width: 64em)' !default;
|
|
70
15
|
width: 100%;
|
71
16
|
height: ( $form-field-height / 4 );
|
72
17
|
margin: $form-field-padding-y 0;
|
18
|
+
overflow: hidden;
|
73
19
|
background-color: $darken-2;
|
74
20
|
border: 0;
|
75
21
|
border-radius: 10000px;
|
76
|
-
overflow: hidden;
|
77
22
|
-webkit-appearance: none;
|
78
23
|
}
|
79
24
|
|
@@ -84,22 +29,9 @@ $breakpoint-lg: '(min-width: 64em)' !default;
|
|
84
29
|
|
85
30
|
.progress::-webkit-progress-value {
|
86
31
|
-webkit-appearance: none;
|
87
|
-
background-color:
|
32
|
+
background-color: currentcolor;
|
88
33
|
}
|
89
34
|
|
90
35
|
.progress::-moz-progress-bar {
|
91
|
-
background-color:
|
92
|
-
}
|
93
|
-
|
94
|
-
|
95
|
-
/* Basscss Defaults */
|
96
|
-
|
97
|
-
/*
|
98
|
-
|
99
|
-
COLOR VARIABLES
|
100
|
-
|
101
|
-
- Cool
|
102
|
-
- Warm
|
103
|
-
- Gray Scale
|
104
|
-
|
105
|
-
*/
|
36
|
+
background-color: currentcolor;
|
37
|
+
}
|