@appscode/design-system 2.0.45 → 2.0.47
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
|
@@ -5,6 +5,7 @@ interface Props {
|
|
|
5
5
|
brandLogo?: string;
|
|
6
6
|
brandLogoAlt?: string;
|
|
7
7
|
url?: string;
|
|
8
|
+
productName?: string;
|
|
8
9
|
modifierClasses?: string;
|
|
9
10
|
hideCollapseButton?: boolean;
|
|
10
11
|
}
|
|
@@ -13,6 +14,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
13
14
|
brandLogo: "https://via.placeholder.com/150x35/dddddd/808080",
|
|
14
15
|
brandLogoAlt: "",
|
|
15
16
|
url: "/",
|
|
17
|
+
productName: "console.",
|
|
16
18
|
modifierClasses: "",
|
|
17
19
|
hideCollapseButton: false,
|
|
18
20
|
});
|
|
@@ -63,17 +65,32 @@ withDefaults(defineProps<Props>(), {
|
|
|
63
65
|
<img :src="brandLogo" alt="brand-logo" :class="modifierClasses" />
|
|
64
66
|
</router-link>
|
|
65
67
|
<!-- brand logo -->
|
|
68
|
+
|
|
69
|
+
<!-- brand logo -->
|
|
70
|
+
<span class="brand-tag">{{ productName }}</span>
|
|
71
|
+
<!-- brand logo -->
|
|
66
72
|
</div>
|
|
67
73
|
</template>
|
|
68
74
|
|
|
69
75
|
<style lang="scss" scoped>
|
|
76
|
+
.brand-tag {
|
|
77
|
+
color: $color-sidebar;
|
|
78
|
+
font-weight: 600;
|
|
79
|
+
font-size: 14px;
|
|
80
|
+
background-color: $white-100;
|
|
81
|
+
border-radius: 2px;
|
|
82
|
+
margin-left: 4px;
|
|
83
|
+
padding: 2px 4px;
|
|
84
|
+
}
|
|
70
85
|
.sidebar-collapsed:not(.is-hoverable) .ac-left-sidebar-wrapper {
|
|
71
86
|
.brand-logo {
|
|
72
87
|
display: none !important;
|
|
73
88
|
}
|
|
89
|
+
|
|
74
90
|
.sidebar-header {
|
|
75
91
|
justify-content: center;
|
|
76
92
|
padding: 10px;
|
|
93
|
+
|
|
77
94
|
.hamburger-icon {
|
|
78
95
|
margin-right: 0 !important;
|
|
79
96
|
}
|
|
@@ -99,6 +116,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
99
116
|
align-items: center;
|
|
100
117
|
justify-content: center;
|
|
101
118
|
border-radius: 50%;
|
|
119
|
+
|
|
102
120
|
&::after {
|
|
103
121
|
position: absolute;
|
|
104
122
|
content: "";
|
|
@@ -120,9 +138,11 @@ withDefaults(defineProps<Props>(), {
|
|
|
120
138
|
}
|
|
121
139
|
}
|
|
122
140
|
}
|
|
141
|
+
|
|
123
142
|
.brand-logo {
|
|
124
143
|
display: flex;
|
|
125
144
|
align-items: center;
|
|
145
|
+
|
|
126
146
|
img {
|
|
127
147
|
height: 30px;
|
|
128
148
|
}
|