active_frontend 16.0.24 → 16.1.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/vendor/assets/javascripts/base/_layout.js +3 -0
- data/vendor/assets/stylesheets/_variable.scss +3 -2
- data/vendor/assets/stylesheets/blocks/_form.scss +15 -2
- data/vendor/assets/stylesheets/blocks/_reset.scss +1 -1
- data/vendor/assets/stylesheets/blocks/_typography.scss +2 -1
- data/vendor/assets/stylesheets/components/_header.scss +4 -4
- data/vendor/assets/stylesheets/components/_layout.scss +9 -8
- data/vendor/assets/stylesheets/components/_navbar.scss +5 -12
- data/vendor/assets/stylesheets/components/_switch.scss +3 -0
- data/vendor/assets/stylesheets/components/_wysiwyg.scss +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 129f26b03debfac3fdd9005f51be4bad03a7f2a2e971d3bdf3c1ff824c65306f
|
4
|
+
data.tar.gz: 0d84c24ea36e51ca3d731ffff800c556b4439d4a7381dbeeab2ad4fd1573cfd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67050feaa4afc07a34546c01d9a96defef927c4e15f910bb9dac616db1359ee569c9ba02a604aa1ec5b2e5cd0dc57d21ddaf70e15d39448a029ca9600126150d
|
7
|
+
data.tar.gz: 490698ebfdfbdf58d6a0d187ae3f235d17c8b6c2ec6a882ed886600467a45e68e62ead5958c86c6c828d8127de95c05703e58a9f1a0859fffb74a589c667d9b5
|
@@ -47,6 +47,9 @@
|
|
47
47
|
|
48
48
|
if (target.hasClass('hidden') || target.is(':hidden') || target.css('visibility') === 'hidden') {
|
49
49
|
toggle = 'in';
|
50
|
+
_self.$element.addClass('active');
|
51
|
+
} else {
|
52
|
+
_self.$element.removeClass('active');
|
50
53
|
}
|
51
54
|
|
52
55
|
var effect = options.effect + '-' + toggle + '-' + options.direction;
|
@@ -99,7 +99,8 @@ $common-box-shadows: (
|
|
99
99
|
xl: 10px,
|
100
100
|
l: 6px,
|
101
101
|
m: 4px,
|
102
|
-
b: 2px
|
102
|
+
b: 2px,
|
103
|
+
n: 0
|
103
104
|
);
|
104
105
|
$common-margins-and-paddings: (
|
105
106
|
xxxl: 100px,
|
@@ -171,7 +172,7 @@ $font-spaces: (
|
|
171
172
|
xl: 6px,
|
172
173
|
l: 2px,
|
173
174
|
m: 1px,
|
174
|
-
b: 0,
|
175
|
+
b: -0.4px,
|
175
176
|
s: -1px,
|
176
177
|
xs: -2px
|
177
178
|
);
|
@@ -47,6 +47,7 @@ textarea,
|
|
47
47
|
border: 1px solid color(haze);
|
48
48
|
border-radius: border-radius(b);
|
49
49
|
box-sizing: border-box;
|
50
|
+
box-shadow: 0 0 3px darkish-color(haze);
|
50
51
|
display: block;
|
51
52
|
line-height: 1;
|
52
53
|
margin-bottom: 10px;
|
@@ -71,11 +72,15 @@ textarea,
|
|
71
72
|
&:invalid,
|
72
73
|
&.invalid { border-color: color(red); }
|
73
74
|
|
74
|
-
&.without-border {
|
75
|
+
&.without-border {
|
76
|
+
border-color: color(transparent);
|
77
|
+
box-shadow: none;
|
78
|
+
}
|
75
79
|
}
|
76
80
|
|
77
81
|
&.dark {
|
78
82
|
background: color(light-slate);
|
83
|
+
box-shadow: 0 0 3px darkish-color(dark-slate);
|
79
84
|
color: color(white);
|
80
85
|
|
81
86
|
&[disabled] { background: color(slate); }
|
@@ -333,6 +338,7 @@ textarea {
|
|
333
338
|
border: 1px solid;
|
334
339
|
border-color: color(haze);
|
335
340
|
border-radius: border-radius(b);
|
341
|
+
box-shadow: 0 0 3px darkish-color(haze);
|
336
342
|
display: inline-block;
|
337
343
|
height: 18px;
|
338
344
|
line-height: 18px;
|
@@ -400,6 +406,8 @@ textarea {
|
|
400
406
|
}
|
401
407
|
&.form-align-vertical { vertical-align: middle; }
|
402
408
|
&.dark {
|
409
|
+
box-shadow: 0 0 3px darkish-color(slate);
|
410
|
+
|
403
411
|
label {
|
404
412
|
background: color(light-slate);
|
405
413
|
|
@@ -448,6 +456,7 @@ textarea {
|
|
448
456
|
input:focus {
|
449
457
|
background: color(transparent);
|
450
458
|
border: 0;
|
459
|
+
box-shadow: none;
|
451
460
|
display: inline-block;
|
452
461
|
outline: none;
|
453
462
|
margin: 0;
|
@@ -574,6 +583,7 @@ textarea {
|
|
574
583
|
.form-addon {
|
575
584
|
border-style: solid;
|
576
585
|
border-width: 1px;
|
586
|
+
box-shadow: 0 0 3px darkish-color(haze);
|
577
587
|
line-height: 1;
|
578
588
|
min-width: 44px;
|
579
589
|
padding: 0 10px;
|
@@ -586,7 +596,10 @@ textarea {
|
|
586
596
|
margin-top: -2px;
|
587
597
|
}
|
588
598
|
|
589
|
-
&.dark {
|
599
|
+
&.dark {
|
600
|
+
border-color: color(dark-slate);
|
601
|
+
box-shadow: 0 0 3px darkish-color(dark-slate);
|
602
|
+
}
|
590
603
|
&.with-addon-btn {
|
591
604
|
border: 0;
|
592
605
|
min-width: auto;
|
@@ -12,9 +12,9 @@
|
|
12
12
|
border-bottom: 1px solid color(transparent);
|
13
13
|
box-sizing: border-box;
|
14
14
|
color: color(white);
|
15
|
-
height:
|
15
|
+
height: 64px;
|
16
16
|
line-height: 1;
|
17
|
-
padding:
|
17
|
+
padding: 12px 0 0;
|
18
18
|
|
19
19
|
&.absolute,
|
20
20
|
&.fixed { z-index: 1040; }
|
@@ -65,7 +65,7 @@
|
|
65
65
|
}
|
66
66
|
.header-brand-label { margin: 8px 0 0 10px; }
|
67
67
|
.header-search {
|
68
|
-
margin-top: -
|
68
|
+
margin-top: -2.5px;
|
69
69
|
width: 260px;
|
70
70
|
|
71
71
|
input { margin-bottom: 0; }
|
@@ -105,7 +105,7 @@
|
|
105
105
|
}
|
106
106
|
}
|
107
107
|
|
108
|
-
.btn { margin-top: -
|
108
|
+
.btn { margin-top: -13.5px; }
|
109
109
|
}
|
110
110
|
}
|
111
111
|
.header-user {
|
@@ -18,8 +18,8 @@
|
|
18
18
|
overflow-y: auto;
|
19
19
|
|
20
20
|
&.with-sticky-header {
|
21
|
-
height: calc(100% -
|
22
|
-
margin-top:
|
21
|
+
height: calc(100% - 64px);
|
22
|
+
margin-top: 64px;
|
23
23
|
}
|
24
24
|
}
|
25
25
|
.layout-body { width: 100%; }
|
@@ -63,6 +63,8 @@
|
|
63
63
|
height: initial;
|
64
64
|
min-height: 100%;
|
65
65
|
margin: 0;
|
66
|
+
max-width: 100%;
|
67
|
+
width: 100%;
|
66
68
|
|
67
69
|
&.with-sticky-header {
|
68
70
|
margin: 0;
|
@@ -78,11 +80,10 @@
|
|
78
80
|
}
|
79
81
|
}
|
80
82
|
.layout-sidebar {
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
&.fixed + .layout-body { width: 100%; }
|
83
|
+
&.with-sticky-header {
|
84
|
+
height: calc(100% - 54px);
|
85
|
+
margin-top: 54px;
|
86
|
+
min-height: calc(100% - 54px);
|
87
|
+
}
|
87
88
|
}
|
88
89
|
}
|
@@ -27,21 +27,14 @@
|
|
27
27
|
vertical-align: middle;
|
28
28
|
width: 1%;
|
29
29
|
|
30
|
-
|
30
|
+
&.primary {
|
31
|
+
color: text-color-on(primary);
|
32
|
+
background: color(primary);
|
33
|
+
|
31
34
|
&:hover,
|
32
35
|
&.active,
|
33
36
|
&:active,
|
34
|
-
&:focus {
|
35
|
-
|
36
|
-
&.primary {
|
37
|
-
&:hover,
|
38
|
-
&.active,
|
39
|
-
&:active,
|
40
|
-
&:focus {
|
41
|
-
background: color(primary);
|
42
|
-
color: text-color-on(primary);
|
43
|
-
}
|
44
|
-
}
|
37
|
+
&:focus { background: darkish-color(primary); }
|
45
38
|
}
|
46
39
|
|
47
40
|
> i {
|
@@ -10,6 +10,7 @@
|
|
10
10
|
border: 1px solid;
|
11
11
|
border-color: color(haze);
|
12
12
|
border-radius: border-radius(xl);
|
13
|
+
box-shadow: 0 0 3px darkish-color(haze);
|
13
14
|
cursor: pointer;
|
14
15
|
display: inline-block;
|
15
16
|
height: 28px;
|
@@ -88,6 +89,8 @@
|
|
88
89
|
* { cursor: not-allowed; }
|
89
90
|
}
|
90
91
|
&.dark {
|
92
|
+
box-shadow: 0 0 3px darkish-color(dark-slate);
|
93
|
+
|
91
94
|
.switch-handle { background: color(light-slate); }
|
92
95
|
}
|
93
96
|
&.light {
|
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: 16.0
|
4
|
+
version: 16.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: 2018-04-
|
11
|
+
date: 2018-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|