@redseed/redseed-ui-tailwindcss 5.3.0 → 5.3.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/activity_feed.css +8 -0
- package/components/avatar_text.css +3 -0
- package/components/badge.css +33 -0
- package/components/badge_group.css +19 -0
- package/components/body_text.css +5 -0
- package/components/breadcrumbs.css +14 -0
- package/components/button_card.css +50 -0
- package/components/button_group.css +3 -0
- package/components/button_group_item.css +43 -0
- package/components/button_slot.css +16 -1
- package/components/card.css +62 -0
- package/components/card_group.css +46 -0
- package/components/card_header.css +64 -0
- package/components/disclosure.css +16 -0
- package/components/dropdown_menu.css +42 -0
- package/components/dropdown_option.css +10 -0
- package/components/empty.css +28 -0
- package/components/feed_item.css +39 -0
- package/components/form_field_checkbox.css +33 -0
- package/components/form_field_combobox.css +98 -0
- package/components/form_field_password.css +4 -0
- package/components/form_field_radio_group.css +44 -0
- package/components/form_field_search.css +12 -0
- package/components/form_field_select.css +76 -0
- package/components/form_field_slot.css +32 -0
- package/components/form_field_suffix.css +5 -0
- package/components/form_field_text.css +37 -0
- package/components/form_field_textarea.css +19 -0
- package/components/form_field_uploader.css +51 -0
- package/components/form_fields_login.css +4 -0
- package/components/form_fields_register.css +4 -0
- package/components/form_fieldset.css +45 -0
- package/components/form_slot.css +34 -0
- package/components/form_wrapper_build.css +4 -0
- package/components/form_wrapper_lms.css +4 -0
- package/components/google_button.css +91 -0
- package/components/hero_section.css +32 -0
- package/components/image.css +35 -0
- package/components/image_16by9.css +4 -0
- package/components/image_3by1.css +4 -0
- package/components/image_64by25.css +4 -0
- package/components/image_9by16.css +4 -0
- package/components/image_circle.css +4 -0
- package/components/link_primary.css +4 -0
- package/components/link_slot.css +47 -0
- package/components/linked_list.css +8 -0
- package/components/linked_list_item.css +41 -0
- package/components/list.css +12 -0
- package/components/list_control.css +66 -0
- package/components/list_item.css +72 -0
- package/components/loader.css +20 -0
- package/components/logo.css +4 -0
- package/components/message_box.css +40 -0
- package/components/meta_info.css +27 -0
- package/components/metric_card.css +28 -0
- package/components/modal.css +75 -0
- package/components/page_header.css +54 -0
- package/components/pagination.css +28 -0
- package/components/pagination_item.css +18 -0
- package/components/pagination_item_collapsed.css +4 -0
- package/components/pagination_item_next.css +8 -0
- package/components/pagination_item_previous.css +8 -0
- package/components/progress_circle.css +16 -0
- package/components/progress_tracker.css +4 -0
- package/components/progress_tracker_step.css +36 -0
- package/components/radio_card.css +83 -0
- package/components/read_more.css +8 -0
- package/components/record_count.css +4 -0
- package/components/section.css +28 -0
- package/components/section_footer.css +18 -0
- package/components/section_header.css +41 -0
- package/components/single_column_layout.css +4 -0
- package/components/sorting.css +17 -0
- package/components/switcher.css +17 -0
- package/components/switcher_item.css +14 -0
- package/components/table.css +32 -0
- package/components/td.css +21 -0
- package/components/td_user.css +21 -0
- package/components/th.css +68 -0
- package/components/toggle.css +36 -0
- package/components/tr.css +10 -0
- package/components/two_column_layout.css +16 -0
- package/index.css +81 -0
- package/package.json +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.rsui-form-field-radio-group {
|
|
2
|
+
@apply w-full;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-form-field-radio-group__items {
|
|
6
|
+
@apply flex flex-wrap items-center gap-x-8 gap-y-2;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-form-field-radio-group__item {
|
|
10
|
+
@apply relative flex items-center gap-4 cursor-pointer;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-form-field-radio-group__item--disabled {
|
|
14
|
+
@apply opacity-40 cursor-not-allowed;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-form-field-radio-group__item-native-control {
|
|
18
|
+
@apply absolute opacity-0 pointer-events-none w-0 h-0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-form-field-radio-group__control {
|
|
22
|
+
@apply shrink-0 size-6 border border-border-primary rounded-full bg-background-primary;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-form-field-radio-group__control--active {
|
|
26
|
+
@apply bg-primary-background border-primary-background flex items-center justify-center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rsui-form-field-radio-group__control--active div {
|
|
30
|
+
@apply size-3 bg-background-primary rounded-full;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.rsui-form-field-radio-group__item-label {
|
|
34
|
+
@apply font-normal cursor-pointer mb-0 text-text-primary;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.rsui-form-field-radio-group__item-label--disabled {
|
|
38
|
+
@apply cursor-not-allowed text-text-disabled;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* Focus-visible on the native input should surface on the visual control */
|
|
42
|
+
.rsui-form-field-radio-group__item:focus-within .rsui-form-field-radio-group__control {
|
|
43
|
+
@apply ring-2 ring-border-primary ring-offset-2;
|
|
44
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
.rsui-form-field-search__icon {
|
|
2
|
+
@apply size-5 text-text-secondary;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-form-field-search .rsui-form-field-text__prefix {
|
|
6
|
+
@apply pr-0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-form-field-text__group--prefix input.rsui-form-field-search:not([type='checkbox']):not([type='radio']) {
|
|
10
|
+
@apply pl-10;
|
|
11
|
+
}
|
|
12
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
.enter-active-class {
|
|
2
|
+
@apply transition ease-out duration-200;
|
|
3
|
+
}
|
|
4
|
+
.enter-from-class {
|
|
5
|
+
@apply transform opacity-0 scale-95;
|
|
6
|
+
}
|
|
7
|
+
.enter-to-class {
|
|
8
|
+
@apply transform opacity-100 scale-100;
|
|
9
|
+
}
|
|
10
|
+
.leave-active-class {
|
|
11
|
+
@apply transition ease-in duration-75;
|
|
12
|
+
}
|
|
13
|
+
.leave-from-class {
|
|
14
|
+
@apply transform opacity-100 scale-100;
|
|
15
|
+
}
|
|
16
|
+
.leave-to-class {
|
|
17
|
+
@apply transform opacity-0 scale-95;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.rsui-form-field-select {
|
|
21
|
+
@apply relative;
|
|
22
|
+
}
|
|
23
|
+
.rsui-form-field-select__group {
|
|
24
|
+
@apply relative;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.rsui-form-field-select__options {
|
|
28
|
+
@apply hidden absolute top-0 w-full z-50;
|
|
29
|
+
@apply bg-background-primary p-2 mt-2 rounded-lg shadow-full-light;
|
|
30
|
+
@apply max-h-[80vh] sm:max-h-[60vh] overflow-y-auto;
|
|
31
|
+
}
|
|
32
|
+
.rsui-form-field-select__options--open {
|
|
33
|
+
@apply block;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.rsui-form-field-select__option {
|
|
37
|
+
@apply flex flex-nowrap items-center justify-between cursor-pointer px-4 py-3 rounded-lg;
|
|
38
|
+
@apply bg-background-primary hover:bg-background-secondary text-text-primary transition;
|
|
39
|
+
}
|
|
40
|
+
.rsui-form-field-select__option--disabled {
|
|
41
|
+
@apply opacity-50 hover:bg-background-primary cursor-auto;
|
|
42
|
+
}
|
|
43
|
+
.rsui-form-field-select__option-label {
|
|
44
|
+
@apply text-base truncate;
|
|
45
|
+
}
|
|
46
|
+
.rsui-form-field-select__option-icon {
|
|
47
|
+
@apply size-5;
|
|
48
|
+
}
|
|
49
|
+
.rsui-form-field-select__option svg {
|
|
50
|
+
@apply size-5;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.rsui-form-field-select__icon {
|
|
54
|
+
@apply absolute top-0 right-5 bottom-0 flex items-center justify-center;
|
|
55
|
+
@apply text-text-primary h-full w-8 pointer-events-none;
|
|
56
|
+
}
|
|
57
|
+
.rsui-form-field-select__icon--open svg {
|
|
58
|
+
@apply -rotate-180;
|
|
59
|
+
}
|
|
60
|
+
.rsui-form-field-select__icon svg {
|
|
61
|
+
@apply size-6 transform transition-transform;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.rsui-form-field-select select {
|
|
65
|
+
@apply block w-full border ring-0 bg-none cursor-pointer appearance-none transition;
|
|
66
|
+
@apply py-3 pl-5 pr-14 truncate;
|
|
67
|
+
@apply text-base rounded-lg outline-none focus:outline-none;
|
|
68
|
+
@apply bg-background-primary text-text-primary placeholder-text-secondary border-border-primary;
|
|
69
|
+
@apply focus:border-border-primary;
|
|
70
|
+
@apply invalid:border-border-error invalid:ring-0;
|
|
71
|
+
@apply disabled:text-text-disabled disabled:bg-background-disabled disabled:border-border-disabled disabled:ring-0 disabled:cursor-default;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.rsui-form-field-select option {
|
|
75
|
+
@apply hidden;
|
|
76
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.rsui-form-field-slot {
|
|
2
|
+
@apply flex flex-col gap-y-1 border-0 bg-transparent p-0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-form-field-slot--compact {
|
|
6
|
+
@apply flex-row justify-between gap-x-2;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-form-field-slot--compact .rsui-form-field-slot__label {
|
|
10
|
+
@apply pt-3 whitespace-nowrap;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-form-field-slot__label--required {
|
|
14
|
+
@apply after:content-['*'] after:text-text-error after:ml-1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-form-field-slot__label label {
|
|
18
|
+
@apply font-medium text-sm text-text-primary;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-form-field-slot__field {
|
|
22
|
+
@apply shrink-0 flex flex-col gap-y-1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-form-field-slot__help {
|
|
26
|
+
@apply text-xs text-text-secondary;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rsui-form-field-slot__error {
|
|
30
|
+
@apply text-sm text-text-error;
|
|
31
|
+
}
|
|
32
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.rsui-form-field-text {
|
|
2
|
+
@apply relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-form-field-text__group {
|
|
6
|
+
@apply relative flex flex-nowrap overflow-hidden;
|
|
7
|
+
@apply text-base transition;
|
|
8
|
+
@apply w-full border rounded-lg ring-0;
|
|
9
|
+
@apply bg-background-primary placeholder-text-secondary border-border-primary;
|
|
10
|
+
@apply has-[:focus]:border-border-primary;
|
|
11
|
+
@apply has-[:user-invalid]:border-border-error has-[:user-invalid]:ring-0;
|
|
12
|
+
@apply has-[:disabled]:text-text-disabled has-[:disabled]:bg-background-disabled has-[:disabled]:border-border-disabled has-[:disbaled]:ring-0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.rsui-form-field-text__prefix,
|
|
16
|
+
.rsui-form-field-text__suffix {
|
|
17
|
+
@apply flex items-center justify-center px-4 select-none bg-transparent;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.rsui-form-field-text input[type='date'],
|
|
21
|
+
.rsui-form-field-text input[type='datetime-local'],
|
|
22
|
+
.rsui-form-field-text input[type='email'],
|
|
23
|
+
.rsui-form-field-text input[type='month'],
|
|
24
|
+
.rsui-form-field-text input[type='number'],
|
|
25
|
+
.rsui-form-field-text input[type='password'],
|
|
26
|
+
.rsui-form-field-text input[type='search'],
|
|
27
|
+
.rsui-form-field-text input[type='tel'],
|
|
28
|
+
.rsui-form-field-text input[type='text'],
|
|
29
|
+
.rsui-form-field-text input[type='time'],
|
|
30
|
+
.rsui-form-field-text input[type='url'],
|
|
31
|
+
.rsui-form-field-text input[type='week'] {
|
|
32
|
+
@apply flex-1;
|
|
33
|
+
@apply text-base text-text-primary transition py-3 px-4 outline-none focus:outline-none;
|
|
34
|
+
@apply bg-background-primary placeholder-text-secondary;
|
|
35
|
+
@apply disabled:text-text-disabled disabled:bg-background-disabled disabled:border-border-disabled disabled:ring-0;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.rsui-form-field-textarea {
|
|
2
|
+
@apply relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-form-field-textarea textarea {
|
|
6
|
+
@apply w-full border rounded-md ring-0 text-base transition resize-none;
|
|
7
|
+
@apply py-3 px-4 outline-none focus:outline-none;
|
|
8
|
+
@apply text-text-primary bg-background-primary placeholder-text-secondary border-border-primary;
|
|
9
|
+
@apply focus:border-border-primary;
|
|
10
|
+
@apply invalid:border-border-error invalid:ring-0;
|
|
11
|
+
@apply disabled:text-text-disabled disabled:bg-background-disabled disabled:border-border-disabled disabled:ring-0;
|
|
12
|
+
-ms-overflow-style: none;
|
|
13
|
+
scrollbar-width: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.rsui-form-field-textarea textarea::-webkit-scrollbar {
|
|
17
|
+
display: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.rsui-form-field-uploader__container {
|
|
2
|
+
@apply w-fit max-w-80 bg-background-secondary;
|
|
3
|
+
@apply relative select-none;
|
|
4
|
+
@apply rounded-md border border-border-primary border-dashed;
|
|
5
|
+
@apply flex flex-nowrap justify-center items-center gap-4;
|
|
6
|
+
@apply px-4 py-2.5;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-form-field-uploader__container--success {
|
|
10
|
+
@apply border-border-primary border-solid;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-form-field-uploader__content {
|
|
14
|
+
@apply relative flex flex-nowrap justify-center items-center gap-4;
|
|
15
|
+
@apply text-text-primary;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.rsui-form-field-uploader__state-icon {
|
|
19
|
+
@apply shrink-0 size-6;
|
|
20
|
+
}
|
|
21
|
+
.rsui-form-field-uploader__state-icon--success {
|
|
22
|
+
@apply text-text-secondary;
|
|
23
|
+
}
|
|
24
|
+
.rsui-form-field-uploader__state-icon svg {
|
|
25
|
+
@apply size-6 stroke-2;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.rsui-form-field-uploader__state-text {
|
|
29
|
+
@apply line-clamp-2;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.rsui-form-field-uploader__file-size {
|
|
33
|
+
@apply shrink-0 text-text-secondary;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.rsui-form-field-uploader__uploader {
|
|
37
|
+
@apply size-full absolute inset-0 z-1 cursor-pointer;
|
|
38
|
+
}
|
|
39
|
+
.rsui-form-field-uploader__uploader * {
|
|
40
|
+
@apply size-full cursor-pointer;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.rsui-form-field-uploader__action {
|
|
44
|
+
@apply shrink-0 size-6;
|
|
45
|
+
}
|
|
46
|
+
.rsui-form-field-uploader__action-icon {
|
|
47
|
+
@apply size-6 cursor-pointer text-text-secondary;
|
|
48
|
+
}
|
|
49
|
+
.rsui-form-field-uploader__action-icon svg {
|
|
50
|
+
@apply size-6 stroke-2;
|
|
51
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.rsui-form-fieldset legend {
|
|
2
|
+
@apply text-base text-text-primary font-semibold;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-form-fieldset__fields {
|
|
6
|
+
@apply mt-3 px-2;
|
|
7
|
+
@apply flex flex-col gap-3;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot label {
|
|
11
|
+
@apply font-normal;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact label {
|
|
15
|
+
@apply text-sm;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact .rsui-form-field-slot__label {
|
|
19
|
+
@apply pt-1.5;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact input[type='date'],
|
|
23
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact input[type='datetime-local'],
|
|
24
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact input[type='email'],
|
|
25
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact input[type='month'],
|
|
26
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact input[type='number'],
|
|
27
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact input[type='password'],
|
|
28
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact input[type='search'],
|
|
29
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact input[type='tel'],
|
|
30
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact input[type='text'],
|
|
31
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact input[type='time'],
|
|
32
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact input[type='url'],
|
|
33
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact input[type='week'] {
|
|
34
|
+
@apply py-1.5 px-2;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.rsui-form-fieldset__fields .rsui-form-field-slot--compact select {
|
|
38
|
+
@apply py-1.5 pl-3 pr-12 text-sm;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.rsui-form-fieldset__fields .rsui-form-field-select__icon { @apply right-2; }
|
|
42
|
+
.rsui-form-fieldset__fields .rsui-form-field-select__icon svg { @apply size-5; }
|
|
43
|
+
.rsui-form-fieldset__fields .rsui-form-field-select__option { @apply py-3 px-2; }
|
|
44
|
+
.rsui-form-fieldset__fields .rsui-form-field-select__option-label { @apply text-sm; }
|
|
45
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.rsui-form-slot {
|
|
2
|
+
@apply min-w-80 sm:min-w-96 sm:w-112;
|
|
3
|
+
@apply flex flex-col sm:justify-center items-center;
|
|
4
|
+
@apply text-base text-text-primary;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.rsui-form-slot__image {
|
|
8
|
+
@apply mb-8;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.rsui-form-slot__social-divider {
|
|
12
|
+
@apply w-full relative flex justify-center mb-2;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.rsui-form-slot__social-divider-line {
|
|
16
|
+
@apply after:content-[''] after:absolute after:top-1/2 after:left-0 after:bg-border-secondary after:h-px after:w-full;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.rsui-form-slot__social-divider-or {
|
|
20
|
+
@apply relative z-1 bg-background-primary px-6 text-text-primary;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.rsui-form-slot__content {
|
|
24
|
+
@apply w-full sm:max-w-md px-10 xs:px-12 md:px-16 py-10 bg-background-primary shadow-md overflow-hidden rounded-lg;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.rsui-form-slot__content > * {
|
|
28
|
+
@apply first:mt-0 mt-4;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.rsui-form-slot__content form > * {
|
|
32
|
+
@apply first:mt-0 mt-4;
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
.gsi-material-button {
|
|
2
|
+
-moz-user-select: none;
|
|
3
|
+
-webkit-user-select: none;
|
|
4
|
+
-ms-user-select: none;
|
|
5
|
+
-webkit-appearance: none;
|
|
6
|
+
@apply bg-background-primary border border-border-primary text-text-primary;
|
|
7
|
+
background-image: none;
|
|
8
|
+
-webkit-border-radius: 4px;
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
-webkit-box-sizing: border-box;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
font-family: 'Roboto', arial, sans-serif;
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
height: 40px;
|
|
16
|
+
letter-spacing: 0.25px;
|
|
17
|
+
outline: none;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
padding: 0 12px;
|
|
20
|
+
position: relative;
|
|
21
|
+
text-align: center;
|
|
22
|
+
-webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
|
|
23
|
+
transition: background-color .218s, border-color .218s, box-shadow .218s;
|
|
24
|
+
vertical-align: middle;
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
width: 100%;
|
|
27
|
+
max-width: 400px;
|
|
28
|
+
min-width: min-content;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.gsi-material-button .gsi-material-button-icon {
|
|
32
|
+
height: 20px;
|
|
33
|
+
margin-right: 12px;
|
|
34
|
+
min-width: 20px;
|
|
35
|
+
width: 20px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.gsi-material-button .gsi-material-button-content-wrapper {
|
|
39
|
+
-webkit-align-items: center;
|
|
40
|
+
align-items: center;
|
|
41
|
+
display: flex;
|
|
42
|
+
-webkit-flex-direction: row;
|
|
43
|
+
flex-direction: row;
|
|
44
|
+
-webkit-flex-wrap: nowrap;
|
|
45
|
+
flex-wrap: nowrap;
|
|
46
|
+
height: 100%;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
position: relative;
|
|
49
|
+
width: 100%;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.gsi-material-button .gsi-material-button-contents {
|
|
53
|
+
-webkit-flex-grow: 1;
|
|
54
|
+
flex-grow: 1;
|
|
55
|
+
font-family: 'Roboto', arial, sans-serif;
|
|
56
|
+
font-weight: 500;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
text-overflow: ellipsis;
|
|
59
|
+
vertical-align: top;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.gsi-material-button .gsi-material-button-state {
|
|
63
|
+
-webkit-transition: opacity .218s;
|
|
64
|
+
transition: opacity .218s;
|
|
65
|
+
bottom: 0;
|
|
66
|
+
left: 0;
|
|
67
|
+
opacity: 0;
|
|
68
|
+
position: absolute;
|
|
69
|
+
right: 0;
|
|
70
|
+
top: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.gsi-material-button:disabled {
|
|
74
|
+
cursor: default;
|
|
75
|
+
@apply bg-background-disabled border-border-disabled;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.gsi-material-button:disabled .gsi-material-button-contents { opacity: 38%; }
|
|
79
|
+
.gsi-material-button:disabled .gsi-material-button-icon { opacity: 38%; }
|
|
80
|
+
|
|
81
|
+
.gsi-material-button:not(:disabled):active .gsi-material-button-state,
|
|
82
|
+
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
|
|
83
|
+
@apply bg-text-secondary;
|
|
84
|
+
opacity: 12%;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
|
|
88
|
+
@apply bg-background-primary;
|
|
89
|
+
opacity: 8%;
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.rsui-hero-section {
|
|
2
|
+
@apply rounded-xl px-5 py-6 flex flex-col gap-4 md:gap-6 relative overflow-hidden bg-text-primary text-text-on-color;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-hero-section::before {
|
|
6
|
+
content: '';
|
|
7
|
+
position: absolute;
|
|
8
|
+
inset: 0;
|
|
9
|
+
background-size: auto;
|
|
10
|
+
background-position: right center;
|
|
11
|
+
background-repeat: no-repeat;
|
|
12
|
+
opacity: 1;
|
|
13
|
+
z-index: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.rsui-hero-section > * {
|
|
17
|
+
position: relative;
|
|
18
|
+
z-index: 1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-hero-section__cards {
|
|
22
|
+
@apply grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-6;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-hero-section__cards--hidden {
|
|
26
|
+
@apply hidden;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rsui-hero-section__content--hidden {
|
|
30
|
+
@apply hidden;
|
|
31
|
+
}
|
|
32
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.rsui-image {
|
|
2
|
+
@apply w-full h-full flex items-center justify-center overflow-hidden;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-image--rounded {
|
|
6
|
+
@apply rounded-lg;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-image--error {
|
|
10
|
+
@apply bg-background-disabled;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-image--empty {
|
|
14
|
+
@apply bg-background-disabled;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-image__empty {
|
|
18
|
+
@apply flex items-center justify-center text-text-disabled;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-image__empty-icon {
|
|
22
|
+
@apply w-1/4;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-image__message {
|
|
26
|
+
@apply text-text-disabled text-sm;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rsui-image picture {
|
|
30
|
+
@apply w-full h-full;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.rsui-image picture img {
|
|
34
|
+
@apply w-full h-full object-cover;
|
|
35
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.rsui-link-slot {
|
|
2
|
+
/* default shape and control */
|
|
3
|
+
@apply relative w-fit h-fit inline-flex shrink-0 items-center justify-center whitespace-nowrap will-change-transform;
|
|
4
|
+
@apply select-none outline-none cursor-pointer transition;
|
|
5
|
+
|
|
6
|
+
/* default text styles */
|
|
7
|
+
@apply font-medium text-text-primary gap-2;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rsui-link-slot--disabled {
|
|
11
|
+
@apply opacity-30 cursor-default pointer-events-none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.rsui-link-slot--sm {
|
|
15
|
+
@apply text-sm leading-5;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.rsui-link-slot--sm svg {
|
|
19
|
+
@apply size-5;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.rsui-link-slot--md {
|
|
23
|
+
@apply text-base leading-6;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.rsui-link-slot--md svg {
|
|
27
|
+
@apply size-6;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.rsui-link-slot--lg {
|
|
31
|
+
@apply text-lg leading-7;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.rsui-link-slot--lg svg {
|
|
35
|
+
@apply size-7;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.rsui-link-slot__label {
|
|
39
|
+
@apply relative inline-flex shrink-0 items-center justify-center whitespace-nowrap will-change-transform;
|
|
40
|
+
@apply after:content-[''] after:absolute after:inset-x-0 after:bottom-0;
|
|
41
|
+
@apply after:w-full after:h-px after:transition;
|
|
42
|
+
@apply after:bg-current after:opacity-30 hover:after:opacity-100;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.rsui-link-slot__label--disabled {
|
|
46
|
+
@apply after:opacity-0;
|
|
47
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.rsui-linked-list-item {
|
|
2
|
+
@apply pl-9 pr-3 pt-0 pb-2 relative text-text-disabled;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-linked-list-item::before {
|
|
6
|
+
@apply absolute top-1.5 left-[17px] h-full inline-block w-0.5 bg-current transition;
|
|
7
|
+
content: '';
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rsui-linked-list-item:last-child::before {
|
|
11
|
+
@apply hidden;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.rsui-linked-list-item--active {
|
|
15
|
+
@apply text-primary-background;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.rsui-linked-list-item--done {
|
|
19
|
+
@apply text-primary-background;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.rsui-linked-list-item__status {
|
|
23
|
+
@apply absolute top-1.5 left-3 size-3 border border-current bg-current rounded-full flex items-center justify-center transition;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.rsui-linked-list-item__active-icon svg,.rsui-linked-list-item__active-icon :is(svg) {
|
|
27
|
+
@apply size-2 text-text-on-color;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.rsui-linked-list-item__done-icon svg,.rsui-linked-list-item__done-icon :is(svg) {
|
|
31
|
+
@apply size-2 text-text-on-color;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.rsui-linked-list-item__title {
|
|
35
|
+
@apply font-semibold text-base text-text-primary leading-normal;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.rsui-linked-list-item__body {
|
|
39
|
+
@apply font-normal text-sm text-text-secondary leading-normal;
|
|
40
|
+
}
|
|
41
|
+
|