active_frontend 14.2.5 → 14.2.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5bec3aa21111260fdd25250c0d20c1086402c01
4
- data.tar.gz: 8ebeb1e68d44640964305532383de8cda4737a8c
3
+ metadata.gz: 284c02c1c2930a6a26ec92aae65090892f8a20a8
4
+ data.tar.gz: ba71f81f15047d5a63b7277c567e479e527e4299
5
5
  SHA512:
6
- metadata.gz: 342ee87fac21ef411ed2cf8629789e944eebd3143e089aa0e9c88db40a0cd0ac21b276223ac031beca19d790d2efcd0e0880a97525ec0f20848cbfe02fed3fc5
7
- data.tar.gz: 2d0018b52752887866625c1b536828ad1ee995c09f149c09b984adc4c9fba483829c3f3edb35fed508749d74cab343d839883a9e75af341572020181abd8471c
6
+ metadata.gz: 7b8d2611a68b09adc77a5155dc5b863dd69535206e6df7afbc05487899527242c3ae6f2869b524af0b1ad5c5b5a405456e5859d071b3399faad26b302d9370ca
7
+ data.tar.gz: 5e4f64097c0181aac536b3fc9c617b312be5507969debf22aa5d37352dd9da17fad7ee498c72f194384c4bfe428897251c550ac334afb259e7be847f5c6720dd
@@ -1,3 +1,3 @@
1
1
  module ActiveFrontend
2
- VERSION = '14.2.5'.freeze
2
+ VERSION = '14.2.6'.freeze
3
3
  end
@@ -54,6 +54,12 @@
54
54
  min-width: 9px;
55
55
  vertical-align: top;
56
56
  }
57
+
58
+ img,
59
+ svg {
60
+ height: 1em;
61
+ vertical-align: text-top;
62
+ }
57
63
  }
58
64
 
59
65
  // Colors
@@ -219,7 +225,8 @@
219
225
  border-top-left-radius: border-radius(b);
220
226
  margin-top: 0;
221
227
  }
222
- &:last-child {
228
+ &:last-child,
229
+ &.dropdown-toggle {
223
230
  border-radius: 0;
224
231
  border-bottom-right-radius: border-radius(b);
225
232
  border-bottom-left-radius: border-radius(b);
@@ -277,7 +284,8 @@
277
284
  border-top-left-radius: border-radius(b);
278
285
  margin-left: 0;
279
286
  }
280
- &:last-child {
287
+ &:last-child,
288
+ &.dropdown-toggle {
281
289
  border-bottom-right-radius: border-radius(b);
282
290
  border-bottom-left-radius: border-radius(b);
283
291
  }
@@ -296,7 +304,8 @@
296
304
  border-top-right-radius: 0;
297
305
  border-top-left-radius: border-radius(b);
298
306
  }
299
- &:last-child {
307
+ &:last-child,
308
+ &.dropdown-toggle {
300
309
  border-bottom-right-radius: border-radius(b);
301
310
  border-bottom-left-radius: 0;
302
311
  border-top-right-radius: border-radius(b);
@@ -2,6 +2,8 @@
2
2
  // ==================================================
3
3
  // Card
4
4
 
5
+ // scss-lint:disable NestingDepth
6
+
5
7
  // Card
6
8
  // ==================================================
7
9
  .card {
@@ -25,18 +27,65 @@
25
27
  .card-header,
26
28
  .card-body,
27
29
  .card-footer { padding: 10px 15px; }
28
- .card-header,
29
- .card-footer {
30
- padding-bottom: 9px;
31
- padding-top: 9px;
32
- }
33
30
  .card-header {
34
31
  border-bottom-style: solid;
35
32
  border-bottom-width: 1px;
36
33
  font-weight: text-weight(semibold);
37
34
  }
35
+ .card-wizard {
36
+ border-collapse: separate;
37
+ box-sizing: border-box;
38
+ display: table;
39
+ font-size: text-size(s);
40
+ list-style-type: none;
41
+ margin: 0;
42
+ padding: 0;
43
+ position: relative;
44
+ table-layout: fixed;
45
+ white-space: nowrap;
46
+
47
+ > a,
48
+ > li {
49
+ display: table-cell;
50
+ padding: 8px 0 10px;
51
+ text-align: center;
52
+ vertical-align: middle;
53
+ width: 1%;
54
+
55
+ &:not(:first-child) {
56
+ border-left-style: solid;
57
+ border-left-width: 1px;
58
+ }
59
+
60
+ &.current {
61
+ background: color(haze);
62
+ color: color(primary);
63
+ }
64
+ &.completed {
65
+ background: color(light-haze);
66
+ color: color(gray);
67
+ }
68
+ }
69
+
70
+ &.dark {
71
+ > a,
72
+ > li {
73
+ &.current { background: color(light-black); }
74
+ &.completed { background: color(black); }
75
+ }
76
+ }
77
+ &.light {
78
+ > a,
79
+ > li {
80
+ &.current { background: color(dark-haze); }
81
+ &.completed { background: color(haze); }
82
+ }
83
+ }
84
+ }
85
+ .card-wizard,
38
86
  .card-body {
39
- + .card-body {
87
+ + .card-body,
88
+ + .card-wizard {
40
89
  border-top-style: solid;
41
90
  border-top-width: 1px;
42
91
  }
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: 14.2.5
4
+ version: 14.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-19 00:00:00.000000000 Z
11
+ date: 2017-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails