active_frontend 12.0.3 → 12.1.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/stylesheets/_alert.scss +14 -1
- data/vendor/assets/stylesheets/_canvas.scss +38 -31
- data/vendor/assets/stylesheets/_color.scss +9 -9
- data/vendor/assets/stylesheets/_footer.scss +3 -2
- data/vendor/assets/stylesheets/_header.scss +112 -15
- data/vendor/assets/stylesheets/_loader.scss +1 -1
- data/vendor/assets/stylesheets/_reset.scss +1 -0
- data/vendor/assets/stylesheets/_sidebar.scss +3 -2
- data/vendor/assets/stylesheets/_toolbar.scss +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fe8ce2265f1e04a5771d1fb4180ae2a6c05ed85
|
4
|
+
data.tar.gz: 860eb1e38fbf23dc2f84f9528517332733afa2d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d81153efe781485284a66fb2a9504d6c54ba6a1efe3f3f55504e3e4b8f745abe5ff3a2e1298b21d676629874914e405da9f92001fd015361d24ba10389836b9
|
7
|
+
data.tar.gz: 79029c6b9044f93f4ade821c1b04ec52725a1e1fc419a849125e9399e7e37c10c2ea736a4a596eeec3eb45591719e81fed020c3abeb66e871fd6127d03f0ce2c
|
@@ -3,7 +3,8 @@
|
|
3
3
|
# Variables
|
4
4
|
# Alert
|
5
5
|
# Styles
|
6
|
-
# Colors
|
6
|
+
# Colors
|
7
|
+
# Media Queries */
|
7
8
|
|
8
9
|
/* # Variables
|
9
10
|
================================================== */
|
@@ -102,4 +103,16 @@ $onwhite-colors: (
|
|
102
103
|
background: $color;
|
103
104
|
border-color: darken($color, 5%);
|
104
105
|
}
|
106
|
+
}
|
107
|
+
|
108
|
+
/* # Media Queries
|
109
|
+
================================================== */
|
110
|
+
@media
|
111
|
+
only screen and (-webkit-min-device-pixel-ratio: 2),
|
112
|
+
only screen and ( min--moz-device-pixel-ratio: 2),
|
113
|
+
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
114
|
+
only screen and ( min-device-pixel-ratio: 2),
|
115
|
+
only screen and ( min-resolution: 192dpi),
|
116
|
+
only screen and ( min-resolution: 2dppx) {
|
117
|
+
.alert { border-width: 0.5px; }
|
105
118
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
/* Table of Contents
|
2
2
|
==================================================
|
3
3
|
# Canvas
|
4
|
+
# Canvas Alt
|
4
5
|
# Media Queries */
|
5
6
|
|
6
7
|
/* # Canvas
|
@@ -8,6 +9,10 @@
|
|
8
9
|
.canvas {
|
9
10
|
clear: both;
|
10
11
|
display: block;
|
12
|
+
max-height: 100%;
|
13
|
+
height: 100%;
|
14
|
+
max-width: 100%;
|
15
|
+
width: 100%;
|
11
16
|
}
|
12
17
|
.canvas-content,
|
13
18
|
.canvas-sidebar,
|
@@ -15,11 +20,12 @@
|
|
15
20
|
box-sizing: border-box;
|
16
21
|
display: block;
|
17
22
|
float: left;
|
23
|
+
max-height: 100%;
|
18
24
|
height: 100%;
|
19
|
-
min-height: 100%;
|
20
25
|
@include overflow-scrolling(touch);
|
21
26
|
}
|
22
27
|
.canvas-content {
|
28
|
+
overflow: scroll;
|
23
29
|
padding: 30px 0;
|
24
30
|
max-width: 100%;
|
25
31
|
width: 100%;
|
@@ -44,38 +50,30 @@
|
|
44
50
|
max-width: 55px;
|
45
51
|
width: 55px;
|
46
52
|
}
|
47
|
-
.canvas-with-header
|
48
|
-
.canvas-with-header
|
49
|
-
.canvas-with-header
|
50
|
-
.canvas-with-header-and-footer
|
51
|
-
.canvas-with-header
|
52
|
-
.canvas-with-header-and-footer > .canvas-toolbar { margin-top: 60px; }
|
53
|
-
.canvas-with-footer > .canvas-content,
|
54
|
-
.canvas-with-header-and-footer > .canvas-content { padding-bottom: 60px; }
|
55
|
-
.canvas-with-header > .canvas-content,
|
56
|
-
.canvas-with-header > .canvas-sidebar,
|
57
|
-
.canvas-with-header > .canvas-toolbar,
|
58
|
-
.canvas-with-header > .canvas-sidebar > .sidebar,
|
59
|
-
.canvas-with-header > .canvas-toolbar > .toolbar {
|
53
|
+
.canvas-section-with-header,
|
54
|
+
.canvas-section-with-header-and-footer { margin-top: 60px; }
|
55
|
+
.canvas-section-with-header-condensed,
|
56
|
+
.canvas-section-with-header-condensed-and-footer { margin-top: 50px; }
|
57
|
+
.canvas-section-with-header {
|
60
58
|
max-height: calc(100% - 60px);
|
61
59
|
height: calc(100% - 60px);
|
62
60
|
}
|
63
|
-
.canvas-with-
|
64
|
-
|
65
|
-
|
66
|
-
.canvas-with-footer > .canvas-sidebar > .sidebar,
|
67
|
-
.canvas-with-footer > .canvas-toolbar > .toolbar {
|
68
|
-
max-height: calc(100% - 30px);
|
69
|
-
height: calc(100% - 30px);
|
61
|
+
.canvas-section-with-header-condensed {
|
62
|
+
max-height: calc(100% - 50px);
|
63
|
+
height: calc(100% - 50px);
|
70
64
|
}
|
71
|
-
.canvas-with-header-and-footer
|
72
|
-
.canvas-with-header-and-footer > .canvas-sidebar,
|
73
|
-
.canvas-with-header-and-footer > .canvas-toolbar,
|
74
|
-
.canvas-with-header-and-footer > .canvas-sidebar > .sidebar,
|
75
|
-
.canvas-with-header-and-footer > .canvas-toolbar > .toolbar {
|
65
|
+
.canvas-section-with-header-and-footer {
|
76
66
|
max-height: calc(100% - 90px);
|
77
67
|
height: calc(100% - 90px);
|
78
68
|
}
|
69
|
+
.canvas-section-with-header-condensed-and-footer {
|
70
|
+
max-height: calc(100% - 80px);
|
71
|
+
height: calc(100% - 80px);
|
72
|
+
}
|
73
|
+
.canvas-section-with-footer {
|
74
|
+
max-height: calc(100% - 30px);
|
75
|
+
height: calc(100% - 30px);
|
76
|
+
}
|
79
77
|
|
80
78
|
/* # Media Queries
|
81
79
|
================================================== */
|
@@ -127,10 +125,19 @@
|
|
127
125
|
max-width: 100%;
|
128
126
|
width: 100%;
|
129
127
|
}
|
130
|
-
.canvas-with-header
|
131
|
-
.canvas-with-footer
|
132
|
-
.canvas-with-header-and-
|
133
|
-
|
134
|
-
|
128
|
+
.canvas-section-with-header,
|
129
|
+
.canvas-section-with-header-and-footer,
|
130
|
+
.canvas-section-with-header-and-navbar,
|
131
|
+
.canvas-section-with-header-condensed,
|
132
|
+
.canvas-section-with-header-condensed-and-footer,
|
133
|
+
.canvas-section-with-header-condensed-and-navbar { margin-top: 50px; }
|
134
|
+
.canvas-section-with-header-and-navbar,
|
135
|
+
.canvas-section-with-header-condensed-and-navbar {
|
136
|
+
max-height: calc(100% - 100px);
|
137
|
+
height: calc(100% - 100px);
|
138
|
+
}
|
139
|
+
.canvas-section-with-navbar {
|
140
|
+
max-height: calc(100% - 50px);
|
141
|
+
height: calc(100% - 50px);
|
135
142
|
}
|
136
143
|
}
|
@@ -19,13 +19,13 @@ $color-white: rgba(255,255,255,1);
|
|
19
19
|
|
20
20
|
/* # Base Colors
|
21
21
|
================================================== */
|
22
|
-
$color-lime: rgba(
|
23
|
-
$color-green: rgba(
|
24
|
-
$color-teal: rgba(
|
25
|
-
$color-blue: rgba(
|
26
|
-
$color-indigo: rgba(
|
27
|
-
$color-purple: rgba(
|
28
|
-
$color-pink: rgba(
|
29
|
-
$color-red: rgba(
|
30
|
-
$color-orange: rgba(255,
|
22
|
+
$color-lime: rgba(151,212,19,1);
|
23
|
+
$color-green: rgba(75,173,8,1);
|
24
|
+
$color-teal: rgba(59,187,178,1);
|
25
|
+
$color-blue: rgba(0,102,255,1);
|
26
|
+
$color-indigo: rgba(86,21,237,1);
|
27
|
+
$color-purple: rgba(115,24,242,1);
|
28
|
+
$color-pink: rgba(255,0,102,1);
|
29
|
+
$color-red: rgba(240,35,17,1);
|
30
|
+
$color-orange: rgba(255,102,0,1);
|
31
31
|
$color-yellow: rgba(255,209,0,1);
|
@@ -15,6 +15,7 @@
|
|
15
15
|
display: block;
|
16
16
|
height: 30px;
|
17
17
|
padding-top: 3px;
|
18
|
+
min-width: 100%;
|
18
19
|
width: 100%;
|
19
20
|
}
|
20
21
|
.footer-nav {
|
@@ -40,9 +41,9 @@
|
|
40
41
|
================================================== */
|
41
42
|
.footer-fixed {
|
42
43
|
bottom: 0;
|
43
|
-
left: 0;
|
44
44
|
position: fixed;
|
45
|
-
|
45
|
+
min-width: inherit;
|
46
|
+
width: inherit;
|
46
47
|
z-index: 1030;
|
47
48
|
}
|
48
49
|
|
@@ -2,6 +2,7 @@
|
|
2
2
|
==================================================
|
3
3
|
# Header
|
4
4
|
# Styles
|
5
|
+
# Sizes
|
5
6
|
# Colors
|
6
7
|
# Stripes
|
7
8
|
# Media Queries */
|
@@ -15,6 +16,7 @@
|
|
15
16
|
color: $color-black;
|
16
17
|
height: 60px;
|
17
18
|
padding-top: 15px;
|
19
|
+
min-width: 100%;
|
18
20
|
width: 100%;
|
19
21
|
}
|
20
22
|
.header-brand {
|
@@ -31,7 +33,7 @@
|
|
31
33
|
}
|
32
34
|
.header-search {
|
33
35
|
float: left;
|
34
|
-
margin: -
|
36
|
+
margin: -6px 0 0 20px;
|
35
37
|
width: 280px;
|
36
38
|
}
|
37
39
|
.header-search button,
|
@@ -151,14 +153,22 @@
|
|
151
153
|
margin-top: 3px;
|
152
154
|
}
|
153
155
|
|
156
|
+
/* # Sizes
|
157
|
+
================================================== */
|
158
|
+
.header-condensed {
|
159
|
+
height: 50px;
|
160
|
+
padding-top: 10px;
|
161
|
+
}
|
162
|
+
.header-condensed .header-nav > li.lined > a { padding-bottom: 16px; }
|
163
|
+
|
154
164
|
/* # Styles
|
155
165
|
================================================== */
|
156
166
|
.header-borderless { border-bottom-color: $color-transparent; }
|
157
167
|
.header-fixed {
|
158
|
-
left: 0;
|
159
168
|
position: fixed;
|
160
|
-
right: 0;
|
161
169
|
top: 0;
|
170
|
+
min-width: inherit;
|
171
|
+
width: inherit;
|
162
172
|
z-index: 1030;
|
163
173
|
}
|
164
174
|
|
@@ -178,43 +188,130 @@
|
|
178
188
|
background: $color-light-haze;
|
179
189
|
border-color: $color-dark-haze;
|
180
190
|
}
|
181
|
-
.header-
|
182
|
-
|
191
|
+
.header-primary {
|
192
|
+
background: $color-primary;
|
193
|
+
border-color: darken($color-primary, 5%);
|
194
|
+
color: $color-white;
|
195
|
+
}
|
196
|
+
.header-white-on-black,
|
197
|
+
.header-white-on-black .header-brand > a,
|
198
|
+
.header-white-on-black .header-toggle > a { color: $color-white; }
|
199
|
+
.header-white-on-black .header-search,
|
200
|
+
.header-white-on-black .header-nav > li > a:hover,
|
201
|
+
.header-white-on-black .header-nav > li > a.active,
|
202
|
+
.header-white-on-black .header-nav > li > a:active,
|
203
|
+
.header-white-on-black .header-nav > li > a:focus,
|
204
|
+
.header-white-on-black .header-nav > li.lined.active > a,
|
205
|
+
.header-white-on-black .header-nav-alt > li > a:hover,
|
206
|
+
.header-white-on-black .header-nav-alt > li > a.active,
|
207
|
+
.header-white-on-black .header-nav-alt > li > a:active,
|
208
|
+
.header-white-on-black .header-nav-alt > li > a:focus,
|
209
|
+
.header-white-on-black .header-toolchain > li > a:hover,
|
210
|
+
.header-white-on-black .header-toolchain > li > a.active,
|
211
|
+
.header-white-on-black .header-toolchain > li > a:active,
|
212
|
+
.header-white-on-black .header-toolchain > li > a:focus,
|
213
|
+
.header-white-on-black .header-user > a:hover,
|
214
|
+
.header-white-on-black .header-user > a.active,
|
215
|
+
.header-white-on-black .header-user > a:active,
|
216
|
+
.header-white-on-black .header-user > a:focus { color: $color-black; }
|
217
|
+
.header-white-on-black .header-nav > li.lined > a:hover,
|
218
|
+
.header-white-on-black .header-nav > li.lined > a.active,
|
219
|
+
.header-white-on-black .header-nav > li.lined > a:active,
|
220
|
+
.header-white-on-black .header-nav > li.lined > a:focus,
|
221
|
+
.header-white-on-black .header-nav > li.lined.active > a { border-color: $color-black; }
|
222
|
+
.header-white-on-black .header-nav-alt > li.inverse > a {
|
183
223
|
background: $color-white;
|
184
224
|
border-color: $color-white;
|
185
225
|
color: $color-black;
|
186
226
|
}
|
187
|
-
.header-
|
227
|
+
.header-white-on-black .header-nav-alt > li.inverse.outline > a {
|
188
228
|
background: $color-transparent;
|
189
229
|
color: $color-white;
|
190
230
|
}
|
191
|
-
.header-
|
192
|
-
.header-
|
193
|
-
.header-
|
194
|
-
.header-
|
231
|
+
.header-white-on-black .header-nav-alt > li.inverse > a:hover,
|
232
|
+
.header-white-on-black .header-nav-alt > li.inverse > a.active,
|
233
|
+
.header-white-on-black .header-nav-alt > li.inverse > a:active,
|
234
|
+
.header-white-on-black .header-nav-alt > li.inverse > a:focus {
|
195
235
|
background: darken($color-white, 2%);
|
196
236
|
border-color: darken($color-white, 2%);
|
197
237
|
color: $color-black;
|
198
238
|
}
|
239
|
+
.header-black-on-white,
|
240
|
+
.header-black-on-white .header-brand > a,
|
241
|
+
.header-black-on-white .header-toggle > a,
|
242
|
+
.header-black-on-white .header-search { color: $color-black; }
|
243
|
+
.header-black-on-white .header-nav > li > a:hover,
|
244
|
+
.header-black-on-white .header-nav > li > a.active,
|
245
|
+
.header-black-on-white .header-nav > li > a:active,
|
246
|
+
.header-black-on-white .header-nav > li > a:focus,
|
247
|
+
.header-black-on-white .header-nav > li.lined.active > a,
|
248
|
+
.header-black-on-white .header-nav-alt > li > a:hover,
|
249
|
+
.header-black-on-white .header-nav-alt > li > a.active,
|
250
|
+
.header-black-on-white .header-nav-alt > li > a:active,
|
251
|
+
.header-black-on-white .header-nav-alt > li > a:focus,
|
252
|
+
.header-black-on-white .header-toolchain > li > a:hover,
|
253
|
+
.header-black-on-white .header-toolchain > li > a.active,
|
254
|
+
.header-black-on-white .header-toolchain > li > a:active,
|
255
|
+
.header-black-on-white .header-toolchain > li > a:focus,
|
256
|
+
.header-black-on-white .header-user > a:hover,
|
257
|
+
.header-black-on-white .header-user > a.active,
|
258
|
+
.header-black-on-white .header-user > a:active,
|
259
|
+
.header-black-on-white .header-user > a:focus { color: $color-white; }
|
260
|
+
.header-black-on-white .header-nav > li.lined > a:hover,
|
261
|
+
.header-black-on-white .header-nav > li.lined > a.active,
|
262
|
+
.header-black-on-white .header-nav > li.lined > a:active,
|
263
|
+
.header-black-on-white .header-nav > li.lined > a:focus,
|
264
|
+
.header-black-on-white .header-nav > li.lined.active > a { border-color: $color-white; }
|
265
|
+
.header-black-on-white .header-nav-alt > li.inverse > a {
|
266
|
+
background: $color-black;
|
267
|
+
border-color: $color-black;
|
268
|
+
color: $color-white;
|
269
|
+
}
|
270
|
+
.header-black-on-white .header-nav-alt > li.inverse.outline > a {
|
271
|
+
background: $color-transparent;
|
272
|
+
color: $color-black;
|
273
|
+
}
|
274
|
+
.header-black-on-white .header-nav-alt > li.inverse > a:hover,
|
275
|
+
.header-black-on-white .header-nav-alt > li.inverse > a.active,
|
276
|
+
.header-black-on-white .header-nav-alt > li.inverse > a:active,
|
277
|
+
.header-black-on-white .header-nav-alt > li.inverse > a:focus {
|
278
|
+
background: darken($color-black, 2%);
|
279
|
+
border-color: darken($color-black, 2%);
|
280
|
+
color: $color-white;
|
281
|
+
}
|
199
282
|
|
200
283
|
/* # Stripes
|
201
284
|
================================================== */
|
202
285
|
.header-stripe {
|
203
286
|
background: $color-primary;
|
204
287
|
height: 2px;
|
205
|
-
left: 0;
|
206
288
|
position: fixed;
|
207
|
-
right: 0;
|
208
289
|
top: 0;
|
209
|
-
width:
|
290
|
+
min-width: inherit;
|
291
|
+
width: inherit;
|
210
292
|
z-index: 1050;
|
211
293
|
}
|
212
|
-
.header-stripe-
|
294
|
+
.header-stripe-secondary { background: $color-secondary; }
|
295
|
+
.header-stripe-tertiary { background: $color-tertiary; }
|
296
|
+
.header-stripe-dark { background: $color-black; }
|
297
|
+
.header-stripe-light { background: $color-light-haze; }
|
298
|
+
.header-stripe-white { background: $color-white; }
|
299
|
+
.header-stripe-primary-and-secondary {
|
213
300
|
background: -webkit-linear-gradient(45deg, $color-primary 0%, $color-secondary 100%);
|
214
301
|
background: -ms-linear-gradient(45deg, $color-primary 0%, $color-secondary 100%);
|
215
302
|
background: linear-gradient(45deg, $color-primary 0%, $color-secondary 100%);
|
216
303
|
}
|
217
|
-
.header-stripe-
|
304
|
+
.header-stripe-primary-and-tertiary {
|
305
|
+
background: -webkit-linear-gradient(45deg, $color-primary 0%, $color-tertiary 100%);
|
306
|
+
background: -ms-linear-gradient(45deg, $color-primary 0%, $color-tertiary 100%);
|
307
|
+
background: linear-gradient(45deg, $color-primary 0%, $color-tertiary 100%);
|
308
|
+
}
|
309
|
+
.header-stripe-secondary-and-tertiary {
|
310
|
+
background: -webkit-linear-gradient(45deg, $color-secondary 0%, $color-tertiary 100%);
|
311
|
+
background: -ms-linear-gradient(45deg, $color-secondary 0%, $color-tertiary 100%);
|
312
|
+
background: linear-gradient(45deg, $color-secondary 0%, $color-tertiary 100%);
|
313
|
+
}
|
314
|
+
.header-stripe-primary-secondary-and-tertiary {
|
218
315
|
background: -webkit-linear-gradient(45deg, $color-tertiary 0%, $color-primary 50%, $color-secondary 100%);
|
219
316
|
background: -ms-linear-gradient(45deg, $color-tertiary 0%, $color-primary 50%, $color-secondary 100%);
|
220
317
|
background: linear-gradient(45deg, $color-tertiary 0%, $color-primary 50%, $color-secondary 100%);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_frontend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.0
|
4
|
+
version: 12.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|