blaze-css-rails 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -886
  3. data/app/assets/stylesheets/_blaze.scss +1 -0
  4. data/lib/blaze-css-rails/version.rb +1 -1
  5. metadata +3 -105
  6. data/app/assets/stylesheets/animations.alerts.scss +0 -73
  7. data/app/assets/stylesheets/animations.bubbles.scss +0 -31
  8. data/app/assets/stylesheets/animations.calendars.scss +0 -31
  9. data/app/assets/stylesheets/animations.drawers.scss +0 -13
  10. data/app/assets/stylesheets/animations.hints.scss +0 -5
  11. data/app/assets/stylesheets/animations.menus.scss +0 -31
  12. data/app/assets/stylesheets/animations.modals.scss +0 -31
  13. data/app/assets/stylesheets/animations.navs.scss +0 -19
  14. data/app/assets/stylesheets/animations.overlays.scss +0 -15
  15. data/app/assets/stylesheets/animations.ranges.scss +0 -13
  16. data/app/assets/stylesheets/animations.tabs.scss +0 -19
  17. data/app/assets/stylesheets/animations.toasts.scss +0 -33
  18. data/app/assets/stylesheets/animations.toggles.scss +0 -31
  19. data/app/assets/stylesheets/animations.trees.scss +0 -47
  20. data/app/assets/stylesheets/blaze.animations.scss +0 -14
  21. data/app/assets/stylesheets/blaze.scss +0 -35
  22. data/app/assets/stylesheets/components.addresses.scss +0 -9
  23. data/app/assets/stylesheets/components.alerts.scss +0 -21
  24. data/app/assets/stylesheets/components.badges.scss +0 -25
  25. data/app/assets/stylesheets/components.bubbles.scss +0 -22
  26. data/app/assets/stylesheets/components.buttons.scss +0 -80
  27. data/app/assets/stylesheets/components.calendars.scss +0 -50
  28. data/app/assets/stylesheets/components.cards.scss +0 -92
  29. data/app/assets/stylesheets/components.drawers.scss +0 -81
  30. data/app/assets/stylesheets/components.headings.scss +0 -33
  31. data/app/assets/stylesheets/components.hints.scss +0 -23
  32. data/app/assets/stylesheets/components.inputs.scss +0 -283
  33. data/app/assets/stylesheets/components.links.scss +0 -10
  34. data/app/assets/stylesheets/components.lists.scss +0 -57
  35. data/app/assets/stylesheets/components.menus.scss +0 -51
  36. data/app/assets/stylesheets/components.modals.scss +0 -53
  37. data/app/assets/stylesheets/components.navs.scss +0 -104
  38. data/app/assets/stylesheets/components.overlays.scss +0 -17
  39. data/app/assets/stylesheets/components.pagination.scss +0 -33
  40. data/app/assets/stylesheets/components.ranges.scss +0 -86
  41. data/app/assets/stylesheets/components.tables.scss +0 -53
  42. data/app/assets/stylesheets/components.tabs.scss +0 -45
  43. data/app/assets/stylesheets/components.tags.scss +0 -25
  44. data/app/assets/stylesheets/components.toasts.scss +0 -41
  45. data/app/assets/stylesheets/components.toggles.scss +0 -49
  46. data/app/assets/stylesheets/components.tooltips.scss +0 -21
  47. data/app/assets/stylesheets/components.trees.scss +0 -21
  48. data/app/assets/stylesheets/components.typography.scss +0 -73
  49. data/app/assets/stylesheets/generic.global.scss +0 -3
  50. data/app/assets/stylesheets/mixins/_animations.alerts.scss +0 -54
  51. data/app/assets/stylesheets/mixins/_animations.bubbles.scss +0 -54
  52. data/app/assets/stylesheets/mixins/_animations.calendars.scss +0 -46
  53. data/app/assets/stylesheets/mixins/_animations.drawers.scss +0 -15
  54. data/app/assets/stylesheets/mixins/_animations.hints.scss +0 -5
  55. data/app/assets/stylesheets/mixins/_animations.menus.scss +0 -46
  56. data/app/assets/stylesheets/mixins/_animations.modals.scss +0 -54
  57. data/app/assets/stylesheets/mixins/_animations.navs.scss +0 -15
  58. data/app/assets/stylesheets/mixins/_animations.overlays.scss +0 -28
  59. data/app/assets/stylesheets/mixins/_animations.ranges.scss +0 -43
  60. data/app/assets/stylesheets/mixins/_animations.tabs.scss +0 -15
  61. data/app/assets/stylesheets/mixins/_animations.toasts.scss +0 -45
  62. data/app/assets/stylesheets/mixins/_animations.toggles.scss +0 -29
  63. data/app/assets/stylesheets/mixins/_animations.trees.scss +0 -42
  64. data/app/assets/stylesheets/mixins/_components.addresses.scss +0 -12
  65. data/app/assets/stylesheets/mixins/_components.alerts.scss +0 -30
  66. data/app/assets/stylesheets/mixins/_components.badges.scss +0 -33
  67. data/app/assets/stylesheets/mixins/_components.bubbles.scss +0 -59
  68. data/app/assets/stylesheets/mixins/_components.buttons.scss +0 -197
  69. data/app/assets/stylesheets/mixins/_components.calendars.scss +0 -81
  70. data/app/assets/stylesheets/mixins/_components.cards.scss +0 -122
  71. data/app/assets/stylesheets/mixins/_components.drawers.scss +0 -116
  72. data/app/assets/stylesheets/mixins/_components.headings.scss +0 -39
  73. data/app/assets/stylesheets/mixins/_components.hints.scss +0 -25
  74. data/app/assets/stylesheets/mixins/_components.inputs.scss +0 -283
  75. data/app/assets/stylesheets/mixins/_components.links.scss +0 -44
  76. data/app/assets/stylesheets/mixins/_components.lists.scss +0 -53
  77. data/app/assets/stylesheets/mixins/_components.menus.scss +0 -63
  78. data/app/assets/stylesheets/mixins/_components.modals.scss +0 -63
  79. data/app/assets/stylesheets/mixins/_components.navs.scss +0 -165
  80. data/app/assets/stylesheets/mixins/_components.overlays.scss +0 -30
  81. data/app/assets/stylesheets/mixins/_components.pagination.scss +0 -45
  82. data/app/assets/stylesheets/mixins/_components.ranges.scss +0 -90
  83. data/app/assets/stylesheets/mixins/_components.tables.scss +0 -85
  84. data/app/assets/stylesheets/mixins/_components.tabs.scss +0 -53
  85. data/app/assets/stylesheets/mixins/_components.tags.scss +0 -41
  86. data/app/assets/stylesheets/mixins/_components.toasts.scss +0 -62
  87. data/app/assets/stylesheets/mixins/_components.toggles.scss +0 -75
  88. data/app/assets/stylesheets/mixins/_components.tooltips.scss +0 -89
  89. data/app/assets/stylesheets/mixins/_components.trees.scss +0 -39
  90. data/app/assets/stylesheets/mixins/_components.typography.scss +0 -101
  91. data/app/assets/stylesheets/mixins/_generic.global.scss +0 -15
  92. data/app/assets/stylesheets/mixins/_objects.containers.scss +0 -13
  93. data/app/assets/stylesheets/mixins/_objects.grid.scss +0 -104
  94. data/app/assets/stylesheets/mixins/_objects.images.scss +0 -5
  95. data/app/assets/stylesheets/mixins/_objects.panels.scss +0 -23
  96. data/app/assets/stylesheets/mixins/_settings.animations.scss +0 -5
  97. data/app/assets/stylesheets/mixins/_settings.global.scss +0 -876
  98. data/app/assets/stylesheets/mixins/_tools.mediaqueries.scss +0 -73
  99. data/app/assets/stylesheets/mixins/_utilities.alignment.scss +0 -24
  100. data/app/assets/stylesheets/mixins/_utilities.boxing.scss +0 -125
  101. data/app/assets/stylesheets/objects.containers.scss +0 -6
  102. data/app/assets/stylesheets/objects.grid.responsive.scss +0 -124
  103. data/app/assets/stylesheets/objects.grid.scss +0 -62
  104. data/app/assets/stylesheets/objects.images.scss +0 -5
  105. data/app/assets/stylesheets/objects.panels.scss +0 -17
  106. data/app/assets/stylesheets/themes/blaze.example.scss +0 -7
  107. data/app/assets/stylesheets/utilities.alignment.scss +0 -22
  108. data/app/assets/stylesheets/utilities.boxing.scss +0 -101
