@appscode/design-system 2.0.6-alpha.1 → 2.0.6-alpha.2
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
CHANGED
|
@@ -1,15 +1,65 @@
|
|
|
1
1
|
// menu content
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
|
|
3
5
|
.ac-menu-item {
|
|
6
|
+
.ac-nav-button {
|
|
7
|
+
width: 32px;
|
|
8
|
+
height: 32px;
|
|
9
|
+
border-radius: 50%;
|
|
10
|
+
padding: 5px;
|
|
11
|
+
transition: all 0.3s ease-in-out;
|
|
12
|
+
position: relative;
|
|
13
|
+
z-index: 99;
|
|
14
|
+
user-select: none;
|
|
15
|
+
border: 1px solid $primary-80;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
|
|
18
|
+
&:after {
|
|
19
|
+
position: absolute;
|
|
20
|
+
content: "";
|
|
21
|
+
left: 0;
|
|
22
|
+
top: 0;
|
|
23
|
+
opacity: 1;
|
|
24
|
+
z-index: -1;
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
transition: 0.3s ease-in-out;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:focus {
|
|
32
|
+
box-shadow: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
&:after {
|
|
37
|
+
background-color: $primary-90;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
4
41
|
&.ac-profile-button {
|
|
5
42
|
margin-right: 15px;
|
|
6
43
|
button.button.ac-nav-button {
|
|
44
|
+
width: 100%;
|
|
45
|
+
background-color: transparent;
|
|
46
|
+
border-radius: 0;
|
|
47
|
+
font-weight: 500;
|
|
48
|
+
border: none;
|
|
49
|
+
|
|
50
|
+
&::after {
|
|
51
|
+
border-radius: 0;
|
|
52
|
+
border: none;
|
|
53
|
+
background-color: transparent;
|
|
54
|
+
}
|
|
7
55
|
.ac-user-profile {
|
|
8
56
|
width: 32px;
|
|
9
57
|
height: 32px;
|
|
10
58
|
border-radius: 50%;
|
|
11
59
|
overflow: hidden;
|
|
12
60
|
border: 2px solid $primary-90;
|
|
61
|
+
|
|
62
|
+
|
|
13
63
|
}
|
|
14
64
|
i.fa {
|
|
15
65
|
padding-left: 8px;
|
|
@@ -338,6 +388,11 @@
|
|
|
338
388
|
}
|
|
339
389
|
|
|
340
390
|
&.is-active {
|
|
391
|
+
.ac-nav-button {
|
|
392
|
+
&::after {
|
|
393
|
+
background-color: $primary-90;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
341
396
|
.ac-menu-content {
|
|
342
397
|
opacity: 1;
|
|
343
398
|
visibility: visible;
|
|
@@ -355,6 +410,7 @@
|
|
|
355
410
|
transform: rotate(45deg);
|
|
356
411
|
box-shadow: 0px -1px 4px rgba(0, 0, 0, 0.16);
|
|
357
412
|
z-index: -1;
|
|
413
|
+
|
|
358
414
|
}
|
|
359
415
|
}
|
|
360
416
|
}
|
|
@@ -362,6 +418,7 @@
|
|
|
362
418
|
.ac-menu-content {
|
|
363
419
|
&.navbar-dropdown-wrapper {
|
|
364
420
|
position: absolute;
|
|
421
|
+
border-radius: 4px;
|
|
365
422
|
z-index: 99;
|
|
366
423
|
right: 0px;
|
|
367
424
|
top: 40px;
|
|
@@ -36,68 +36,3 @@ onClickOutside(navbarItem, () => (isActive.value = ""));
|
|
|
36
36
|
<slot name="navbar-content" />
|
|
37
37
|
</div>
|
|
38
38
|
</template>
|
|
39
|
-
|
|
40
|
-
<style lang="scss" scoped>
|
|
41
|
-
.ac-menu-item {
|
|
42
|
-
margin-left: 8px;
|
|
43
|
-
position: relative;
|
|
44
|
-
|
|
45
|
-
&.is-active {
|
|
46
|
-
.ac-nav-button {
|
|
47
|
-
&::after {
|
|
48
|
-
background-color: $primary-90;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&:first-child {
|
|
54
|
-
margin-left: 0;
|
|
55
|
-
}
|
|
56
|
-
&.ac-profile-button {
|
|
57
|
-
button.button.ac-nav-button {
|
|
58
|
-
width: 100%;
|
|
59
|
-
background-color: transparent;
|
|
60
|
-
border-radius: 0;
|
|
61
|
-
font-weight: 500;
|
|
62
|
-
border: none;
|
|
63
|
-
&::after {
|
|
64
|
-
border-radius: 0;
|
|
65
|
-
border: none;
|
|
66
|
-
background-color: transparent;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
.ac-nav-button {
|
|
71
|
-
width: 32px;
|
|
72
|
-
height: 32px;
|
|
73
|
-
border-radius: 50%;
|
|
74
|
-
padding: 5px;
|
|
75
|
-
transition: all 0.3s ease-in-out;
|
|
76
|
-
position: relative;
|
|
77
|
-
z-index: 99;
|
|
78
|
-
user-select: none;
|
|
79
|
-
border: 1px solid $primary-80;
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
&:after {
|
|
82
|
-
position: absolute;
|
|
83
|
-
content: "";
|
|
84
|
-
left: 0;
|
|
85
|
-
top: 0;
|
|
86
|
-
opacity: 1;
|
|
87
|
-
z-index: -1;
|
|
88
|
-
width: 100%;
|
|
89
|
-
height: 100%;
|
|
90
|
-
border-radius: 50%;
|
|
91
|
-
transition: 0.3s ease-in-out;
|
|
92
|
-
}
|
|
93
|
-
&:focus {
|
|
94
|
-
box-shadow: none;
|
|
95
|
-
}
|
|
96
|
-
&:hover {
|
|
97
|
-
&:after {
|
|
98
|
-
background-color: $primary-90;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
</style>
|