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.
@@ -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
- border-top-width: 0;
140
- border-left-width: 0;
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-style: solid;
203
- border-width: 1px;
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: 1px;
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 { margin: -1px 0 0 -1px; }
232
+ .table-border {
233
+ border-radius: 0;
234
+ border-width: 0;
235
+ }
227
236
  }
228
237
  }
@@ -51,5 +51,8 @@
51
51
 
52
52
  // Styles
53
53
  // ==================================================
54
- .alert-border { border-width: 1px; }
54
+ .alert-border {
55
+ border-radius: border-radius(b);
56
+ border-width: 1px;
57
+ }
55
58
  .alert-outline { background: color(transparent); }
@@ -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
- > img { border-radius: 0; }
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: 0;
34
+ border-bottom-style: solid;
35
+ border-bottom-width: 1px;
26
36
  font-weight: text-weight(semibold);
27
37
  }
28
- .card-body {
29
- + .card-body { border-top: 0; }
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: 1px solid color(dark-haze);
13
- border-bottom: 0;
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:first-child {
30
- th {
31
- border-bottom-width: 3px;
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
- &:last-child { border-right: 0; }
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-bottom: 1px solid color(dark-haze);
45
- border-right: 1px solid color(dark-haze);
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-bottom: 1px solid color(dark-haze);
58
- border-right: 1px solid color(dark-haze);
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-bottom: 1px solid color(dark-haze);
70
- border-right: 1px solid color(dark-haze);
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
- p:last-child { margin-bottom: 0; }
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
  // ==================================================
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.39
4
+ version: 14.1.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez