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,21 @@
|
|
1
|
+
@import "mixins/components.tooltips";
|
2
|
+
|
3
|
+
.c-tooltip {
|
4
|
+
@include tooltip;
|
5
|
+
}
|
6
|
+
|
7
|
+
.c-tooltip--top {
|
8
|
+
@include tooltip--top;
|
9
|
+
}
|
10
|
+
|
11
|
+
.c-tooltip--right {
|
12
|
+
@include tooltip--right;
|
13
|
+
}
|
14
|
+
|
15
|
+
.c-tooltip--bottom {
|
16
|
+
@include tooltip--bottom;
|
17
|
+
}
|
18
|
+
|
19
|
+
.c-tooltip--left {
|
20
|
+
@include tooltip--left;
|
21
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
@import "mixins/components.trees";
|
2
|
+
|
3
|
+
.c-tree {
|
4
|
+
@include tree;
|
5
|
+
|
6
|
+
.c-tree {
|
7
|
+
@include tree--nested;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
.c-tree__item {
|
12
|
+
@include tree__item;
|
13
|
+
}
|
14
|
+
|
15
|
+
.c-tree__item--expandable {
|
16
|
+
@include tree__item--expandable;
|
17
|
+
}
|
18
|
+
|
19
|
+
.c-tree__item--expanded {
|
20
|
+
@include tree__item--expanded;
|
21
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
@import "mixins/components.typography";
|
2
|
+
|
3
|
+
.c-text {
|
4
|
+
@include text;
|
5
|
+
}
|
6
|
+
|
7
|
+
.c-text--mono {
|
8
|
+
@include text--mono;
|
9
|
+
}
|
10
|
+
|
11
|
+
.c-text--highlight {
|
12
|
+
@include text--highlight;
|
13
|
+
}
|
14
|
+
|
15
|
+
.c-text--quiet {
|
16
|
+
@include text--quiet;
|
17
|
+
}
|
18
|
+
|
19
|
+
.c-text--loud {
|
20
|
+
@include text--loud;
|
21
|
+
}
|
22
|
+
|
23
|
+
.c-text--help[title] {
|
24
|
+
@include text--help;
|
25
|
+
}
|
26
|
+
|
27
|
+
.c-pre {
|
28
|
+
margin: 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
.c-code {
|
32
|
+
@include code;
|
33
|
+
}
|
34
|
+
|
35
|
+
.c-code--multiline {
|
36
|
+
@include code--multiline;
|
37
|
+
}
|
38
|
+
|
39
|
+
.c-kbd {
|
40
|
+
@include keyboard-keys;
|
41
|
+
}
|
42
|
+
|
43
|
+
.c-blockquote {
|
44
|
+
@include quotation;
|
45
|
+
}
|
46
|
+
|
47
|
+
.c-blockquote--primary {
|
48
|
+
@include quotation--primary;
|
49
|
+
}
|
50
|
+
|
51
|
+
.c-blockquote--secondary {
|
52
|
+
@include quotation--secondary;
|
53
|
+
}
|
54
|
+
|
55
|
+
.c-blockquote--success {
|
56
|
+
@include quotation--success;
|
57
|
+
}
|
58
|
+
|
59
|
+
.c-blockquote--error {
|
60
|
+
@include quotation--error;
|
61
|
+
}
|
62
|
+
|
63
|
+
.c-blockquote__body {
|
64
|
+
@include quotation__body;
|
65
|
+
}
|
66
|
+
|
67
|
+
.c-blockquote__footer {
|
68
|
+
@include quotation__footer;
|
69
|
+
}
|
70
|
+
|
71
|
+
.c-paragraph {
|
72
|
+
@include paragraph;
|
73
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
@import "settings.animations";
|
2
|
+
|
3
|
+
@mixin alert-keyframes {
|
4
|
+
@keyframes alert {
|
5
|
+
from {
|
6
|
+
transform: scale(0);
|
7
|
+
opacity: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
50% {
|
11
|
+
transform: scale(1.02);
|
12
|
+
}
|
13
|
+
|
14
|
+
80% {
|
15
|
+
transform: scale(0.95);
|
16
|
+
}
|
17
|
+
|
18
|
+
to {
|
19
|
+
transform: scale(1);
|
20
|
+
opacity: 1;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
@mixin alert {
|
26
|
+
animation-name: alert;
|
27
|
+
animation-duration: $animation-duration;
|
28
|
+
animation-fill-mode: both;
|
29
|
+
animation-timing-function: $animation-easing;
|
30
|
+
}
|
31
|
+
|
32
|
+
@mixin alert--top {
|
33
|
+
transform-origin: center top;
|
34
|
+
}
|
35
|
+
|
36
|
+
@mixin alert--bottom {
|
37
|
+
transform-origin: center bottom;
|
38
|
+
}
|
39
|
+
|
40
|
+
@mixin alert--left {
|
41
|
+
transform-origin: left center;
|
42
|
+
}
|
43
|
+
|
44
|
+
@mixin alert--right {
|
45
|
+
transform-origin: right center;
|
46
|
+
}
|
47
|
+
|
48
|
+
@mixin alert--slow {
|
49
|
+
animation-duration: $animation-duration-slow;
|
50
|
+
}
|
51
|
+
|
52
|
+
@mixin alert--fast {
|
53
|
+
animation-duration: $animation-duration-fast;
|
54
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
@import "settings.animations";
|
2
|
+
|
3
|
+
@mixin bubble-keyframes {
|
4
|
+
@keyframes bubble {
|
5
|
+
from {
|
6
|
+
transform: scale(0);
|
7
|
+
opacity: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
50% {
|
11
|
+
transform: scale(1.02);
|
12
|
+
}
|
13
|
+
|
14
|
+
80% {
|
15
|
+
transform: scale(0.95);
|
16
|
+
}
|
17
|
+
|
18
|
+
to {
|
19
|
+
transform: scale(1);
|
20
|
+
opacity: 1;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
@mixin bubble {
|
26
|
+
animation-name: bubble;
|
27
|
+
animation-duration: $animation-duration;
|
28
|
+
animation-fill-mode: both;
|
29
|
+
animation-timing-function: $animation-easing;
|
30
|
+
}
|
31
|
+
|
32
|
+
@mixin bubble--top {
|
33
|
+
transform-origin: center bottom;
|
34
|
+
}
|
35
|
+
|
36
|
+
@mixin bubble--bottom {
|
37
|
+
transform-origin: center top;
|
38
|
+
}
|
39
|
+
|
40
|
+
@mixin bubble--left {
|
41
|
+
transform-origin: right center;
|
42
|
+
}
|
43
|
+
|
44
|
+
@mixin bubble--right {
|
45
|
+
transform-origin: left center;
|
46
|
+
}
|
47
|
+
|
48
|
+
@mixin bubble--slow {
|
49
|
+
animation-duration: $animation-duration-slow;
|
50
|
+
}
|
51
|
+
|
52
|
+
@mixin bubble--fast {
|
53
|
+
animation-duration: $animation-duration-fast;
|
54
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
@import "settings.animations";
|
2
|
+
|
3
|
+
@mixin calendar-keyframes {
|
4
|
+
@keyframes menu {
|
5
|
+
from {
|
6
|
+
transform: scale(0);
|
7
|
+
opacity: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
to {
|
11
|
+
transform: scale(1);
|
12
|
+
opacity: 1;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
@mixin calendar {
|
18
|
+
animation-name: menu;
|
19
|
+
animation-duration: $animation-duration;
|
20
|
+
animation-fill-mode: both;
|
21
|
+
animation-timing-function: $animation-easing;
|
22
|
+
}
|
23
|
+
|
24
|
+
@mixin calendar--top {
|
25
|
+
transform-origin: top;
|
26
|
+
}
|
27
|
+
|
28
|
+
@mixin calendar--bottom {
|
29
|
+
transform-origin: bottom;
|
30
|
+
}
|
31
|
+
|
32
|
+
@mixin calendar--left {
|
33
|
+
transform-origin: left;
|
34
|
+
}
|
35
|
+
|
36
|
+
@mixin calendar--right {
|
37
|
+
transform-origin: right;
|
38
|
+
}
|
39
|
+
|
40
|
+
@mixin calendar--slow {
|
41
|
+
animation-duration: $animation-duration-slow;
|
42
|
+
}
|
43
|
+
|
44
|
+
@mixin calendar--fast {
|
45
|
+
animation-duration: $animation-duration-fast;
|
46
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
@import "settings.animations";
|
2
|
+
|
3
|
+
@mixin drawer {
|
4
|
+
transition: transform;
|
5
|
+
transition-duration: $animation-duration;
|
6
|
+
transition-timing-function: $animation-easing;
|
7
|
+
}
|
8
|
+
|
9
|
+
@mixin drawer--slow {
|
10
|
+
transition-duration: $animation-duration-slow;
|
11
|
+
}
|
12
|
+
|
13
|
+
@mixin drawer--fast {
|
14
|
+
transition-duration: $animation-duration-fast;
|
15
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
@import "settings.animations";
|
2
|
+
|
3
|
+
@mixin menu-keyframes {
|
4
|
+
@keyframes menu {
|
5
|
+
from {
|
6
|
+
transform: scale(0);
|
7
|
+
opacity: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
to {
|
11
|
+
transform: scale(1);
|
12
|
+
opacity: 1;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
@mixin menu {
|
18
|
+
animation-name: menu;
|
19
|
+
animation-duration: $animation-duration;
|
20
|
+
animation-fill-mode: both;
|
21
|
+
animation-timing-function: $animation-easing;
|
22
|
+
}
|
23
|
+
|
24
|
+
@mixin menu--top {
|
25
|
+
transform-origin: top;
|
26
|
+
}
|
27
|
+
|
28
|
+
@mixin menu--bottom {
|
29
|
+
transform-origin: bottom;
|
30
|
+
}
|
31
|
+
|
32
|
+
@mixin menu--left {
|
33
|
+
transform-origin: left;
|
34
|
+
}
|
35
|
+
|
36
|
+
@mixin menu--right {
|
37
|
+
transform-origin: right;
|
38
|
+
}
|
39
|
+
|
40
|
+
@mixin menu--slow {
|
41
|
+
animation-duration: $animation-duration-slow;
|
42
|
+
}
|
43
|
+
|
44
|
+
@mixin menu--fast {
|
45
|
+
animation-duration: $animation-duration-fast;
|
46
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
@import "settings.animations";
|
2
|
+
|
3
|
+
@mixin modal-keyframes {
|
4
|
+
@keyframes modal {
|
5
|
+
from {
|
6
|
+
transform: translate(-50%, -50%) scale(0);
|
7
|
+
opacity: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
50% {
|
11
|
+
transform: translate(-50%, -50%) scale(1.02);
|
12
|
+
}
|
13
|
+
|
14
|
+
80% {
|
15
|
+
transform: translate(-50%, -50%) scale(0.95);
|
16
|
+
}
|
17
|
+
|
18
|
+
to {
|
19
|
+
transform: translate(-50%, -50%) scale(1);
|
20
|
+
opacity: 1;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
@mixin modal {
|
26
|
+
animation-name: modal;
|
27
|
+
animation-duration: $animation-duration;
|
28
|
+
animation-fill-mode: both;
|
29
|
+
animation-timing-function: $animation-easing;
|
30
|
+
}
|
31
|
+
|
32
|
+
@mixin modal--top {
|
33
|
+
transform-origin: center top;
|
34
|
+
}
|
35
|
+
|
36
|
+
@mixin modal--bottom {
|
37
|
+
transform-origin: center bottom;
|
38
|
+
}
|
39
|
+
|
40
|
+
@mixin modal--left {
|
41
|
+
transform-origin: left center;
|
42
|
+
}
|
43
|
+
|
44
|
+
@mixin modal--right {
|
45
|
+
transform-origin: right center;
|
46
|
+
}
|
47
|
+
|
48
|
+
@mixin modal--slow {
|
49
|
+
animation-duration: $animation-duration-slow;
|
50
|
+
}
|
51
|
+
|
52
|
+
@mixin modal--fast {
|
53
|
+
animation-duration: $animation-duration-fast;
|
54
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
@import "settings.animations";
|
2
|
+
|
3
|
+
@mixin nav__item {
|
4
|
+
transition: background-color, color;
|
5
|
+
transition-duration: $animation-duration;
|
6
|
+
transition-timing-function: $animation-easing;
|
7
|
+
}
|
8
|
+
|
9
|
+
@mixin nav__item--slow {
|
10
|
+
transition-duration: $animation-duration-slow;
|
11
|
+
}
|
12
|
+
|
13
|
+
@mixin nav__item--fast {
|
14
|
+
transition-duration: $animation-duration-fast;
|
15
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
@import "settings.animations";
|
2
|
+
|
3
|
+
@mixin overlay-keyframes {
|
4
|
+
@keyframes overlay {
|
5
|
+
from {
|
6
|
+
opacity: 0;
|
7
|
+
}
|
8
|
+
|
9
|
+
to {
|
10
|
+
opacity: 1;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
@mixin overlay {
|
16
|
+
animation-name: overlay;
|
17
|
+
animation-duration: $animation-duration;
|
18
|
+
animation-fill-mode: both;
|
19
|
+
animation-timing-function: $animation-easing;
|
20
|
+
}
|
21
|
+
|
22
|
+
@mixin overlay--slow {
|
23
|
+
animation-duration: $animation-duration-slow;
|
24
|
+
}
|
25
|
+
|
26
|
+
@mixin overlay--fast {
|
27
|
+
animation-duration: $animation-duration-fast;
|
28
|
+
}
|