active_frontend 7.0.2 → 8.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_frontend/version.rb +1 -1
- data/vendor/assets/javascripts/chart.js +7 -7
- data/vendor/assets/stylesheets/_ad.scss +15 -2
- data/vendor/assets/stylesheets/_alert.scss +15 -5
- data/vendor/assets/stylesheets/_button.scss +161 -1
- data/vendor/assets/stylesheets/_canvas.scss +1 -1
- data/vendor/assets/stylesheets/_carousel.scss +1 -1
- data/vendor/assets/stylesheets/_code.scss +20 -6
- data/vendor/assets/stylesheets/_dropdown.scss +35 -0
- data/vendor/assets/stylesheets/_footer.scss +62 -88
- data/vendor/assets/stylesheets/_form.scss +50 -25
- data/vendor/assets/stylesheets/_header.scss +89 -110
- data/vendor/assets/stylesheets/_label_and_badge.scss +60 -1
- data/vendor/assets/stylesheets/_list.scss +18 -2
- data/vendor/assets/stylesheets/_map.scss +15 -2
- data/vendor/assets/stylesheets/_modal.scss +1 -1
- data/vendor/assets/stylesheets/_nav_and_tab.scss +34 -22
- data/vendor/assets/stylesheets/_navbar.scss +20 -8
- data/vendor/assets/stylesheets/_panel.scss +24 -4
- data/vendor/assets/stylesheets/_sidebar.scss +22 -15
- data/vendor/assets/stylesheets/_swoggle.scss +25 -0
- data/vendor/assets/stylesheets/_trunk.scss +4 -3
- data/vendor/assets/stylesheets/_typography.scss +8 -0
- data/vendor/assets/stylesheets/activefrontend.scss +16 -13
- metadata +2 -2
@@ -3,6 +3,7 @@
|
|
3
3
|
# Header
|
4
4
|
# Colors
|
5
5
|
# Styles
|
6
|
+
# Sizes
|
6
7
|
# Media Queries */
|
7
8
|
|
8
9
|
/* # Header
|
@@ -16,18 +17,17 @@
|
|
16
17
|
}
|
17
18
|
.header {
|
18
19
|
background: $color-white;
|
19
|
-
border-bottom:
|
20
|
+
border-bottom: 1px solid $color-haze;
|
20
21
|
box-sizing: border-box;
|
21
|
-
height:
|
22
|
+
height: 60px;
|
22
23
|
padding: 15px 0;
|
23
24
|
width: 100%;
|
24
25
|
}
|
25
|
-
.header-app { width: calc(100% - 280px); }
|
26
26
|
.header-brand { float: left; }
|
27
27
|
.header-brand > a {
|
28
28
|
color: $color-primary;
|
29
29
|
font-size: 30px;
|
30
|
-
line-height:
|
30
|
+
line-height: 30px;
|
31
31
|
text-decoration: none;
|
32
32
|
}
|
33
33
|
.header-brand > a > img {
|
@@ -36,59 +36,63 @@
|
|
36
36
|
}
|
37
37
|
.header-search {
|
38
38
|
float: left;
|
39
|
-
margin: -
|
39
|
+
margin: -6px 0 0 20px;
|
40
40
|
width: 280px;
|
41
41
|
}
|
42
42
|
.header-search > input { margin: 0; }
|
43
43
|
.header-nav,
|
44
44
|
.header-nav-alt,
|
45
45
|
.header-toolchain {
|
46
|
-
color: $color-
|
46
|
+
color: $color-gray-dark;
|
47
47
|
list-style-type: none;
|
48
48
|
padding: 0;
|
49
49
|
}
|
50
|
-
.header-nav-alt,
|
51
|
-
.header-toolchain { float: right; }
|
52
50
|
.header-nav {
|
53
51
|
float: left;
|
54
|
-
margin:
|
52
|
+
margin: 10px 0 0 0;
|
55
53
|
}
|
56
|
-
.header-nav-alt
|
57
|
-
.header-toolchain {
|
54
|
+
.header-nav-alt,
|
55
|
+
.header-toolchain { float: right; }
|
56
|
+
.header-nav-alt { margin: 10px 0 0 0; }
|
57
|
+
.header-toolchain { margin: 1px 25px 0 0; }
|
58
58
|
.header-nav > li,
|
59
59
|
.header-nav-alt > li,
|
60
|
-
.header-toolchain > li {
|
60
|
+
.header-toolchain > li {
|
61
|
+
float: left;
|
62
|
+
color: $color-gray-dark;
|
63
|
+
}
|
61
64
|
.header-nav > li,
|
62
65
|
.header-nav-alt > li {
|
63
|
-
color: $color-black;
|
64
66
|
font-size: 12px;
|
65
67
|
font-weight: 500;
|
66
68
|
letter-spacing: 1px;
|
67
69
|
line-height: 12px;
|
68
|
-
margin-left: 15px;
|
69
70
|
text-transform: uppercase;
|
70
71
|
}
|
71
|
-
.header-nav > li
|
72
|
-
.header-
|
73
|
-
.header-nav > li:last-child,
|
74
|
-
.header-toolchain > li:first-child { margin: 0; }
|
72
|
+
.header-nav > li,
|
73
|
+
.header-nav > li.btn-group,
|
75
74
|
.header-nav > li.btn-group + li.btn-group,
|
75
|
+
.header-nav-alt > li,
|
76
|
+
.header-nav-alt > li.btn-group,
|
77
|
+
.header-nav-alt > li.btn-group + li.btn-group { margin-left: 20px; }
|
78
|
+
.header-toolchain > li,
|
79
|
+
.header-toolchain > li.btn-group,
|
80
|
+
.header-toolchain > li.btn-group + li.btn-group { margin-left: 15px; }
|
81
|
+
.header-nav > li.btn-group,
|
82
|
+
.header-nav-alt > li.btn-group,
|
83
|
+
.header-toolchain > li.btn-group { margin-top: -1px; }
|
76
84
|
.header-nav-alt > li:first-child,
|
77
|
-
.header-
|
78
|
-
.header-toolchain > li.btn-group + li.btn-group { margin-left: 0; }
|
79
|
-
.header-nav > li { margin-top: 7px; }
|
80
|
-
.header-nav > li.btn-group { margin-top: 6px; }
|
81
|
-
.header-nav-alt > li.btn-group { margin-top: -1px; }
|
85
|
+
.header-toolchain > li:first-child { margin-left: 0; }
|
82
86
|
.header-nav > li > a,
|
83
87
|
.header-nav-alt > li > a,
|
84
88
|
.header-toolchain > li > a {
|
85
|
-
color: $color-
|
89
|
+
color: $color-gray-dark;
|
86
90
|
text-decoration: none;
|
87
91
|
}
|
88
|
-
.header-nav-alt > li > a { padding:
|
92
|
+
.header-nav-alt > li > a { padding: 10px 0 9px 0; }
|
89
93
|
.header-toolchain > li > a {
|
90
|
-
font-size:
|
91
|
-
line-height:
|
94
|
+
font-size: 26px;
|
95
|
+
line-height: 26px;
|
92
96
|
}
|
93
97
|
.header-nav > li > a:hover,
|
94
98
|
.header-nav > li > a.active,
|
@@ -119,13 +123,14 @@
|
|
119
123
|
.header-nav-alt > li.inverse > a.active,
|
120
124
|
.header-nav-alt > li.inverse > a:active,
|
121
125
|
.header-nav-alt > li.inverse > a:focus {
|
122
|
-
background: $color-primary;
|
126
|
+
background: darken($color-primary, 4%);
|
123
127
|
color: $color-white;
|
124
128
|
}
|
125
129
|
.header-user {
|
126
130
|
float: right;
|
127
131
|
font-size: 13px;
|
128
|
-
|
132
|
+
line-height: 13px;
|
133
|
+
margin: -3px 0 0 20px;
|
129
134
|
}
|
130
135
|
.header-user > a {
|
131
136
|
color: $color-black;
|
@@ -137,7 +142,7 @@
|
|
137
142
|
.header-user > a:focus { color: $color-primary; }
|
138
143
|
.header-user > a > img,
|
139
144
|
.header-user-placeholder {
|
140
|
-
background: $color-gray
|
145
|
+
background: $color-gray;
|
141
146
|
border-radius: 500px;
|
142
147
|
color: $color-white;
|
143
148
|
display: inline-block;
|
@@ -161,30 +166,43 @@
|
|
161
166
|
text-decoration: none;
|
162
167
|
}
|
163
168
|
|
169
|
+
/* # Styles
|
170
|
+
================================================== */
|
171
|
+
.header-borderless { border-bottom-color: transparent !important; }
|
172
|
+
|
173
|
+
/* # Sizes
|
174
|
+
================================================== */
|
175
|
+
.header-app { width: calc(100% - 280px); }
|
176
|
+
|
164
177
|
/* # Colors
|
165
178
|
================================================== */
|
166
|
-
.header-dark
|
167
|
-
|
168
|
-
|
169
|
-
|
179
|
+
.header-dark {
|
180
|
+
background: $color-black;
|
181
|
+
border-color: $color-black-dark;
|
182
|
+
}
|
183
|
+
.header-invisible {
|
184
|
+
background: rgba(0,0,0,0);
|
185
|
+
border-color: rgba(0,0,0,0);
|
186
|
+
}
|
187
|
+
.header-light {
|
188
|
+
background: $color-haze-light;
|
189
|
+
border-color: $color-haze-dark;
|
190
|
+
}
|
191
|
+
.header-dark .header-nav > li,
|
192
|
+
.header-dark .header-nav-alt > li,
|
193
|
+
.header-dark .header-toolchain > li,
|
170
194
|
.header-dark .header-nav > li > a,
|
171
195
|
.header-dark .header-nav-alt > li > a,
|
172
|
-
.header-dark .header-nav-alt > li.inverse > a:hover,
|
173
|
-
.header-dark .header-nav-alt > li.inverse > a.active,
|
174
|
-
.header-dark .header-nav-alt > li.inverse > a:active,
|
175
|
-
.header-dark .header-nav-alt > li.inverse > a:focus,
|
176
196
|
.header-dark .header-toolchain > li > a,
|
177
|
-
.header-dark .header-user > a
|
178
|
-
.header-
|
179
|
-
.header-
|
180
|
-
.header-
|
181
|
-
.header-
|
182
|
-
.header-
|
183
|
-
.header-
|
184
|
-
.header-
|
185
|
-
.header-
|
186
|
-
.header-dark .header-brand > a,
|
187
|
-
.header-primary .header-brand > a,
|
197
|
+
.header-dark .header-user > a,
|
198
|
+
.header-invisible .header-brand > a,
|
199
|
+
.header-invisible .header-nav > li,
|
200
|
+
.header-invisible .header-nav-alt > li,
|
201
|
+
.header-invisible .header-toolchain > li,
|
202
|
+
.header-invisible .header-nav > li > a,
|
203
|
+
.header-invisible .header-nav-alt > li > a,
|
204
|
+
.header-invisible .header-toolchain > li > a,
|
205
|
+
.header-invisible .header-user > a { color: $color-white; }
|
188
206
|
.header-dark .header-nav > li > a:hover,
|
189
207
|
.header-dark .header-nav > li > a.active,
|
190
208
|
.header-dark .header-nav > li > a:active,
|
@@ -193,7 +211,6 @@
|
|
193
211
|
.header-dark .header-nav-alt > li > a.active,
|
194
212
|
.header-dark .header-nav-alt > li > a:active,
|
195
213
|
.header-dark .header-nav-alt > li > a:focus,
|
196
|
-
.header-dark .header-nav-alt > li.inverse > a,
|
197
214
|
.header-dark .header-toolchain > li > a:hover,
|
198
215
|
.header-dark .header-toolchain > li > a.active,
|
199
216
|
.header-dark .header-toolchain > li > a:active,
|
@@ -201,58 +218,19 @@
|
|
201
218
|
.header-dark .header-user > a:hover,
|
202
219
|
.header-dark .header-user > a.active,
|
203
220
|
.header-dark .header-user > a:active,
|
204
|
-
.header-dark .header-user > a:focus
|
205
|
-
.header-dark .header-
|
206
|
-
.header-dark .header-
|
207
|
-
.header-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
.header-primary .header-nav > li > a:active,
|
212
|
-
.header-primary .header-nav > li > a:focus,
|
213
|
-
.header-primary .header-nav-alt > li > a:hover,
|
214
|
-
.header-primary .header-nav-alt > li > a.active,
|
215
|
-
.header-primary .header-nav-alt > li > a:active,
|
216
|
-
.header-primary .header-nav-alt > li > a:focus,
|
217
|
-
.header-primary .header-nav-alt > li.inverse > a,
|
218
|
-
.header-primary .header-toolchain > li > a:hover,
|
219
|
-
.header-primary .header-toolchain > li > a.active,
|
220
|
-
.header-primary .header-toolchain > li > a:active,
|
221
|
-
.header-primary .header-toolchain > li > a:focus,
|
222
|
-
.header-primary .header-user > a:hover,
|
223
|
-
.header-primary .header-user > a.active,
|
224
|
-
.header-primary .header-user > a:active,
|
225
|
-
.header-primary .header-user > a:focus,
|
226
|
-
.header-primary .header-user > img,
|
227
|
-
.header-primary .header-user-placeholder { color: $color-black }
|
228
|
-
.header-dark .header-nav-alt > li.inverse > a,
|
229
|
-
.header-primary .header-nav-alt > li.inverse > a {
|
230
|
-
background: transparent;
|
231
|
-
border-color: $color-white;
|
232
|
-
}
|
233
|
-
.header-primary .header-nav-alt > li.inverse > a { color:$color-white; }
|
234
|
-
.header-dark .header-nav-alt > li.inverse > a:hover,
|
235
|
-
.header-dark .header-nav-alt > li.inverse > a.active,
|
236
|
-
.header-dark .header-nav-alt > li.inverse > a:active,
|
237
|
-
.header-dark .header-nav-alt > li.inverse > a:focus { border-color: $color-gray; }
|
238
|
-
.header-primary .header-nav-alt > li.inverse > a:hover,
|
239
|
-
.header-primary .header-nav-alt > li.inverse > a.active,
|
240
|
-
.header-primary .header-nav-alt > li.inverse > a:active,
|
241
|
-
.header-primary .header-nav-alt > li.inverse > a:focus {
|
242
|
-
border-color: $color-black;
|
243
|
-
color: $color-black;
|
244
|
-
}
|
245
|
-
.header-dark .header-user > img,
|
246
|
-
.header-dark .header-user-placeholder { background: $color-gray; }
|
247
|
-
.header-light {
|
248
|
-
background: $color-haze-light;
|
249
|
-
border-color: $color-haze-dark;
|
221
|
+
.header-dark .header-user > a:focus { color: $color-primary; }
|
222
|
+
.header-dark .header-nav-alt > li.inverse > a { color: $color-white; }
|
223
|
+
.header-dark .header-search > input { border-color: $color-black-dark; }
|
224
|
+
.header-invisible .header-nav-alt > li.inverse > a {
|
225
|
+
background: $color-white;
|
226
|
+
border-color: $color-white;
|
227
|
+
color: $color-white;
|
250
228
|
}
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
.header-
|
255
|
-
.header-
|
229
|
+
.header-invisible .header-nav-alt > li.inverse.outline > a { background: transparent; }
|
230
|
+
.header-invisible .header-nav-alt > li.inverse > a:hover,
|
231
|
+
.header-invisible .header-nav-alt > li.inverse > a.active,
|
232
|
+
.header-invisible .header-nav-alt > li.inverse > a:active,
|
233
|
+
.header-invisible .header-nav-alt > li.inverse > a:focus { background: darken($color-primary, 4%); }
|
256
234
|
|
257
235
|
/* # Media Queries
|
258
236
|
================================================== */
|
@@ -267,7 +245,6 @@
|
|
267
245
|
}
|
268
246
|
@media only screen and (max-width: 767px) {
|
269
247
|
.header {
|
270
|
-
border-color: $color-haze;
|
271
248
|
height: 50px;
|
272
249
|
padding: 0;
|
273
250
|
}
|
@@ -275,12 +252,14 @@
|
|
275
252
|
font-size: 36px;
|
276
253
|
line-height: 57px;
|
277
254
|
}
|
278
|
-
.header-brand > a > img { height:
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
255
|
+
.header-brand > a > img { height: 36px; }
|
256
|
+
}
|
257
|
+
@media
|
258
|
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
259
|
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
260
|
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
261
|
+
only screen and ( min-device-pixel-ratio: 2),
|
262
|
+
only screen and ( min-resolution: 192dpi),
|
263
|
+
only screen and ( min-resolution: 2dppx) {
|
264
|
+
.header { border-width: 0.5px; }
|
286
265
|
}
|
@@ -24,7 +24,11 @@
|
|
24
24
|
.badge { border-radius: 500px; }
|
25
25
|
.badge:empty,
|
26
26
|
.label:empty { display: none; }
|
27
|
+
.badge-black-light,
|
28
|
+
.label-black-light,
|
27
29
|
.badge-black,
|
30
|
+
.label-black-dark,
|
31
|
+
.badge-black-dark,
|
28
32
|
.label-black,
|
29
33
|
.badge-blue,
|
30
34
|
.label-blue,
|
@@ -36,6 +40,10 @@
|
|
36
40
|
.label-gray-dark,
|
37
41
|
.badge-green,
|
38
42
|
.label-green,
|
43
|
+
.badge-indigo,
|
44
|
+
.label-indigo,
|
45
|
+
.badge-lime,
|
46
|
+
.label-lime,
|
39
47
|
.badge-orange,
|
40
48
|
.label-orange,
|
41
49
|
.badge-pink,
|
@@ -44,13 +52,25 @@
|
|
44
52
|
.label-purple,
|
45
53
|
.badge-red,
|
46
54
|
.label-red,
|
55
|
+
.badge-teal,
|
56
|
+
.label-teal,
|
47
57
|
.badge-yellow,
|
48
58
|
.label-yellow { color: $color-white; }
|
59
|
+
.badge-black-light,
|
60
|
+
.label-black-light {
|
61
|
+
background: $color-black-light;
|
62
|
+
border-color: $color-black-light;
|
63
|
+
}
|
49
64
|
.badge-black,
|
50
65
|
.label-black {
|
51
66
|
background: $color-black;
|
52
67
|
border-color: $color-black;
|
53
68
|
}
|
69
|
+
.badge-black-dark,
|
70
|
+
.label-black-dark {
|
71
|
+
background: $color-black-dark;
|
72
|
+
border-color: $color-black-dark;
|
73
|
+
}
|
54
74
|
.badge-blue,
|
55
75
|
.label-blue {
|
56
76
|
background: $color-blue;
|
@@ -71,6 +91,26 @@
|
|
71
91
|
background: $color-gray-dark;
|
72
92
|
border-color: $color-gray-dark;
|
73
93
|
}
|
94
|
+
.badge-haze-light,
|
95
|
+
.label-haze-light {
|
96
|
+
background: $color-haze-light;
|
97
|
+
border-color: $color-haze-light;
|
98
|
+
}
|
99
|
+
.badge-haze-dark,
|
100
|
+
.label-haze-dark {
|
101
|
+
background: $color-haze-dark;
|
102
|
+
border-color: $color-haze-dark;
|
103
|
+
}
|
104
|
+
.badge-indigo,
|
105
|
+
.label-indigo {
|
106
|
+
background: $color-indigo;
|
107
|
+
border-color: $color-indigo;
|
108
|
+
}
|
109
|
+
.badge-lime,
|
110
|
+
.label-lime {
|
111
|
+
background: $color-lime;
|
112
|
+
border-color: $color-lime;
|
113
|
+
}
|
74
114
|
.badge-green,
|
75
115
|
.label-green {
|
76
116
|
background: $color-green;
|
@@ -96,6 +136,11 @@
|
|
96
136
|
background: $color-red;
|
97
137
|
border-color: $color-red;
|
98
138
|
}
|
139
|
+
.badge-teal,
|
140
|
+
.label-teal {
|
141
|
+
background: $color-teal;
|
142
|
+
border-color: $color-teal;
|
143
|
+
}
|
99
144
|
.badge-white,
|
100
145
|
.label-white {
|
101
146
|
background: $color-white;
|
@@ -109,10 +154,14 @@
|
|
109
154
|
.badge.badge-outline,
|
110
155
|
.label.label-outline {
|
111
156
|
background: transparent;
|
112
|
-
color: $color-
|
157
|
+
color: $color-haze;
|
113
158
|
}
|
159
|
+
.badge-black-light.badge-outline,
|
160
|
+
.label-black-light.label-outline { color: $color-black-light; }
|
114
161
|
.badge-black.badge-outline,
|
115
162
|
.label-black.label-outline { color: $color-black; }
|
163
|
+
.badge-black-dark.badge-outline,
|
164
|
+
.label-black-dark.label-outline { color: $color-black-dark; }
|
116
165
|
.badge-blue.badge-outline,
|
117
166
|
.label-blue.label-outline { color: $color-blue; }
|
118
167
|
.badge-gray-light.badge-outline,
|
@@ -123,6 +172,14 @@
|
|
123
172
|
.label-gray-dark.label-outline { color: $color-gray-dark; }
|
124
173
|
.badge-green.badge-outline,
|
125
174
|
.label-green.label-outline { color: $color-green; }
|
175
|
+
.badge-haze-light.badge-outline,
|
176
|
+
.label-haze-light.label-outline { color: $color-haze-light; }
|
177
|
+
.badge-haze-dark.badge-outline,
|
178
|
+
.label-haze-dark.label-outline { color: $color-haze-dark; }
|
179
|
+
.badge-indigo.badge-outline,
|
180
|
+
.label-indigo.label-outline { color: $color-indigo; }
|
181
|
+
.badge-lime.badge-outline,
|
182
|
+
.label-lime.label-outline { color: $color-lime; }
|
126
183
|
.badge-orange.badge-outline,
|
127
184
|
.label-orange.label-outline { color: $color-orange; }
|
128
185
|
.badge-pink.badge-outline,
|
@@ -131,6 +188,8 @@
|
|
131
188
|
.label-purple.label-outline { color: $color-purple; }
|
132
189
|
.badge-red.badge-outline,
|
133
190
|
.label-red.label-outline { color: $color-red; }
|
191
|
+
.badge-teal.badge-outline,
|
192
|
+
.label-teal.label-outline { color: $color-teal; }
|
134
193
|
.badge-white.badge-outline,
|
135
194
|
.label-white.label-outline { color: $color-white; }
|
136
195
|
.badge-yellow.badge-outline,
|
@@ -1,6 +1,7 @@
|
|
1
1
|
/* Table of Contents
|
2
2
|
==================================================
|
3
|
-
# List
|
3
|
+
# List
|
4
|
+
# Media Queries */
|
4
5
|
|
5
6
|
/* # List
|
6
7
|
================================================== */
|
@@ -63,4 +64,19 @@ ol { padding-left: 23px; }
|
|
63
64
|
.list-bordered.list-small > li,
|
64
65
|
.list-lined.list-small > li,
|
65
66
|
.list-striped.list-small > li { padding: 5px 5px 3px 5px; }
|
66
|
-
.list-hover > li:hover { background: $color-haze; }
|
67
|
+
.list-hover > li:hover { background: $color-haze; }
|
68
|
+
|
69
|
+
/* # Media Queries
|
70
|
+
================================================== */
|
71
|
+
@media
|
72
|
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
73
|
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
74
|
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
75
|
+
only screen and ( min-device-pixel-ratio: 2),
|
76
|
+
only screen and ( min-resolution: 192dpi),
|
77
|
+
only screen and ( min-resolution: 2dppx) {
|
78
|
+
.list-bordered > li,
|
79
|
+
.list-bordered > li:last-child,
|
80
|
+
.list-bordered.list-scrollable,
|
81
|
+
.list-lined > li { border-width: 0.5px; }
|
82
|
+
}
|