@appscode/design-system 2.0.5-alpha.2 → 2.0.6-alpha.1
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.
- package/package.json +1 -1
- package/vue-components/styles/components/_all.scss +1 -0
- package/vue-components/styles/components/_menu-content.scss +470 -0
- package/vue-components/styles/components/_navbar.scss +2 -0
- package/vue-components/v3/button/Button.vue +1 -0
- package/vue-components/v3/content/ContentHeader.vue +1 -1
- package/vue-components/v3/content/ContentLayout.vue +1 -1
- package/vue-components/v3/navbar/Appdrawer.vue +1 -121
- package/vue-components/v3/navbar/Navbar.vue +1 -3
- package/vue-components/v3/navbar/NavbarItemContent.vue +0 -275
- package/vue-components/v3/navbar/User.vue +5 -170
- package/vue-components/v3/sidebar/SidebarItem.vue +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
// menu content
|
|
2
|
+
|
|
3
|
+
.ac-menu-item {
|
|
4
|
+
&.ac-profile-button {
|
|
5
|
+
margin-right: 15px;
|
|
6
|
+
button.button.ac-nav-button {
|
|
7
|
+
.ac-user-profile {
|
|
8
|
+
width: 32px;
|
|
9
|
+
height: 32px;
|
|
10
|
+
border-radius: 50%;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
border: 2px solid $primary-90;
|
|
13
|
+
}
|
|
14
|
+
i.fa {
|
|
15
|
+
padding-left: 8px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.ac-menu-content {
|
|
20
|
+
position: absolute;
|
|
21
|
+
right: 0;
|
|
22
|
+
top: 80px;
|
|
23
|
+
min-width: 180px;
|
|
24
|
+
opacity: 0;
|
|
25
|
+
visibility: hidden;
|
|
26
|
+
transition: 0.3s ease-in;
|
|
27
|
+
width: 260px;
|
|
28
|
+
box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
|
|
29
|
+
0 0px 0 1px rgba(10, 10, 10, 0.02);
|
|
30
|
+
|
|
31
|
+
&.quick-access {
|
|
32
|
+
background-color: $white-100;
|
|
33
|
+
padding: 20px;
|
|
34
|
+
min-width: 260px !important;
|
|
35
|
+
max-height: 250px;
|
|
36
|
+
overflow-y: auto;
|
|
37
|
+
border-radius: 4px;
|
|
38
|
+
|
|
39
|
+
.header {
|
|
40
|
+
display: flex;
|
|
41
|
+
justify-content: space-between;
|
|
42
|
+
align-items: center;
|
|
43
|
+
border-bottom: 1px solid $primary-90;
|
|
44
|
+
padding-bottom: 20px;
|
|
45
|
+
|
|
46
|
+
p {
|
|
47
|
+
font-size: 13px;
|
|
48
|
+
color: $primary-10;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
button {
|
|
52
|
+
background-color: transparent;
|
|
53
|
+
border: none;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
color: $primary-20;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.body-content {
|
|
60
|
+
margin-top: 20px;
|
|
61
|
+
|
|
62
|
+
p {
|
|
63
|
+
font-size: 13px;
|
|
64
|
+
color: $primary-10;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.organizations {
|
|
68
|
+
.organization {
|
|
69
|
+
display: flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
justify-content: space-between;
|
|
72
|
+
padding: 5px 0;
|
|
73
|
+
|
|
74
|
+
.org-info {
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
|
|
78
|
+
img {
|
|
79
|
+
max-width: 30px;
|
|
80
|
+
margin-right: 10px;
|
|
81
|
+
object-fit: cover;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.remove {
|
|
86
|
+
border: none;
|
|
87
|
+
padding: 0;
|
|
88
|
+
font-size: 11px;
|
|
89
|
+
color: $danger;
|
|
90
|
+
background-color: transparent;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.is-notification {
|
|
98
|
+
right: 0;
|
|
99
|
+
background-color: $white-100;
|
|
100
|
+
box-shadow: 0px 4px 8px rgba(84, 101, 126, 0.2);
|
|
101
|
+
border-radius: 4px;
|
|
102
|
+
min-width: 330px;
|
|
103
|
+
max-height: 400px;
|
|
104
|
+
overflow-y: auto;
|
|
105
|
+
|
|
106
|
+
.notification-header {
|
|
107
|
+
padding: 20px 20px 6px 20px;
|
|
108
|
+
display: flex;
|
|
109
|
+
justify-content: space-between;
|
|
110
|
+
align-items: baseline;
|
|
111
|
+
|
|
112
|
+
.left-content {
|
|
113
|
+
p {
|
|
114
|
+
font-weight: 500;
|
|
115
|
+
font-size: 13px;
|
|
116
|
+
line-height: 19px;
|
|
117
|
+
margin-bottom: 15px;
|
|
118
|
+
|
|
119
|
+
span {
|
|
120
|
+
font-weight: normal;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.date {
|
|
124
|
+
font-size: 11px;
|
|
125
|
+
line-height: 14px;
|
|
126
|
+
font-weight: normal;
|
|
127
|
+
margin-bottom: 0;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.right-content {
|
|
133
|
+
.button {
|
|
134
|
+
border: none;
|
|
135
|
+
margin: 0;
|
|
136
|
+
padding: 10px;
|
|
137
|
+
font-size: 13px;
|
|
138
|
+
|
|
139
|
+
&.is-active {
|
|
140
|
+
background-color: $primary;
|
|
141
|
+
color: $white-100;
|
|
142
|
+
|
|
143
|
+
img {
|
|
144
|
+
filter: brightness(100);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&:hover {
|
|
149
|
+
background-color: $primary;
|
|
150
|
+
color: $white-100;
|
|
151
|
+
|
|
152
|
+
img {
|
|
153
|
+
filter: brightness(100);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.notification-body {
|
|
161
|
+
.single-notification-item {
|
|
162
|
+
display: block;
|
|
163
|
+
border-top: 1px solid $primary-90;
|
|
164
|
+
padding: 15px 20px;
|
|
165
|
+
font-weight: 500;
|
|
166
|
+
|
|
167
|
+
&.is-complete {
|
|
168
|
+
font-weight: 400;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&:hover {
|
|
172
|
+
background-color: #d1e3f2;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
p {
|
|
176
|
+
color: $primary-10;
|
|
177
|
+
font-size: 11px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.notification-status {
|
|
181
|
+
margin-top: 10px;
|
|
182
|
+
display: flex;
|
|
183
|
+
align-items: center;
|
|
184
|
+
justify-content: space-between;
|
|
185
|
+
|
|
186
|
+
p {
|
|
187
|
+
font-size: 11px;
|
|
188
|
+
color: $primary-20;
|
|
189
|
+
|
|
190
|
+
&.is-success {
|
|
191
|
+
color: $success;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&.is-danger {
|
|
195
|
+
color: $danger;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&.is-warning {
|
|
199
|
+
color: $warning;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.see-all-message {
|
|
207
|
+
border-top: 1px solid $primary-90;
|
|
208
|
+
text-align: center;
|
|
209
|
+
font-weight: 500;
|
|
210
|
+
font-size: 13px;
|
|
211
|
+
color: $primary-10;
|
|
212
|
+
display: block;
|
|
213
|
+
padding: 10px 20px;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
ul {
|
|
218
|
+
background-color: $white-100;
|
|
219
|
+
padding: 0;
|
|
220
|
+
// border-radius: 4px;
|
|
221
|
+
overflow: hidden;
|
|
222
|
+
|
|
223
|
+
li {
|
|
224
|
+
a {
|
|
225
|
+
display: block;
|
|
226
|
+
padding: 8px 15px;
|
|
227
|
+
color: $primary-10;
|
|
228
|
+
transition: 0.3s ease-in-out;
|
|
229
|
+
font-size: 13px;
|
|
230
|
+
|
|
231
|
+
&:hover {
|
|
232
|
+
background-color: $primary-95;
|
|
233
|
+
|
|
234
|
+
p {
|
|
235
|
+
color: $primary !important;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.user-profile-wrapper {
|
|
243
|
+
background-color: $white-100;
|
|
244
|
+
border-radius: 4px;
|
|
245
|
+
border: 1px solid $primary-90;
|
|
246
|
+
|
|
247
|
+
.profile-area {
|
|
248
|
+
display: flex;
|
|
249
|
+
align-items: center;
|
|
250
|
+
border-bottom: 1px solid $primary-90;
|
|
251
|
+
padding: 16px 16px;
|
|
252
|
+
|
|
253
|
+
.profile-photo {
|
|
254
|
+
// width: 50px;
|
|
255
|
+
// height: 50px;
|
|
256
|
+
border-radius: 50%;
|
|
257
|
+
position: relative;
|
|
258
|
+
z-index: 1;
|
|
259
|
+
margin-right: 10px;
|
|
260
|
+
|
|
261
|
+
img {
|
|
262
|
+
border-radius: 50%;
|
|
263
|
+
width: 100%;
|
|
264
|
+
border: 2px solid #d2e7f9;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.camera-icon {
|
|
268
|
+
position: absolute;
|
|
269
|
+
right: -10px;
|
|
270
|
+
top: 0;
|
|
271
|
+
background-color: transparent;
|
|
272
|
+
border: none;
|
|
273
|
+
cursor: pointer;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.profile-info {
|
|
278
|
+
p {
|
|
279
|
+
color: $primary-10;
|
|
280
|
+
font-size: 13px;
|
|
281
|
+
font-weight: 500;
|
|
282
|
+
line-height: 1.3;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
a {
|
|
286
|
+
font-size: 1rem;
|
|
287
|
+
color: $primary-20;
|
|
288
|
+
line-height: 1.3;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.list-items {
|
|
294
|
+
max-height: calc(100vh - 100px);
|
|
295
|
+
overflow-y: auto;
|
|
296
|
+
li {
|
|
297
|
+
&.is-close {
|
|
298
|
+
ul {
|
|
299
|
+
max-height: 0;
|
|
300
|
+
visibility: hidden;
|
|
301
|
+
transition: max-height 0.25s ease-out;
|
|
302
|
+
&.ac-vscrollbar {
|
|
303
|
+
padding: 0;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
&.is-open {
|
|
309
|
+
ul {
|
|
310
|
+
padding: 8px;
|
|
311
|
+
max-height: 200px;
|
|
312
|
+
visibility: visible;
|
|
313
|
+
transition: max-height 0.25s ease-out;
|
|
314
|
+
li {
|
|
315
|
+
padding: 0;
|
|
316
|
+
border: 1px solid $primary-95;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
a {
|
|
321
|
+
padding: 8px 16px;
|
|
322
|
+
font-weight: 500;
|
|
323
|
+
display: block;
|
|
324
|
+
color: $primary-10;
|
|
325
|
+
transition: 0.3s;
|
|
326
|
+
display: flex;
|
|
327
|
+
align-items: center;
|
|
328
|
+
gap: 8px;
|
|
329
|
+
|
|
330
|
+
&:hover {
|
|
331
|
+
background-color: $primary-97;
|
|
332
|
+
color: $primary;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
&.is-active {
|
|
341
|
+
.ac-menu-content {
|
|
342
|
+
opacity: 1;
|
|
343
|
+
visibility: visible;
|
|
344
|
+
top: 35px;
|
|
345
|
+
z-index: 99;
|
|
346
|
+
|
|
347
|
+
&::after {
|
|
348
|
+
position: absolute;
|
|
349
|
+
content: "";
|
|
350
|
+
right: 38px;
|
|
351
|
+
top: -6px;
|
|
352
|
+
background-color: $white-100;
|
|
353
|
+
width: 15px;
|
|
354
|
+
height: 15px;
|
|
355
|
+
transform: rotate(45deg);
|
|
356
|
+
box-shadow: 0px -1px 4px rgba(0, 0, 0, 0.16);
|
|
357
|
+
z-index: -1;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.ac-menu-content {
|
|
363
|
+
&.navbar-dropdown-wrapper {
|
|
364
|
+
position: absolute;
|
|
365
|
+
z-index: 99;
|
|
366
|
+
right: 0px;
|
|
367
|
+
top: 40px;
|
|
368
|
+
display: block;
|
|
369
|
+
transition: all 0.3s ease-in-out;
|
|
370
|
+
ul.app-drawer {
|
|
371
|
+
border-radius: 4px;
|
|
372
|
+
overflow: hidden;
|
|
373
|
+
background-color: $white-100;
|
|
374
|
+
border: 1px solid $primary-90;
|
|
375
|
+
// box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.16);
|
|
376
|
+
max-height: calc(100vh - 100px);
|
|
377
|
+
overflow-y: auto;
|
|
378
|
+
|
|
379
|
+
li {
|
|
380
|
+
display: block;
|
|
381
|
+
font-size: 13px;
|
|
382
|
+
a {
|
|
383
|
+
display: block;
|
|
384
|
+
color: $primary-10 !important;
|
|
385
|
+
padding: 10px 20px !important;
|
|
386
|
+
font-size: 13px !important;
|
|
387
|
+
transition: 0.2s;
|
|
388
|
+
border-bottom: 1px solid $primary-90;
|
|
389
|
+
|
|
390
|
+
&:hover {
|
|
391
|
+
background-color: $primary-97 !important;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
span {
|
|
395
|
+
margin-top: -3px;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
&:hover {
|
|
399
|
+
.media-content {
|
|
400
|
+
.content {
|
|
401
|
+
p {
|
|
402
|
+
color: $primary-20;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.media {
|
|
409
|
+
.media-left {
|
|
410
|
+
.image {
|
|
411
|
+
img {
|
|
412
|
+
height: 24px;
|
|
413
|
+
width: auto;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.media-content {
|
|
419
|
+
overflow: hidden;
|
|
420
|
+
|
|
421
|
+
.content {
|
|
422
|
+
p {
|
|
423
|
+
vertical-align: middle;
|
|
424
|
+
line-height: 1;
|
|
425
|
+
transition: 0.3s;
|
|
426
|
+
|
|
427
|
+
strong {
|
|
428
|
+
font-weight: 600;
|
|
429
|
+
font-size: 14px;
|
|
430
|
+
// font-family: $font-heading;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
span {
|
|
434
|
+
display: block;
|
|
435
|
+
font-size: 13px;
|
|
436
|
+
margin-top: 4px;
|
|
437
|
+
line-height: 150%;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
&:hover {
|
|
446
|
+
> a {
|
|
447
|
+
background-color: $white-100;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
&:first-child {
|
|
452
|
+
&:hover {
|
|
453
|
+
> a {
|
|
454
|
+
border-radius: 4px 4px 0 0;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
&:last-child {
|
|
460
|
+
&:hover {
|
|
461
|
+
> a {
|
|
462
|
+
border-radius: 0 0 4px 4px;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
@@ -36,7 +36,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
36
36
|
<!-- header left end -->
|
|
37
37
|
|
|
38
38
|
<!-- header right start -->
|
|
39
|
-
<div class="ac-cheader-right">
|
|
39
|
+
<div class="ac-cheader-right" data-testid="ac-right-header-content">
|
|
40
40
|
<!-- your feedom content start here -->
|
|
41
41
|
<header-items>
|
|
42
42
|
<slot />
|
|
@@ -63,7 +63,7 @@ const NavbarItemContent = defineAsyncComponent(
|
|
|
63
63
|
</template>
|
|
64
64
|
<template #navbar-content>
|
|
65
65
|
<navbar-item-content class="navbar-dropdown-wrapper" style="right: -30px">
|
|
66
|
-
<ul class="ac-scrollbar p-0">
|
|
66
|
+
<ul class="ac-scrollbar p-0 app-drawer">
|
|
67
67
|
<li v-for="app in apps" :key="app.url">
|
|
68
68
|
<a :href="app.url">
|
|
69
69
|
<article class="media">
|
|
@@ -88,123 +88,3 @@ const NavbarItemContent = defineAsyncComponent(
|
|
|
88
88
|
</template>
|
|
89
89
|
</navbar-item>
|
|
90
90
|
</template>
|
|
91
|
-
|
|
92
|
-
<style lang="scss" scoped>
|
|
93
|
-
.ac-menu-content.app-drawer-dropdown {
|
|
94
|
-
li {
|
|
95
|
-
border-bottom: 1px solid $primary-90;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.ac-menu-content {
|
|
100
|
-
ul {
|
|
101
|
-
border-radius: 4px;
|
|
102
|
-
overflow: hidden;
|
|
103
|
-
background-color: $white-100;
|
|
104
|
-
border: 1px solid $primary-90;
|
|
105
|
-
// box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.16);
|
|
106
|
-
max-height: calc(100vh - 100px);
|
|
107
|
-
overflow-y: auto;
|
|
108
|
-
|
|
109
|
-
li {
|
|
110
|
-
display: block;
|
|
111
|
-
font-size: 13px;
|
|
112
|
-
a {
|
|
113
|
-
display: block;
|
|
114
|
-
color: $primary-10 !important;
|
|
115
|
-
padding: 10px 20px !important;
|
|
116
|
-
font-size: 13px !important;
|
|
117
|
-
transition: 0.2s;
|
|
118
|
-
border-bottom: 1px solid $primary-90;
|
|
119
|
-
|
|
120
|
-
&:hover {
|
|
121
|
-
background-color: $primary-97 !important;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
span {
|
|
125
|
-
margin-top: -3px;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&:hover {
|
|
129
|
-
.media-content {
|
|
130
|
-
.content {
|
|
131
|
-
p {
|
|
132
|
-
color: $primary-20;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.media {
|
|
139
|
-
.media-left {
|
|
140
|
-
.image {
|
|
141
|
-
img {
|
|
142
|
-
height: 24px;
|
|
143
|
-
width: auto;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.media-content {
|
|
149
|
-
overflow: hidden;
|
|
150
|
-
|
|
151
|
-
.content {
|
|
152
|
-
p {
|
|
153
|
-
vertical-align: middle;
|
|
154
|
-
line-height: 1;
|
|
155
|
-
transition: 0.3s;
|
|
156
|
-
|
|
157
|
-
strong {
|
|
158
|
-
font-weight: 600;
|
|
159
|
-
font-size: 14px;
|
|
160
|
-
// font-family: $font-heading;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
span {
|
|
164
|
-
display: block;
|
|
165
|
-
font-size: 13px;
|
|
166
|
-
margin-top: 4px;
|
|
167
|
-
line-height: 150%;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
&:hover {
|
|
176
|
-
> a {
|
|
177
|
-
background-color: $white-100;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
&:first-child {
|
|
182
|
-
&:hover {
|
|
183
|
-
> a {
|
|
184
|
-
border-radius: 4px 4px 0 0;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
&:last-child {
|
|
190
|
-
&:hover {
|
|
191
|
-
> a {
|
|
192
|
-
border-radius: 0 0 4px 4px;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
position: absolute;
|
|
200
|
-
z-index: 99;
|
|
201
|
-
right: -154px;
|
|
202
|
-
top: 50px;
|
|
203
|
-
display: block;
|
|
204
|
-
transition: all 0.3s ease-in-out;
|
|
205
|
-
|
|
206
|
-
hr {
|
|
207
|
-
margin: 0;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
</style>
|
|
@@ -5,278 +5,3 @@
|
|
|
5
5
|
<slot />
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
8
|
-
|
|
9
|
-
<style lang="scss" scoped>
|
|
10
|
-
.ac-menu-content {
|
|
11
|
-
position: absolute;
|
|
12
|
-
right: 0;
|
|
13
|
-
top: 80px;
|
|
14
|
-
min-width: 180px;
|
|
15
|
-
opacity: 0;
|
|
16
|
-
visibility: hidden;
|
|
17
|
-
transition: 0.3s ease-in;
|
|
18
|
-
width: 260px;
|
|
19
|
-
box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
|
|
20
|
-
0 0px 0 1px rgba(10, 10, 10, 0.02);
|
|
21
|
-
|
|
22
|
-
&.quick-access {
|
|
23
|
-
background-color: $white-100;
|
|
24
|
-
padding: 20px;
|
|
25
|
-
min-width: 260px !important;
|
|
26
|
-
max-height: 250px;
|
|
27
|
-
overflow-y: auto;
|
|
28
|
-
border-radius: 4px;
|
|
29
|
-
|
|
30
|
-
.header {
|
|
31
|
-
display: flex;
|
|
32
|
-
justify-content: space-between;
|
|
33
|
-
align-items: center;
|
|
34
|
-
border-bottom: 1px solid $primary-90;
|
|
35
|
-
padding-bottom: 20px;
|
|
36
|
-
|
|
37
|
-
p {
|
|
38
|
-
font-size: 13px;
|
|
39
|
-
color: $primary-10;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
button {
|
|
43
|
-
background-color: transparent;
|
|
44
|
-
border: none;
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
color: $primary-20;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.body-content {
|
|
51
|
-
margin-top: 20px;
|
|
52
|
-
|
|
53
|
-
p {
|
|
54
|
-
font-size: 13px;
|
|
55
|
-
color: $primary-10;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.organizations {
|
|
59
|
-
.organization {
|
|
60
|
-
display: flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
justify-content: space-between;
|
|
63
|
-
padding: 5px 0;
|
|
64
|
-
|
|
65
|
-
.org-info {
|
|
66
|
-
display: flex;
|
|
67
|
-
align-items: center;
|
|
68
|
-
|
|
69
|
-
img {
|
|
70
|
-
max-width: 30px;
|
|
71
|
-
margin-right: 10px;
|
|
72
|
-
object-fit: cover;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.remove {
|
|
77
|
-
border: none;
|
|
78
|
-
padding: 0;
|
|
79
|
-
font-size: 11px;
|
|
80
|
-
color: $danger;
|
|
81
|
-
background-color: transparent;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&::-webkit-scrollbar {
|
|
89
|
-
width: 7px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/* Track */
|
|
93
|
-
&::-webkit-scrollbar-track {
|
|
94
|
-
background-color: #d1d4de;
|
|
95
|
-
border-radius: 10px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/* Handle */
|
|
99
|
-
&::-webkit-scrollbar-thumb {
|
|
100
|
-
background-color: $primary-80;
|
|
101
|
-
border-radius: 10px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/* Handle on hover */
|
|
105
|
-
&::-webkit-scrollbar-thumb:hover {
|
|
106
|
-
background-color: $primary-80;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// &:last-child {
|
|
110
|
-
// right: 0;
|
|
111
|
-
// }
|
|
112
|
-
|
|
113
|
-
&.is-notification {
|
|
114
|
-
right: 0;
|
|
115
|
-
background-color: $white-100;
|
|
116
|
-
box-shadow: 0px 4px 8px rgba(84, 101, 126, 0.2);
|
|
117
|
-
border-radius: 4px;
|
|
118
|
-
min-width: 330px;
|
|
119
|
-
max-height: 400px;
|
|
120
|
-
overflow-y: auto;
|
|
121
|
-
|
|
122
|
-
.notification-header {
|
|
123
|
-
padding: 20px 20px 6px 20px;
|
|
124
|
-
display: flex;
|
|
125
|
-
justify-content: space-between;
|
|
126
|
-
align-items: baseline;
|
|
127
|
-
|
|
128
|
-
.left-content {
|
|
129
|
-
p {
|
|
130
|
-
font-weight: 500;
|
|
131
|
-
font-size: 13px;
|
|
132
|
-
line-height: 19px;
|
|
133
|
-
margin-bottom: 15px;
|
|
134
|
-
|
|
135
|
-
span {
|
|
136
|
-
font-weight: normal;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&.date {
|
|
140
|
-
font-size: 11px;
|
|
141
|
-
line-height: 14px;
|
|
142
|
-
font-weight: normal;
|
|
143
|
-
margin-bottom: 0;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.right-content {
|
|
149
|
-
.button {
|
|
150
|
-
border: none;
|
|
151
|
-
margin: 0;
|
|
152
|
-
padding: 10px;
|
|
153
|
-
font-size: 13px;
|
|
154
|
-
|
|
155
|
-
&.is-active {
|
|
156
|
-
background-color: $primary;
|
|
157
|
-
color: $white-100;
|
|
158
|
-
|
|
159
|
-
img {
|
|
160
|
-
filter: brightness(100);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&:hover {
|
|
165
|
-
background-color: $primary;
|
|
166
|
-
color: $white-100;
|
|
167
|
-
|
|
168
|
-
img {
|
|
169
|
-
filter: brightness(100);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.notification-body {
|
|
177
|
-
.single-notification-item {
|
|
178
|
-
display: block;
|
|
179
|
-
border-top: 1px solid $primary-90;
|
|
180
|
-
padding: 15px 20px;
|
|
181
|
-
font-weight: 500;
|
|
182
|
-
|
|
183
|
-
&.is-complete {
|
|
184
|
-
font-weight: 400;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
&:hover {
|
|
188
|
-
background-color: #d1e3f2;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
p {
|
|
192
|
-
color: $primary-10;
|
|
193
|
-
font-size: 11px;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.notification-status {
|
|
197
|
-
margin-top: 10px;
|
|
198
|
-
display: flex;
|
|
199
|
-
align-items: center;
|
|
200
|
-
justify-content: space-between;
|
|
201
|
-
|
|
202
|
-
p {
|
|
203
|
-
font-size: 11px;
|
|
204
|
-
color: $primary-20;
|
|
205
|
-
|
|
206
|
-
&.is-success {
|
|
207
|
-
color: $success;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
&.is-danger {
|
|
211
|
-
color: $danger;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
&.is-warning {
|
|
215
|
-
color: $warning;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.see-all-message {
|
|
223
|
-
border-top: 1px solid $primary-90;
|
|
224
|
-
text-align: center;
|
|
225
|
-
font-weight: 500;
|
|
226
|
-
font-size: 13px;
|
|
227
|
-
color: $primary-10;
|
|
228
|
-
display: block;
|
|
229
|
-
padding: 10px 20px;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
ul {
|
|
234
|
-
background-color: $white-100;
|
|
235
|
-
padding: 0;
|
|
236
|
-
// border-radius: 4px;
|
|
237
|
-
overflow: hidden;
|
|
238
|
-
|
|
239
|
-
li {
|
|
240
|
-
a {
|
|
241
|
-
display: block;
|
|
242
|
-
padding: 8px 15px;
|
|
243
|
-
color: $primary-10;
|
|
244
|
-
transition: 0.3s ease-in-out;
|
|
245
|
-
font-size: 13px;
|
|
246
|
-
|
|
247
|
-
&:hover {
|
|
248
|
-
background-color: $primary-95;
|
|
249
|
-
|
|
250
|
-
p {
|
|
251
|
-
color: $primary !important;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.ac-menu-item {
|
|
260
|
-
&.is-active {
|
|
261
|
-
.ac-menu-content {
|
|
262
|
-
opacity: 1;
|
|
263
|
-
visibility: visible;
|
|
264
|
-
top: 35px;
|
|
265
|
-
z-index: 99;
|
|
266
|
-
|
|
267
|
-
&::after {
|
|
268
|
-
position: absolute;
|
|
269
|
-
content: "";
|
|
270
|
-
right: 38px;
|
|
271
|
-
top: -6px;
|
|
272
|
-
background-color: $white-100;
|
|
273
|
-
width: 15px;
|
|
274
|
-
height: 15px;
|
|
275
|
-
transform: rotate(45deg);
|
|
276
|
-
box-shadow: 0px -1px 4px rgba(0, 0, 0, 0.16);
|
|
277
|
-
z-index: -1;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
</style>
|
|
@@ -147,7 +147,11 @@ watch(dropDownStatus, (n) => {
|
|
|
147
147
|
</div>
|
|
148
148
|
</div>
|
|
149
149
|
</a>
|
|
150
|
-
<transition-group
|
|
150
|
+
<transition-group
|
|
151
|
+
name="list"
|
|
152
|
+
tag="ul"
|
|
153
|
+
class="list-items ac-scrollbar py-2"
|
|
154
|
+
>
|
|
151
155
|
<li key="settings" v-if="serverDomain !== pathName">
|
|
152
156
|
<a
|
|
153
157
|
v-if="user.isPersonalAccount"
|
|
@@ -280,172 +284,3 @@ watch(dropDownStatus, (n) => {
|
|
|
280
284
|
</template>
|
|
281
285
|
</navbar-item>
|
|
282
286
|
</template>
|
|
283
|
-
|
|
284
|
-
<style lang="scss" scoped>
|
|
285
|
-
.ac-vscrollbar {
|
|
286
|
-
overflow: auto !important;
|
|
287
|
-
}
|
|
288
|
-
.line-break-anywhere {
|
|
289
|
-
line-break: anywhere;
|
|
290
|
-
}
|
|
291
|
-
.navbar-dropdown-wrapper {
|
|
292
|
-
width: 240px;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.user-profile-wrapper {
|
|
296
|
-
background-color: $white-100;
|
|
297
|
-
border-radius: 4px;
|
|
298
|
-
border: 1px solid $primary-90;
|
|
299
|
-
|
|
300
|
-
.profile-area {
|
|
301
|
-
display: flex;
|
|
302
|
-
align-items: center;
|
|
303
|
-
border-bottom: 1px solid $primary-90;
|
|
304
|
-
padding: 16px 16px;
|
|
305
|
-
|
|
306
|
-
.profile-photo {
|
|
307
|
-
// width: 50px;
|
|
308
|
-
// height: 50px;
|
|
309
|
-
border-radius: 50%;
|
|
310
|
-
position: relative;
|
|
311
|
-
z-index: 1;
|
|
312
|
-
margin-right: 10px;
|
|
313
|
-
|
|
314
|
-
img {
|
|
315
|
-
border-radius: 50%;
|
|
316
|
-
width: 100%;
|
|
317
|
-
border: 2px solid #d2e7f9;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.camera-icon {
|
|
321
|
-
position: absolute;
|
|
322
|
-
right: -10px;
|
|
323
|
-
top: 0;
|
|
324
|
-
background-color: transparent;
|
|
325
|
-
border: none;
|
|
326
|
-
cursor: pointer;
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.profile-info {
|
|
331
|
-
p {
|
|
332
|
-
color: $primary-10;
|
|
333
|
-
font-size: 13px;
|
|
334
|
-
font-weight: 500;
|
|
335
|
-
line-height: 1.3;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
a {
|
|
339
|
-
font-size: 1rem;
|
|
340
|
-
color: $primary-20;
|
|
341
|
-
line-height: 1.3;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
.list-items {
|
|
346
|
-
max-height: calc(100vh - 100px);
|
|
347
|
-
overflow-y: auto;
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
.ac-menu-item {
|
|
352
|
-
&.ac-profile-button {
|
|
353
|
-
margin-right: 15px;
|
|
354
|
-
button.button.ac-nav-button {
|
|
355
|
-
.ac-user-profile {
|
|
356
|
-
width: 32px;
|
|
357
|
-
height: 32px;
|
|
358
|
-
border-radius: 50%;
|
|
359
|
-
overflow: hidden;
|
|
360
|
-
border: 2px solid $primary-90;
|
|
361
|
-
}
|
|
362
|
-
i.fa {
|
|
363
|
-
padding-left: 8px;
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
.list-items {
|
|
370
|
-
li {
|
|
371
|
-
&.is-close {
|
|
372
|
-
ul {
|
|
373
|
-
max-height: 0;
|
|
374
|
-
visibility: hidden;
|
|
375
|
-
transition: max-height 0.25s ease-out;
|
|
376
|
-
&.ac-vscrollbar {
|
|
377
|
-
padding: 0;
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
&.is-open {
|
|
383
|
-
ul {
|
|
384
|
-
padding: 8px;
|
|
385
|
-
max-height: 200px;
|
|
386
|
-
visibility: visible;
|
|
387
|
-
transition: max-height 0.25s ease-out;
|
|
388
|
-
li {
|
|
389
|
-
padding: 0;
|
|
390
|
-
border: 1px solid $primary-95;
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
a {
|
|
395
|
-
padding: 8px 16px;
|
|
396
|
-
font-weight: 500;
|
|
397
|
-
display: block;
|
|
398
|
-
color: $primary-10;
|
|
399
|
-
transition: 0.3s;
|
|
400
|
-
display: flex;
|
|
401
|
-
align-items: center;
|
|
402
|
-
gap: 8px;
|
|
403
|
-
|
|
404
|
-
&:hover {
|
|
405
|
-
background-color: $primary-97;
|
|
406
|
-
color: $primary;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
.ac-menu-item {
|
|
412
|
-
.is-fullwidth {
|
|
413
|
-
width: 100%;
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
.ac-nav-button {
|
|
417
|
-
background-color: transparent;
|
|
418
|
-
border: none;
|
|
419
|
-
color: $primary-80;
|
|
420
|
-
padding: 0 14px;
|
|
421
|
-
margin-left: 15px;
|
|
422
|
-
|
|
423
|
-
// &.ac-profile-button {
|
|
424
|
-
// color: $primary-10;
|
|
425
|
-
// font-weight: 500;
|
|
426
|
-
// }
|
|
427
|
-
|
|
428
|
-
&:last-child {
|
|
429
|
-
margin-left: 0;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
span {
|
|
433
|
-
position: absolute;
|
|
434
|
-
top: 5px;
|
|
435
|
-
right: 5px;
|
|
436
|
-
width: 15px;
|
|
437
|
-
height: 15px;
|
|
438
|
-
background-color: $white-100;
|
|
439
|
-
font-size: 12px;
|
|
440
|
-
line-height: 15px;
|
|
441
|
-
border-radius: 50%;
|
|
442
|
-
color: $primary;
|
|
443
|
-
z-index: 9;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
&:focus {
|
|
447
|
-
outline: none;
|
|
448
|
-
box-shadow: none !important;
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
</style>
|