active_frontend 10.2.10 → 10.3.0
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 +4 -4
- data/lib/active_frontend/version.rb +1 -1
- data/lib/generators/active_frontend/templates/install.scss +3 -1
- data/vendor/assets/javascripts/_swoggle.js +1 -1
- data/vendor/assets/stylesheets/_ad.scss +41 -62
- data/vendor/assets/stylesheets/_alert.scss +74 -27
- data/vendor/assets/stylesheets/_animation.scss +632 -560
- data/vendor/assets/stylesheets/_aside.scss +14 -11
- data/vendor/assets/stylesheets/_breadcrumb.scss +3 -3
- data/vendor/assets/stylesheets/_button.scss +41 -30
- data/vendor/assets/stylesheets/_canvas.scss +2 -1
- data/vendor/assets/stylesheets/_carousel.scss +7 -6
- data/vendor/assets/stylesheets/_code.scss +12 -14
- data/vendor/assets/stylesheets/_collapse.scss +2 -1
- data/vendor/assets/stylesheets/_color.scss +53 -21
- data/vendor/assets/stylesheets/_colorpicker.scss +4 -3
- data/vendor/assets/stylesheets/_datepicker.scss +10 -9
- data/vendor/assets/stylesheets/_dropdown.scss +12 -11
- data/vendor/assets/stylesheets/_footer.scss +7 -7
- data/vendor/assets/stylesheets/_form.scss +33 -10
- data/vendor/assets/stylesheets/_grid.scss +64 -215
- data/vendor/assets/stylesheets/_header.scss +4 -4
- data/vendor/assets/stylesheets/_label_and_badge.scss +69 -165
- data/vendor/assets/stylesheets/_link.scss +2 -1
- data/vendor/assets/stylesheets/_list.scss +19 -7
- data/vendor/assets/stylesheets/_loader.scss +29 -9
- data/vendor/assets/stylesheets/_map.scss +13 -1
- data/vendor/assets/stylesheets/_missive.scss +7 -7
- data/vendor/assets/stylesheets/_modal.scss +6 -3
- data/vendor/assets/stylesheets/_nav_and_tab.scss +11 -11
- data/vendor/assets/stylesheets/_navbar.scss +5 -5
- data/vendor/assets/stylesheets/_pagination.scss +1 -1
- data/vendor/assets/stylesheets/_panel.scss +10 -7
- data/vendor/assets/stylesheets/_placeholder.scss +4 -4
- data/vendor/assets/stylesheets/_popover.scss +7 -7
- data/vendor/assets/stylesheets/_progress.scss +79 -17
- data/vendor/assets/stylesheets/_reset.scss +7 -4
- data/vendor/assets/stylesheets/_sidebar.scss +12 -10
- data/vendor/assets/stylesheets/_slider.scss +5 -5
- data/vendor/assets/stylesheets/_spinner.scss +297 -152
- data/vendor/assets/stylesheets/_stripe.scss +30 -0
- data/vendor/assets/stylesheets/_swoggle.scss +88 -93
- data/vendor/assets/stylesheets/_table.scss +10 -18
- data/vendor/assets/stylesheets/_timepicker.scss +6 -5
- data/vendor/assets/stylesheets/_toolbar.scss +11 -11
- data/vendor/assets/stylesheets/_tooltip.scss +1 -1
- data/vendor/assets/stylesheets/_transition.scss +2 -1
- data/vendor/assets/stylesheets/_trunk.scss +14 -12
- data/vendor/assets/stylesheets/_typeahead.scss +2 -1
- data/vendor/assets/stylesheets/_typography.scss +60 -27
- data/vendor/assets/stylesheets/active_frontend.scss +3 -1
- metadata +3 -2
@@ -194,15 +194,15 @@
|
|
194
194
|
================================================== */
|
195
195
|
.header-dark {
|
196
196
|
background: $color-black;
|
197
|
-
border-color: $color-black
|
197
|
+
border-color: $color-dark-black;
|
198
198
|
}
|
199
199
|
.header-invisible {
|
200
200
|
background: $color-transparent;
|
201
201
|
border-color: $color-transparent;
|
202
202
|
}
|
203
203
|
.header-light {
|
204
|
-
background: $color-haze
|
205
|
-
border-color: $color-haze
|
204
|
+
background: $color-light-haze;
|
205
|
+
border-color: $color-dark-haze;
|
206
206
|
}
|
207
207
|
.header-dark .header-nav > li,
|
208
208
|
.header-dark .header-nav-alt > li,
|
@@ -236,7 +236,7 @@
|
|
236
236
|
.header-dark .header-user > a:active,
|
237
237
|
.header-dark .header-user > a:focus { color: $color-primary; }
|
238
238
|
.header-dark .header-nav-alt > li.inverse > a { color: $color-white; }
|
239
|
-
.header-dark .header-search > input { border-color: $color-black
|
239
|
+
.header-dark .header-search > input { border-color: $color-dark-black; }
|
240
240
|
.header-invisible .header-nav-alt > li.inverse > a {
|
241
241
|
background: $color-white;
|
242
242
|
border-color: $color-white;
|
@@ -2,6 +2,53 @@
|
|
2
2
|
==================================================
|
3
3
|
# Label and Badge */
|
4
4
|
|
5
|
+
/* # Variables
|
6
|
+
================================================== */
|
7
|
+
$onblack-colors: (
|
8
|
+
dark-haze: $color-dark-haze,
|
9
|
+
haze: $color-haze,
|
10
|
+
light-haze: $color-light-haze,
|
11
|
+
white: $color-white,
|
12
|
+
dark-yellow: $color-dark-yellow,
|
13
|
+
yellow: $color-yellow,
|
14
|
+
light-yellow: $color-light-yellow
|
15
|
+
);
|
16
|
+
$onwhite-colors: (
|
17
|
+
dark-black: $color-dark-black,
|
18
|
+
black: $color-black,
|
19
|
+
light-black: $color-light-black,
|
20
|
+
dark-gray: $color-dark-gray,
|
21
|
+
gray: $color-gray,
|
22
|
+
light-gray: $color-light-gray,
|
23
|
+
dark-lime: $color-dark-lime,
|
24
|
+
lime: $color-lime,
|
25
|
+
light-lime: $color-light-lime,
|
26
|
+
dark-green: $color-dark-green,
|
27
|
+
green: $color-green,
|
28
|
+
light-green: $color-light-green,
|
29
|
+
dark-teal: $color-dark-teal,
|
30
|
+
teal: $color-teal,
|
31
|
+
light-teal: $color-light-teal,
|
32
|
+
dark-blue: $color-dark-blue,
|
33
|
+
blue: $color-blue,
|
34
|
+
light-blue: $color-light-blue,
|
35
|
+
dark-indigo: $color-dark-indigo,
|
36
|
+
indigo: $color-indigo,
|
37
|
+
light-indigo: $color-light-indigo,
|
38
|
+
dark-purple: $color-dark-purple,
|
39
|
+
purple: $color-purple,
|
40
|
+
light-purple: $color-light-purple,
|
41
|
+
dark-pink: $color-dark-pink,
|
42
|
+
pink: $color-pink,
|
43
|
+
light-pink: $color-light-pink,
|
44
|
+
dark-red: $color-dark-red,
|
45
|
+
red: $color-red,
|
46
|
+
light-red: $color-light-red,
|
47
|
+
dark-orange: $color-dark-orange,
|
48
|
+
orange: $color-orange,
|
49
|
+
light-orange: $color-light-orange
|
50
|
+
);
|
51
|
+
|
5
52
|
/* # Label and Badge
|
6
53
|
================================================== */
|
7
54
|
.badge,
|
@@ -30,173 +77,30 @@
|
|
30
77
|
display: block;
|
31
78
|
width: 100%;
|
32
79
|
}
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
.label-black-dark,
|
37
|
-
.badge-black-dark,
|
38
|
-
.label-black,
|
39
|
-
.badge-blue,
|
40
|
-
.label-blue,
|
41
|
-
.badge-gray-light,
|
42
|
-
.label-gray-light,
|
43
|
-
.badge-gray,
|
44
|
-
.label-gray,
|
45
|
-
.badge-gray-dark,
|
46
|
-
.label-gray-dark,
|
47
|
-
.badge-green,
|
48
|
-
.label-green,
|
49
|
-
.badge-indigo,
|
50
|
-
.label-indigo,
|
51
|
-
.badge-lime,
|
52
|
-
.label-lime,
|
53
|
-
.badge-orange,
|
54
|
-
.label-orange,
|
55
|
-
.badge-pink,
|
56
|
-
.label-pink,
|
57
|
-
.badge-purple,
|
58
|
-
.label-purple,
|
59
|
-
.badge-red,
|
60
|
-
.label-red,
|
61
|
-
.badge-teal,
|
62
|
-
.label-teal,
|
63
|
-
.badge-yellow,
|
64
|
-
.label-yellow { color: $color-white; }
|
65
|
-
.badge-black-light,
|
66
|
-
.label-black-light {
|
67
|
-
background: $color-black-light;
|
68
|
-
border-color: $color-black-light;
|
69
|
-
}
|
70
|
-
.badge-black,
|
71
|
-
.label-black {
|
72
|
-
background: $color-black;
|
73
|
-
border-color: $color-black;
|
74
|
-
}
|
75
|
-
.badge-black-dark,
|
76
|
-
.label-black-dark {
|
77
|
-
background: $color-black-dark;
|
78
|
-
border-color: $color-black-dark;
|
79
|
-
}
|
80
|
-
.badge-blue,
|
81
|
-
.label-blue {
|
82
|
-
background: $color-blue;
|
83
|
-
border-color: $color-blue;
|
84
|
-
}
|
85
|
-
.badge-gray-light,
|
86
|
-
.label-gray-light {
|
87
|
-
background: $color-gray-light;
|
88
|
-
border-color: $color-gray-light;
|
89
|
-
}
|
90
|
-
.badge-gray,
|
91
|
-
.label-gray {
|
92
|
-
background: $color-gray;
|
93
|
-
border-color: $color-gray;
|
94
|
-
}
|
95
|
-
.badge-gray-dark,
|
96
|
-
.label-gray-dark {
|
97
|
-
background: $color-gray-dark;
|
98
|
-
border-color: $color-gray-dark;
|
99
|
-
}
|
100
|
-
.badge-haze-light,
|
101
|
-
.label-haze-light {
|
102
|
-
background: $color-haze-light;
|
103
|
-
border-color: $color-haze-light;
|
104
|
-
}
|
105
|
-
.badge-haze-dark,
|
106
|
-
.label-haze-dark {
|
107
|
-
background: $color-haze-dark;
|
108
|
-
border-color: $color-haze-dark;
|
109
|
-
}
|
110
|
-
.badge-indigo,
|
111
|
-
.label-indigo {
|
112
|
-
background: $color-indigo;
|
113
|
-
border-color: $color-indigo;
|
114
|
-
}
|
115
|
-
.badge-lime,
|
116
|
-
.label-lime {
|
117
|
-
background: $color-lime;
|
118
|
-
border-color: $color-lime;
|
119
|
-
}
|
120
|
-
.badge-green,
|
121
|
-
.label-green {
|
122
|
-
background: $color-green;
|
123
|
-
border-color: $color-green;
|
124
|
-
}
|
125
|
-
.badge-orange,
|
126
|
-
.label-orange {
|
127
|
-
background: $color-orange;
|
128
|
-
border-color: $color-orange;
|
129
|
-
}
|
130
|
-
.badge-pink,
|
131
|
-
.label-pink {
|
132
|
-
background: $color-pink;
|
133
|
-
border-color: $color-pink;
|
134
|
-
}
|
135
|
-
.badge-purple,
|
136
|
-
.label-purple {
|
137
|
-
background: $color-purple;
|
138
|
-
border-color: $color-purple;
|
139
|
-
}
|
140
|
-
.badge-red,
|
141
|
-
.label-red {
|
142
|
-
background: $color-red;
|
143
|
-
border-color: $color-red;
|
144
|
-
}
|
145
|
-
.badge-teal,
|
146
|
-
.label-teal {
|
147
|
-
background: $color-teal;
|
148
|
-
border-color: $color-teal;
|
149
|
-
}
|
150
|
-
.badge-white,
|
151
|
-
.label-white {
|
152
|
-
background: $color-white;
|
153
|
-
border-color: $color-white;
|
154
|
-
}
|
155
|
-
.badge-yellow,
|
156
|
-
.label-yellow {
|
157
|
-
background: $color-yellow;
|
158
|
-
border-color: $color-yellow;
|
159
|
-
}
|
80
|
+
|
81
|
+
/* # Colors
|
82
|
+
================================================== */
|
160
83
|
.badge.badge-outline,
|
161
84
|
.label.label-outline {
|
162
85
|
background: $color-transparent;
|
163
86
|
color: $color-haze;
|
164
87
|
}
|
165
|
-
|
166
|
-
.
|
167
|
-
.
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
.badge
|
172
|
-
.label
|
173
|
-
|
174
|
-
|
175
|
-
.badge
|
176
|
-
.label
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
.badge
|
182
|
-
.label
|
183
|
-
|
184
|
-
.label-haze-dark.label-outline { color: $color-haze-dark; }
|
185
|
-
.badge-indigo.badge-outline,
|
186
|
-
.label-indigo.label-outline { color: $color-indigo; }
|
187
|
-
.badge-lime.badge-outline,
|
188
|
-
.label-lime.label-outline { color: $color-lime; }
|
189
|
-
.badge-orange.badge-outline,
|
190
|
-
.label-orange.label-outline { color: $color-orange; }
|
191
|
-
.badge-pink.badge-outline,
|
192
|
-
.label-pink.label-outline { color: $color-pink; }
|
193
|
-
.badge-purple.badge-outline,
|
194
|
-
.label-purple.label-outline { color: $color-purple; }
|
195
|
-
.badge-red.badge-outline,
|
196
|
-
.label-red.label-outline { color: $color-red; }
|
197
|
-
.badge-teal.badge-outline,
|
198
|
-
.label-teal.label-outline { color: $color-teal; }
|
199
|
-
.badge-white.badge-outline,
|
200
|
-
.label-white.label-outline { color: $color-white; }
|
201
|
-
.badge-yellow.badge-outline,
|
202
|
-
.label-yellow.label-outline { color: $color-yellow; }
|
88
|
+
@each $name, $color in $onblack-colors {
|
89
|
+
.badge-#{$name},
|
90
|
+
.label-#{$name} {
|
91
|
+
background: $color;
|
92
|
+
border-color: $color;
|
93
|
+
}
|
94
|
+
.badge-#{$name}.badge-outline,
|
95
|
+
.label-#{$name}.label-outline { color: $color; }
|
96
|
+
}
|
97
|
+
@each $name, $color in $onwhite-colors {
|
98
|
+
.badge-#{$name},
|
99
|
+
.label-#{$name} {
|
100
|
+
background: $color;
|
101
|
+
border-color: $color;
|
102
|
+
color: $color-white;
|
103
|
+
}
|
104
|
+
.badge-#{$name}.badge-outline,
|
105
|
+
.label-#{$name}.label-outline { color: $color; }
|
106
|
+
}
|
@@ -8,7 +8,8 @@ a {
|
|
8
8
|
text-decoration: none;
|
9
9
|
touch-action: manipulation;
|
10
10
|
-webkit-transition: all 0.3s ease-in-out;
|
11
|
-
|
11
|
+
-ms-transition: all 0.3s ease-in-out;
|
12
|
+
transition: all 0.3s ease-in-out;
|
12
13
|
}
|
13
14
|
a[disabled] {
|
14
15
|
cursor: not-allowed;
|
@@ -1,6 +1,8 @@
|
|
1
1
|
/* Table of Contents
|
2
|
-
==================================================
|
2
|
+
==================================================s
|
3
3
|
# List
|
4
|
+
# Sizes
|
5
|
+
# Styles
|
4
6
|
# Media Queries */
|
5
7
|
|
6
8
|
/* # List
|
@@ -19,10 +21,20 @@ dl > dt {
|
|
19
21
|
dl > dd { margin: 0 0 5px 10px; }
|
20
22
|
ul { padding-left: 17px; }
|
21
23
|
ol { padding-left: 23px; }
|
24
|
+
|
25
|
+
/* # Sizes
|
26
|
+
================================================== */
|
22
27
|
.list-small {
|
23
28
|
font-size: 14px;
|
24
29
|
line-height: 22px;
|
25
30
|
}
|
31
|
+
.list-mini {
|
32
|
+
font-size: 12px;
|
33
|
+
line-height: 20px;
|
34
|
+
}
|
35
|
+
|
36
|
+
/* # Styles
|
37
|
+
================================================== */
|
26
38
|
.list-scrollable {
|
27
39
|
max-height: 300px;
|
28
40
|
overflow: auto;
|
@@ -39,13 +51,13 @@ ol { padding-left: 23px; }
|
|
39
51
|
.list-lined > li,
|
40
52
|
.list-striped > li { padding: 9px 10px 6px 10px; }
|
41
53
|
.list-bordered > li {
|
42
|
-
border: 1px solid $color-haze
|
54
|
+
border: 1px solid $color-dark-haze;
|
43
55
|
border-bottom: none;
|
44
56
|
}
|
45
|
-
.list-bordered > li:last-child { border-bottom: 1px solid $color-haze
|
57
|
+
.list-bordered > li:last-child { border-bottom: 1px solid $color-dark-haze; }
|
46
58
|
.list-bordered.list-scrollable {
|
47
|
-
border-bottom: 1px solid $color-haze
|
48
|
-
border-top: 1px solid $color-haze
|
59
|
+
border-bottom: 1px solid $color-dark-haze;
|
60
|
+
border-top: 1px solid $color-dark-haze;
|
49
61
|
}
|
50
62
|
.list-bordered.list-scrollable > li:first-child { border-top: 0; }
|
51
63
|
.list-bordered.list-scrollable > li:last-child { border-bottom: 0; }
|
@@ -56,12 +68,12 @@ ol { padding-left: 23px; }
|
|
56
68
|
}
|
57
69
|
.list-inline > li:last-child { margin-right: 0; }
|
58
70
|
.list-lined > li {
|
59
|
-
border-top: 1px solid $color-haze
|
71
|
+
border-top: 1px solid $color-dark-haze;
|
60
72
|
padding-left: 0;
|
61
73
|
padding-right: 0;
|
62
74
|
}
|
63
75
|
.list-lined > li:first-child { border: 0; }
|
64
|
-
.list-striped > li:nth-child(odd) { background: $color-haze
|
76
|
+
.list-striped > li:nth-child(odd) { background: $color-light-haze; }
|
65
77
|
.list-bordered.list-small > li,
|
66
78
|
.list-lined.list-small > li,
|
67
79
|
.list-striped.list-small > li { padding: 5px 5px 3px 5px; }
|
@@ -1,18 +1,36 @@
|
|
1
1
|
/* Table of Contents
|
2
2
|
==================================================
|
3
|
+
# Keyframes
|
3
4
|
# Loader
|
4
5
|
# Media Queries */
|
5
6
|
|
6
|
-
/* #
|
7
|
+
/* # Keyframes
|
7
8
|
================================================== */
|
8
9
|
@-webkit-keyframes loader-spinner {
|
9
|
-
0%
|
10
|
-
|
10
|
+
0% {
|
11
|
+
-webkit-transform: rotate(0deg);
|
12
|
+
transform: rotate(0deg);
|
13
|
+
}
|
14
|
+
100% {
|
15
|
+
-webkit-transform: rotate(360deg);
|
16
|
+
transform: rotate(360deg);
|
17
|
+
}
|
11
18
|
}
|
12
19
|
@keyframes loader-spinner {
|
13
|
-
0%
|
14
|
-
|
20
|
+
0% {
|
21
|
+
-webkit-transform: rotate(0deg);
|
22
|
+
-ms-transform: rotate(0deg);
|
23
|
+
transform: rotate(0deg);
|
24
|
+
}
|
25
|
+
100% {
|
26
|
+
-webkit-transform: rotate(360deg);
|
27
|
+
-ms-transform: rotate(360deg);
|
28
|
+
transform: rotate(360deg);
|
29
|
+
}
|
15
30
|
}
|
31
|
+
|
32
|
+
/* # Loader
|
33
|
+
================================================== */
|
16
34
|
.loader-backdrop,
|
17
35
|
.loader-bar {
|
18
36
|
height: 2px;
|
@@ -25,7 +43,7 @@
|
|
25
43
|
}
|
26
44
|
.loader-backdrop {
|
27
45
|
height: 3px;
|
28
|
-
background: $color-haze
|
46
|
+
background: $color-light-haze;
|
29
47
|
}
|
30
48
|
.loader-bar { background: $color-primary; }
|
31
49
|
.loader-peg {
|
@@ -36,8 +54,9 @@
|
|
36
54
|
pointer-events: none;
|
37
55
|
position: absolute;
|
38
56
|
right: 0;
|
39
|
-
-webkit-transform: rotate(3deg) translate(0
|
40
|
-
|
57
|
+
-webkit-transform: rotate(3deg) translate(0,-4px);
|
58
|
+
-ms-transform: rotate(3deg) translate(0,-4px);
|
59
|
+
transform: rotate(3deg) translate(0,-4px);
|
41
60
|
width: 100px;
|
42
61
|
}
|
43
62
|
.loader-spinner {
|
@@ -50,7 +69,8 @@
|
|
50
69
|
}
|
51
70
|
.loader-spinner-icon {
|
52
71
|
-webkit-animation: loader-spinner 400ms linear infinite;
|
53
|
-
|
72
|
+
-ms-animation: loader-spinner 400ms linear infinite;
|
73
|
+
animation: loader-spinner 400ms linear infinite;
|
54
74
|
border: solid 2px $color-transparent;
|
55
75
|
border-left-color: $color-primary;
|
56
76
|
border-top-color: $color-primary;
|
@@ -1,12 +1,13 @@
|
|
1
1
|
/* Table of Contents
|
2
2
|
==================================================
|
3
3
|
# Map
|
4
|
+
# Colors
|
4
5
|
# Media Queries */
|
5
6
|
|
6
7
|
/* # Map
|
7
8
|
================================================== */
|
8
9
|
.map {
|
9
|
-
background: $color-
|
10
|
+
background: $color-white;
|
10
11
|
border: 1px solid $color-haze;
|
11
12
|
box-sizing: border-box;
|
12
13
|
display: block;
|
@@ -15,6 +16,17 @@
|
|
15
16
|
}
|
16
17
|
.map-center { margin: 0 auto; }
|
17
18
|
|
19
|
+
/* # Colors
|
20
|
+
================================================== */
|
21
|
+
.map-dark {
|
22
|
+
background: $color-black;
|
23
|
+
border-color: $color-dark-black;
|
24
|
+
}
|
25
|
+
.map-light {
|
26
|
+
background: $color-light-haze;
|
27
|
+
border-color: $color-dark-haze;
|
28
|
+
}
|
29
|
+
|
18
30
|
/* # Media Queries
|
19
31
|
================================================== */
|
20
32
|
@media
|