@redseed/redseed-ui-tailwindcss 6.0.4 → 6.1.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/components/switcher.css +1 -2
- package/components/switcher_item.css +4 -0
- package/components/two_column_layout.css +13 -6
- package/index.css +1 -0
- package/package.json +1 -1
- package/variables.css +7 -0
package/components/switcher.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.rsui-switcher {
|
|
2
|
-
@apply w-fit flex flex-col sm:flex-row sm:items-center overflow-hidden;
|
|
2
|
+
@apply w-fit flex flex-col sm:flex-row sm:items-center overflow-hidden gap-1;
|
|
3
3
|
@apply bg-background-disabled p-1 rounded-lg;
|
|
4
4
|
}
|
|
5
5
|
|
|
@@ -14,4 +14,3 @@
|
|
|
14
14
|
.rsui-switcher .rsui-switcher-item {
|
|
15
15
|
@apply w-full sm:w-fit;
|
|
16
16
|
}
|
|
17
|
-
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
.rsui-two-column-layout {
|
|
2
|
-
@apply
|
|
2
|
+
@apply @container w-full;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.rsui-two-column-
|
|
6
|
-
@apply flex-col
|
|
5
|
+
.rsui-two-column-layout__container {
|
|
6
|
+
@apply flex flex-col @4xl:flex-row gap-6 @4xl:gap-8;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-two-column-layout__container--top-aside {
|
|
10
|
+
@apply flex-col-reverse @4xl:flex-row;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-two-column-layout__container--left-aside {
|
|
14
|
+
@apply flex-col-reverse @4xl:flex-row-reverse;
|
|
7
15
|
}
|
|
8
16
|
|
|
9
17
|
.rsui-two-column-layout__main {
|
|
10
|
-
@apply flex-1
|
|
18
|
+
@apply flex-1 w-full @4xl:w-(--phi-inverse-percentage) overflow-auto;
|
|
11
19
|
}
|
|
12
20
|
|
|
13
21
|
.rsui-two-column-layout__aside {
|
|
14
|
-
@apply shrink-0
|
|
22
|
+
@apply shrink-0 w-full @4xl:w-(--phi-inverse-squared-percentage) overflow-auto;
|
|
15
23
|
}
|
|
16
|
-
|
package/index.css
CHANGED
package/package.json
CHANGED
package/variables.css
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--phi: 1.618033988749895;
|
|
3
|
+
--phi-inverse: calc(1 / var(--phi)); /* Approximately 0.618033988749895 */
|
|
4
|
+
--phi-inverse-squared: calc(var(--phi-inverse) * var(--phi-inverse)); /* Approximately 0.381966011250105 */
|
|
5
|
+
--phi-inverse-percentage: calc(var(--phi-inverse) * 100%); /* Approximately 61.8033988749895% */
|
|
6
|
+
--phi-inverse-squared-percentage: calc(var(--phi-inverse-squared) * 100%); /* Approximately 38.1966011250105% */
|
|
7
|
+
}
|