blaze-css-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +914 -0
  3. data/app/assets/stylesheets/animations.alerts.scss +73 -0
  4. data/app/assets/stylesheets/animations.bubbles.scss +31 -0
  5. data/app/assets/stylesheets/animations.calendars.scss +31 -0
  6. data/app/assets/stylesheets/animations.drawers.scss +13 -0
  7. data/app/assets/stylesheets/animations.hints.scss +5 -0
  8. data/app/assets/stylesheets/animations.menus.scss +31 -0
  9. data/app/assets/stylesheets/animations.modals.scss +31 -0
  10. data/app/assets/stylesheets/animations.navs.scss +19 -0
  11. data/app/assets/stylesheets/animations.overlays.scss +15 -0
  12. data/app/assets/stylesheets/animations.ranges.scss +13 -0
  13. data/app/assets/stylesheets/animations.tabs.scss +19 -0
  14. data/app/assets/stylesheets/animations.toasts.scss +33 -0
  15. data/app/assets/stylesheets/animations.toggles.scss +31 -0
  16. data/app/assets/stylesheets/animations.trees.scss +47 -0
  17. data/app/assets/stylesheets/blaze.animations.scss +14 -0
  18. data/app/assets/stylesheets/blaze.scss +35 -0
  19. data/app/assets/stylesheets/components.addresses.scss +9 -0
  20. data/app/assets/stylesheets/components.alerts.scss +21 -0
  21. data/app/assets/stylesheets/components.badges.scss +25 -0
  22. data/app/assets/stylesheets/components.bubbles.scss +22 -0
  23. data/app/assets/stylesheets/components.buttons.scss +80 -0
  24. data/app/assets/stylesheets/components.calendars.scss +50 -0
  25. data/app/assets/stylesheets/components.cards.scss +92 -0
  26. data/app/assets/stylesheets/components.drawers.scss +81 -0
  27. data/app/assets/stylesheets/components.headings.scss +33 -0
  28. data/app/assets/stylesheets/components.hints.scss +23 -0
  29. data/app/assets/stylesheets/components.inputs.scss +283 -0
  30. data/app/assets/stylesheets/components.links.scss +10 -0
  31. data/app/assets/stylesheets/components.lists.scss +57 -0
  32. data/app/assets/stylesheets/components.menus.scss +51 -0
  33. data/app/assets/stylesheets/components.modals.scss +53 -0
  34. data/app/assets/stylesheets/components.navs.scss +104 -0
  35. data/app/assets/stylesheets/components.overlays.scss +17 -0
  36. data/app/assets/stylesheets/components.pagination.scss +33 -0
  37. data/app/assets/stylesheets/components.ranges.scss +86 -0
  38. data/app/assets/stylesheets/components.tables.scss +53 -0
  39. data/app/assets/stylesheets/components.tabs.scss +45 -0
  40. data/app/assets/stylesheets/components.tags.scss +25 -0
  41. data/app/assets/stylesheets/components.toasts.scss +41 -0
  42. data/app/assets/stylesheets/components.toggles.scss +49 -0
  43. data/app/assets/stylesheets/components.tooltips.scss +21 -0
  44. data/app/assets/stylesheets/components.trees.scss +21 -0
  45. data/app/assets/stylesheets/components.typography.scss +73 -0
  46. data/app/assets/stylesheets/generic.global.scss +3 -0
  47. data/app/assets/stylesheets/mixins/_animations.alerts.scss +54 -0
  48. data/app/assets/stylesheets/mixins/_animations.bubbles.scss +54 -0
  49. data/app/assets/stylesheets/mixins/_animations.calendars.scss +46 -0
  50. data/app/assets/stylesheets/mixins/_animations.drawers.scss +15 -0
  51. data/app/assets/stylesheets/mixins/_animations.hints.scss +5 -0
  52. data/app/assets/stylesheets/mixins/_animations.menus.scss +46 -0
  53. data/app/assets/stylesheets/mixins/_animations.modals.scss +54 -0
  54. data/app/assets/stylesheets/mixins/_animations.navs.scss +15 -0
  55. data/app/assets/stylesheets/mixins/_animations.overlays.scss +28 -0
  56. data/app/assets/stylesheets/mixins/_animations.ranges.scss +43 -0
  57. data/app/assets/stylesheets/mixins/_animations.tabs.scss +15 -0
  58. data/app/assets/stylesheets/mixins/_animations.toasts.scss +45 -0
  59. data/app/assets/stylesheets/mixins/_animations.toggles.scss +29 -0
  60. data/app/assets/stylesheets/mixins/_animations.trees.scss +42 -0
  61. data/app/assets/stylesheets/mixins/_components.addresses.scss +12 -0
  62. data/app/assets/stylesheets/mixins/_components.alerts.scss +30 -0
  63. data/app/assets/stylesheets/mixins/_components.badges.scss +33 -0
  64. data/app/assets/stylesheets/mixins/_components.bubbles.scss +59 -0
  65. data/app/assets/stylesheets/mixins/_components.buttons.scss +197 -0
  66. data/app/assets/stylesheets/mixins/_components.calendars.scss +81 -0
  67. data/app/assets/stylesheets/mixins/_components.cards.scss +122 -0
  68. data/app/assets/stylesheets/mixins/_components.drawers.scss +116 -0
  69. data/app/assets/stylesheets/mixins/_components.headings.scss +39 -0
  70. data/app/assets/stylesheets/mixins/_components.hints.scss +25 -0
  71. data/app/assets/stylesheets/mixins/_components.inputs.scss +283 -0
  72. data/app/assets/stylesheets/mixins/_components.links.scss +44 -0
  73. data/app/assets/stylesheets/mixins/_components.lists.scss +53 -0
  74. data/app/assets/stylesheets/mixins/_components.menus.scss +63 -0
  75. data/app/assets/stylesheets/mixins/_components.modals.scss +63 -0
  76. data/app/assets/stylesheets/mixins/_components.navs.scss +165 -0
  77. data/app/assets/stylesheets/mixins/_components.overlays.scss +30 -0
  78. data/app/assets/stylesheets/mixins/_components.pagination.scss +45 -0
  79. data/app/assets/stylesheets/mixins/_components.ranges.scss +90 -0
  80. data/app/assets/stylesheets/mixins/_components.tables.scss +85 -0
  81. data/app/assets/stylesheets/mixins/_components.tabs.scss +53 -0
  82. data/app/assets/stylesheets/mixins/_components.tags.scss +41 -0
  83. data/app/assets/stylesheets/mixins/_components.toasts.scss +62 -0
  84. data/app/assets/stylesheets/mixins/_components.toggles.scss +75 -0
  85. data/app/assets/stylesheets/mixins/_components.tooltips.scss +89 -0
  86. data/app/assets/stylesheets/mixins/_components.trees.scss +39 -0
  87. data/app/assets/stylesheets/mixins/_components.typography.scss +101 -0
  88. data/app/assets/stylesheets/mixins/_generic.global.scss +15 -0
  89. data/app/assets/stylesheets/mixins/_objects.containers.scss +13 -0
  90. data/app/assets/stylesheets/mixins/_objects.grid.scss +104 -0
  91. data/app/assets/stylesheets/mixins/_objects.images.scss +5 -0
  92. data/app/assets/stylesheets/mixins/_objects.panels.scss +23 -0
  93. data/app/assets/stylesheets/mixins/_settings.animations.scss +5 -0
  94. data/app/assets/stylesheets/mixins/_settings.global.scss +876 -0
  95. data/app/assets/stylesheets/mixins/_tools.mediaqueries.scss +73 -0
  96. data/app/assets/stylesheets/mixins/_utilities.alignment.scss +24 -0
  97. data/app/assets/stylesheets/mixins/_utilities.boxing.scss +125 -0
  98. data/app/assets/stylesheets/objects.containers.scss +6 -0
  99. data/app/assets/stylesheets/objects.grid.responsive.scss +124 -0
  100. data/app/assets/stylesheets/objects.grid.scss +62 -0
  101. data/app/assets/stylesheets/objects.images.scss +5 -0
  102. data/app/assets/stylesheets/objects.panels.scss +17 -0
  103. data/app/assets/stylesheets/themes/blaze.example.scss +7 -0
  104. data/app/assets/stylesheets/utilities.alignment.scss +22 -0
  105. data/app/assets/stylesheets/utilities.boxing.scss +101 -0
  106. data/lib/blaze-css-rails.rb +2 -0
  107. data/lib/blaze-css-rails/engine.rb +6 -0
  108. data/lib/blaze-css-rails/version.rb +6 -0
  109. metadata +201 -0
@@ -0,0 +1,9 @@
1
+ @import "mixins/components.addresses";
2
+
3
+ .c-address {
4
+ @include address;
5
+ }
6
+
7
+ .c-address__heading {
8
+ @include address__heading;
9
+ }
@@ -0,0 +1,21 @@
1
+ @import "mixins/components.alerts";
2
+
3
+ .c-alerts__alert {
4
+ @include alerts__alert;
5
+ }
6
+
7
+ .c-alerts__alert--primary {
8
+ @include alerts__alert--primary;
9
+ }
10
+
11
+ .c-alerts__alert--secondary {
12
+ @include alerts__alert--secondary;
13
+ }
14
+
15
+ .c-alerts__alert--success {
16
+ @include alerts__alert--success;
17
+ }
18
+
19
+ .c-alerts__alert--error {
20
+ @include alerts__alert--error;
21
+ }
@@ -0,0 +1,25 @@
1
+ @import "mixins/components.badges";
2
+
3
+ .c-badge {
4
+ @include badge;
5
+ }
6
+
7
+ .c-badge--rounded {
8
+ @include badge--rounded;
9
+ }
10
+
11
+ .c-badge--primary {
12
+ @include badge--primary;
13
+ }
14
+
15
+ .c-badge--secondary {
16
+ @include badge--secondary;
17
+ }
18
+
19
+ .c-badge--success {
20
+ @include badge--success;
21
+ }
22
+
23
+ .c-badge--error {
24
+ @include badge--error;
25
+ }
@@ -0,0 +1,22 @@
1
+ @import "mixins/components.bubbles";
2
+
3
+ .c-bubble {
4
+ @include bubble;
5
+ @include bubble__arrow;
6
+ }
7
+
8
+ .c-bubble--top {
9
+ @include bubble__arrow--top;
10
+ }
11
+
12
+ .c-bubble--right {
13
+ @include bubble__arrow--right;
14
+ }
15
+
16
+ .c-bubble--bottom {
17
+ @include bubble__arrow--bottom;
18
+ }
19
+
20
+ .c-bubble--left {
21
+ @include bubble__arrow--left;
22
+ }
@@ -0,0 +1,80 @@
1
+ @import "mixins/components.buttons";
2
+
3
+ .c-button {
4
+ @include button;
5
+ }
6
+
7
+ .c-button--close {
8
+ @include button--close;
9
+ }
10
+
11
+ .c-button--block {
12
+ @include button--block;
13
+ }
14
+
15
+ .c-button--rounded {
16
+ @include button--rounded;
17
+ }
18
+
19
+ .c-button--super {
20
+ @include button--super;
21
+ }
22
+
23
+ .c-button--xlarge {
24
+ @include button--xlarge
25
+ }
26
+
27
+ .c-button--large {
28
+ @include button--large
29
+ }
30
+
31
+ .c-button--medium {
32
+ @include button--medium
33
+ }
34
+
35
+ .c-button--small {
36
+ @include button--small
37
+ }
38
+
39
+ .c-button--xsmall {
40
+ @include button--xsmall
41
+ }
42
+
43
+ .c-button--primary { @include button--primary; }
44
+ .c-button--secondary { @include button--secondary; }
45
+ .c-button--success { @include button--success; }
46
+ .c-button--error { @include button--error; }
47
+
48
+ .c-button--ghost { @include button--ghost; }
49
+ .c-button--ghost-primary { @include button--ghost-primary; }
50
+ .c-button--ghost-secondary { @include button--ghost-secondary; }
51
+ .c-button--ghost-success { @include button--ghost-success; }
52
+ .c-button--ghost-error { @include button--ghost-error; }
53
+
54
+ .c-button-group {
55
+ @include button-group;
56
+ }
57
+
58
+ .c-button-group {
59
+ .c-button {
60
+ @include button--grouped;
61
+ }
62
+ }
63
+
64
+ .c-button-group--rounded {
65
+ .c-button {
66
+ @include button-group--rounded;
67
+ }
68
+ }
69
+
70
+ .c-button-group [class*=" c-button--ghost"]:not(:first-child) {
71
+ @include button-group__button--ghost;
72
+ }
73
+
74
+ .c-button__icon-left {
75
+ @include button__icon-left;
76
+ }
77
+
78
+ .c-button__icon-right {
79
+ @include button__icon-right;
80
+ }
@@ -0,0 +1,50 @@
1
+ @import "mixins/components.calendars";
2
+
3
+ .c-calendar {
4
+ @include calendar;
5
+ }
6
+
7
+ .c-calendar__control {
8
+ @include calendar__control;
9
+ }
10
+
11
+ .c-calendar__header {
12
+ @include calendar__header;
13
+ }
14
+
15
+ .c-calendar__day {
16
+ @include calendar__day;
17
+ }
18
+
19
+ .c-calendar__date {
20
+ @include calendar__date;
21
+
22
+ &:hover {
23
+ @include calendar__date--hover;
24
+ }
25
+ }
26
+
27
+ .c-calendar__date--in-month {
28
+ @include calendar__date--in-month;
29
+ }
30
+
31
+ .c-calendar__date--today {
32
+ @include calendar__date--today;
33
+ }
34
+
35
+ .c-calendar__date--selected,
36
+ .c-calendar__date--selected:hover {
37
+ @include calendar__date--selected;
38
+ }
39
+
40
+ .c-calendar--high {
41
+ @include calendar--high;
42
+ }
43
+
44
+ .c-calendar--higher {
45
+ @include calendar--higher;
46
+ }
47
+
48
+ .c-calendar--highest {
49
+ @include calendar--highest;
50
+ }
@@ -0,0 +1,92 @@
1
+ @import "mixins/components.cards";
2
+
3
+ .c-card {
4
+ @include card;
5
+ }
6
+
7
+ .c-card + .c-card {
8
+ @include card-spacing;
9
+ }
10
+
11
+ .c-card .c-paragraph:first-child,
12
+ .c-card .c-paragraph:last-child {
13
+ @include card-first-last-paragraph;
14
+ }
15
+
16
+ .c-card__content {
17
+ @include card__content;
18
+ }
19
+
20
+ .c-card__content--divider {
21
+ @include card__content--divider;
22
+ }
23
+
24
+ .c-card__item {
25
+ @include card__item;
26
+ }
27
+
28
+ .c-card__item--divider {
29
+ @include card__item--divider;
30
+ }
31
+
32
+ .c-card--grouped {
33
+ .c-card__item {
34
+ @include card__item--borderless;
35
+ }
36
+ }
37
+
38
+ .c-card__group-divider {
39
+ @include card__group-divider;
40
+ }
41
+
42
+ .c-card--primary {
43
+ .c-card__content--divider {
44
+ @include card__content--primary-divider;
45
+ }
46
+
47
+ .c-card__item--divider {
48
+ @include card__item--primary-divider;
49
+ }
50
+ }
51
+
52
+ .c-card--secondary {
53
+ .c-card__content--divider {
54
+ @include card__content--secondary-divider;
55
+ }
56
+
57
+ .c-card__item--divider {
58
+ @include card__item--secondary-divider;
59
+ }
60
+ }
61
+
62
+ .c-card--success {
63
+ .c-card__content--divider {
64
+ @include card__content--success-divider;
65
+ }
66
+
67
+ .c-card__item--divider {
68
+ @include card__item--success-divider;
69
+ }
70
+ }
71
+
72
+ .c-card--error {
73
+ .c-card__content--divider {
74
+ @include card__content--error-divider;
75
+ }
76
+
77
+ .c-card__item--divider {
78
+ @include card__item--error-divider;
79
+ }
80
+ }
81
+
82
+ .c-card--high {
83
+ @include card--high;
84
+ }
85
+
86
+ .c-card--higher {
87
+ @include card--higher;
88
+ }
89
+
90
+ .c-card--highest {
91
+ @include card--highest;
92
+ }
@@ -0,0 +1,81 @@
1
+ @import "mixins/components.drawers";
2
+
3
+ .c-drawer {
4
+ @include drawer;
5
+ }
6
+
7
+ .c-drawer--bottom {
8
+ @include drawer--bottom;
9
+ }
10
+
11
+ .c-drawer--bottom.c-drawer--visible {
12
+ @include drawer--bottom--visible;
13
+ }
14
+
15
+ .c-drawer--top {
16
+ @include drawer--top;
17
+ }
18
+
19
+ .c-drawer--top.c-drawer--visible {
20
+ @include drawer--top--visible;
21
+ }
22
+
23
+ .c-drawer--left {
24
+ @include drawer--left;
25
+
26
+ .c-drawer__footer--block {
27
+ @include drawer__footer--bottom;
28
+ }
29
+ }
30
+
31
+ .c-drawer--left.c-drawer--visible {
32
+ @include drawer--left--visible;
33
+ }
34
+
35
+ .c-drawer--right {
36
+ @include drawer--right;
37
+
38
+ .c-drawer__footer--block {
39
+ @include drawer__footer--bottom;
40
+ }
41
+ }
42
+
43
+ .c-drawer--right.c-drawer--visible {
44
+ @include drawer--right--visible;
45
+ }
46
+
47
+ .c-drawer .c-heading {
48
+ @include drawer__heading;
49
+ }
50
+
51
+ .c-drawer .c-menu {
52
+ @include drawer__menu;
53
+ }
54
+
55
+ .c-drawer__body {
56
+ @include drawer__body;
57
+ }
58
+
59
+ .c-drawer__footer {
60
+ @include drawer__footer;
61
+ }
62
+
63
+ .c-drawer__footer--block {
64
+ @include drawer__footer--block;
65
+
66
+ .c-button {
67
+ @include drawer__footer-button--block;
68
+ }
69
+ }
70
+
71
+ .c-drawer--visible.c-drawer--high {
72
+ @include drawer--high;
73
+ }
74
+
75
+ .c-drawer--visible.c-drawer--higher {
76
+ @include drawer--higher;
77
+ }
78
+
79
+ .c-drawer--visible.c-drawer--highest {
80
+ @include drawer--highest;
81
+ }
@@ -0,0 +1,33 @@
1
+ @import "mixins/components.headings";
2
+
3
+ .c-heading {
4
+ @include heading;
5
+ }
6
+
7
+ .c-heading--super {
8
+ @include heading--super;
9
+ }
10
+
11
+ .c-heading--xlarge {
12
+ @include heading--xlarge;
13
+ }
14
+
15
+ .c-heading--large {
16
+ @include heading--large;
17
+ }
18
+
19
+ .c-heading--medium {
20
+ @include heading--medium;
21
+ }
22
+
23
+ .c-heading--small {
24
+ @include heading--small;
25
+ }
26
+
27
+ .c-heading--xsmall {
28
+ @include heading--xsmall;
29
+ }
30
+
31
+ .c-heading__sub {
32
+ @include heading__subheading;
33
+ }
@@ -0,0 +1,23 @@
1
+ @import "mixins/components.hints";
2
+
3
+ .c-hint {
4
+ @include hint;
5
+ }
6
+
7
+ .c-field:focus + .c-hint,
8
+ .c-label__field:focus + .c-hint {
9
+ @include hint--active;
10
+ }
11
+
12
+ .c-hint--static,
13
+ .c-hint--static {
14
+ @include hint--active;
15
+ }
16
+
17
+ .c-hint--success {
18
+ @include hint--success;
19
+ }
20
+
21
+ .c-hint--error {
22
+ @include hint--error;
23
+ }