active_frontend 14.1.39 → 14.1.40
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/extensions/_chart.js +799 -799
- data/vendor/assets/stylesheets/blocks/_table.scss +28 -19
- data/vendor/assets/stylesheets/components/_alert.scss +4 -1
- data/vendor/assets/stylesheets/components/_calendar.scss +12 -0
- data/vendor/assets/stylesheets/components/_card.scss +20 -10
- data/vendor/assets/stylesheets/components/_cohort.scss +42 -15
- data/vendor/assets/stylesheets/components/_missive.scss +11 -8
- metadata +1 -1
@@ -134,10 +134,19 @@ thead {
|
|
134
134
|
}
|
135
135
|
.table-encase,
|
136
136
|
.table-border {
|
137
|
+
border-radius: border-radius(b);
|
137
138
|
border-style: solid;
|
138
139
|
border-width: 1px;
|
139
|
-
|
140
|
-
|
140
|
+
|
141
|
+
thead {
|
142
|
+
tr:first-child {
|
143
|
+
th { border-top-width: 0; }
|
144
|
+
}
|
145
|
+
}
|
146
|
+
tr {
|
147
|
+
td:first-child,
|
148
|
+
th:first-child { border-left-width: 0; }
|
149
|
+
}
|
141
150
|
|
142
151
|
&.dark { border-color: color(dark-black); }
|
143
152
|
}
|
@@ -157,17 +166,6 @@ thead {
|
|
157
166
|
}
|
158
167
|
}
|
159
168
|
}
|
160
|
-
.table-encase {
|
161
|
-
tr {
|
162
|
-
td,
|
163
|
-
th {
|
164
|
-
&:first-child {
|
165
|
-
border-left-style: solid;
|
166
|
-
border-left-width: 1px;
|
167
|
-
}
|
168
|
-
}
|
169
|
-
}
|
170
|
-
}
|
171
169
|
.table-border {
|
172
170
|
td,
|
173
171
|
th {
|
@@ -199,21 +197,29 @@ thead {
|
|
199
197
|
.table-responsive {
|
200
198
|
@include overflow-scrolling(touch);
|
201
199
|
background: color(transparent);
|
202
|
-
border
|
203
|
-
border-
|
200
|
+
border: 1px solid color(dark-haze);
|
201
|
+
border-radius: border-radius(b);
|
204
202
|
max-height: 300px;
|
205
203
|
overflow: scroll;
|
206
204
|
|
207
205
|
td,
|
208
206
|
th { white-space: nowrap; }
|
207
|
+
tr {
|
208
|
+
td:first-child,
|
209
|
+
th:first-child { border-left-width: 0; }
|
210
|
+
}
|
211
|
+
tfoot {
|
212
|
+
tr:last-child {
|
213
|
+
td:last-child { border-bottom-width: 0; }
|
214
|
+
}
|
215
|
+
}
|
209
216
|
|
210
217
|
.table-line,
|
211
218
|
.table-encase,
|
212
219
|
.table-border {
|
213
220
|
caption {
|
214
|
-
border-style: solid;
|
215
|
-
border-width:
|
216
|
-
border-bottom-width: 2px;
|
221
|
+
border-bottom-style: solid;
|
222
|
+
border-bottom-width: 3px;
|
217
223
|
padding: 10px 10px 8px;
|
218
224
|
}
|
219
225
|
}
|
@@ -223,6 +229,9 @@ thead {
|
|
223
229
|
border-color: inherit;
|
224
230
|
}
|
225
231
|
.table-encase,
|
226
|
-
.table-border {
|
232
|
+
.table-border {
|
233
|
+
border-radius: 0;
|
234
|
+
border-width: 0;
|
235
|
+
}
|
227
236
|
}
|
228
237
|
}
|
@@ -21,6 +21,18 @@
|
|
21
21
|
vertical-align: top;
|
22
22
|
}
|
23
23
|
th.calendar-widget-header { padding: 6px 0 5px; }
|
24
|
+
thead {
|
25
|
+
tr:first-child {
|
26
|
+
th:first-child { border-top-left-radius: border-radius(b); }
|
27
|
+
th:last-child { border-top-right-radius: border-radius(b); }
|
28
|
+
}
|
29
|
+
}
|
30
|
+
tbody {
|
31
|
+
tr:last-child {
|
32
|
+
td:first-child { border-bottom-left-radius: border-radius(b); }
|
33
|
+
td:last-child { border-bottom-right-radius: border-radius(b); }
|
34
|
+
}
|
35
|
+
}
|
24
36
|
|
25
37
|
.ui-resizable-handle { display: none; }
|
26
38
|
}
|
@@ -5,27 +5,37 @@
|
|
5
5
|
// Card
|
6
6
|
// ==================================================
|
7
7
|
.card {
|
8
|
+
border: 1px solid;
|
8
9
|
border-color: color(dark-haze);
|
10
|
+
border-radius: border-radius(b);
|
11
|
+
|
12
|
+
> img {
|
13
|
+
border-radius: 0;
|
14
|
+
margin-left: -1px;
|
15
|
+
max-width: calc(100% + 3px);
|
16
|
+
width: calc(100% + 3px);
|
17
|
+
}
|
9
18
|
|
10
|
-
|
19
|
+
.table-encase,
|
20
|
+
.table-border {
|
21
|
+
border-radius: 0;
|
22
|
+
border-width: 0;
|
23
|
+
}
|
11
24
|
}
|
12
25
|
.card-header,
|
13
26
|
.card-body,
|
14
|
-
.card-footer {
|
15
|
-
border: 1px solid;
|
16
|
-
border-color: inherit;
|
17
|
-
padding: 10px 15px;
|
18
|
-
}
|
27
|
+
.card-footer { padding: 10px 15px; }
|
19
28
|
.card-header,
|
20
29
|
.card-footer {
|
21
30
|
padding-bottom: 9px;
|
22
31
|
padding-top: 9px;
|
23
32
|
}
|
24
33
|
.card-header {
|
25
|
-
border-bottom:
|
34
|
+
border-bottom-style: solid;
|
35
|
+
border-bottom-width: 1px;
|
26
36
|
font-weight: text-weight(semibold);
|
27
37
|
}
|
28
|
-
.card-
|
29
|
-
|
38
|
+
.card-footer {
|
39
|
+
border-top-style: solid;
|
40
|
+
border-top-width: 1px;
|
30
41
|
}
|
31
|
-
.card-footer { border-top: 0; }
|
@@ -1,16 +1,21 @@
|
|
1
1
|
// Table of Contents
|
2
2
|
// ==================================================
|
3
3
|
// Cohort
|
4
|
+
// Media Queries
|
4
5
|
|
5
6
|
// scss-lint:disable ImportantRule
|
6
7
|
// scss-lint:disable NestingDepth
|
7
8
|
|
8
9
|
// Cohort
|
9
10
|
// ==================================================
|
11
|
+
.cohort-container {
|
12
|
+
border: 1px solid color(dark-haze);
|
13
|
+
border-radius: border-radius(b);
|
14
|
+
}
|
10
15
|
.cohort-title {
|
11
16
|
background: color(white);
|
12
|
-
border:
|
13
|
-
border-bottom:
|
17
|
+
border-bottom-style: solid;
|
18
|
+
border-bottom-width: 1px;
|
14
19
|
font-size: text-size(b);
|
15
20
|
font-weight: text-weight(semibold);
|
16
21
|
padding: 10px;
|
@@ -18,7 +23,6 @@
|
|
18
23
|
}
|
19
24
|
.cohort-table {
|
20
25
|
background: light-color(light-haze);
|
21
|
-
border: 1px solid color(dark-haze);
|
22
26
|
border-spacing: 0;
|
23
27
|
border-collapse: collapse;
|
24
28
|
font-size: text-size(b);
|
@@ -26,23 +30,31 @@
|
|
26
30
|
max-width: 100%;
|
27
31
|
width: 100%;
|
28
32
|
|
29
|
-
tr
|
30
|
-
|
31
|
-
|
33
|
+
tr {
|
34
|
+
td:last-child,
|
35
|
+
th:last-child { border-right-width: 0; }
|
36
|
+
&:first-child {
|
37
|
+
th {
|
38
|
+
border-bottom-width: 3px;
|
32
39
|
|
33
|
-
|
40
|
+
&:last-child { border-right: 0; }
|
41
|
+
}
|
42
|
+
}
|
43
|
+
&:last-child {
|
44
|
+
td,
|
45
|
+
th { border-bottom-width: 0; }
|
34
46
|
}
|
35
47
|
}
|
36
|
-
|
37
48
|
td,
|
38
49
|
th {
|
39
50
|
text-align: center;
|
40
51
|
padding: 8px;
|
41
52
|
}
|
42
|
-
|
43
53
|
th {
|
44
|
-
border-
|
45
|
-
border-
|
54
|
+
border-style: solid;
|
55
|
+
border-width: 0;
|
56
|
+
border-bottom-width: 1px;
|
57
|
+
border-right-width: 1px;
|
46
58
|
font-weight: text-weight(semibold);
|
47
59
|
}
|
48
60
|
}
|
@@ -54,8 +66,10 @@
|
|
54
66
|
}
|
55
67
|
.cohort-label,
|
56
68
|
.cohort-total {
|
57
|
-
border-
|
58
|
-
border-
|
69
|
+
border-style: solid;
|
70
|
+
border-width: 0;
|
71
|
+
border-bottom-width: 1px;
|
72
|
+
border-right-width: 1px;
|
59
73
|
font-weight: text-weight(semibold);
|
60
74
|
width: 80px;
|
61
75
|
}
|
@@ -66,8 +80,10 @@
|
|
66
80
|
}
|
67
81
|
.cohort-empty {
|
68
82
|
background: color(white);
|
69
|
-
border-
|
70
|
-
border-
|
83
|
+
border-style: solid;
|
84
|
+
border-width: 0;
|
85
|
+
border-bottom-width: 1px;
|
86
|
+
border-right-width: 1px;
|
71
87
|
}
|
72
88
|
.cohort-extra-low,
|
73
89
|
.cohort-low,
|
@@ -84,3 +100,14 @@
|
|
84
100
|
@each $name, $multiplier in (high: 1, hot: 1.75, extra-hot: 2.25) {
|
85
101
|
.cohort-#{$name} { background: darken(color(primary), percentage((12.5 * $multiplier) / 100)); }
|
86
102
|
}
|
103
|
+
|
104
|
+
// Media Queries
|
105
|
+
// ==================================================
|
106
|
+
@media only screen and (max-width: 960px) {
|
107
|
+
.cohort-container {
|
108
|
+
.table-responsive {
|
109
|
+
border-radius: 0;
|
110
|
+
border-width: 0;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
@@ -10,6 +10,7 @@
|
|
10
10
|
// ==================================================
|
11
11
|
.missive {
|
12
12
|
border: 1px solid color(dark-haze);
|
13
|
+
border-radius: border-radius(b);
|
13
14
|
|
14
15
|
&::before,
|
15
16
|
&::after {
|
@@ -29,24 +30,26 @@
|
|
29
30
|
padding: 20px;
|
30
31
|
white-space: normal;
|
31
32
|
}
|
33
|
+
.missive-content {
|
34
|
+
width: 100%;
|
35
|
+
|
36
|
+
p:last-child { margin-bottom: 0; }
|
37
|
+
}
|
32
38
|
.missive-icon {
|
33
39
|
font-size: text-size(xxl);
|
34
40
|
padding-top: 30px;
|
35
41
|
text-align: center;
|
36
42
|
width: 80px;
|
37
|
-
}
|
38
|
-
.missive-content {
|
39
|
-
padding-left: 0;
|
40
|
-
width: calc(100% - 80px);
|
41
43
|
|
42
|
-
|
44
|
+
+ .missive-content {
|
45
|
+
padding-left: 0;
|
46
|
+
width: calc(100% - 80px);
|
47
|
+
}
|
43
48
|
}
|
44
49
|
|
45
50
|
// Styles
|
46
51
|
// ==================================================
|
47
|
-
.missive-banner {
|
48
|
-
border-left-width: 4px;
|
49
|
-
}
|
52
|
+
.missive-banner { border-left-width: 4px; }
|
50
53
|
|
51
54
|
// Colors
|
52
55
|
// ==================================================
|