blaze-css-rails 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +914 -0
- data/app/assets/stylesheets/animations.alerts.scss +73 -0
- data/app/assets/stylesheets/animations.bubbles.scss +31 -0
- data/app/assets/stylesheets/animations.calendars.scss +31 -0
- data/app/assets/stylesheets/animations.drawers.scss +13 -0
- data/app/assets/stylesheets/animations.hints.scss +5 -0
- data/app/assets/stylesheets/animations.menus.scss +31 -0
- data/app/assets/stylesheets/animations.modals.scss +31 -0
- data/app/assets/stylesheets/animations.navs.scss +19 -0
- data/app/assets/stylesheets/animations.overlays.scss +15 -0
- data/app/assets/stylesheets/animations.ranges.scss +13 -0
- data/app/assets/stylesheets/animations.tabs.scss +19 -0
- data/app/assets/stylesheets/animations.toasts.scss +33 -0
- data/app/assets/stylesheets/animations.toggles.scss +31 -0
- data/app/assets/stylesheets/animations.trees.scss +47 -0
- data/app/assets/stylesheets/blaze.animations.scss +14 -0
- data/app/assets/stylesheets/blaze.scss +35 -0
- data/app/assets/stylesheets/components.addresses.scss +9 -0
- data/app/assets/stylesheets/components.alerts.scss +21 -0
- data/app/assets/stylesheets/components.badges.scss +25 -0
- data/app/assets/stylesheets/components.bubbles.scss +22 -0
- data/app/assets/stylesheets/components.buttons.scss +80 -0
- data/app/assets/stylesheets/components.calendars.scss +50 -0
- data/app/assets/stylesheets/components.cards.scss +92 -0
- data/app/assets/stylesheets/components.drawers.scss +81 -0
- data/app/assets/stylesheets/components.headings.scss +33 -0
- data/app/assets/stylesheets/components.hints.scss +23 -0
- data/app/assets/stylesheets/components.inputs.scss +283 -0
- data/app/assets/stylesheets/components.links.scss +10 -0
- data/app/assets/stylesheets/components.lists.scss +57 -0
- data/app/assets/stylesheets/components.menus.scss +51 -0
- data/app/assets/stylesheets/components.modals.scss +53 -0
- data/app/assets/stylesheets/components.navs.scss +104 -0
- data/app/assets/stylesheets/components.overlays.scss +17 -0
- data/app/assets/stylesheets/components.pagination.scss +33 -0
- data/app/assets/stylesheets/components.ranges.scss +86 -0
- data/app/assets/stylesheets/components.tables.scss +53 -0
- data/app/assets/stylesheets/components.tabs.scss +45 -0
- data/app/assets/stylesheets/components.tags.scss +25 -0
- data/app/assets/stylesheets/components.toasts.scss +41 -0
- data/app/assets/stylesheets/components.toggles.scss +49 -0
- data/app/assets/stylesheets/components.tooltips.scss +21 -0
- data/app/assets/stylesheets/components.trees.scss +21 -0
- data/app/assets/stylesheets/components.typography.scss +73 -0
- data/app/assets/stylesheets/generic.global.scss +3 -0
- data/app/assets/stylesheets/mixins/_animations.alerts.scss +54 -0
- data/app/assets/stylesheets/mixins/_animations.bubbles.scss +54 -0
- data/app/assets/stylesheets/mixins/_animations.calendars.scss +46 -0
- data/app/assets/stylesheets/mixins/_animations.drawers.scss +15 -0
- data/app/assets/stylesheets/mixins/_animations.hints.scss +5 -0
- data/app/assets/stylesheets/mixins/_animations.menus.scss +46 -0
- data/app/assets/stylesheets/mixins/_animations.modals.scss +54 -0
- data/app/assets/stylesheets/mixins/_animations.navs.scss +15 -0
- data/app/assets/stylesheets/mixins/_animations.overlays.scss +28 -0
- data/app/assets/stylesheets/mixins/_animations.ranges.scss +43 -0
- data/app/assets/stylesheets/mixins/_animations.tabs.scss +15 -0
- data/app/assets/stylesheets/mixins/_animations.toasts.scss +45 -0
- data/app/assets/stylesheets/mixins/_animations.toggles.scss +29 -0
- data/app/assets/stylesheets/mixins/_animations.trees.scss +42 -0
- data/app/assets/stylesheets/mixins/_components.addresses.scss +12 -0
- data/app/assets/stylesheets/mixins/_components.alerts.scss +30 -0
- data/app/assets/stylesheets/mixins/_components.badges.scss +33 -0
- data/app/assets/stylesheets/mixins/_components.bubbles.scss +59 -0
- data/app/assets/stylesheets/mixins/_components.buttons.scss +197 -0
- data/app/assets/stylesheets/mixins/_components.calendars.scss +81 -0
- data/app/assets/stylesheets/mixins/_components.cards.scss +122 -0
- data/app/assets/stylesheets/mixins/_components.drawers.scss +116 -0
- data/app/assets/stylesheets/mixins/_components.headings.scss +39 -0
- data/app/assets/stylesheets/mixins/_components.hints.scss +25 -0
- data/app/assets/stylesheets/mixins/_components.inputs.scss +283 -0
- data/app/assets/stylesheets/mixins/_components.links.scss +44 -0
- data/app/assets/stylesheets/mixins/_components.lists.scss +53 -0
- data/app/assets/stylesheets/mixins/_components.menus.scss +63 -0
- data/app/assets/stylesheets/mixins/_components.modals.scss +63 -0
- data/app/assets/stylesheets/mixins/_components.navs.scss +165 -0
- data/app/assets/stylesheets/mixins/_components.overlays.scss +30 -0
- data/app/assets/stylesheets/mixins/_components.pagination.scss +45 -0
- data/app/assets/stylesheets/mixins/_components.ranges.scss +90 -0
- data/app/assets/stylesheets/mixins/_components.tables.scss +85 -0
- data/app/assets/stylesheets/mixins/_components.tabs.scss +53 -0
- data/app/assets/stylesheets/mixins/_components.tags.scss +41 -0
- data/app/assets/stylesheets/mixins/_components.toasts.scss +62 -0
- data/app/assets/stylesheets/mixins/_components.toggles.scss +75 -0
- data/app/assets/stylesheets/mixins/_components.tooltips.scss +89 -0
- data/app/assets/stylesheets/mixins/_components.trees.scss +39 -0
- data/app/assets/stylesheets/mixins/_components.typography.scss +101 -0
- data/app/assets/stylesheets/mixins/_generic.global.scss +15 -0
- data/app/assets/stylesheets/mixins/_objects.containers.scss +13 -0
- data/app/assets/stylesheets/mixins/_objects.grid.scss +104 -0
- data/app/assets/stylesheets/mixins/_objects.images.scss +5 -0
- data/app/assets/stylesheets/mixins/_objects.panels.scss +23 -0
- data/app/assets/stylesheets/mixins/_settings.animations.scss +5 -0
- data/app/assets/stylesheets/mixins/_settings.global.scss +876 -0
- data/app/assets/stylesheets/mixins/_tools.mediaqueries.scss +73 -0
- data/app/assets/stylesheets/mixins/_utilities.alignment.scss +24 -0
- data/app/assets/stylesheets/mixins/_utilities.boxing.scss +125 -0
- data/app/assets/stylesheets/objects.containers.scss +6 -0
- data/app/assets/stylesheets/objects.grid.responsive.scss +124 -0
- data/app/assets/stylesheets/objects.grid.scss +62 -0
- data/app/assets/stylesheets/objects.images.scss +5 -0
- data/app/assets/stylesheets/objects.panels.scss +17 -0
- data/app/assets/stylesheets/themes/blaze.example.scss +7 -0
- data/app/assets/stylesheets/utilities.alignment.scss +22 -0
- data/app/assets/stylesheets/utilities.boxing.scss +101 -0
- data/lib/blaze-css-rails.rb +2 -0
- data/lib/blaze-css-rails/engine.rb +6 -0
- data/lib/blaze-css-rails/version.rb +6 -0
- metadata +201 -0
@@ -0,0 +1,283 @@
|
|
1
|
+
@import "mixins/components.inputs";
|
2
|
+
|
3
|
+
// LABELS
|
4
|
+
|
5
|
+
.c-label {
|
6
|
+
@include label;
|
7
|
+
}
|
8
|
+
|
9
|
+
// TEXT FIELDS
|
10
|
+
|
11
|
+
.c-field {
|
12
|
+
@include field;
|
13
|
+
}
|
14
|
+
|
15
|
+
.c-label__field {
|
16
|
+
@include label__field;
|
17
|
+
}
|
18
|
+
|
19
|
+
.c-field--error {
|
20
|
+
@include field--error;
|
21
|
+
}
|
22
|
+
|
23
|
+
.c-field--success {
|
24
|
+
@include field--success;
|
25
|
+
}
|
26
|
+
|
27
|
+
.c-field--disabled, .c-field:disabled {
|
28
|
+
@include field--disabled;
|
29
|
+
}
|
30
|
+
|
31
|
+
.c-field--super {
|
32
|
+
@include field--super;
|
33
|
+
}
|
34
|
+
|
35
|
+
.c-field--xlarge {
|
36
|
+
@include field--xlarge;
|
37
|
+
}
|
38
|
+
|
39
|
+
.c-field--large {
|
40
|
+
@include field--large;
|
41
|
+
}
|
42
|
+
|
43
|
+
.c-field--medium {
|
44
|
+
@include field--medium;
|
45
|
+
}
|
46
|
+
|
47
|
+
.c-field--small {
|
48
|
+
@include field--small;
|
49
|
+
}
|
50
|
+
|
51
|
+
.c-field--xsmall {
|
52
|
+
@include field--xsmall;
|
53
|
+
}
|
54
|
+
|
55
|
+
// SELECTS, CHECKBOXES AND RADIOS
|
56
|
+
|
57
|
+
.c-choice {
|
58
|
+
@include choice;
|
59
|
+
}
|
60
|
+
|
61
|
+
.c-choice--error {
|
62
|
+
@include choice--error;
|
63
|
+
}
|
64
|
+
|
65
|
+
.c-choice--success {
|
66
|
+
@include choice--success;
|
67
|
+
}
|
68
|
+
|
69
|
+
.c-choice--disabled, .c-choice:disabled {
|
70
|
+
@include choice--disabled;
|
71
|
+
}
|
72
|
+
|
73
|
+
.c-choice--super {
|
74
|
+
@include choice--super;
|
75
|
+
}
|
76
|
+
|
77
|
+
.c-choice--xlarge {
|
78
|
+
@include choice--xlarge;
|
79
|
+
}
|
80
|
+
|
81
|
+
.c-choice--large {
|
82
|
+
@include choice--large;
|
83
|
+
}
|
84
|
+
|
85
|
+
.c-choice--medium {
|
86
|
+
@include choice--medium;
|
87
|
+
}
|
88
|
+
|
89
|
+
.c-choice--small {
|
90
|
+
@include choice--small;
|
91
|
+
}
|
92
|
+
|
93
|
+
.c-choice--xsmall {
|
94
|
+
@include choice--xsmall;
|
95
|
+
}
|
96
|
+
|
97
|
+
// SELECTS
|
98
|
+
|
99
|
+
select.c-choice {
|
100
|
+
@include field;
|
101
|
+
}
|
102
|
+
|
103
|
+
select:not([multiple]) {
|
104
|
+
&.c-choice {
|
105
|
+
@include select;
|
106
|
+
}
|
107
|
+
|
108
|
+
&.c-choice--super {
|
109
|
+
@include choice--super;
|
110
|
+
}
|
111
|
+
|
112
|
+
&.c-choice--xlarge {
|
113
|
+
@include choice--xlarge;
|
114
|
+
}
|
115
|
+
|
116
|
+
&.c-choice--large {
|
117
|
+
@include choice--large;
|
118
|
+
}
|
119
|
+
|
120
|
+
&.c-choice--medium {
|
121
|
+
@include choice--medium;
|
122
|
+
}
|
123
|
+
|
124
|
+
&.c-choice--small {
|
125
|
+
@include choice--small;
|
126
|
+
}
|
127
|
+
|
128
|
+
&.c-choice--xsmall {
|
129
|
+
@include choice--xsmall;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
select.c-choice--error {
|
134
|
+
@include select--error;
|
135
|
+
}
|
136
|
+
|
137
|
+
select.c-choice--success {
|
138
|
+
@include select--success;
|
139
|
+
}
|
140
|
+
|
141
|
+
select.c-choice--disabled, select.c-choice:disabled {
|
142
|
+
@include select--disabled;
|
143
|
+
}
|
144
|
+
|
145
|
+
// CHECKBOXES and RADIOs
|
146
|
+
|
147
|
+
.c-choice input {
|
148
|
+
@include checkbox;
|
149
|
+
}
|
150
|
+
|
151
|
+
.c-choice input:disabled {
|
152
|
+
@include choice--disabled;
|
153
|
+
}
|
154
|
+
|
155
|
+
// INPUT GROUP
|
156
|
+
.c-input-group {
|
157
|
+
@include input-group;
|
158
|
+
|
159
|
+
.c-field {
|
160
|
+
@include input-group__field;
|
161
|
+
@include input--grouped;
|
162
|
+
}
|
163
|
+
|
164
|
+
.c-field:not(:first-child):not(:last-child) {
|
165
|
+
@include input-group__field--center;
|
166
|
+
}
|
167
|
+
|
168
|
+
.c-field:first-child {
|
169
|
+
@include input-group__field--left;
|
170
|
+
}
|
171
|
+
|
172
|
+
.c-field:last-child {
|
173
|
+
@include input-group__field--right;
|
174
|
+
}
|
175
|
+
|
176
|
+
.c-button {
|
177
|
+
@include input--grouped;
|
178
|
+
}
|
179
|
+
|
180
|
+
.c-button:first-child {
|
181
|
+
@include input-group__button--left;
|
182
|
+
}
|
183
|
+
|
184
|
+
.c-button:last-child {
|
185
|
+
@include input-group__button--right;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
.c-input-group--rounded {
|
190
|
+
.c-field:first-child,
|
191
|
+
.c-button:first-child {
|
192
|
+
@include input-group-rounded--left;
|
193
|
+
}
|
194
|
+
|
195
|
+
.c-field:last-child,
|
196
|
+
.c-button:last-child {
|
197
|
+
@include input-group-rounded--right;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
.c-input-group--rounded-left {
|
202
|
+
.c-field:first-child,
|
203
|
+
.c-button:first-child {
|
204
|
+
@include input-group-rounded--left;
|
205
|
+
}
|
206
|
+
}
|
207
|
+
|
208
|
+
.c-input-group--rounded-right {
|
209
|
+
.c-field:last-child,
|
210
|
+
.c-button:last-child {
|
211
|
+
@include input-group-rounded--right;
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
.c-field-group {
|
216
|
+
@include field-group;
|
217
|
+
|
218
|
+
.c-field:not(:first-child) {
|
219
|
+
@include field-group__field;
|
220
|
+
}
|
221
|
+
|
222
|
+
.c-field:not(:first-child):not(:last-child) {
|
223
|
+
@include field-group__field--center;
|
224
|
+
}
|
225
|
+
|
226
|
+
.c-field:first-child {
|
227
|
+
@include field-group__field--top;
|
228
|
+
}
|
229
|
+
|
230
|
+
.c-field:last-child {
|
231
|
+
@include field-group__field--bottom;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
.c-field-group-inline {
|
236
|
+
@include field-group-inline;
|
237
|
+
|
238
|
+
.c-field:not(:first-child) {
|
239
|
+
@include field-group-inline__field;
|
240
|
+
}
|
241
|
+
|
242
|
+
.c-field:not(:first-child):not(:last-child) {
|
243
|
+
@include field-group-inline__field--center;
|
244
|
+
}
|
245
|
+
|
246
|
+
.c-field:first-child {
|
247
|
+
@include field-group-inline__field--left;
|
248
|
+
}
|
249
|
+
|
250
|
+
.c-field:last-child {
|
251
|
+
@include field-group-inline__field--right;
|
252
|
+
}
|
253
|
+
}
|
254
|
+
|
255
|
+
// FIELDSETS - Groups of controls
|
256
|
+
|
257
|
+
.c-fieldset {
|
258
|
+
@include fieldset;
|
259
|
+
|
260
|
+
&.c-list {
|
261
|
+
@include fieldset;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
|
265
|
+
.c-fieldset__legend {
|
266
|
+
@include fieldset__legend;
|
267
|
+
}
|
268
|
+
|
269
|
+
.c-fieldset--disabled .c-field, .c-fieldset:disabled .c-field {
|
270
|
+
@include field--disabled;
|
271
|
+
}
|
272
|
+
|
273
|
+
.c-fieldset--disabled .c-choice, .c-fieldset:disabled .c-choice {
|
274
|
+
@include disabled;
|
275
|
+
}
|
276
|
+
|
277
|
+
.c-form-element {
|
278
|
+
@include form-element;
|
279
|
+
|
280
|
+
.c-label:first-child {
|
281
|
+
@include form-element-label;
|
282
|
+
}
|
283
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
@import "mixins/components.lists";
|
2
|
+
|
3
|
+
.c-list {
|
4
|
+
@include list;
|
5
|
+
}
|
6
|
+
|
7
|
+
.c-list__item {
|
8
|
+
@include list__item;
|
9
|
+
}
|
10
|
+
|
11
|
+
.c-list__item--unstyled {
|
12
|
+
@include list__item--unstyled;
|
13
|
+
}
|
14
|
+
|
15
|
+
.c-list--unstyled {
|
16
|
+
@include list--unstyled;
|
17
|
+
|
18
|
+
.c-list, .c-list--unstyled {
|
19
|
+
@include list--nested;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
.c-list--nested {
|
24
|
+
@include list--nested;
|
25
|
+
}
|
26
|
+
|
27
|
+
.c-list--ordered {
|
28
|
+
@include list--ordered;
|
29
|
+
|
30
|
+
.c-list__item {
|
31
|
+
@include list-ordered-item;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.c-list--ordered .c-list--ordered {
|
36
|
+
@include list--nested;
|
37
|
+
}
|
38
|
+
|
39
|
+
.c-list--inline {
|
40
|
+
@include list--inline;
|
41
|
+
|
42
|
+
.c-list--inline {
|
43
|
+
@include list--inline;
|
44
|
+
}
|
45
|
+
|
46
|
+
.c-list__item {
|
47
|
+
@include list-inline-item;
|
48
|
+
}
|
49
|
+
|
50
|
+
&:not(.c-list--unstyled) {
|
51
|
+
.c-list__item {
|
52
|
+
&:before {
|
53
|
+
@include list-inline-item-bullet;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
@import "mixins/components.menus";
|
2
|
+
|
3
|
+
.c-menu {
|
4
|
+
@include menu;
|
5
|
+
}
|
6
|
+
|
7
|
+
.c-menu__item {
|
8
|
+
@include menu__item;
|
9
|
+
|
10
|
+
&:not(.c-menu__item--disabled):not(.c-menu__item--divider):hover {
|
11
|
+
@include menu__item--hover;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.c-menu__item--hover {
|
16
|
+
@include menu__item--hover;
|
17
|
+
}
|
18
|
+
|
19
|
+
.c-menu__item--disabled {
|
20
|
+
@include menu__item--disabled;
|
21
|
+
}
|
22
|
+
|
23
|
+
.c-menu__item--divider {
|
24
|
+
@include menu__item--divider;
|
25
|
+
}
|
26
|
+
|
27
|
+
.c-menu__item--active {
|
28
|
+
@include menu__item--active;
|
29
|
+
}
|
30
|
+
|
31
|
+
.c-menu--grouped {
|
32
|
+
.c-menu__item {
|
33
|
+
@include menu__item--borderless;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.c-menu__group-divider {
|
38
|
+
@include menu__group-divider;
|
39
|
+
}
|
40
|
+
|
41
|
+
.c-menu--high {
|
42
|
+
@include menu--high;
|
43
|
+
}
|
44
|
+
|
45
|
+
.c-menu--higher {
|
46
|
+
@include menu--higher;
|
47
|
+
}
|
48
|
+
|
49
|
+
.c-menu--highest {
|
50
|
+
@include menu--highest;
|
51
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
@import "mixins/components.modals";
|
2
|
+
|
3
|
+
.c-modal {
|
4
|
+
@include modal;
|
5
|
+
}
|
6
|
+
|
7
|
+
.c-modal__header {
|
8
|
+
@include modal__header;
|
9
|
+
}
|
10
|
+
|
11
|
+
.c-modal__header .c-button--close {
|
12
|
+
@include modal__close;
|
13
|
+
}
|
14
|
+
|
15
|
+
.c-modal__body {
|
16
|
+
@include modal__body;
|
17
|
+
}
|
18
|
+
|
19
|
+
.c-modal__footer {
|
20
|
+
@include modal__footer;
|
21
|
+
}
|
22
|
+
|
23
|
+
.c-modal__footer--block {
|
24
|
+
@include modal__footer--block;
|
25
|
+
|
26
|
+
.c-button {
|
27
|
+
@include modal__footer-button--block;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.c-modal--ghost {
|
32
|
+
@include modal--ghost;
|
33
|
+
|
34
|
+
.c-modal__heading {
|
35
|
+
@include modal__heading--ghost;
|
36
|
+
}
|
37
|
+
|
38
|
+
.c-modal__footer {
|
39
|
+
@include modal__footer;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.c-modal--high {
|
44
|
+
@include modal--high;
|
45
|
+
}
|
46
|
+
|
47
|
+
.c-modal--higher {
|
48
|
+
@include modal--higher;
|
49
|
+
}
|
50
|
+
|
51
|
+
.c-modal--highest {
|
52
|
+
@include modal--highest;
|
53
|
+
}
|