@@ -1,44 +0,0 @@
1
- @import "settings.global";
2
-
3
- @mixin link--color($color: $link-color) {
4
- color: $color;
5
- background-color: transparent;
6
-
7
- &:visited {
8
- color: darken($color, $color-tint);
9
- }
10
-
11
- &:hover {
12
- color: lighten($color, $color-tint);
13
- }
14
-
15
- &:active {
16
- color: lighten($color, $color-tint);
17
- }
18
- }
19
-
20
- @mixin link {
21
- @include link--color;
22
- text-decoration: $link-text-decoration;
23
- cursor: pointer;
24
-
25
- &:hover {
26
- text-decoration: $link-hover-text-decoration;
27
- }
28
- }
29
-
30
- @mixin link--primary {
31
- @include link--color($link-primary-color);
32
- }
33
-
34
- @mixin link--secondary {
35
- @include link--color($link-secondary-color);
36
- }
37
-
38
- @mixin link--success {
39
- @include link--color($link-success-color);
40
- }
41
-
42
- @mixin link--error {
43
- @include link--color($link-error-color);
44
- }
@@ -1,53 +0,0 @@
1
- @import "settings.global";
2
-
3
- @mixin list {
4
- display: block;
5
- margin: $list-margin;
6
- padding: $list-padding;
7
- list-style-position: outside;
8
- }
9
-
10
- @mixin list--unstyled {
11
- padding: $list-unstyled-padding;
12
- list-style: $list-unstyled-list-style;
13
- }
14
-
15
- @mixin list--nested {
16
- padding: $list-nested-padding;
17
- }
18
-
19
- @mixin list__item {
20
- padding: $list-item-padding;
21
- }
22
-
23
- @mixin list__item--unstyled {
24
- list-style: $list-item-unstyled-list-style;
25
- }
26
-
27
- @mixin list--ordered {
28
- @include list--unstyled;
29
- counter-reset: ordered;
30
- }
31
-
32
- @mixin list-ordered-item {
33
- &:before {
34
- counter-increment: ordered;
35
- content: counters(ordered, ".") " ";
36
- padding: $list-ordered-item-padding;
37
- }
38
- }
39
-
40
- @mixin list--inline {
41
- padding: $list-inline-padding;
42
- }
43
-
44
- @mixin list-inline-item {
45
- display: inline-block;
46
- padding-right: $list-inline-item-padding-right;
47
- width: auto;
48
- }
49
-
50
- @mixin list-inline-item-bullet {
51
- content: $list-inline-item-bullet-content;
52
- padding: $list-inline-item-bullet-padding;
53
- }
@@ -1,63 +0,0 @@
1
- @import "settings.global";
2
- @import "components.lists";
3
- @import "components.cards";
4
-
5
- @mixin menu {
6
- @include list--unstyled;
7
- @include card;
8
- display: block;
9
- width: $menu-width;
10
- margin: $menu-margin;
11
- background-color: $menu-background-color;
12
- border-radius: $menu-border-radius;
13
- overflow-y: auto;
14
- overflow-x: hidden;
15
- -webkit-overflow-scrolling: touch;
16
- max-height: $menu-max-height;
17
- z-index: $menu-z-index;
18
- }
19
-
20
- @mixin menu__item {
21
- @include card__item;
22
- cursor: pointer;
23
- }
24
-
25
- @mixin menu__item--divider {
26
- color: $menu-item-divider-color;
27
- font-weight: $menu-item-divider-font-weight;
28
- }
29
-
30
- @mixin menu__item--hover {
31
- @include card__item--hover;
32
- background-color: $menu-item-hover-background-color;
33
- }
34
-
35
- @mixin menu__item--active {
36
- background-color: $menu-item-active-background-color;
37
- font-weight: $menu-item-active-font-weight;
38
- }
39
-
40
- @mixin menu__item--disabled {
41
- color: $menu-item-disabled-color;
42
- cursor: not-allowed;
43
- }
44
-
45
- @mixin menu__item--borderless {
46
- @include card__item--borderless;
47
- }
48
-
49
- @mixin menu__group-divider {
50
- @include card__group-divider;
51
- }
52
-
53
- @mixin menu--high {
54
- @include card--high;
55
- }
56
-
57
- @mixin menu--higher {
58
- @include card--higher;
59
- }
60
-
61
- @mixin menu--highest {
62
- @include card--highest;
63
- }
@@ -1,63 +0,0 @@
1
- @import "settings.global";
2
- @import "objects.grid";
3
- @import "utilities.alignment";
4
-
5
- @mixin modal {
6
- @include center-block__content;
7
- display: block;
8
- width: $modal-width;
9
- background-color: $modal-background-color;
10
- border: $modal-border;
11
- border-radius: $modal-border-radius;
12
- z-index: $modal-z-index;
13
- overflow: hidden;
14
- }
15
-
16
- @mixin modal__header {
17
- position: relative;
18
- text-align: $modal-header-text-align;
19
- }
20
-
21
- @mixin modal__close {
22
- top: .7em;
23
- }
24
-
25
- @mixin modal__body {
26
- padding: $modal-body-padding;
27
- }
28
-
29
- @mixin modal__footer {
30
- padding: $modal-footer-padding;
31
- }
32
-
33
- @mixin modal__footer--block {
34
- @include grid;
35
- @include grid__cell--no-gutter;
36
- padding: $modal-footer-block-padding;
37
- }
38
-
39
- @mixin modal__footer-button--block {
40
- @include grid__cell;
41
- border-radius: $modal-footer-block-button-border-radius;
42
- }
43
-
44
- @mixin modal--ghost {
45
- background-color: $modal-ghost-background-color;
46
- color: $modal-ghost-color;
47
- }
48
-
49
- @mixin modal__heading--ghost {
50
- color: $modal-ghost-heading-color;
51
- }
52
-
53
- @mixin modal--high {
54
- box-shadow: $box-shadow-solid-high;
55
- }
56
-
57
- @mixin modal--higher {
58
- box-shadow: $box-shadow-solid-higher;
59
- }
60
-
61
- @mixin modal--highest {
62
- box-shadow: $box-shadow-solid-highest;
63
- }
@@ -1,165 +0,0 @@
1
- @import "settings.global";
2
-
3
- @mixin nav--color($background-color: $nav-background-color, $color: $nav-color) {
4
- color: $color;
5
- background-color: $background-color;
6
- }
7
-
8
- @mixin nav {
9
- padding: $nav-padding;
10
- margin: $nav-margin;
11
- width: $nav-width;
12
- z-index: $nav-z-index;
13
- @include nav--color;
14
- }
15
-
16
- @mixin nav__item--color($background-color: $nav-item-hover-background-color, $hover-color: $nav-item-hover-color) {
17
- &:not(:disabled) {
18
- &:hover {
19
- background-color: $background-color;
20
- color: $hover-color;
21
- }
22
-
23
- &:focus {
24
- box-shadow: $box-shadow-focus;
25
- }
26
-
27
- &:active {
28
- background-color: darken($background-color, $color-tint);
29
- color: $hover-color;
30
- }
31
- }
32
- }
33
-
34
- @mixin nav__item--active($background-color: $nav-item-active-background-color, $hover-color: $nav-item-active-color) {
35
- background-color: $background-color;
36
- color: $hover-color;
37
- }
38
-
39
- @mixin nav__item {
40
- display: block;
41
- padding: $nav-item-padding;
42
- color: inherit;
43
- letter-spacing: $nav-item-letter-spacing;
44
- cursor: pointer;
45
- text-decoration: none;
46
- @include nav__item--color;
47
- }
48
-
49
- @mixin nav__content {
50
- display: block;
51
- padding: $nav-item-padding;
52
- color: inherit;
53
- }
54
-
55
- @mixin nav--light {
56
- @include nav--color($nav-light-background-color, $nav-light-color);
57
- }
58
-
59
- @mixin nav--inline__item {
60
- display: inline-block;
61
- }
62
-
63
- @mixin nav__item--primary {
64
- @include nav__item--color($nav-item-primary-hover-background-color, $nav-item-primary-hover-color);
65
- }
66
- @mixin nav__item--active-primary {
67
- @include nav__item--active($nav-item-primary-active-background-color, $nav-item-primary-active-color);
68
- }
69
-
70
- @mixin nav__item--secondary {
71
- @include nav__item--color($color-secondary);
72
- }
73
- @mixin nav__item--active-secondary {
74
- @include nav__item--active($nav-item-secondary-active-background-color, $nav-item-secondary-active-color);
75
- }
76
-
77
- @mixin nav__item--success {
78
- @include nav__item--color($color-success);
79
- }
80
- @mixin nav__item--active-success {
81
- @include nav__item--active($nav-item-success-active-background-color, $nav-item-success-active-color);
82
- }
83
-
84
- @mixin nav__item--error {
85
- @include nav__item--color($color-error);
86
- }
87
- @mixin nav__item--active-error {
88
- @include nav__item--active($nav-item-error-active-background-color, $nav-item-error-active-color);
89
- }
90
-
91
- @mixin nav__item--right {
92
- float: right;
93
- }
94
-
95
- @mixin nav--top {
96
- position: absolute;
97
- top: 0;
98
- bottom: auto;
99
- left: 0;
100
- right: 0;
101
- }
102
-
103
- @mixin nav--bottom {
104
- position: absolute;
105
- top: auto;
106
- bottom: 0;
107
- left: 0;
108
- right: 0;
109
- }
110
-
111
- @mixin nav--left {
112
- position: absolute;
113
- top: 0;
114
- bottom: 0;
115
- left: 0;
116
- right: auto;
117
- }
118
-
119
- @mixin nav--right {
120
- position: absolute;
121
- top: 0;
122
- bottom: 0;
123
- left: auto;
124
- right: 0;
125
- }
126
-
127
- @mixin nav--top {
128
- position: absolute;
129
- top: 0;
130
- bottom: auto;
131
- left: 0;
132
- right: 0;
133
- }
134
-
135
- @mixin nav--bottom {
136
- position: absolute;
137
- top: auto;
138
- bottom: 0;
139
- left: 0;
140
- right: 0;
141
- }
142
-
143
- @mixin nav--left {
144
- position: absolute;
145
- top: 0;
146
- bottom: 0;
147
- left: 0;
148
- right: auto;
149
- }
150
-
151
- @mixin nav--fixed {
152
- position: fixed;
153
- }
154
-
155
- @mixin nav--high {
156
- box-shadow: $box-shadow-solid-high;
157
- }
158
-
159
- @mixin nav--higher {
160
- box-shadow: $box-shadow-solid-higher;
161
- }
162
-
163
- @mixin nav--highest {
164
- box-shadow: $box-shadow-solid-highest;
165
- }
@@ -1,30 +0,0 @@
1
- @import "settings.global";
2
-
3
- @mixin overlay--color($background-color: $overlay-background-color) {
4
- background-color: transparentize($background-color, .6);
5
- }
6
-
7
- @mixin overlay {
8
- @include overlay--color();
9
- display: block;
10
- position: absolute;
11
- top: 0;
12
- left: 0;
13
- right: 0;
14
- bottom: 0;
15
- width: 100%;
16
- height: 100%;
17
- z-index: $overlay-z-index;
18
- }
19
-
20
- @mixin overlay--fullpage {
21
- position: fixed;
22
- }
23
-
24
- @mixin overlay--transparent {
25
- background-color: $overlay-transparent-background-color;
26
- }
27
-
28
- @mixin overlay--dismissable {
29
- cursor: pointer;
30
- }
@@ -1,45 +0,0 @@
1
- @import "settings.global";
2
- @import "components.buttons";
3
-
4
- @mixin pagination {
5
- display: block;
6
- width: $pagination-width;
7
- padding: $pagination-padding;
8
- text-align: center;
9
- font-size: $pagination-font-size;
10
- }
11
-
12
- @mixin pagination__controls {
13
- display: inline-block;
14
- text-align: center;
15
- }
16
-
17
- @mixin pagination__controls--backward {
18
- float: left;
19
- text-align: left;
20
- }
21
-
22
- @mixin pagination__controls--forward {
23
- float: right;
24
- text-align: right;
25
- }
26
-
27
- @mixin pagination__control($color: $pagination-control-color) {
28
- @include button;
29
- @include button--ghost($color);
30
- @include button--rounded;
31
- min-width: 2.4em;
32
- }
33
-
34
- @mixin pagination__page {
35
- @include pagination__control($pagination-page-color);
36
- }
37
-
38
- @mixin pagination__page--current {
39
- background-color: $pagination-page-current-background-color;
40
- color: $pagination-page-current-color;
41
- }
42
-
43
- @mixin pagination__ellipsis {
44
- padding: $pagination-ellipsis-padding;
45
- }