vira 31.6.2 → 31.7.0
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.
|
@@ -65,17 +65,18 @@ export const ViraTabs = defineViraElement()({
|
|
|
65
65
|
styles: ({ hostClasses, cssVars }) => {
|
|
66
66
|
return css `
|
|
67
67
|
:host {
|
|
68
|
-
display:
|
|
68
|
+
display: flex;
|
|
69
69
|
box-sizing: border-box;
|
|
70
70
|
${noUserSelect};
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
width: 100%;
|
|
72
|
+
height: 100%;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.tabs-container {
|
|
76
76
|
display: flex;
|
|
77
77
|
position: relative;
|
|
78
78
|
list-style: none;
|
|
79
|
+
overflow: hidden;
|
|
79
80
|
margin: 0;
|
|
80
81
|
padding: 0;
|
|
81
82
|
}
|
|
@@ -134,6 +135,11 @@ export const ViraTabs = defineViraElement()({
|
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
${hostClasses['vira-tabs-bar-bottom'].selector} {
|
|
138
|
+
& .tabs-container {
|
|
139
|
+
border-bottom: 1px solid
|
|
140
|
+
${viraTheme.colors['vira-grey-foreground-decoration'].foreground.value};
|
|
141
|
+
}
|
|
142
|
+
|
|
137
143
|
& li::after {
|
|
138
144
|
bottom: 0;
|
|
139
145
|
left: 0;
|
|
@@ -145,6 +151,11 @@ export const ViraTabs = defineViraElement()({
|
|
|
145
151
|
}
|
|
146
152
|
|
|
147
153
|
${hostClasses['vira-tabs-bar-top'].selector} {
|
|
154
|
+
& .tabs-container {
|
|
155
|
+
border-top: 1px solid
|
|
156
|
+
${viraTheme.colors['vira-grey-foreground-decoration'].foreground.value};
|
|
157
|
+
}
|
|
158
|
+
|
|
148
159
|
& li::after {
|
|
149
160
|
top: 0;
|
|
150
161
|
left: 0;
|
|
@@ -156,6 +167,11 @@ export const ViraTabs = defineViraElement()({
|
|
|
156
167
|
}
|
|
157
168
|
|
|
158
169
|
${hostClasses['vira-tabs-bar-left'].selector} {
|
|
170
|
+
& .tabs-container {
|
|
171
|
+
border-left: 1px solid
|
|
172
|
+
${viraTheme.colors['vira-grey-foreground-decoration'].foreground.value};
|
|
173
|
+
}
|
|
174
|
+
|
|
159
175
|
& li::after {
|
|
160
176
|
top: 0;
|
|
161
177
|
bottom: 0;
|
|
@@ -167,6 +183,11 @@ export const ViraTabs = defineViraElement()({
|
|
|
167
183
|
}
|
|
168
184
|
|
|
169
185
|
${hostClasses['vira-tabs-bar-right'].selector} {
|
|
186
|
+
& .tabs-container {
|
|
187
|
+
border-right: 1px solid
|
|
188
|
+
${viraTheme.colors['vira-grey-foreground-decoration'].foreground.value};
|
|
189
|
+
}
|
|
190
|
+
|
|
170
191
|
& li::after {
|
|
171
192
|
top: 0;
|
|
172
193
|
bottom: 0;
|