bones-rails 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +29 -7
- data/app/assets/stylesheets/bones.scss +65 -0
- data/app/assets/stylesheets/bones/config/bones_config.scss +262 -0
- data/app/assets/stylesheets/bones/helpers/_background.scss +138 -0
- data/app/assets/stylesheets/bones/helpers/_border.scss +138 -0
- data/app/assets/stylesheets/bones/helpers/_color.scss +138 -0
- data/app/assets/stylesheets/bones/helpers/_margin.scss +82 -0
- data/app/assets/stylesheets/bones/helpers/_padding.scss +82 -0
- data/app/assets/stylesheets/bones/helpers/_positioning.scss +24 -0
- data/app/assets/stylesheets/bones/helpers/_size.scss +34 -0
- data/app/assets/stylesheets/bones/mixins/_buttons.scss +19 -0
- data/app/assets/stylesheets/bones/mixins/_forms.scss +15 -0
- data/app/assets/stylesheets/bones/mixins/_globals.scss +15 -0
- data/app/assets/stylesheets/bones/mixins/_grid.scss +4 -0
- data/app/assets/stylesheets/bones/mixins/_nav.scss +41 -0
- data/app/assets/stylesheets/bones/mixins/_typography.scss +15 -0
- data/app/assets/stylesheets/bones/partials/_buttons.scss +86 -0
- data/app/assets/stylesheets/bones/partials/_code.scss +99 -0
- data/app/assets/stylesheets/bones/partials/_components.scss +22 -0
- data/app/assets/stylesheets/bones/partials/_forms.scss +49 -0
- data/app/assets/stylesheets/bones/partials/_globals.scss +27 -0
- data/app/assets/stylesheets/bones/partials/_grid.scss +112 -0
- data/app/assets/stylesheets/bones/partials/_images.scss +52 -0
- data/app/assets/stylesheets/bones/partials/_nav.scss +111 -0
- data/app/assets/stylesheets/bones/partials/_tables.scss +19 -0
- data/app/assets/stylesheets/bones/partials/_typography.scss +174 -0
- data/app/assets/stylesheets/bones/variables/_buttons.scss +16 -0
- data/app/assets/stylesheets/bones/variables/_code.scss +15 -0
- data/app/assets/stylesheets/bones/variables/_colors.scss +122 -0
- data/app/assets/stylesheets/bones/variables/_forms.scss +12 -0
- data/app/assets/stylesheets/bones/variables/_globals.scss +12 -0
- data/app/assets/stylesheets/bones/variables/_grid.scss +8 -0
- data/app/assets/stylesheets/bones/variables/_helpers.scss +9 -0
- data/app/assets/stylesheets/bones/variables/_images.scss +13 -0
- data/app/assets/stylesheets/bones/variables/_nav.scss +40 -0
- data/app/assets/stylesheets/bones/variables/_tables.scss +7 -0
- data/app/assets/stylesheets/bones/variables/_typography.scss +61 -0
- data/app/assets/stylesheets/bones/vendor/_normalize.scss +406 -0
- data/bones-rails.gemspec +11 -10
- data/lib/bones/generators/install_generator.rb +18 -0
- data/lib/bones/rails.rb +2 -3
- data/lib/bones/rails/version.rb +1 -3
- metadata +67 -8
- checksums.yaml +0 -15
- data/app/assets/stylesheets/bones.css +0 -1
@@ -0,0 +1,138 @@
|
|
1
|
+
// primary
|
2
|
+
.border-primary {
|
3
|
+
border: 1px solid $primary !important;
|
4
|
+
}
|
5
|
+
.border-primary-light {
|
6
|
+
border: 1px solid $primary-light !important;
|
7
|
+
}
|
8
|
+
.border-primary-lighter {
|
9
|
+
border: 1px solid $primary-lighter !important;
|
10
|
+
}
|
11
|
+
.border-primary-lightest {
|
12
|
+
border: 1px solid $primary-lightest !important;
|
13
|
+
}
|
14
|
+
.border-primary-dark {
|
15
|
+
border: 1px solid $primary-dark !important;
|
16
|
+
}
|
17
|
+
.border-primary-darker {
|
18
|
+
border: 1px solid $primary-darker !important;
|
19
|
+
}
|
20
|
+
.border-primary-darkest {
|
21
|
+
border: 1px solid $primary-darkest !important;
|
22
|
+
}
|
23
|
+
|
24
|
+
// accent-1
|
25
|
+
.border-accent-1 {
|
26
|
+
border: 1px solid $accent-1 !important;
|
27
|
+
}
|
28
|
+
.border-accent-1-light {
|
29
|
+
border: 1px solid $accent-1-light !important;
|
30
|
+
}
|
31
|
+
.border-accent-1-lighter {
|
32
|
+
border: 1px solid $accent-1-lighter !important;
|
33
|
+
}
|
34
|
+
.border-accent-1-lightest {
|
35
|
+
border: 1px solid $accent-1-lightest !important;
|
36
|
+
}
|
37
|
+
.border-accent-1-dark {
|
38
|
+
border: 1px solid $accent-1-dark !important;
|
39
|
+
}
|
40
|
+
.border-accent-1-darker {
|
41
|
+
border: 1px solid $accent-1-darker !important;
|
42
|
+
}
|
43
|
+
.border-accent-1-darkest {
|
44
|
+
border: 1px solid $accent-1-darkest !important;
|
45
|
+
}
|
46
|
+
|
47
|
+
// accent-2
|
48
|
+
.border-accent-2 {
|
49
|
+
border: 1px solid $accent-2 !important;
|
50
|
+
}
|
51
|
+
.border-accent-2-light {
|
52
|
+
border: 1px solid $accent-2-light !important;
|
53
|
+
}
|
54
|
+
.border-accent-2-lighter {
|
55
|
+
border: 1px solid $accent-2-lighter !important;
|
56
|
+
}
|
57
|
+
.border-accent-2-lightest {
|
58
|
+
border: 1px solid $accent-2-lightest !important;
|
59
|
+
}
|
60
|
+
.border-accent-2-dark {
|
61
|
+
border: 1px solid $accent-2-dark !important;
|
62
|
+
}
|
63
|
+
.border-accent-2-darker {
|
64
|
+
border: 1px solid $accent-2-darker !important;
|
65
|
+
}
|
66
|
+
.border-accent-2-darkest {
|
67
|
+
border: 1px solid $accent-2-darkest !important;
|
68
|
+
}
|
69
|
+
|
70
|
+
// accent-light
|
71
|
+
.border-accent-light {
|
72
|
+
border: 1px solid $accent-light !important;
|
73
|
+
}
|
74
|
+
.border-accent-light-dark {
|
75
|
+
border: 1px solid $accent-light-dark !important;
|
76
|
+
}
|
77
|
+
.border-accent-light-darker {
|
78
|
+
border: 1px solid $accent-light-darker !important;
|
79
|
+
}
|
80
|
+
.border-accent-light-darkest {
|
81
|
+
border: 1px solid $accent-light-darkest !important;
|
82
|
+
}
|
83
|
+
|
84
|
+
// accent-dark
|
85
|
+
.border-accent-dark {
|
86
|
+
border: 1px solid $accent-dark !important;
|
87
|
+
}
|
88
|
+
.border-accent-dark-light {
|
89
|
+
border: 1px solid $accent-dark-light !important;
|
90
|
+
}
|
91
|
+
.border-accent-dark-lighter {
|
92
|
+
border: 1px solid $accent-dark-lighter !important;
|
93
|
+
}
|
94
|
+
.border-accent-dark-lightest {
|
95
|
+
border: 1px solid $accent-dark-lightest !important;
|
96
|
+
}
|
97
|
+
|
98
|
+
// success
|
99
|
+
.border-success {
|
100
|
+
border: 1px solid $success !important;
|
101
|
+
}
|
102
|
+
.border-success-dark {
|
103
|
+
border: 1px solid $success-dark !important;
|
104
|
+
}
|
105
|
+
.border-success-darker {
|
106
|
+
border: 1px solid $success-darker !important;
|
107
|
+
}
|
108
|
+
.border-success-darkest {
|
109
|
+
border: 1px solid $success-darkest !important;
|
110
|
+
}
|
111
|
+
|
112
|
+
// warning
|
113
|
+
.border-warning {
|
114
|
+
border: 1px solid $warning !important;
|
115
|
+
}
|
116
|
+
.border-warning-dark {
|
117
|
+
border: 1px solid $warning-dark !important;
|
118
|
+
}
|
119
|
+
.border-warning-darker {
|
120
|
+
border: 1px solid $warning-darker !important;
|
121
|
+
}
|
122
|
+
.border-warning-darkest {
|
123
|
+
border: 1px solid $warning-darkest !important;
|
124
|
+
}
|
125
|
+
|
126
|
+
// danger
|
127
|
+
.border-danger {
|
128
|
+
border: 1px solid $danger !important;
|
129
|
+
}
|
130
|
+
.border-danger-dark {
|
131
|
+
border: 1px solid $danger-dark !important;
|
132
|
+
}
|
133
|
+
.border-danger-darker {
|
134
|
+
border: 1px solid $danger-darker !important;
|
135
|
+
}
|
136
|
+
.border-danger-darkest {
|
137
|
+
border: 1px solid $danger-darkest !important;
|
138
|
+
}
|
@@ -0,0 +1,138 @@
|
|
1
|
+
// primary
|
2
|
+
.color-primary {
|
3
|
+
color: $primary !important;
|
4
|
+
}
|
5
|
+
.color-primary-light {
|
6
|
+
color: $primary-light !important;
|
7
|
+
}
|
8
|
+
.color-primary-lighter {
|
9
|
+
color: $primary-lighter !important;
|
10
|
+
}
|
11
|
+
.color-primary-lightest {
|
12
|
+
color: $primary-lightest !important;
|
13
|
+
}
|
14
|
+
.color-primary-dark {
|
15
|
+
color: $primary-dark !important;
|
16
|
+
}
|
17
|
+
.color-primary-darker {
|
18
|
+
color: $primary-darker !important;
|
19
|
+
}
|
20
|
+
.color-primary-darkest {
|
21
|
+
color: $primary-darkest !important;
|
22
|
+
}
|
23
|
+
|
24
|
+
// accent-1
|
25
|
+
.color-accent-1 {
|
26
|
+
color: $accent-1 !important;
|
27
|
+
}
|
28
|
+
.color-accent-1-light {
|
29
|
+
color: $accent-1-light !important;
|
30
|
+
}
|
31
|
+
.color-accent-1-lighter {
|
32
|
+
color: $accent-1-lighter !important;
|
33
|
+
}
|
34
|
+
.color-accent-1-lightest {
|
35
|
+
color: $accent-1-lightest !important;
|
36
|
+
}
|
37
|
+
.color-accent-1-dark {
|
38
|
+
color: $accent-1-dark !important;
|
39
|
+
}
|
40
|
+
.color-accent-1-darker {
|
41
|
+
color: $accent-1-darker !important;
|
42
|
+
}
|
43
|
+
.color-accent-1-darkest {
|
44
|
+
color: $accent-1-darkest !important;
|
45
|
+
}
|
46
|
+
|
47
|
+
// accent-2
|
48
|
+
.color-accent-2 {
|
49
|
+
color: $accent-2 !important;
|
50
|
+
}
|
51
|
+
.color-accent-2-light {
|
52
|
+
color: $accent-2-light !important;
|
53
|
+
}
|
54
|
+
.color-accent-2-lighter {
|
55
|
+
color: $accent-2-lighter !important;
|
56
|
+
}
|
57
|
+
.color-accent-2-lightest {
|
58
|
+
color: $accent-2-lightest !important;
|
59
|
+
}
|
60
|
+
.color-accent-2-dark {
|
61
|
+
color: $accent-2-dark !important;
|
62
|
+
}
|
63
|
+
.color-accent-2-darker {
|
64
|
+
color: $accent-2-darker !important;
|
65
|
+
}
|
66
|
+
.color-accent-2-darkest {
|
67
|
+
color: $accent-2-darkest !important;
|
68
|
+
}
|
69
|
+
|
70
|
+
// accent-light
|
71
|
+
.color-accent-light {
|
72
|
+
color: $accent-light !important;
|
73
|
+
}
|
74
|
+
.color-accent-light-dark {
|
75
|
+
color: $accent-light-dark !important;
|
76
|
+
}
|
77
|
+
.color-accent-light-darker {
|
78
|
+
color: $accent-light-darker !important;
|
79
|
+
}
|
80
|
+
.color-accent-light-darkest {
|
81
|
+
color: $accent-light-darkest !important;
|
82
|
+
}
|
83
|
+
|
84
|
+
// accent-dark
|
85
|
+
.color-accent-dark {
|
86
|
+
color: $accent-dark !important;
|
87
|
+
}
|
88
|
+
.color-accent-dark-light {
|
89
|
+
color: $accent-dark-light !important;
|
90
|
+
}
|
91
|
+
.color-accent-dark-lighter {
|
92
|
+
color: $accent-dark-lighter !important;
|
93
|
+
}
|
94
|
+
.color-accent-dark-lightest {
|
95
|
+
color: $accent-dark-lightest !important;
|
96
|
+
}
|
97
|
+
|
98
|
+
// success
|
99
|
+
.color-success {
|
100
|
+
color: $success !important;
|
101
|
+
}
|
102
|
+
.color-success-dark {
|
103
|
+
color: $success-dark !important;
|
104
|
+
}
|
105
|
+
.color-success-darker {
|
106
|
+
color: $success-darker !important;
|
107
|
+
}
|
108
|
+
.color-success-darkest {
|
109
|
+
color: $success-darkest !important;
|
110
|
+
}
|
111
|
+
|
112
|
+
// warning
|
113
|
+
.color-warning {
|
114
|
+
color: $warning !important;
|
115
|
+
}
|
116
|
+
.color-warning-dark {
|
117
|
+
color: $warning-dark !important;
|
118
|
+
}
|
119
|
+
.color-warning-darker {
|
120
|
+
color: $warning-darker !important;
|
121
|
+
}
|
122
|
+
.color-warning-darkest {
|
123
|
+
color: $warning-darkest !important;
|
124
|
+
}
|
125
|
+
|
126
|
+
// danger
|
127
|
+
.color-danger {
|
128
|
+
color: $danger !important;
|
129
|
+
}
|
130
|
+
.color-danger-dark {
|
131
|
+
color: $danger-dark !important;
|
132
|
+
}
|
133
|
+
.color-danger-darker {
|
134
|
+
color: $danger-darker !important;
|
135
|
+
}
|
136
|
+
.color-danger-darkest {
|
137
|
+
color: $danger-darkest !important;
|
138
|
+
}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
// general
|
2
|
+
.margin-small {
|
3
|
+
margin: $margin-small !important;
|
4
|
+
}
|
5
|
+
.margin-medium {
|
6
|
+
margin: $margin-medium !important;
|
7
|
+
}
|
8
|
+
.margin-large {
|
9
|
+
margin: $margin-large !important;
|
10
|
+
}
|
11
|
+
|
12
|
+
// vertical
|
13
|
+
.margin-v-small {
|
14
|
+
margin-top: $margin-small !important;
|
15
|
+
margin-bottom: $margin-small !important;
|
16
|
+
}
|
17
|
+
.margin-v-medium {
|
18
|
+
margin-top: $margin-medium !important;
|
19
|
+
margin-bottom: $margin-medium !important;
|
20
|
+
}
|
21
|
+
.margin-v-large {
|
22
|
+
margin-top: $margin-large !important;
|
23
|
+
margin-bottom: $margin-large !important;
|
24
|
+
}
|
25
|
+
|
26
|
+
// horizontal
|
27
|
+
.margin-h-small {
|
28
|
+
margin-right: $margin-small !important;
|
29
|
+
margin-left: $margin-small !important;
|
30
|
+
}
|
31
|
+
.margin-h-medium {
|
32
|
+
margin-right: $margin-medium !important;
|
33
|
+
margin-left: $margin-medium !important;
|
34
|
+
}
|
35
|
+
.margin-h-large {
|
36
|
+
margin-right: $margin-large !important;
|
37
|
+
margin-left: $margin-large !important;
|
38
|
+
}
|
39
|
+
|
40
|
+
// left
|
41
|
+
.margin-left-small {
|
42
|
+
margin-left: $margin-small !important;
|
43
|
+
}
|
44
|
+
.margin-left-medium {
|
45
|
+
margin-left: $margin-medium !important;
|
46
|
+
}
|
47
|
+
.margin-left-large {
|
48
|
+
margin-left: $margin-large !important;
|
49
|
+
}
|
50
|
+
|
51
|
+
// right
|
52
|
+
.margin-right-small {
|
53
|
+
margin-right: $margin-small !important;
|
54
|
+
}
|
55
|
+
.margin-right-medium {
|
56
|
+
margin-right: $margin-medium !important;
|
57
|
+
}
|
58
|
+
.margin-right-large {
|
59
|
+
margin-right: $margin-large !important;
|
60
|
+
}
|
61
|
+
|
62
|
+
// top
|
63
|
+
.margin-top-small {
|
64
|
+
margin-top: $margin-small !important;
|
65
|
+
}
|
66
|
+
.margin-top-medium {
|
67
|
+
margin-top: $margin-medium !important;
|
68
|
+
}
|
69
|
+
.margin-top-large {
|
70
|
+
margin-top: $margin-large !important;
|
71
|
+
}
|
72
|
+
|
73
|
+
// bottom
|
74
|
+
.margin-bottom-small {
|
75
|
+
margin-bottom: $margin-small !important;
|
76
|
+
}
|
77
|
+
.margin-bottom-medium {
|
78
|
+
margin-bottom: $margin-medium !important;
|
79
|
+
}
|
80
|
+
.margin-bottom-large {
|
81
|
+
margin-bottom: $margin-large !important;
|
82
|
+
}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
// general
|
2
|
+
.padding-small {
|
3
|
+
padding: $padding-small;
|
4
|
+
}
|
5
|
+
.padding-medium {
|
6
|
+
padding: $padding-medium;
|
7
|
+
}
|
8
|
+
.padding-large {
|
9
|
+
padding: $padding-large;
|
10
|
+
}
|
11
|
+
|
12
|
+
// vertical
|
13
|
+
.padding-v-small {
|
14
|
+
padding-top: $padding-small;
|
15
|
+
padding-bottom: $padding-small;
|
16
|
+
}
|
17
|
+
.padding-v-medium {
|
18
|
+
padding-top: $padding-medium;
|
19
|
+
padding-bottom: $padding-medium;
|
20
|
+
}
|
21
|
+
.padding-v-large {
|
22
|
+
padding-top: $padding-large;
|
23
|
+
padding-bottom: $padding-large;
|
24
|
+
}
|
25
|
+
|
26
|
+
// horizontal
|
27
|
+
.padding-h-small {
|
28
|
+
padding-right: $padding-small;
|
29
|
+
padding-left: $padding-small;
|
30
|
+
}
|
31
|
+
.padding-h-medium {
|
32
|
+
padding-right: $padding-medium;
|
33
|
+
padding-left: $padding-medium;
|
34
|
+
}
|
35
|
+
.padding-h-large {
|
36
|
+
padding-right: $padding-large;
|
37
|
+
padding-left: $padding-large;
|
38
|
+
}
|
39
|
+
|
40
|
+
// left
|
41
|
+
.padding-left-small {
|
42
|
+
padding-left: $padding-small;
|
43
|
+
}
|
44
|
+
.padding-left-medium {
|
45
|
+
padding-left: $padding-medium;
|
46
|
+
}
|
47
|
+
.padding-left-large {
|
48
|
+
padding-left: $padding-large;
|
49
|
+
}
|
50
|
+
|
51
|
+
// right
|
52
|
+
.padding-right-small {
|
53
|
+
padding-right: $padding-small;
|
54
|
+
}
|
55
|
+
.padding-right-medium {
|
56
|
+
padding-right: $padding-medium;
|
57
|
+
}
|
58
|
+
.padding-right-large {
|
59
|
+
padding-right: $padding-large;
|
60
|
+
}
|
61
|
+
|
62
|
+
// top
|
63
|
+
.padding-top-small {
|
64
|
+
padding-top: $padding-small;
|
65
|
+
}
|
66
|
+
.padding-top-medium {
|
67
|
+
padding-top: $padding-medium;
|
68
|
+
}
|
69
|
+
.padding-top-large {
|
70
|
+
padding-top: $padding-large;
|
71
|
+
}
|
72
|
+
|
73
|
+
// bottom
|
74
|
+
.padding-bottom-small {
|
75
|
+
padding-bottom: $padding-small;
|
76
|
+
}
|
77
|
+
.padding-bottom-medium {
|
78
|
+
padding-bottom: $padding-medium;
|
79
|
+
}
|
80
|
+
.padding-bottom-large {
|
81
|
+
padding-bottom: $padding-large;
|
82
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
// float
|
2
|
+
.float-left {
|
3
|
+
float: left;
|
4
|
+
}
|
5
|
+
.float-right {
|
6
|
+
float: right;
|
7
|
+
}
|
8
|
+
|
9
|
+
// text-align
|
10
|
+
.text-left {
|
11
|
+
text-align: left;
|
12
|
+
}
|
13
|
+
.text-center {
|
14
|
+
text-align: center;
|
15
|
+
}
|
16
|
+
.text-right {
|
17
|
+
text-align: right;
|
18
|
+
}
|
19
|
+
|
20
|
+
.center {
|
21
|
+
display: block;
|
22
|
+
margin-right: auto;
|
23
|
+
margin-left: auto;
|
24
|
+
}
|