blaze-css-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- 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,44 @@
|
|
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
|
+
}
|
@@ -0,0 +1,53 @@
|
|
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
|
+
}
|
@@ -0,0 +1,63 @@
|
|
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
|
+
}
|
@@ -0,0 +1,63 @@
|
|
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
|
+
}
|
@@ -0,0 +1,165 @@
|
|
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
|
+
}
|
@@ -0,0 +1,30 @@
|
|
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
|
+
}
|
@@ -0,0 +1,45 @@
|
|
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
|
+
}
|