@kando-env/kando-ui 1.0.34 → 1.0.35

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.
@@ -1,61 +1,61 @@
1
1
  .summarybar {
2
- background: white;
3
- width: calc(100% - 450px);
4
- height: 5.95em;
5
- z-index: 9;
6
- position: absolute;
7
- top: 3.6em;
8
- box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
9
- display: flex;
2
+ background: white;
3
+ width: calc(100% - 450px);
4
+ height: 5.85em;
5
+ z-index: 500;
6
+ position: absolute;
7
+ top: 3.6em;
8
+ box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
9
+ display: flex;
10
10
 
11
- .ltrs & {
12
- right: 0;
13
- }
14
- .rtls & {
15
- left: 0;
16
- }
11
+ .ltrs & {
12
+ right: 0;
13
+ }
14
+ .rtls & {
15
+ left: 0;
16
+ }
17
17
 
18
- .tiles {
19
- width: 100%;
20
- height: 100%;
21
- display: flex;
18
+ .tiles {
19
+ width: 100%;
20
+ height: 100%;
21
+ display: flex;
22
22
 
23
- .tile {
24
- width: 100%;
25
- border: 1px solid rgba(0,0,0,0.05);
26
- display: flex;
27
- justify-content: center;
28
- align-items: center;
23
+ .tile {
24
+ width: 100%;
25
+ border: 1px solid rgba(0, 0, 0, 0.05);
26
+ display: flex;
27
+ justify-content: center;
28
+ align-items: center;
29
29
 
30
- p {
31
- margin: 0;
32
- }
30
+ p {
31
+ margin: 0;
32
+ }
33
33
 
34
- &--clean {
35
- color: #1db232;
36
- }
37
- &--low {
38
- color: #ffb114;
39
- }
40
- &--medium {
41
- color: #ff7a14;
42
- }
43
- &--high {
44
- color: #F21B3F;
45
- }
34
+ &--clean {
35
+ color: #1db232;
36
+ }
37
+ &--low {
38
+ color: #ffb114;
39
+ }
40
+ &--medium {
41
+ color: #ff7a14;
42
+ }
43
+ &--high {
44
+ color: #f21b3f;
45
+ }
46
+ }
46
47
  }
47
- }
48
48
 
49
- .trend-button {
50
- border: 1px solid rgba(0, 0, 0, 0.05);
51
- display: flex;
52
- align-items: center;
53
- padding: 1em;
54
- cursor: pointer;
55
- width: 7em;
49
+ .trend-button {
50
+ border: 1px solid rgba(0, 0, 0, 0.05);
51
+ display: flex;
52
+ align-items: center;
53
+ padding: 1em;
54
+ cursor: pointer;
55
+ width: 7em;
56
56
 
57
- a {
58
- color: #007bff;
57
+ a {
58
+ color: #007bff;
59
+ }
59
60
  }
60
- }
61
- }
61
+ }
@@ -1,312 +1,311 @@
1
1
  @media only screen and (max-width: 450px) {
2
- .react-responsive-modal-modal {
3
- max-width: 90vw !important;
4
- }
2
+ .react-responsive-modal-modal {
3
+ max-width: 90vw !important;
4
+ }
5
5
 
6
- .sidebar {
7
- width: 100vw !important;
6
+ .sidebar {
7
+ width: 100vw !important;
8
8
 
9
- .areas-list-header {
10
- width: 100vw !important;
11
- }
9
+ .areas-list-header {
10
+ width: 100vw !important;
11
+ }
12
12
 
13
- .area {
14
- &__header {
15
- padding: 0 1em !important;
16
- }
17
- }
13
+ .area {
14
+ &__header {
15
+ padding: 0 1em !important;
16
+ }
17
+ }
18
18
 
19
- &--collapsed {
20
- .ltrs & {
21
- left: -100vw !important;
22
- transition: .2s ease-in-out;
23
- }
19
+ &--collapsed {
20
+ .ltrs & {
21
+ left: -100vw !important;
22
+ transition: 0.2s ease-in-out;
23
+ }
24
24
 
25
- .rtls & {
26
- right: -100vw !important;
27
- transition: .2s ease-in-out;
28
- }
25
+ .rtls & {
26
+ right: -100vw !important;
27
+ transition: 0.2s ease-in-out;
28
+ }
29
+ }
29
30
  }
30
- }
31
31
 
32
- .summarybar {
33
- width: 100vw !important;
32
+ .summarybar {
33
+ width: 100vw !important;
34
34
 
35
- .trend-button {
36
- padding: .3em !important;
35
+ .trend-button {
36
+ padding: 0.3em !important;
37
+ }
37
38
  }
38
- }
39
39
 
40
- .back-button {
41
- &--mobile {
42
- &--shown {
43
- display: block;
44
- }
40
+ .back-button {
41
+ &--mobile {
42
+ &--shown {
43
+ display: block;
44
+ }
45
+ }
45
46
  }
46
- }
47
-
48
- .area--desktop {
49
- display: none;
50
- }
51
47
 
52
- .area--mobile {
53
- display: block !important;
54
- }
55
-
56
- .zoomed {
57
- display: block !important;
58
- }
59
- }
48
+ .area--desktop {
49
+ display: none;
50
+ }
60
51
 
61
- .sidebar {
62
- padding-bottom: 4em;
63
- transition: .1s ease-in-out;
64
-
65
- .ltrs & {
66
- left: 0;
67
- }
68
-
69
- .rtls & {
70
- right: 0;
71
- }
72
-
73
- .back-button {
74
- position: fixed;
75
- top: 10em;
76
- width: 100vw;
77
- left: 0em;
78
- background: white;
79
- padding: 9px;
80
- border: 1px solid rgba(0,0,0,.1);
81
- border-left: 0;
82
- border-right: 0;
83
-
84
- &--mobile {
85
- display: none;
52
+ .area--mobile {
53
+ display: block !important;
86
54
  }
87
- }
88
- }
89
55
 
90
- .zoomed {
91
- display: none;
56
+ .zoomed {
57
+ display: block !important;
58
+ }
92
59
  }
93
60
 
94
- .areas-container {
95
- text-align: center;
96
- overflow: scroll;
97
- height: 100%;
98
-
99
- .areas-list-header {
100
- height: 6.5em;
101
- display: flex;
102
- flex-direction: row;
103
- align-items: center;
104
- justify-content: space-between;
105
- position: fixed;
106
- z-index: 9;
107
- background: white;
108
- width: 450px;
109
- padding: 0 1.5em;
110
- box-shadow: 0px 2px 5px rgba(0,0,0,.2);
111
-
112
- .main {
113
- display: flex;
114
- flex-direction: column;
115
- align-items: baseline;
116
-
117
- .sort {
118
- display: flex;
119
- align-items: center;
120
-
121
- .form-group {
122
- margin: 0;
61
+ .sidebar {
62
+ transition: 0.1s ease-in-out;
123
63
 
124
- select {
125
- border: none;
126
- font-weight: 800;
127
- }
128
- }
129
- }
64
+ .ltrs & {
65
+ left: 0;
130
66
  }
131
67
 
132
- svg {
133
- font-size: 1.5em;
134
- cursor: pointer;
68
+ .rtls & {
69
+ right: 0;
135
70
  }
136
71
 
137
72
  .back-button {
138
- text-decoration: none;
139
- cursor: pointer;
140
- }
141
- }
142
-
143
- ul {
144
- list-style: none;
145
- margin: 0;
146
- padding: 0;
147
- }
148
-
149
- .areas {
150
- flex-direction: column;
151
- display: flex;
152
- height: 80%;
153
- padding: 6em 1.5em 1.5em 1.5em;
154
-
155
- &--collapsed {
156
- .area {
157
- height: 1.6em !important;
158
- transition: .1s ease-in-out;
159
-
160
- &--expanded {
161
- height: 1.6em !important;
162
- transition: .1s ease-in-out;
163
-
164
- .area__details {
165
- display: none;
166
- }
167
-
168
- .area__actions {
73
+ position: fixed;
74
+ top: 10em;
75
+ width: 100vw;
76
+ left: 0em;
77
+ background: white;
78
+ padding: 9px;
79
+ border: 1px solid rgba(0, 0, 0, 0.1);
80
+ border-left: 0;
81
+ border-right: 0;
82
+
83
+ &--mobile {
169
84
  display: none;
170
- }
171
85
  }
172
-
173
- .area__details {
174
- display: none;
175
-
176
- .ltrs & {
177
- text-align: left;
178
- }
179
-
180
- .rtls & {
181
- text-align: right;
182
- }
183
- }
184
-
185
- .area__actions {
186
- display: none;
187
- }
188
- }
189
86
  }
87
+ }
190
88
 
191
- .area {
192
- position: relative;
193
- width: 100%;
194
- height: max-content;
195
- box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
196
- border-radius: 0;
197
- text-align: center;
198
- margin: .8em 0;
199
- background: white;
200
- cursor: pointer;
201
- transition: .1s ease-in-out;
202
- user-select: none;
203
-
204
- &:hover {
205
- box-shadow: 0 8px 16px 0 rgba(0,0,0,.15);
206
- transition: 0.2s ease;
207
- }
208
-
209
- &:active {
210
- background: #f2f2f2;
211
- box-shadow: 0 0 0 rgba(0,0,0,.15);
212
- transition: 0.1s ease;
213
- }
214
-
215
- &--mobile {
216
- display: none;
217
- }
218
-
219
- &--expanded {
220
- height: max-content !important;
221
- transition: .1s ease-in-out;
222
-
223
- .area__details {
224
- display: flex;
225
- }
226
-
227
- .area__actions {
228
- display: flex;
229
- }
230
- }
89
+ .zoomed {
90
+ display: none;
91
+ }
231
92
 
232
- &--no_sampling {
233
- .area__header {
234
- background: rgb(187, 187, 187) !important;
235
- }
236
- }
93
+ .areas-container {
94
+ text-align: center;
95
+ height: 100%;
237
96
 
238
- &__header {
239
- font-size: 1.2em;
97
+ .areas-list-header {
98
+ height: 6.5em;
240
99
  display: flex;
100
+ flex-direction: row;
101
+ align-items: center;
241
102
  justify-content: space-between;
242
- padding: 0 3em;
243
-
244
- &--MAJOR {
245
- background: lighten(#F21B3F, 10%);
103
+ position: fixed;
104
+ z-index: 9;
105
+ background: white;
106
+ width: 450px;
107
+ padding: 0 1.5em;
108
+ box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
109
+
110
+ .main {
111
+ display: flex;
112
+ flex-direction: column;
113
+ align-items: baseline;
114
+
115
+ .sort {
116
+ display: flex;
117
+ align-items: center;
118
+
119
+ .form-group {
120
+ margin: 0;
121
+
122
+ select {
123
+ border: none;
124
+ font-weight: 800;
125
+ }
126
+ }
127
+ }
246
128
  }
247
129
 
248
- &--MEDIUM {
249
- background: #ff7a14;
130
+ svg {
131
+ font-size: 1.5em;
132
+ cursor: pointer;
250
133
  }
251
134
 
252
- &--LOW {
253
- background: #ffb114;
135
+ .back-button {
136
+ text-decoration: none;
137
+ cursor: pointer;
254
138
  }
139
+ }
255
140
 
256
- &--CLEAN {
257
- background: #1db232;
258
- }
259
- }
141
+ ul {
142
+ list-style: none;
143
+ margin: 0;
144
+ padding: 0;
145
+ }
260
146
 
261
- &__details {
262
- display: flex;
147
+ .areas {
263
148
  flex-direction: column;
264
- text-align: left;
265
- padding: 1em 3em;
266
- opacity: 1;
267
- transition: .1s ease-in-out;
268
-
269
- .area__detail {
270
- padding: .5em 0;
271
- }
272
- }
273
-
274
- &__actions {
275
149
  display: flex;
276
- justify-content: space-evenly;
277
- padding: 0em 3em 1em 3em;
278
- opacity: 1;
279
- transition: .1s ease-in-out;
280
-
281
- a {
282
- padding: 5px;
283
-
284
- &:hover {
285
- background: rgba(0,0,0,.05)
286
- }
150
+ height: 100%;
151
+ padding: 6em 1.5em 1.5em 1.5em;
152
+ overflow: scroll;
153
+
154
+ &--collapsed {
155
+ .area {
156
+ height: 1.6em !important;
157
+ transition: 0.1s ease-in-out;
158
+
159
+ &--expanded {
160
+ height: 1.6em !important;
161
+ transition: 0.1s ease-in-out;
162
+
163
+ .area__details {
164
+ display: none;
165
+ }
166
+
167
+ .area__actions {
168
+ display: none;
169
+ }
170
+ }
171
+
172
+ .area__details {
173
+ display: none;
174
+
175
+ .ltrs & {
176
+ text-align: left;
177
+ }
178
+
179
+ .rtls & {
180
+ text-align: right;
181
+ }
182
+ }
183
+
184
+ .area__actions {
185
+ display: none;
186
+ }
187
+ }
287
188
  }
288
189
 
289
- .divider {
290
- width: 1px;
291
- background: rgba(0,0,0,.5);
190
+ .area {
191
+ position: relative;
192
+ width: 100%;
193
+ height: max-content;
194
+ box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
195
+ border-radius: 0;
196
+ text-align: center;
197
+ margin: 0.8em 0;
198
+ background: white;
199
+ cursor: pointer;
200
+ transition: 0.1s ease-in-out;
201
+ user-select: none;
202
+
203
+ &:hover {
204
+ box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.15);
205
+ transition: 0.2s ease;
206
+ }
207
+
208
+ &:active {
209
+ background: #f2f2f2;
210
+ box-shadow: 0 0 0 rgba(0, 0, 0, 0.15);
211
+ transition: 0.1s ease;
212
+ }
213
+
214
+ &--mobile {
215
+ display: none;
216
+ }
217
+
218
+ &--expanded {
219
+ height: max-content !important;
220
+ transition: 0.1s ease-in-out;
221
+
222
+ .area__details {
223
+ display: flex;
224
+ }
225
+
226
+ .area__actions {
227
+ display: flex;
228
+ }
229
+ }
230
+
231
+ &--no_sampling {
232
+ .area__header {
233
+ background: rgb(187, 187, 187) !important;
234
+ }
235
+ }
236
+
237
+ &__header {
238
+ font-size: 1.2em;
239
+ display: flex;
240
+ justify-content: space-between;
241
+ padding: 0 3em;
242
+
243
+ &--MAJOR {
244
+ background: lighten(#f21b3f, 10%);
245
+ }
246
+
247
+ &--MEDIUM {
248
+ background: #ff7a14;
249
+ }
250
+
251
+ &--LOW {
252
+ background: #ffb114;
253
+ }
254
+
255
+ &--CLEAN {
256
+ background: #1db232;
257
+ }
258
+ }
259
+
260
+ &__details {
261
+ display: flex;
262
+ flex-direction: column;
263
+ text-align: left;
264
+ padding: 1em 3em;
265
+ opacity: 1;
266
+ transition: 0.1s ease-in-out;
267
+
268
+ .area__detail {
269
+ padding: 0.5em 0;
270
+ }
271
+ }
272
+
273
+ &__actions {
274
+ display: flex;
275
+ justify-content: space-evenly;
276
+ padding: 0em 3em 1em 3em;
277
+ opacity: 1;
278
+ transition: 0.1s ease-in-out;
279
+
280
+ a {
281
+ padding: 5px;
282
+
283
+ &:hover {
284
+ background: rgba(0, 0, 0, 0.05);
285
+ }
286
+ }
287
+
288
+ .divider {
289
+ width: 1px;
290
+ background: rgba(0, 0, 0, 0.5);
291
+ }
292
+ }
292
293
  }
293
- }
294
294
  }
295
- }
296
295
  }
297
296
 
298
297
  .truncated-text {
299
- padding: 2px;
300
- border-radius: 3px;
301
- text-align: center;
302
- text-overflow: ellipsis;
303
- width: 8em;
304
- margin: 0;
305
- font-size: 1em;
306
- overflow: hidden !important;
307
-
308
- b {
309
- white-space: nowrap;
298
+ padding: 2px;
299
+ border-radius: 3px;
300
+ text-align: center;
310
301
  text-overflow: ellipsis;
311
- }
312
- }
302
+ width: 8em;
303
+ margin: 0;
304
+ font-size: 1em;
305
+ overflow: hidden !important;
306
+
307
+ b {
308
+ white-space: nowrap;
309
+ text-overflow: ellipsis;
310
+ }
311
+ }