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.
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,104 @@
1
+ @import "mixins/settings.global";
2
+ @import "mixins/components.navs";
3
+
4
+ .c-nav {
5
+ @include nav;
6
+ }
7
+
8
+ .c-nav__content {
9
+ @include nav__content;
10
+ }
11
+
12
+ .c-nav__item {
13
+ @include nav__item;
14
+ }
15
+
16
+ .c-nav--inline {
17
+ .c-nav__content {
18
+ @include nav--inline__item;
19
+ }
20
+
21
+ .c-nav__content--right {
22
+ @include nav__item--right;
23
+ }
24
+
25
+ .c-nav__item {
26
+ @include nav--inline__item;
27
+ }
28
+
29
+ .c-nav__item--right {
30
+ @include nav__item--right;
31
+ }
32
+ }
33
+
34
+ .c-nav--light {
35
+ @include nav--light;
36
+ }
37
+
38
+ .c-nav--top {
39
+ @include nav--top;
40
+ }
41
+
42
+ .c-nav--bottom {
43
+ @include nav--bottom;
44
+ }
45
+
46
+ .c-nav--left {
47
+ @include nav--left;
48
+ }
49
+
50
+ .c-nav--right {
51
+ @include nav--right;
52
+ }
53
+
54
+ .c-nav--fixed {
55
+ @include nav--fixed;
56
+ }
57
+
58
+ .c-nav--high {
59
+ @include nav--high;
60
+ }
61
+
62
+ .c-nav--higher {
63
+ @include nav--higher;
64
+ }
65
+
66
+ .c-nav--highest {
67
+ @include nav--highest;
68
+ }
69
+
70
+ .c-nav__item--active {
71
+ @include nav__item--active;
72
+ }
73
+
74
+ .c-nav__item--primary {
75
+ @include nav__item--primary;
76
+
77
+ &.c-nav__item--active {
78
+ @include nav__item--active-primary;
79
+ }
80
+ }
81
+
82
+ .c-nav__item--secondary {
83
+ @include nav__item--secondary;
84
+
85
+ &.c-nav__item--active {
86
+ @include nav__item--active-secondary;
87
+ }
88
+ }
89
+
90
+ .c-nav__item--success {
91
+ @include nav__item--success;
92
+
93
+ &.c-nav__item--active {
94
+ @include nav__item--active-success;
95
+ }
96
+ }
97
+
98
+ .c-nav__item--error {
99
+ @include nav__item--error;
100
+
101
+ &.c-nav__item--active {
102
+ @include nav__item--active-error;
103
+ }
104
+ }
@@ -0,0 +1,17 @@
1
+ @import "mixins/components.overlays";
2
+
3
+ .c-overlay {
4
+ @include overlay;
5
+ }
6
+
7
+ .c-overlay--fullpage {
8
+ @include overlay--fullpage;
9
+ }
10
+
11
+ .c-overlay--transparent {
12
+ @include overlay--transparent;
13
+ }
14
+
15
+ .c-overlay--dismissable {
16
+ @include overlay--dismissable;
17
+ }
@@ -0,0 +1,33 @@
1
+ @import "mixins/components.pagination";
2
+
3
+ .c-pagination {
4
+ @include pagination;
5
+ }
6
+
7
+ .c-pagination__controls {
8
+ @include pagination__controls;
9
+ }
10
+
11
+ .c-pagination__controls--backward {
12
+ @include pagination__controls--backward;
13
+ }
14
+
15
+ .c-pagination__controls--forward {
16
+ @include pagination__controls--forward;
17
+ }
18
+
19
+ .c-pagination__control {
20
+ @include pagination__control;
21
+ }
22
+
23
+ .c-pagination__page {
24
+ @include pagination__page;
25
+ }
26
+
27
+ .c-pagination__page--current {
28
+ @include pagination__page--current;
29
+ }
30
+
31
+ .c-pagination__ellipsis {
32
+ @include pagination__ellipsis;
33
+ }
@@ -0,0 +1,86 @@
1
+ @import "mixins/components.ranges";
2
+
3
+ .c-range {
4
+ @include range;
5
+ @include range--color;
6
+ }
7
+
8
+ .c-range--primary { @include range--primary; }
9
+ .c-range--secondary { @include range--secondary; }
10
+ .c-range--success { @include range--success; }
11
+ .c-range--error { @include range--error; }
12
+
13
+ .c-range::-webkit-slider-runnable-track {
14
+ @include range__track;
15
+ }
16
+
17
+ .c-range::-webkit-slider-thumb {
18
+ @include range__thumb;
19
+ @include range__thumb--webkit;
20
+ }
21
+
22
+ .c-range::-moz-range-track {
23
+ @include range__track;
24
+ }
25
+
26
+ .c-range::-moz-range-thumb {
27
+ @include range__thumb;
28
+ }
29
+
30
+ .c-range::-ms-track {
31
+ @include range__track;
32
+ @include range__track--ms;
33
+ }
34
+
35
+ .c-range::-ms-fill-lower, .c-range::-ms-fill-upper {
36
+ @include range__fill--ms;
37
+ }
38
+
39
+ .c-range::-ms-thumb {
40
+ @include range__thumb;
41
+ }
42
+
43
+ .c-range:not(:disabled):active {
44
+ &::-webkit-slider-thumb {
45
+ @include range__thumb--active;
46
+ }
47
+ &::-moz-range-thumb {
48
+ @include range__thumb--active;
49
+ }
50
+ &::-ms-thumb {
51
+ @include range__thumb--active;
52
+ }
53
+ }
54
+
55
+ .c-range:focus {
56
+ &::-webkit-slider-thumb {
57
+ @include range__thumb--focus;
58
+ }
59
+ &::-moz-range-thumb {
60
+ @include range__thumb--focus;
61
+ }
62
+ &::-ms-thumb {
63
+ @include range__thumb--focus;
64
+ }
65
+ }
66
+
67
+ .c-range:disabled {
68
+ &::-webkit-slider-thumb {
69
+ @include range--disabled;
70
+ }
71
+ &::-webkit-slider-runnable-track {
72
+ @include range--disabled;
73
+ }
74
+ &::-moz-range-thumb {
75
+ @include range--disabled;
76
+ }
77
+ &::-moz-range-track {
78
+ @include range--disabled;
79
+ }
80
+ &::-ms-thumb {
81
+ @include range--disabled;
82
+ }
83
+ &::-ms-track {
84
+ @include range--disabled;
85
+ }
86
+ }
@@ -0,0 +1,53 @@
1
+ @import "mixins/components.tables";
2
+
3
+ .c-table {
4
+ @include table;
5
+ }
6
+
7
+ .c-table__caption {
8
+ @include table__caption;
9
+ }
10
+
11
+ .c-table__row,
12
+ .c-table__head,
13
+ .c-table__body {
14
+ @include table__row;
15
+ }
16
+
17
+ .c-table--striped :not(.c-table__row--heading).c-table__row:nth-of-type(odd) {
18
+ @include table__row--striped;
19
+ }
20
+
21
+ .c-table__cell {
22
+ @include table__cell;
23
+ }
24
+
25
+ .c-table__row--heading .c-table__cell {
26
+ @include table__heading;
27
+ }
28
+
29
+ .c-table--striped .c-table__row--heading .c-table__cell {
30
+ @include table__heading--striped;
31
+ }
32
+
33
+ .c-table--clickable :not(.c-table__row--heading).c-table__row:hover .c-table__cell,
34
+ .c-table__row--clickable:hover .c-table__cell {
35
+ @include table-clickable;
36
+ }
37
+
38
+ .c-table__row--inactive {
39
+ @include table-inactive;
40
+ }
41
+
42
+ .c-table--clickable .c-table__row--inactive:hover .c-table__cell,
43
+ .c-table__row--clickable.c-table__row--inactive:hover .c-table__cell {
44
+ @include table-clickable--inactive;
45
+ }
46
+
47
+ .c-table--condensed {
48
+ @include table--condensed;
49
+
50
+ .c-table__cell {
51
+ @include table__cell--condensed;
52
+ }
53
+ }
@@ -0,0 +1,45 @@
1
+ @import "mixins/components.tabs";
2
+
3
+ .c-tabs {
4
+ @include tabs;
5
+ }
6
+
7
+ .c-tabs__headings {
8
+ @include tabs__headings;
9
+ }
10
+
11
+ .c-tab-heading {
12
+ @include tab-heading;
13
+ }
14
+
15
+ .c-tab-heading--active {
16
+ @include tab-heading--color;
17
+ }
18
+
19
+ .c-tabs--primary .c-tab-heading--active {
20
+ @include tab-heading--primary;
21
+ }
22
+
23
+ .c-tabs--secondary .c-tab-heading--active {
24
+ @include tab-heading--secondary;
25
+ }
26
+
27
+ .c-tabs--error .c-tab-heading--active {
28
+ @include tab-heading--error;
29
+ }
30
+
31
+ .c-tabs--success .c-tab-heading--active {
32
+ @include tab-heading--success;
33
+ }
34
+
35
+ .c-tab-heading--disabled {
36
+ @include tab-heading--disabled;
37
+ }
38
+
39
+ .c-tabs__tab {
40
+ @include tabs__tab;
41
+ }
42
+
43
+ .c-tabs__tab--active {
44
+ @include tabs__tab--active;
45
+ }
@@ -0,0 +1,25 @@
1
+ @import "mixins/components.tags";
2
+
3
+ .c-tags {
4
+ @include tags;
5
+ }
6
+
7
+ .c-tags .c-menu {
8
+ @include tags-menu;
9
+ }
10
+
11
+ .c-tags__container {
12
+ @include tags__container;
13
+ }
14
+
15
+ .c-tag {
16
+ @include tag;
17
+ }
18
+
19
+ .c-tag__close {
20
+ @include tag__close;
21
+ }
22
+
23
+ .c-tags__field-container {
24
+ @include tags__field-container;
25
+ }
@@ -0,0 +1,41 @@
1
+ @import "mixins/components.toasts";
2
+
3
+ .c-toasts {
4
+ @include toasts;
5
+ }
6
+
7
+ .c-toasts--topleft {
8
+ @include toasts--topleft;
9
+ }
10
+
11
+ .c-toasts--topright {
12
+ @include toasts--topright;
13
+ }
14
+
15
+ .c-toasts--bottomleft {
16
+ @include toasts--bottomleft;
17
+ }
18
+
19
+ .c-toasts--bottomright {
20
+ @include toasts--bottomright;
21
+ }
22
+
23
+ .c-toast {
24
+ @include toast;
25
+ }
26
+
27
+ .c-toast--primary {
28
+ @include toast--primary;
29
+ }
30
+
31
+ .c-toast--secondary {
32
+ @include toast--secondary;
33
+ }
34
+
35
+ .c-toast--success {
36
+ @include toast--success;
37
+ }
38
+
39
+ .c-toast--error {
40
+ @include toast--error;
41
+ }
@@ -0,0 +1,49 @@
1
+ @import "mixins/components.toggles";
2
+
3
+ .c-toggle {
4
+ @include toggle;
5
+
6
+ input:not(:checked) + .c-toggle__track {
7
+ @include toggle__track--unchecked;
8
+
9
+ .c-toggle__handle {
10
+ @include toggle__handle--unchecked;
11
+ }
12
+ }
13
+
14
+ input:disabled + .c-toggle__track {
15
+ @include toggle__track--disabled;
16
+
17
+ .c-toggle__handle {
18
+ @include toggle__handle--disabled;
19
+ }
20
+ }
21
+ }
22
+
23
+ .c-toggle--primary .c-toggle__track {
24
+ @include toggle__track--primary;
25
+ }
26
+
27
+ .c-toggle--secondary .c-toggle__track {
28
+ @include toggle__track--secondary;
29
+ }
30
+
31
+ .c-toggle--success .c-toggle__track {
32
+ @include toggle__track--success;
33
+ }
34
+
35
+ .c-toggle--error .c-toggle__track {
36
+ @include toggle__track--error;
37
+ }
38
+
39
+ .c-toggle input {
40
+ @include toggle__checkbox;
41
+ }
42
+
43
+ .c-toggle__track {
44
+ @include toggle__track;
45
+ }
46
+
47
+ .c-toggle__handle {
48
+ @include toggle__handle;
49
+ }