@splendidlabz/styles 4.6.8 → 4.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.
- package/package.json +1 -1
- package/src/components/svelte/tabs.css +34 -30
package/package.json
CHANGED
|
@@ -30,6 +30,40 @@
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
@utility tablist-top {
|
|
34
|
+
--placement: top;
|
|
35
|
+
--scrollbar-width: none;
|
|
36
|
+
--scrollbar-size: 0px;
|
|
37
|
+
max-width: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@layer components {
|
|
41
|
+
/*********************
|
|
42
|
+
* Tab placements *
|
|
43
|
+
*********************/
|
|
44
|
+
|
|
45
|
+
/* Top */
|
|
46
|
+
|
|
47
|
+
/* Left and Right */
|
|
48
|
+
:is(.tablist-left, .tablist-right) {
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-flow: column nowrap;
|
|
51
|
+
|
|
52
|
+
:where(.tab) {
|
|
53
|
+
align-self: stretch;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.tablist-left {
|
|
58
|
+
--placement: left;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.tablist-right {
|
|
62
|
+
--placement: right;
|
|
63
|
+
order: 2;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
33
67
|
/*********************
|
|
34
68
|
* Variations *
|
|
35
69
|
*********************/
|
|
@@ -116,8 +150,6 @@
|
|
|
116
150
|
|
|
117
151
|
&.tablist-left,
|
|
118
152
|
&.tablist-right {
|
|
119
|
-
background: red !important;
|
|
120
|
-
|
|
121
153
|
:where(.tab) {
|
|
122
154
|
border-width: 0;
|
|
123
155
|
border-radius: 0;
|
|
@@ -139,31 +171,3 @@
|
|
|
139
171
|
}
|
|
140
172
|
}
|
|
141
173
|
}
|
|
142
|
-
|
|
143
|
-
@utility tablist-top {
|
|
144
|
-
--scrollbar-width: none;
|
|
145
|
-
--scrollbar-size: 0px;
|
|
146
|
-
max-width: 100%;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
@layer components {
|
|
150
|
-
/*********************
|
|
151
|
-
* Tab placements *
|
|
152
|
-
*********************/
|
|
153
|
-
|
|
154
|
-
/* Top */
|
|
155
|
-
|
|
156
|
-
/* Left and Right */
|
|
157
|
-
:is(.tablist-left, .tablist-right) {
|
|
158
|
-
display: flex;
|
|
159
|
-
flex-flow: column nowrap;
|
|
160
|
-
|
|
161
|
-
:where(.tab) {
|
|
162
|
-
align-self: stretch;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.tablist-right {
|
|
167
|
-
order: 2;
|
|
168
|
-
}
|
|
169
|
-
}
|