@redseed/redseed-ui-tailwindcss 6.2.1 → 6.2.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/components/modal.css +41 -10
- package/package.json +1 -1
package/components/modal.css
CHANGED
|
@@ -46,29 +46,60 @@
|
|
|
46
46
|
display: none;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.rsui-modal__content--sm {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
.rsui-modal__content--
|
|
54
|
-
|
|
49
|
+
.rsui-modal__content--sm {
|
|
50
|
+
@apply sm:max-w-sm xs:mx-4 sm:mx-auto;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.rsui-modal__content--md {
|
|
54
|
+
@apply sm:max-w-lg sm:mx-auto;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.rsui-modal__content--lg {
|
|
58
|
+
@apply sm:max-w-2xl;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.rsui-modal__content--top {
|
|
62
|
+
@apply top-0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.rsui-modal__content--center {
|
|
66
|
+
@apply top-1/2 -translate-y-1/2;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.rsui-modal__content--bottom {
|
|
70
|
+
@apply bottom-0;
|
|
71
|
+
}
|
|
55
72
|
|
|
56
73
|
.rsui-modal__header {
|
|
57
|
-
@apply sticky top-0 z-1 p-
|
|
74
|
+
@apply sticky top-0 z-1 p-0 bg-background-secondary shrink-0 text-lg font-semibold;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.rsui-modal__header--padded {
|
|
78
|
+
@apply p-4;
|
|
58
79
|
}
|
|
59
80
|
|
|
60
81
|
.rsui-modal__body {
|
|
61
|
-
@apply p-
|
|
82
|
+
@apply p-0 bg-background-primary relative overflow-scroll overscroll-contain z-0;
|
|
62
83
|
-ms-overflow-style: none;
|
|
63
84
|
scrollbar-width: none;
|
|
64
85
|
}
|
|
65
86
|
|
|
87
|
+
.rsui-modal__body--padded {
|
|
88
|
+
@apply p-4;
|
|
89
|
+
}
|
|
90
|
+
|
|
66
91
|
.rsui-modal__body::-webkit-scrollbar {
|
|
67
92
|
display: none;
|
|
68
93
|
}
|
|
69
94
|
|
|
70
95
|
.rsui-modal__footer {
|
|
71
|
-
@apply sticky inset-x-0 bottom-0 z-1 p-
|
|
96
|
+
@apply sticky inset-x-0 bottom-0 z-1 p-0 bg-background-secondary shrink-0 flex justify-end items-center space-x-2;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.rsui-modal__footer--padded {
|
|
100
|
+
@apply p-4;
|
|
72
101
|
}
|
|
73
102
|
|
|
74
|
-
.rsui-modal__footer--start {
|
|
103
|
+
.rsui-modal__footer--start {
|
|
104
|
+
@apply justify-start;
|
|
105
|
+
}
|