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,73 +0,0 @@
1
- @import "settings.global";
2
-
3
- @mixin screen--xsmall-and-up {
4
- @media (min-width: #{map-get($screen-limits, xsmall)}) {
5
- @content;
6
- }
7
- }
8
-
9
- @mixin screen--small-and-up {
10
- @media (min-width: #{map-get($screen-limits, small)}) {
11
- @content;
12
- }
13
- }
14
-
15
- @mixin screen--medium-and-up {
16
- @media (min-width: #{map-get($screen-limits, medium)}) {
17
- @content;
18
- }
19
- }
20
-
21
- @mixin screen--large-and-up {
22
- @media (min-width: #{map-get($screen-limits, large)}) {
23
- @content;
24
- }
25
- }
26
-
27
- @mixin screen--xlarge-and-up {
28
- @media (min-width: #{map-get($screen-limits, xlarge)}) {
29
- @content;
30
- }
31
- }
32
-
33
- @mixin screen--super-and-up {
34
- @media (min-width: #{map-get($screen-limits, super)}) {
35
- @content;
36
- }
37
- }
38
-
39
- @mixin screen--xsmall-only {
40
- @media (max-width: #{map-get($screen-limits, xsmall) - $screen-adjustment}) {
41
- @content;
42
- }
43
- }
44
-
45
- @mixin screen--small-only {
46
- @media (min-width: #{map-get($screen-limits, xsmall)}) and (max-width: #{map-get($screen-limits, small) - $screen-adjustment}) {
47
- @content;
48
- }
49
- }
50
-
51
- @mixin screen--medium-only {
52
- @media (min-width: #{map-get($screen-limits, small)}) and (max-width: #{map-get($screen-limits, medium) - $screen-adjustment}) {
53
- @content;
54
- }
55
- }
56
-
57
- @mixin screen--large-only {
58
- @media (min-width: #{map-get($screen-limits, medium)}) and (max-width: #{map-get($screen-limits, large) - $screen-adjustment}) {
59
- @content;
60
- }
61
- }
62
-
63
- @mixin screen--xlarge-only {
64
- @media (min-width: #{map-get($screen-limits, large)}) and (max-width: #{map-get($screen-limits, xlarge) - $screen-adjustment}) {
65
- @content;
66
- }
67
- }
68
-
69
- @mixin screen--super-only {
70
- @media (min-width: #{map-get($screen-limits, large)}) {
71
- @content;
72
- }
73
- }
@@ -1,24 +0,0 @@
1
- @mixin centered {
2
- text-align: center;
3
- }
4
-
5
- @mixin center-block {
6
- position: relative;
7
- }
8
-
9
- @mixin center-block__content {
10
- position: absolute;
11
- top: 50%;
12
- left: 50%;
13
- transform: translate(-50%, -50%);
14
- }
15
-
16
- @mixin center-block__content--vertical {
17
- transform: translateY(-50%);
18
- left: auto;
19
- }
20
-
21
- @mixin center-block__content--horizontal {
22
- transform: translateX(-50%);
23
- top: auto;
24
- }
@@ -1,125 +0,0 @@
1
- @import "settings.global";
2
-
3
- @mixin no-overflow {
4
- overflow: hidden;
5
- }
6
-
7
- @mixin letter-box--super {
8
- padding-top: $spacing-super;
9
- padding-bottom: $spacing-super;
10
- }
11
-
12
- @mixin letter-box--xlarge {
13
- padding-top: $spacing-xlarge;
14
- padding-bottom: $spacing-xlarge;
15
- }
16
-
17
- @mixin letter-box--large {
18
- padding-top: $spacing-large;
19
- padding-bottom: $spacing-large;
20
- }
21
-
22
- @mixin letter-box--medium {
23
- padding-top: $spacing-medium;
24
- padding-bottom: $spacing-medium;
25
- }
26
-
27
- @mixin letter-box--small {
28
- padding-top: $spacing-small;
29
- padding-bottom: $spacing-small;
30
- }
31
-
32
- @mixin letter-box--xsmall {
33
- padding-top: $spacing-xsmall;
34
- padding-bottom: $spacing-xsmall;
35
- }
36
-
37
- @mixin letter-box--tiny {
38
- padding-top: $spacing-tiny;
39
- padding-bottom: $spacing-tiny;
40
- }
41
-
42
- @mixin letter-box--none {
43
- padding-top: 0;
44
- padding-bottom: 0;
45
- }
46
-
47
- @mixin pillar-box--super {
48
- padding-left: $spacing-super;
49
- padding-right: $spacing-super;
50
- }
51
-
52
- @mixin pillar-box--xlarge {
53
- padding-left: $spacing-xlarge;
54
- padding-right: $spacing-xlarge;
55
- }
56
-
57
- @mixin pillar-box--large {
58
- padding-left: $spacing-large;
59
- padding-right: $spacing-large;
60
- }
61
-
62
- @mixin pillar-box--medium {
63
- padding-left: $spacing-medium;
64
- padding-right: $spacing-medium;
65
- }
66
-
67
- @mixin pillar-box--small {
68
- padding-left: $spacing-small;
69
- padding-right: $spacing-small;
70
- }
71
-
72
- @mixin pillar-box--xsmall {
73
- padding-left: $spacing-xsmall;
74
- padding-right: $spacing-xsmall;
75
- }
76
-
77
- @mixin pillar-box--tiny {
78
- padding-left: $spacing-tiny;
79
- padding-right: $spacing-tiny;
80
- }
81
-
82
- @mixin pillar-box--none {
83
- padding-left: 0;
84
- padding-right: 0;
85
- }
86
-
87
- @mixin window-box--super {
88
- @include letter-box--super;
89
- @include pillar-box--super;
90
- }
91
-
92
- @mixin window-box--xlarge {
93
- @include letter-box--xlarge;
94
- @include pillar-box--xlarge;
95
- }
96
-
97
- @mixin window-box--large {
98
- @include letter-box--large;
99
- @include pillar-box--large;
100
- }
101
-
102
- @mixin window-box--medium {
103
- @include letter-box--medium;
104
- @include pillar-box--medium;
105
- }
106
-
107
- @mixin window-box--small {
108
- @include letter-box--small;
109
- @include pillar-box--small;
110
- }
111
-
112
- @mixin window-box--xsmall {
113
- @include letter-box--xsmall;
114
- @include pillar-box--xsmall;
115
- }
116
-
117
- @mixin window-box--tiny {
118
- @include letter-box--tiny;
119
- @include pillar-box--tiny;
120
- }
121
-
122
- @mixin window-box--none {
123
- @include letter-box--none;
124
- @include pillar-box--none;
125
- }
@@ -1,6 +0,0 @@
1
- @import "mixins/objects.containers";
2
-
3
- .o-container {
4
- @include container;
5
- @include container-sizes;
6
- }
@@ -1,124 +0,0 @@
1
- @import "mixins/tools.mediaqueries";
2
- @import "mixins/objects.grid";
3
-
4
- .o-grid {
5
- @include screen--xsmall-only {
6
- &.o-grid--xsmall-fit > .o-grid__cell:not([class*="o-grid__cell--width"]) {
7
- @include grid__cell--fit;
8
- }
9
-
10
- &.o-grid--xsmall-full {
11
- @include grid--full;
12
- }
13
-
14
- &.o-grid--xsmall-full > .o-grid__cell {
15
- @include grid__cell--full;
16
- }
17
- }
18
-
19
- @include screen--small-only {
20
- &.o-grid--small-fit > .o-grid__cell:not([class*="o-grid__cell--width"]) {
21
- @include grid__cell--fit;
22
- }
23
-
24
- &.o-grid--small-full {
25
- @include grid--full;
26
- }
27
-
28
- &.o-grid--small-full > .o-grid__cell {
29
- @include grid__cell--full;
30
- }
31
- }
32
-
33
- @include screen--medium-only {
34
- &.o-grid--medium-fit > .o-grid__cell:not([class*="o-grid__cell--width"]) {
35
- @include grid__cell--fit;
36
- }
37
-
38
- &.o-grid--medium-full {
39
- @include grid--full;
40
- }
41
-
42
- &.o-grid--medium-full > .o-grid__cell {
43
- @include grid__cell--full;
44
- }
45
- }
46
-
47
- @include screen--large-only {
48
- &.o-grid--large-fit > .o-grid__cell:not([class*="o-grid__cell--width"]) {
49
- @include grid__cell--fit;
50
- }
51
-
52
- &.o-grid--large-full {
53
- @include grid--full;
54
- }
55
-
56
- &.o-grid--large-full > .o-grid__cell {
57
- @include grid__cell--full;
58
- }
59
- }
60
-
61
- @include screen--xlarge-only {
62
- &.o-grid--xlarge-fit > .o-grid__cell:not([class*="o-grid__cell--width"]) {
63
- @include grid__cell--fit;
64
- }
65
-
66
- &.o-grid--xlarge-full {
67
- @include grid--full;
68
- }
69
-
70
- &.o-grid--xlarge-full > .o-grid__cell {
71
- @include grid__cell--full;
72
- }
73
- }
74
-
75
- @include screen--super-only {
76
- &.o-grid--super-fit > .o-grid__cell:not([class*="o-grid__cell--width"]) {
77
- @include grid__cell--fit;
78
- }
79
-
80
- &.o-grid--super-full {
81
- @include grid--full;
82
- }
83
-
84
- &.o-grid--super-full > .o-grid__cell {
85
- @include grid__cell--full;
86
- }
87
- }
88
-
89
- @include screen--xsmall-and-up {
90
- &__cell {
91
- @include grid__responsive-cells(xsmall);
92
- }
93
- }
94
-
95
- @include screen--small-and-up {
96
- &__cell {
97
- @include grid__responsive-cells(small);
98
- }
99
- }
100
-
101
- @include screen--medium-and-up {
102
- &__cell {
103
- @include grid__responsive-cells(medium);
104
- }
105
- }
106
-
107
- @include screen--large-and-up {
108
- &__cell {
109
- @include grid__responsive-cells(large);
110
- }
111
- }
112
-
113
- @include screen--xlarge-and-up {
114
- &__cell {
115
- @include grid__responsive-cells(xlarge);
116
- }
117
- }
118
-
119
- @include screen--super-and-up {
120
- &__cell {
121
- @include grid__responsive-cells(super);
122
- }
123
- }
124
- }
@@ -1,62 +0,0 @@
1
- @import "mixins/tools.mediaqueries";
2
- @import "mixins/objects.grid";
3
-
4
- .o-grid {
5
- @include grid;
6
-
7
- &--wrap {
8
- @include grid--wrap;
9
- }
10
-
11
- &--top {
12
- @include grid--top;
13
- }
14
-
15
- &--center {
16
- @include grid--center;
17
- }
18
-
19
- &--bottom {
20
- @include grid--bottom;
21
- }
22
-
23
- &--no-gutter {
24
- > .o-grid__cell {
25
- @include grid__cell--no-gutter;
26
- }
27
- }
28
-
29
- &__cell {
30
- @include grid__cell;
31
-
32
- @include grid__cells;
33
-
34
- &--top {
35
- @include grid__cell--top;
36
- }
37
-
38
- &--center {
39
- @include grid__cell--center;
40
- }
41
-
42
- &--bottom {
43
- @include grid__cell--bottom;
44
- }
45
-
46
- &--no-gutter {
47
- @include grid__cell--no-gutter;
48
- }
49
-
50
- &--width-fixed {
51
- @include grid__cell--width-fixed;
52
- }
53
-
54
- &--hidden {
55
- @include grid__cell--hidden;
56
- }
57
-
58
- &--visible {
59
- @include grid__cell--visible;
60
- }
61
- }
62
- }
@@ -1,5 +0,0 @@
1
- @import "mixins/objects.images";
2
-
3
- .o-image {
4
- @include image;
5
- }
@@ -1,17 +0,0 @@
1
- @import "mixins/objects.panels";
2
-
3
- .o-panel-container {
4
- @include panel-container;
5
- }
6
-
7
- .o-panel {
8
- @include panel;
9
- }
10
-
11
- .o-panel--nav-top {
12
- @include panel--nav-top;
13
- }
14
-
15
- .o-panel--nav-bottom {
16
- @include panel--nav-bottom;
17
- }
@@ -1,7 +0,0 @@
1
- $border-radius: 0;
2
- // ... add more variables here ...
3
-
4
- @import "../mixins/settings.global";
5
- @import "../blaze";
6
-
7
- // ... add class overrides here ...