instaui 0.1.4__py3-none-any.whl → 0.1.6__py3-none-any.whl
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.
- instaui/arco/__init__.py +191 -0
- instaui/arco/_settings.py +25 -0
- instaui/arco/_use_tools/locale.py +50 -0
- instaui/arco/component_types.py +1019 -0
- instaui/arco/components/_utils.py +22 -0
- instaui/arco/components/affix.py +29 -0
- instaui/arco/components/alert.py +42 -0
- instaui/arco/components/anchor.py +42 -0
- instaui/arco/components/auto_complete.py +96 -0
- instaui/arco/components/avatar.py +55 -0
- instaui/arco/components/back_top.py +14 -0
- instaui/arco/components/badge.py +14 -0
- instaui/arco/components/breadcrumb.py +14 -0
- instaui/arco/components/button.py +43 -0
- instaui/arco/components/calendar.py +47 -0
- instaui/arco/components/card.py +14 -0
- instaui/arco/components/carousel.py +33 -0
- instaui/arco/components/cascader.py +111 -0
- instaui/arco/components/checkbox.py +32 -0
- instaui/arco/components/collapse.py +31 -0
- instaui/arco/components/color_picker.py +45 -0
- instaui/arco/components/comment.py +14 -0
- instaui/arco/components/config_provider.py +13 -0
- instaui/arco/components/date_picker.py +111 -0
- instaui/arco/components/descriptions.py +14 -0
- instaui/arco/components/divider.py +13 -0
- instaui/arco/components/drawer.py +98 -0
- instaui/arco/components/dropdown.py +45 -0
- instaui/arco/components/empty.py +14 -0
- instaui/arco/components/form.py +55 -0
- instaui/arco/components/icon.py +17 -0
- instaui/arco/components/image.py +33 -0
- instaui/arco/components/input.py +102 -0
- instaui/arco/components/input_number.py +97 -0
- instaui/arco/components/input_password.py +38 -0
- instaui/arco/components/input_search.py +37 -0
- instaui/arco/components/input_tag.py +110 -0
- instaui/arco/components/layout.py +13 -0
- instaui/arco/components/layout_content.py +6 -0
- instaui/arco/components/layout_footer.py +6 -0
- instaui/arco/components/layout_header.py +6 -0
- instaui/arco/components/layout_sider.py +53 -0
- instaui/arco/components/link.py +36 -0
- instaui/arco/components/list.py +68 -0
- instaui/arco/components/mention.py +97 -0
- instaui/arco/components/menu.py +88 -0
- instaui/arco/components/modal.py +97 -0
- instaui/arco/components/overflow_list.py +29 -0
- instaui/arco/components/page_header.py +29 -0
- instaui/arco/components/pagination.py +45 -0
- instaui/arco/components/pop_confirm.py +58 -0
- instaui/arco/components/popover.py +32 -0
- instaui/arco/components/progress.py +14 -0
- instaui/arco/components/radio.py +40 -0
- instaui/arco/components/radio_group.py +42 -0
- instaui/arco/components/rate.py +45 -0
- instaui/arco/components/resize_box.py +62 -0
- instaui/arco/components/result.py +14 -0
- instaui/arco/components/select.py +179 -0
- instaui/arco/components/skeleton.py +14 -0
- instaui/arco/components/slider.py +38 -0
- instaui/arco/components/space.py +14 -0
- instaui/arco/components/spin.py +14 -0
- instaui/arco/components/split.py +76 -0
- instaui/arco/components/statistic.py +14 -0
- instaui/arco/components/steps.py +32 -0
- instaui/arco/components/switch.py +57 -0
- instaui/arco/components/tab_pane.py +12 -0
- instaui/arco/components/table.py +276 -0
- instaui/arco/components/tabs.py +101 -0
- instaui/arco/components/tag.py +42 -0
- instaui/arco/components/textarea.py +84 -0
- instaui/arco/components/time_picker.py +76 -0
- instaui/arco/components/timeline.py +14 -0
- instaui/arco/components/tooltip.py +29 -0
- instaui/arco/components/transfer.py +58 -0
- instaui/arco/components/tree.py +120 -0
- instaui/arco/components/tree_select.py +86 -0
- instaui/arco/components/trigger.py +58 -0
- instaui/arco/components/typography.py +142 -0
- instaui/arco/components/upload.py +71 -0
- instaui/arco/components/verification_code.py +58 -0
- instaui/arco/components/watermark.py +14 -0
- instaui/arco/locales/__init__.py +4 -0
- instaui/arco/locales/_index.py +31 -0
- instaui/arco/locales/en_us.py +227 -0
- instaui/arco/locales/zh_cn.py +224 -0
- instaui/arco/setup.py +36 -0
- instaui/arco/static/instaui-arco.css +1 -0
- instaui/arco/static/instaui-arco.js +55771 -0
- instaui/arco/types.py +24 -0
- instaui/components/column.py +10 -2
- instaui/components/echarts/echarts.js +128 -0
- instaui/components/echarts/echarts.py +194 -0
- instaui/components/echarts/static/echarts.esm.min.js +45 -0
- instaui/components/element.py +50 -6
- instaui/components/grid.py +81 -0
- instaui/components/html/__init__.py +30 -19
- instaui/components/html/_preset.py +4 -0
- instaui/components/html/heading.py +51 -0
- instaui/components/html/range.py +3 -0
- instaui/components/html/select.py +13 -31
- instaui/components/html/table.py +36 -0
- instaui/components/markdown/static/github-markdown.css +1 -1
- instaui/components/markdown/static/marked.esm.js +0 -1
- instaui/components/row.py +8 -7
- instaui/components/shiki_code/shiki_code.js +126 -0
- instaui/components/shiki_code/shiki_code.py +99 -0
- instaui/components/shiki_code/static/langs/css.mjs +5 -0
- instaui/components/shiki_code/static/langs/markdown.mjs +5 -0
- instaui/components/shiki_code/static/langs/python.mjs +5 -0
- instaui/components/shiki_code/static/langs/shell.mjs +2 -0
- instaui/components/shiki_code/static/langs/shellscript.mjs +5 -0
- instaui/components/shiki_code/static/shiki-core.js +5784 -0
- instaui/components/shiki_code/static/shiki-style.css +179 -0
- instaui/components/shiki_code/static/shiki-transformers.js +461 -0
- instaui/components/shiki_code/static/themes/vitesse-dark.mjs +2 -0
- instaui/components/shiki_code/static/themes/vitesse-light.mjs +2 -0
- instaui/components/value_element.py +7 -3
- instaui/consts.py +2 -1
- instaui/event/js_event.py +1 -0
- instaui/event/web_event.py +6 -7
- instaui/experimental/link_sql/__init__.py +3 -0
- instaui/experimental/link_sql/_base.py +23 -0
- instaui/experimental/link_sql/_duckdb.py +221 -0
- instaui/experimental/link_sql/_types.py +15 -0
- instaui/experimental/link_sql/data_source.js +50 -0
- instaui/fastapi_server/debug_mode_router.py +1 -1
- instaui/fastapi_server/server.py +4 -12
- instaui/handlers/event_handler.py +3 -1
- instaui/handlers/watch_handler.py +4 -0
- instaui/html_tools.py +41 -4
- instaui/runtime/_app.py +37 -3
- instaui/runtime/_link_manager.py +89 -0
- instaui/runtime/resource.py +19 -9
- instaui/runtime/scope.py +28 -7
- instaui/shadcn_classless/_index.py +42 -0
- instaui/shadcn_classless/static/shadcn-classless.css +403 -0
- instaui/static/insta-ui.css +1 -1
- instaui/static/insta-ui.esm-browser.prod.js +3663 -3658
- instaui/static/insta-ui.js.map +1 -1
- instaui/static/instaui-tools-browser.js +511 -0
- instaui/static/templates/debug/sse.html +1 -1
- instaui/static/templates/webview.html +78 -0
- instaui/tailwind/__init__.py +6 -0
- instaui/tailwind/_index.py +24 -0
- instaui/{static/tailwindcss.min.js → tailwind/static/tailwindcss-v3.min.js} +62 -62
- instaui/tailwind/static/tailwindcss-v4.min.js +8 -0
- instaui/template/_utils.py +23 -0
- instaui/template/webview_template.py +50 -0
- instaui/ui/__init__.py +8 -2
- instaui/ui/__init__.pyi +7 -1
- instaui/ui_functions/ui_page.py +1 -1
- instaui/vars/data.py +7 -7
- instaui/vars/element_ref.py +2 -4
- instaui/vars/event_context.py +4 -0
- instaui/vars/js_computed.py +6 -8
- instaui/vars/ref.py +6 -6
- instaui/vars/vue_computed.py +6 -7
- instaui/vars/web_computed.py +31 -32
- instaui/watch/vue_watch.py +23 -7
- instaui/watch/web_watch.py +5 -6
- instaui/webview/__init__.py +1 -0
- instaui/webview/_utils.py +8 -0
- instaui/webview/api.py +72 -0
- instaui/webview/func.py +114 -0
- instaui/webview/index.py +162 -0
- instaui/webview/resource.py +172 -0
- instaui/zero/func.py +19 -12
- instaui/zero/scope.py +29 -28
- {instaui-0.1.4.dist-info → instaui-0.1.6.dist-info}/METADATA +6 -2
- instaui-0.1.6.dist-info/RECORD +286 -0
- instaui/components/highlight_code/code.js +0 -63
- instaui/components/highlight_code/code.py +0 -117
- instaui/components/highlight_code/static/core.min.js +0 -307
- instaui/components/highlight_code/static/languages/css.min.js +0 -31
- instaui/components/highlight_code/static/languages/javascript.min.js +0 -81
- instaui/components/highlight_code/static/languages/json.min.js +0 -8
- instaui/components/highlight_code/static/languages/python-repl.min.js +0 -5
- instaui/components/highlight_code/static/languages/python.min.js +0 -42
- instaui/components/highlight_code/static/languages/shell.min.js +0 -5
- instaui/components/highlight_code/static/styles/default.min.css +0 -9
- instaui/components/highlight_code/static/styles/github-dark-dimmed.min.css +0 -9
- instaui/components/highlight_code/static/styles/github-dark.min.css +0 -10
- instaui/components/highlight_code/static/styles/github.min.css +0 -10
- instaui/daisyui/__init__.py +0 -20
- instaui/daisyui/_index.py +0 -15
- instaui/daisyui/button.py +0 -38
- instaui/daisyui/checkbox.py +0 -17
- instaui/daisyui/static/daisyui.css +0 -1
- instaui/daisyui/static/themes.css +0 -1
- instaui/handlers/computed_handler.py +0 -42
- instaui/handlers/config_handler.py +0 -13
- instaui/ui/__build_init.py +0 -73
- instaui/vars/_utils.py +0 -12
- instaui-0.1.4.dist-info/RECORD +0 -179
- {instaui-0.1.4.dist-info → instaui-0.1.6.dist-info}/LICENSE +0 -0
- {instaui-0.1.4.dist-info → instaui-0.1.6.dist-info}/WHEEL +0 -0
@@ -0,0 +1,403 @@
|
|
1
|
+
.shadcn-classless {
|
2
|
+
color-scheme: light dark;
|
3
|
+
font-family: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;
|
4
|
+
background-color: var(--background);
|
5
|
+
color: var(--foreground);
|
6
|
+
line-height: 1.5;
|
7
|
+
padding: 1rem;
|
8
|
+
--radius: 0.5rem;
|
9
|
+
--background: oklch(1 0 0);
|
10
|
+
--foreground: oklch(0.141 0.005 285.823);
|
11
|
+
--card: oklch(1 0 0);
|
12
|
+
--card-foreground: oklch(0.141 0.005 285.823);
|
13
|
+
--popover: oklch(1 0 0);
|
14
|
+
--popover-foreground: oklch(0.141 0.005 285.823);
|
15
|
+
--primary: oklch(0.21 0.006 285.885);
|
16
|
+
--primary-foreground: oklch(0.985 0 0);
|
17
|
+
--secondary: oklch(0.967 0.001 286.375);
|
18
|
+
--secondary-foreground: oklch(0.21 0.006 285.885);
|
19
|
+
--muted: oklch(0.967 0.001 286.375);
|
20
|
+
--muted-foreground: oklch(0.552 0.016 285.938);
|
21
|
+
--accent: oklch(0.967 0.001 286.375);
|
22
|
+
--accent-foreground: oklch(0.21 0.006 285.885);
|
23
|
+
--destructive: oklch(0.577 0.245 27.325);
|
24
|
+
--border: oklch(0.92 0.004 286.32);
|
25
|
+
--input: oklch(0.92 0.004 286.32);
|
26
|
+
--ring: oklch(0.705 0.015 286.067);
|
27
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
28
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
29
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
30
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
31
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
32
|
+
--sidebar: oklch(0.985 0 0);
|
33
|
+
--sidebar-foreground: oklch(0.141 0.005 285.823);
|
34
|
+
--sidebar-primary: oklch(0.21 0.006 285.885);
|
35
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
36
|
+
--sidebar-accent: oklch(0.967 0.001 286.375);
|
37
|
+
--sidebar-accent-foreground: oklch(0.21 0.006 285.885);
|
38
|
+
--sidebar-border: oklch(0.92 0.004 286.32);
|
39
|
+
--sidebar-ring: oklch(0.705 0.015 286.067);
|
40
|
+
}
|
41
|
+
.shadcn-classless.dark-mode {
|
42
|
+
--background: oklch(0.141 0.005 285.823);
|
43
|
+
--foreground: oklch(0.985 0 0);
|
44
|
+
--card: oklch(0.21 0.006 285.885);
|
45
|
+
--card-foreground: oklch(0.985 0 0);
|
46
|
+
--popover: oklch(0.21 0.006 285.885);
|
47
|
+
--popover-foreground: oklch(0.985 0 0);
|
48
|
+
--primary: oklch(0.92 0.004 286.32);
|
49
|
+
--primary-foreground: oklch(0.21 0.006 285.885);
|
50
|
+
--secondary: oklch(0.274 0.006 286.033);
|
51
|
+
--secondary-foreground: oklch(0.985 0 0);
|
52
|
+
--muted: oklch(0.274 0.006 286.033);
|
53
|
+
--muted-foreground: oklch(0.705 0.015 286.067);
|
54
|
+
--accent: oklch(0.274 0.006 286.033);
|
55
|
+
--accent-foreground: oklch(0.985 0 0);
|
56
|
+
--destructive: oklch(0.704 0.191 22.216);
|
57
|
+
--border: oklch(1 0 0 / 10%);
|
58
|
+
--input: oklch(1 0 0 / 15%);
|
59
|
+
--ring: oklch(0.552 0.016 285.938);
|
60
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
61
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
62
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
63
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
64
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
65
|
+
--sidebar: oklch(0.21 0.006 285.885);
|
66
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
67
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
68
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
69
|
+
--sidebar-accent: oklch(0.274 0.006 286.033);
|
70
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
71
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
72
|
+
--sidebar-ring: oklch(0.552 0.016 285.938);
|
73
|
+
}
|
74
|
+
.shadcn-classless *,
|
75
|
+
.shadcn-classless ::after,
|
76
|
+
.shadcn-classless ::before {
|
77
|
+
box-sizing: border-box;
|
78
|
+
}
|
79
|
+
.shadcn-classless * {
|
80
|
+
margin: 0;
|
81
|
+
padding: 0;
|
82
|
+
}
|
83
|
+
.shadcn-classless h1,
|
84
|
+
.shadcn-classless h2,
|
85
|
+
.shadcn-classless h3,
|
86
|
+
.shadcn-classless h4,
|
87
|
+
.shadcn-classless h5,
|
88
|
+
.shadcn-classless h6 {
|
89
|
+
margin-bottom: 0.5em;
|
90
|
+
font-weight: 700;
|
91
|
+
}
|
92
|
+
.shadcn-classless h1 {
|
93
|
+
letter-spacing: -0.025em;
|
94
|
+
font-weight: 700;
|
95
|
+
font-size: 1.875rem;
|
96
|
+
line-height: 2.25rem;
|
97
|
+
}
|
98
|
+
.shadcn-classless h2 {
|
99
|
+
letter-spacing: -0.025em;
|
100
|
+
font-weight: 600;
|
101
|
+
font-size: 1.25rem;
|
102
|
+
line-height: 1.75rem;
|
103
|
+
}
|
104
|
+
.shadcn-classless h3 {
|
105
|
+
letter-spacing: -0.025em;
|
106
|
+
font-weight: 600;
|
107
|
+
font-size: 1.125rem;
|
108
|
+
line-height: 1.75rem;
|
109
|
+
}
|
110
|
+
.shadcn-classless h4 {
|
111
|
+
letter-spacing: -0.025em;
|
112
|
+
font-weight: 600;
|
113
|
+
font-size: 16px;
|
114
|
+
line-height: 1.75rem;
|
115
|
+
}
|
116
|
+
.shadcn-classless h5 {
|
117
|
+
font-size: 15px;
|
118
|
+
}
|
119
|
+
.shadcn-classless h6 {
|
120
|
+
font-size: 14px;
|
121
|
+
}
|
122
|
+
.shadcn-classless p {
|
123
|
+
margin-bottom: 1em;
|
124
|
+
}
|
125
|
+
.shadcn-classless a {
|
126
|
+
color: var(--primary);
|
127
|
+
text-decoration: none;
|
128
|
+
}
|
129
|
+
.shadcn-classless a:hover {
|
130
|
+
text-decoration: underline;
|
131
|
+
}
|
132
|
+
.shadcn-classless ul,
|
133
|
+
.shadcn-classless ol {
|
134
|
+
margin-bottom: 1em;
|
135
|
+
padding-left: 1.5em;
|
136
|
+
}
|
137
|
+
.shadcn-classless header,
|
138
|
+
.shadcn-classless main {
|
139
|
+
max-width: 800px;
|
140
|
+
margin: 0 auto;
|
141
|
+
}
|
142
|
+
.shadcn-classless header {
|
143
|
+
margin-bottom: 2rem;
|
144
|
+
}
|
145
|
+
.shadcn-classless header h1 {
|
146
|
+
font-size: 2rem;
|
147
|
+
}
|
148
|
+
.shadcn-classless nav ul {
|
149
|
+
list-style: none;
|
150
|
+
padding: 0;
|
151
|
+
display: flex;
|
152
|
+
gap: 1rem;
|
153
|
+
}
|
154
|
+
.shadcn-classless section {
|
155
|
+
margin-bottom: 2rem;
|
156
|
+
}
|
157
|
+
.shadcn-classless form {
|
158
|
+
display: flex;
|
159
|
+
flex-direction: column;
|
160
|
+
gap: 1rem;
|
161
|
+
}
|
162
|
+
.shadcn-classless input,
|
163
|
+
.shadcn-classless select,
|
164
|
+
.shadcn-classless textarea {
|
165
|
+
font-weight: 500;
|
166
|
+
font: inherit;
|
167
|
+
padding: 0.5rem 0.75rem;
|
168
|
+
border: 1px solid var(--border);
|
169
|
+
border-radius: var(--radius);
|
170
|
+
background-color: var(--background);
|
171
|
+
color: var(--foreground);
|
172
|
+
font-size: 0.875rem;
|
173
|
+
}
|
174
|
+
.shadcn-classless select {
|
175
|
+
appearance: none;
|
176
|
+
-webkit-appearance: none;
|
177
|
+
-moz-appearance: none;
|
178
|
+
background: transparent;
|
179
|
+
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
|
180
|
+
background-repeat: no-repeat;
|
181
|
+
background-position-x: calc(100% - 0.75rem);
|
182
|
+
background-position-y: 50%;
|
183
|
+
}
|
184
|
+
.shadcn-classless input[type='submit'],
|
185
|
+
.shadcn-classless button {
|
186
|
+
font: inherit;
|
187
|
+
cursor: pointer;
|
188
|
+
font-size: 0.875rem;
|
189
|
+
font-weight: 500;
|
190
|
+
padding: 0.5rem 1rem;
|
191
|
+
background-color: var(--primary);
|
192
|
+
color: var(--primary-foreground);
|
193
|
+
border: none;
|
194
|
+
border-radius: var(--radius);
|
195
|
+
transition: background-color 0.2s ease-in-out;
|
196
|
+
}
|
197
|
+
.shadcn-classless input[type='submit']:hover,
|
198
|
+
.shadcn-classless button:hover {
|
199
|
+
background-color: color-mix(in srgb, var(--primary) 90%, transparent);
|
200
|
+
}
|
201
|
+
.shadcn-classless fieldset {
|
202
|
+
border: 1px solid var(--border);
|
203
|
+
border-radius: var(--radius);
|
204
|
+
padding: 1rem;
|
205
|
+
}
|
206
|
+
.shadcn-classless legend {
|
207
|
+
padding: 0 0.5rem;
|
208
|
+
}
|
209
|
+
.shadcn-classless label {
|
210
|
+
display: block;
|
211
|
+
}
|
212
|
+
.shadcn-classless small {
|
213
|
+
color: var(--muted-foreground);
|
214
|
+
}
|
215
|
+
.shadcn-classless figure {
|
216
|
+
margin-bottom: 1rem;
|
217
|
+
overflow: hidden;
|
218
|
+
}
|
219
|
+
.shadcn-classless img {
|
220
|
+
max-width: 100%;
|
221
|
+
height: auto;
|
222
|
+
border-radius: var(--radius);
|
223
|
+
}
|
224
|
+
.shadcn-classless figcaption {
|
225
|
+
font-size: 0.875rem;
|
226
|
+
margin-top: 0.5rem;
|
227
|
+
color: var(--muted-foreground);
|
228
|
+
}
|
229
|
+
.shadcn-classless blockquote {
|
230
|
+
border-left: 4px solid var(--border);
|
231
|
+
padding-left: 1rem;
|
232
|
+
font-style: italic;
|
233
|
+
}
|
234
|
+
.shadcn-classless [type='checkbox'],
|
235
|
+
.shadcn-classless [type='radio'] {
|
236
|
+
margin-right: 0.5rem;
|
237
|
+
}
|
238
|
+
.shadcn-classless progress {
|
239
|
+
width: 100%;
|
240
|
+
}
|
241
|
+
.shadcn-classless dialog {
|
242
|
+
background-color: var(--background);
|
243
|
+
color: var(--foreground);
|
244
|
+
border: 1px solid var(--border);
|
245
|
+
border-radius: var(--radius);
|
246
|
+
padding: 24px;
|
247
|
+
margin: auto;
|
248
|
+
}
|
249
|
+
.shadcn-classless dialog::backdrop {
|
250
|
+
background-color: rgba(0, 0, 0, 0.8);
|
251
|
+
}
|
252
|
+
.shadcn-classless details {
|
253
|
+
border: 1px solid var(--border);
|
254
|
+
border-radius: var(--radius);
|
255
|
+
padding: 0.5rem;
|
256
|
+
margin-bottom: 1rem;
|
257
|
+
}
|
258
|
+
.shadcn-classless summary {
|
259
|
+
cursor: pointer;
|
260
|
+
font-weight: bold;
|
261
|
+
}
|
262
|
+
.shadcn-classless article {
|
263
|
+
border: 1px solid var(--border);
|
264
|
+
border-radius: var(--radius);
|
265
|
+
padding: 1rem;
|
266
|
+
margin-bottom: 1rem;
|
267
|
+
}
|
268
|
+
.shadcn-classless footer {
|
269
|
+
margin-top: 2rem;
|
270
|
+
text-align: center;
|
271
|
+
color: var(--muted-foreground);
|
272
|
+
}
|
273
|
+
.shadcn-classless [aria-busy='true'] {
|
274
|
+
opacity: 0.7;
|
275
|
+
cursor: progress;
|
276
|
+
}
|
277
|
+
@media (max-width: 600px) {
|
278
|
+
.shadcn-classless body {
|
279
|
+
padding: 0.5rem;
|
280
|
+
}
|
281
|
+
.shadcn-classless nav ul {
|
282
|
+
flex-direction: column;
|
283
|
+
}
|
284
|
+
}
|
285
|
+
.shadcn-classless input[type='file']::file-selector-button {
|
286
|
+
border: none;
|
287
|
+
background-color: var(--background);
|
288
|
+
font-weight: 600;
|
289
|
+
}
|
290
|
+
.shadcn-classless *:disabled {
|
291
|
+
cursor: not-allowed;
|
292
|
+
}
|
293
|
+
.shadcn-classless input[type='radio'],
|
294
|
+
.shadcn-classless input[type='checkbox'],
|
295
|
+
.shadcn-classless input[type='range'] {
|
296
|
+
accent-color: var(--primary);
|
297
|
+
background-color: var(--background);
|
298
|
+
}
|
299
|
+
.shadcn-classless kbd {
|
300
|
+
padding: 0.125rem 0.625rem;
|
301
|
+
background-color: var(--primary);
|
302
|
+
color: var(--primary-foreground);
|
303
|
+
border-radius: var(--radius);
|
304
|
+
}
|
305
|
+
.shadcn-classless table {
|
306
|
+
caption-side: bottom;
|
307
|
+
border-collapse: collapse;
|
308
|
+
}
|
309
|
+
.shadcn-classless table caption {
|
310
|
+
color: var(--muted-foreground);
|
311
|
+
margin-top: 1rem;
|
312
|
+
}
|
313
|
+
.shadcn-classless table th {
|
314
|
+
color: var(--muted-foreground);
|
315
|
+
}
|
316
|
+
.shadcn-classless table tr {
|
317
|
+
border-bottom: 1px solid var(--border);
|
318
|
+
}
|
319
|
+
.shadcn-classless table tr:hover {
|
320
|
+
background-color: hsl(var(--muted) / 0.5);
|
321
|
+
}
|
322
|
+
.shadcn-classless table td,
|
323
|
+
.shadcn-classless table th {
|
324
|
+
vertical-align: middle;
|
325
|
+
padding: 0.5rem;
|
326
|
+
text-align: start;
|
327
|
+
}
|
328
|
+
.shadcn-classless table tfoot {
|
329
|
+
background-color: var(--muted);
|
330
|
+
}
|
331
|
+
.shadcn-classless dialog[drawer] {
|
332
|
+
border-bottom-right-radius: 0;
|
333
|
+
border-bottom-left-radius: 0;
|
334
|
+
top: auto;
|
335
|
+
bottom: 0;
|
336
|
+
width: 100vw;
|
337
|
+
max-height: 50vh;
|
338
|
+
}
|
339
|
+
.shadcn-classless dialog[drawer][open] {
|
340
|
+
animation: slideup 0.2s ease-in forwards;
|
341
|
+
}
|
342
|
+
.shadcn-classless dialog > header {
|
343
|
+
margin: 0;
|
344
|
+
}
|
345
|
+
@keyframes slideup {
|
346
|
+
0% {
|
347
|
+
transform: translateY(100%);
|
348
|
+
}
|
349
|
+
100% {
|
350
|
+
transform: translateY(0);
|
351
|
+
}
|
352
|
+
}
|
353
|
+
.shadcn-classless progress {
|
354
|
+
-webkit-appearance: none;
|
355
|
+
-moz-appearance: none;
|
356
|
+
appearance: none;
|
357
|
+
height: 0.5rem;
|
358
|
+
border-radius: 9999px;
|
359
|
+
background-color: var(--muted);
|
360
|
+
border: 0;
|
361
|
+
}
|
362
|
+
.shadcn-classless progress[value]::-webkit-progress-value {
|
363
|
+
border-radius: 9999px;
|
364
|
+
background-color: var(--primary);
|
365
|
+
}
|
366
|
+
.shadcn-classless ::-webkit-progress-bar {
|
367
|
+
border-radius: 9999px;
|
368
|
+
background-color: var(--muted);
|
369
|
+
}
|
370
|
+
.shadcn-classless ::-moz-progress-bar {
|
371
|
+
border-radius: 9999px;
|
372
|
+
background-color: var(--primary);
|
373
|
+
}
|
374
|
+
.shadcn-classless progress:indeterminate {
|
375
|
+
background: var(--muted) linear-gradient(to right, var(--primary) 35%, var(--muted) 35%) top left / 150% 150% no-repeat;
|
376
|
+
animation: progress-indeterminate 1.5s linear infinite;
|
377
|
+
}
|
378
|
+
.shadcn-classless progress:indeterminate::-webkit-progress-bar {
|
379
|
+
background-color: transparent;
|
380
|
+
}
|
381
|
+
.shadcn-classless progress:indeterminate::-moz-progress-bar {
|
382
|
+
background-color: transparent;
|
383
|
+
}
|
384
|
+
@keyframes progress-indeterminate {
|
385
|
+
0% {
|
386
|
+
background-position: 200% 0;
|
387
|
+
}
|
388
|
+
100% {
|
389
|
+
background-position: -200% 0;
|
390
|
+
}
|
391
|
+
}
|
392
|
+
.shadcn-classless hr {
|
393
|
+
border: 0;
|
394
|
+
height: 1px;
|
395
|
+
margin: 1rem 0;
|
396
|
+
background-color: var(--border);
|
397
|
+
flex-shrink: 0;
|
398
|
+
}
|
399
|
+
.shadcn-classless hr[vertical] {
|
400
|
+
width: 1px;
|
401
|
+
height: 1.25rem;
|
402
|
+
margin: 0 1rem;
|
403
|
+
}
|
instaui/static/insta-ui.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
:where(.app-box,.insta-main){height:100
|
1
|
+
:root{color-scheme:light dark}:where(body){--insta-column-gap: 1rem;height:100vh}:where(*){box-sizing:border-box}:where(#app){height:100%}:where(.app-box,.insta-main){height:100%;overflow-y:auto}:where(.insta-main){--insta-padding: 16px;padding:var(--insta-padding, 16px)}
|