@steedos/service-plugin-amis 2.3.3 → 2.4.0-beta.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/main/default/client/amis.render.client.js +89 -23
- package/main/default/client/load.assets.client.js +9 -2
- package/main/default/client/tailwind.client.js +29 -10
- package/main/default/pages/apps_form.page.amis.json +1 -7
- package/main/default/pages/generate_object_tabs.page.amis.json +0 -1
- package/main/default/pages/object_layouts.page.amis.json +1 -4
- package/main/default/pages/space_user_info_record.page.amis.json +1 -6
- package/main/default/services/amis.service.js +1 -1
- package/package.json +6 -3
- package/public/amis/amis.css +4 -0
- package/public/tailwind/tailwind-base.css +514 -0
- package/public/tailwind/tailwind-steedos.css +390 -0
- package/src/styles/tailwind-base.css +1 -0
- package/src/styles/tailwind.css +3 -0
- package/tailwind.config.js +24 -0
|
@@ -73,9 +73,15 @@
|
|
|
73
73
|
waitForThing(window, 'assetsLoaded'),
|
|
74
74
|
waitForThing(window, 'amis'),
|
|
75
75
|
]).then(()=>{
|
|
76
|
-
window.React = window.__React;
|
|
77
|
-
window.ReactDOM = window.__ReactDOM;
|
|
76
|
+
// window.React = window.__React;
|
|
77
|
+
// window.ReactDOM = window.__ReactDOM;
|
|
78
78
|
const AmisRenderers = [];
|
|
79
|
+
let amisLib = amisRequire('amis');
|
|
80
|
+
const registerMap = {
|
|
81
|
+
renderer: amisLib.Renderer,
|
|
82
|
+
formitem: amisLib.FormItem,
|
|
83
|
+
options: amisLib.OptionsControl,
|
|
84
|
+
};
|
|
79
85
|
|
|
80
86
|
const amisComps = lodash.filter(Builder.registry['meta-components'], function(item){ return item.componentName && item.amis?.render});
|
|
81
87
|
|
|
@@ -103,13 +109,35 @@
|
|
|
103
109
|
return amisReact.createElement(amisReact.Fragment, null, amisReact.createElement(amisReact.Fragment, null, schema && render ? render('body', schema) : ''), amisReact.createElement(amisReact.Fragment, null, render ? render('body', body) : ''));
|
|
104
110
|
}
|
|
105
111
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
112
|
+
// 注册amis渲染器
|
|
113
|
+
let asset = comp.amis.render;
|
|
114
|
+
if (!registerMap[asset.usage]) {
|
|
115
|
+
console.error(
|
|
116
|
+
`自定义组件注册失败,不存在${asset.usage}自定义组件类型。`, comp
|
|
117
|
+
);
|
|
118
|
+
} else {
|
|
119
|
+
registerMap[asset.usage]({
|
|
120
|
+
test: new RegExp(`(^|\/)${asset.type}`),
|
|
121
|
+
type: asset.type,
|
|
122
|
+
weight: asset.weight,
|
|
123
|
+
autoVar: true,
|
|
124
|
+
})(AmisWrapper);
|
|
125
|
+
// 记录当前创建的amis自定义组件
|
|
126
|
+
console.info('注册了一个自定义amis组件:', {
|
|
127
|
+
type: asset.type,
|
|
128
|
+
weight: asset.weight,
|
|
129
|
+
component: AmisWrapper,
|
|
130
|
+
framework: asset.framework,
|
|
131
|
+
usage: asset.usage,
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
// amisRequire("amis").Renderer(
|
|
135
|
+
// {
|
|
136
|
+
// type: comp.amis?.render.type,
|
|
137
|
+
// weight: comp.amis?.render.weight,
|
|
138
|
+
// autoVar: true,
|
|
139
|
+
// }
|
|
140
|
+
// )(AmisWrapper);
|
|
113
141
|
} catch(e){console.error(e)}
|
|
114
142
|
}
|
|
115
143
|
});
|
|
@@ -151,7 +179,30 @@
|
|
|
151
179
|
|
|
152
180
|
return pathname + search + hash;
|
|
153
181
|
};
|
|
154
|
-
|
|
182
|
+
const isCurrentUrl = (to, ctx)=>{
|
|
183
|
+
try {
|
|
184
|
+
if (!to) {
|
|
185
|
+
return false;
|
|
186
|
+
}
|
|
187
|
+
const pathname = window.location.pathname;
|
|
188
|
+
const link = normalizeLink(to, {
|
|
189
|
+
...location,
|
|
190
|
+
pathname,
|
|
191
|
+
hash: ''
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
if (!~link.indexOf('http') && ~link.indexOf(':')) {
|
|
195
|
+
let strict = ctx && ctx.strict;
|
|
196
|
+
return match(link, {
|
|
197
|
+
decode: decodeURIComponent,
|
|
198
|
+
strict: typeof strict !== 'undefined' ? strict : true
|
|
199
|
+
})(pathname);
|
|
200
|
+
}
|
|
201
|
+
return decodeURI(pathname) === link || decodeURI(pathname).startsWith(`${link}/`);
|
|
202
|
+
} catch (error) {
|
|
203
|
+
console.error(`error`, error)
|
|
204
|
+
}
|
|
205
|
+
}
|
|
155
206
|
const AmisEnv = {
|
|
156
207
|
// getModalContainer: (props)=>{
|
|
157
208
|
// let div = document.querySelector("#amisModalContainer");
|
|
@@ -189,6 +240,7 @@
|
|
|
189
240
|
}
|
|
190
241
|
},
|
|
191
242
|
theme: 'antd',
|
|
243
|
+
isCurrentUrl: isCurrentUrl,
|
|
192
244
|
};
|
|
193
245
|
|
|
194
246
|
const AmisRender = function (props) {
|
|
@@ -196,6 +248,15 @@
|
|
|
196
248
|
const schema = props.schema;
|
|
197
249
|
const data = props.data;
|
|
198
250
|
const name = props.name;
|
|
251
|
+
|
|
252
|
+
if(SteedosUI.refs[schema.name]){
|
|
253
|
+
if(SteedosUI.refs[schema.name].unmount){
|
|
254
|
+
SteedosUI.refs[schema.name].unmount()
|
|
255
|
+
}else{
|
|
256
|
+
console.log(`not find amis scope unmount`)
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
199
260
|
if(props.pageType === 'form'){
|
|
200
261
|
env = Object.assign({
|
|
201
262
|
getModalContainer: ()=>{
|
|
@@ -219,7 +280,10 @@
|
|
|
219
280
|
}
|
|
220
281
|
|
|
221
282
|
React.useEffect(()=>{
|
|
222
|
-
amisRequire('amis/embed').embed(`.steedos-amis-render-scope-${name}`,schema, {data, name, locale: getAmisLng()}, Object.assign({}, AmisEnv, env))
|
|
283
|
+
const amisScope = amisRequire('amis/embed').embed(`.steedos-amis-render-scope-${name}`,schema, {data, name, locale: getAmisLng()}, Object.assign({}, AmisEnv, env))
|
|
284
|
+
if(window.SteedosUI && schema.name){
|
|
285
|
+
SteedosUI.refs[schema.name] = amisScope;
|
|
286
|
+
}
|
|
223
287
|
}, [])
|
|
224
288
|
return React.createElement("div", {
|
|
225
289
|
className: "amis-scope"
|
|
@@ -230,21 +294,23 @@
|
|
|
230
294
|
|
|
231
295
|
const initMonaco = ()=>{
|
|
232
296
|
|
|
233
|
-
const { detect } = require('detect-browser');
|
|
297
|
+
// const { detect } = require('detect-browser');
|
|
234
298
|
|
|
235
|
-
const browser = detect();
|
|
299
|
+
// const browser = detect();
|
|
236
300
|
|
|
237
|
-
// 低于86版的chrome 不支持code类型字段及功能
|
|
238
|
-
if (browser && browser.name === 'chrome' && Number(browser.version.split(".")[0]) < 86) {
|
|
239
|
-
|
|
240
|
-
}
|
|
301
|
+
// // 低于86版的chrome 不支持code类型字段及功能
|
|
302
|
+
// if (browser && browser.name === 'chrome' && Number(browser.version.split(".")[0]) < 86) {
|
|
303
|
+
// return Promise.resolve(true)
|
|
304
|
+
// }
|
|
241
305
|
|
|
242
|
-
// 手机版暂不支持code类型字段.
|
|
243
|
-
if(Meteor.isCordova){
|
|
244
|
-
|
|
245
|
-
}else{
|
|
246
|
-
|
|
247
|
-
}
|
|
306
|
+
// // 手机版暂不支持code类型字段.
|
|
307
|
+
// if(Meteor.isCordova){
|
|
308
|
+
// return Promise.resolve(true)
|
|
309
|
+
// }else{
|
|
310
|
+
// return Builder.initMonaco()
|
|
311
|
+
// }
|
|
312
|
+
|
|
313
|
+
return Promise.resolve(true)
|
|
248
314
|
}
|
|
249
315
|
//Amis SDK 中已清理了monaco, 所以这里需要提前注册,否则会导致amis code类型报错
|
|
250
316
|
initMonaco().catch((err)=>{
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: baozhoutao@steedos.com
|
|
3
|
+
* @Date: 2022-12-09 18:23:36
|
|
4
|
+
* @LastEditors: baozhoutao@steedos.com
|
|
5
|
+
* @LastEditTime: 2022-12-17 14:35:49
|
|
6
|
+
* @Description:
|
|
7
|
+
*/
|
|
1
8
|
// 解决多个react 问题. 注册组件时, 使用 amis 自带的 react , 运行 steedos 相关组件时, 使用 全局 react
|
|
2
9
|
window.addEventListener('message', function (event) {
|
|
3
10
|
const { data } = event;
|
|
@@ -7,8 +14,8 @@ window.addEventListener('message', function (event) {
|
|
|
7
14
|
Promise.all([
|
|
8
15
|
waitForThing(window, 'amis'),
|
|
9
16
|
]).then(()=>{
|
|
10
|
-
window.__React = window.React;
|
|
11
|
-
window.__ReactDOM = window.ReactDOM;
|
|
17
|
+
// window.__React = window.React;
|
|
18
|
+
// window.__ReactDOM = window.ReactDOM;
|
|
12
19
|
window.React = amisRequire('react');
|
|
13
20
|
window.ReactDOM = amisRequire('react-dom');
|
|
14
21
|
window.ReactDom = window.ReactDOM;
|
|
@@ -1,16 +1,35 @@
|
|
|
1
1
|
try {
|
|
2
2
|
// 加载 tailwind
|
|
3
|
-
if(typeof BigInt === 'undefined') {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}else{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
// if(typeof BigInt === 'undefined') {
|
|
4
|
+
// let tailwindStyle = document.createElement("link");
|
|
5
|
+
// tailwindStyle.setAttribute("rel", "stylesheet");
|
|
6
|
+
// tailwindStyle.setAttribute("type", "text/css");
|
|
7
|
+
// tailwindStyle.setAttribute("href", Steedos.absoluteUrl("/tailwind/tailwind.css"));
|
|
8
|
+
// document.getElementsByTagName("head")[0].appendChild(tailwindStyle);
|
|
9
|
+
// }else{
|
|
10
|
+
// let tailwindScript = document.createElement("script");
|
|
11
|
+
// tailwindScript.setAttribute("src", Steedos.absoluteUrl('/tailwind/tailwind.js'));
|
|
12
|
+
// document.getElementsByTagName("head")[0].appendChild(tailwindScript);
|
|
13
|
+
// }
|
|
14
|
+
|
|
15
|
+
const head = document.head || document.getElementsByTagName('head')[0]
|
|
16
|
+
|
|
17
|
+
let tailwindBase = document.createElement("link");
|
|
18
|
+
tailwindBase.setAttribute("rel", "stylesheet");
|
|
19
|
+
tailwindBase.setAttribute("type", "text/css");
|
|
20
|
+
tailwindBase.setAttribute("href", Steedos.absoluteUrl("/tailwind/tailwind-base.css"));
|
|
21
|
+
|
|
22
|
+
if (head.firstChild) {
|
|
23
|
+
head.insertBefore(tailwindBase, head.firstChild)
|
|
24
|
+
} else {
|
|
25
|
+
head.appendChild(tailwindBase)
|
|
13
26
|
}
|
|
27
|
+
|
|
28
|
+
let tailwindStyle = document.createElement("link");
|
|
29
|
+
tailwindStyle.setAttribute("rel", "stylesheet");
|
|
30
|
+
tailwindStyle.setAttribute("type", "text/css");
|
|
31
|
+
tailwindStyle.setAttribute("href", Steedos.absoluteUrl("/tailwind/tailwind-steedos.css"));
|
|
32
|
+
head.appendChild(tailwindStyle)
|
|
14
33
|
} catch (error) {
|
|
15
34
|
console.error(error)
|
|
16
35
|
};
|
|
@@ -533,13 +533,7 @@
|
|
|
533
533
|
"body"
|
|
534
534
|
],
|
|
535
535
|
"data": {
|
|
536
|
-
"objectName": "apps"
|
|
537
|
-
"context": {
|
|
538
|
-
"rootUrl": "http://127.0.0.1:5800",
|
|
539
|
-
"tenantId": "hKdnwE55WcnWveYxS",
|
|
540
|
-
"userId": "62ede4f62161e377e35de58c",
|
|
541
|
-
"authToken": "770a0b9e5b4fc2f8d6317ca109b0c087d3d160da669ac0218c044e15db1da0e74dd7e16c03b9f7e1640539"
|
|
542
|
-
}
|
|
536
|
+
"objectName": "apps"
|
|
543
537
|
},
|
|
544
538
|
"id": "u:953fda4052b6",
|
|
545
539
|
"bodyClassName": "p-0",
|
|
@@ -592,12 +592,7 @@
|
|
|
592
592
|
"initialValues": {},
|
|
593
593
|
"appId": "builder",
|
|
594
594
|
"title": "",
|
|
595
|
-
"context": {
|
|
596
|
-
"rootUrl": "https://5000-steedos-steedosplatform-uwiv6wkdp2o.ws-us73.gitpod.io",
|
|
597
|
-
"tenantId": "e4YD58Xx68PQNPD2G",
|
|
598
|
-
"userId": "62ea04550167020d189ce439",
|
|
599
|
-
"authToken": "077c2bb0f4a7c594572fceb47086e2ebd439c6689852b2264c2b20905a38f0f2fbe3491ce3aebfd1872bd5"
|
|
600
|
-
}
|
|
595
|
+
"context": "${context}"
|
|
601
596
|
},
|
|
602
597
|
"id": "u:b80a805eb7fa"
|
|
603
598
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-plugin-amis",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0-beta.2",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "
|
|
6
|
+
"build": "yarn build:tailwind-base && yarn build:tailwind",
|
|
7
|
+
"build:tailwind-cdn": "node .scripts/build.tailwind.js",
|
|
8
|
+
"build:tailwind-base": "tailwindcss -i ./src/styles/tailwind-base.css -o ./public/tailwind/tailwind-base.css",
|
|
9
|
+
"build:tailwind": "tailwindcss -i ./src/styles/tailwind.css -o ./public/tailwind/tailwind-steedos.css"
|
|
7
10
|
},
|
|
8
11
|
"license": "MIT",
|
|
9
12
|
"private": false,
|
|
@@ -13,5 +16,5 @@
|
|
|
13
16
|
"dependencies": {
|
|
14
17
|
"@steedos-widgets/amis-lib": "^1.0.10"
|
|
15
18
|
},
|
|
16
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "4bbd9ee44a8cc1e75db2027c135b9e208b93964a"
|
|
17
20
|
}
|
package/public/amis/amis.css
CHANGED
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
/*
|
|
2
|
+
! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
7
|
+
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
*,
|
|
11
|
+
::before,
|
|
12
|
+
::after {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
/* 1 */
|
|
15
|
+
border-width: 0;
|
|
16
|
+
/* 2 */
|
|
17
|
+
border-style: solid;
|
|
18
|
+
/* 2 */
|
|
19
|
+
border-color: #e5e7eb;
|
|
20
|
+
/* 2 */
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
::before,
|
|
24
|
+
::after {
|
|
25
|
+
--tw-content: '';
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/*
|
|
29
|
+
1. Use a consistent sensible line-height in all browsers.
|
|
30
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
31
|
+
3. Use a more readable tab size.
|
|
32
|
+
4. Use the user's configured `sans` font-family by default.
|
|
33
|
+
5. Use the user's configured `sans` font-feature-settings by default.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
html {
|
|
37
|
+
line-height: 1.5;
|
|
38
|
+
/* 1 */
|
|
39
|
+
-webkit-text-size-adjust: 100%;
|
|
40
|
+
/* 2 */
|
|
41
|
+
-moz-tab-size: 4;
|
|
42
|
+
/* 3 */
|
|
43
|
+
-o-tab-size: 4;
|
|
44
|
+
tab-size: 4;
|
|
45
|
+
/* 3 */
|
|
46
|
+
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
47
|
+
/* 4 */
|
|
48
|
+
font-feature-settings: normal;
|
|
49
|
+
/* 5 */
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/*
|
|
53
|
+
1. Remove the margin in all browsers.
|
|
54
|
+
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
body {
|
|
58
|
+
margin: 0;
|
|
59
|
+
/* 1 */
|
|
60
|
+
line-height: inherit;
|
|
61
|
+
/* 2 */
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/*
|
|
65
|
+
1. Add the correct height in Firefox.
|
|
66
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
67
|
+
3. Ensure horizontal rules are visible by default.
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
hr {
|
|
71
|
+
height: 0;
|
|
72
|
+
/* 1 */
|
|
73
|
+
color: inherit;
|
|
74
|
+
/* 2 */
|
|
75
|
+
border-top-width: 1px;
|
|
76
|
+
/* 3 */
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/*
|
|
80
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
abbr:where([title]) {
|
|
84
|
+
-webkit-text-decoration: underline dotted;
|
|
85
|
+
text-decoration: underline dotted;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/*
|
|
89
|
+
Remove the default font size and weight for headings.
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
h1,
|
|
93
|
+
h2,
|
|
94
|
+
h3,
|
|
95
|
+
h4,
|
|
96
|
+
h5,
|
|
97
|
+
h6 {
|
|
98
|
+
font-size: inherit;
|
|
99
|
+
font-weight: inherit;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/*
|
|
103
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
|
104
|
+
*/
|
|
105
|
+
|
|
106
|
+
a {
|
|
107
|
+
color: inherit;
|
|
108
|
+
text-decoration: inherit;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/*
|
|
112
|
+
Add the correct font weight in Edge and Safari.
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
b,
|
|
116
|
+
strong {
|
|
117
|
+
font-weight: bolder;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/*
|
|
121
|
+
1. Use the user's configured `mono` font family by default.
|
|
122
|
+
2. Correct the odd `em` font sizing in all browsers.
|
|
123
|
+
*/
|
|
124
|
+
|
|
125
|
+
code,
|
|
126
|
+
kbd,
|
|
127
|
+
samp,
|
|
128
|
+
pre {
|
|
129
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
130
|
+
/* 1 */
|
|
131
|
+
font-size: 1em;
|
|
132
|
+
/* 2 */
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/*
|
|
136
|
+
Add the correct font size in all browsers.
|
|
137
|
+
*/
|
|
138
|
+
|
|
139
|
+
small {
|
|
140
|
+
font-size: 80%;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/*
|
|
144
|
+
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
|
|
145
|
+
*/
|
|
146
|
+
|
|
147
|
+
sub,
|
|
148
|
+
sup {
|
|
149
|
+
font-size: 75%;
|
|
150
|
+
line-height: 0;
|
|
151
|
+
position: relative;
|
|
152
|
+
vertical-align: baseline;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
sub {
|
|
156
|
+
bottom: -0.25em;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
sup {
|
|
160
|
+
top: -0.5em;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/*
|
|
164
|
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
165
|
+
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
166
|
+
3. Remove gaps between table borders by default.
|
|
167
|
+
*/
|
|
168
|
+
|
|
169
|
+
table {
|
|
170
|
+
text-indent: 0;
|
|
171
|
+
/* 1 */
|
|
172
|
+
border-color: inherit;
|
|
173
|
+
/* 2 */
|
|
174
|
+
border-collapse: collapse;
|
|
175
|
+
/* 3 */
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/*
|
|
179
|
+
1. Change the font styles in all browsers.
|
|
180
|
+
2. Remove the margin in Firefox and Safari.
|
|
181
|
+
3. Remove default padding in all browsers.
|
|
182
|
+
*/
|
|
183
|
+
|
|
184
|
+
button,
|
|
185
|
+
input,
|
|
186
|
+
optgroup,
|
|
187
|
+
select,
|
|
188
|
+
textarea {
|
|
189
|
+
font-family: inherit;
|
|
190
|
+
/* 1 */
|
|
191
|
+
font-size: 100%;
|
|
192
|
+
/* 1 */
|
|
193
|
+
font-weight: inherit;
|
|
194
|
+
/* 1 */
|
|
195
|
+
line-height: inherit;
|
|
196
|
+
/* 1 */
|
|
197
|
+
color: inherit;
|
|
198
|
+
/* 1 */
|
|
199
|
+
margin: 0;
|
|
200
|
+
/* 2 */
|
|
201
|
+
padding: 0;
|
|
202
|
+
/* 3 */
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/*
|
|
206
|
+
Remove the inheritance of text transform in Edge and Firefox.
|
|
207
|
+
*/
|
|
208
|
+
|
|
209
|
+
button,
|
|
210
|
+
select {
|
|
211
|
+
text-transform: none;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/*
|
|
215
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
|
216
|
+
2. Remove default button styles.
|
|
217
|
+
*/
|
|
218
|
+
|
|
219
|
+
button,
|
|
220
|
+
[type='button'],
|
|
221
|
+
[type='reset'],
|
|
222
|
+
[type='submit'] {
|
|
223
|
+
-webkit-appearance: button;
|
|
224
|
+
/* 1 */
|
|
225
|
+
background-color: transparent;
|
|
226
|
+
/* 2 */
|
|
227
|
+
background-image: none;
|
|
228
|
+
/* 2 */
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/*
|
|
232
|
+
Use the modern Firefox focus style for all focusable elements.
|
|
233
|
+
*/
|
|
234
|
+
|
|
235
|
+
:-moz-focusring {
|
|
236
|
+
outline: auto;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/*
|
|
240
|
+
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
241
|
+
*/
|
|
242
|
+
|
|
243
|
+
:-moz-ui-invalid {
|
|
244
|
+
box-shadow: none;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/*
|
|
248
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
249
|
+
*/
|
|
250
|
+
|
|
251
|
+
progress {
|
|
252
|
+
vertical-align: baseline;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/*
|
|
256
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
257
|
+
*/
|
|
258
|
+
|
|
259
|
+
::-webkit-inner-spin-button,
|
|
260
|
+
::-webkit-outer-spin-button {
|
|
261
|
+
height: auto;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/*
|
|
265
|
+
1. Correct the odd appearance in Chrome and Safari.
|
|
266
|
+
2. Correct the outline style in Safari.
|
|
267
|
+
*/
|
|
268
|
+
|
|
269
|
+
[type='search'] {
|
|
270
|
+
-webkit-appearance: textfield;
|
|
271
|
+
/* 1 */
|
|
272
|
+
outline-offset: -2px;
|
|
273
|
+
/* 2 */
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/*
|
|
277
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
|
278
|
+
*/
|
|
279
|
+
|
|
280
|
+
::-webkit-search-decoration {
|
|
281
|
+
-webkit-appearance: none;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/*
|
|
285
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
|
286
|
+
2. Change font properties to `inherit` in Safari.
|
|
287
|
+
*/
|
|
288
|
+
|
|
289
|
+
::-webkit-file-upload-button {
|
|
290
|
+
-webkit-appearance: button;
|
|
291
|
+
/* 1 */
|
|
292
|
+
font: inherit;
|
|
293
|
+
/* 2 */
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/*
|
|
297
|
+
Add the correct display in Chrome and Safari.
|
|
298
|
+
*/
|
|
299
|
+
|
|
300
|
+
summary {
|
|
301
|
+
display: list-item;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/*
|
|
305
|
+
Removes the default spacing and border for appropriate elements.
|
|
306
|
+
*/
|
|
307
|
+
|
|
308
|
+
blockquote,
|
|
309
|
+
dl,
|
|
310
|
+
dd,
|
|
311
|
+
h1,
|
|
312
|
+
h2,
|
|
313
|
+
h3,
|
|
314
|
+
h4,
|
|
315
|
+
h5,
|
|
316
|
+
h6,
|
|
317
|
+
hr,
|
|
318
|
+
figure,
|
|
319
|
+
p,
|
|
320
|
+
pre {
|
|
321
|
+
margin: 0;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
fieldset {
|
|
325
|
+
margin: 0;
|
|
326
|
+
padding: 0;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
legend {
|
|
330
|
+
padding: 0;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
ol,
|
|
334
|
+
ul,
|
|
335
|
+
menu {
|
|
336
|
+
list-style: none;
|
|
337
|
+
margin: 0;
|
|
338
|
+
padding: 0;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/*
|
|
342
|
+
Prevent resizing textareas horizontally by default.
|
|
343
|
+
*/
|
|
344
|
+
|
|
345
|
+
textarea {
|
|
346
|
+
resize: vertical;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/*
|
|
350
|
+
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
351
|
+
2. Set the default placeholder color to the user's configured gray 400 color.
|
|
352
|
+
*/
|
|
353
|
+
|
|
354
|
+
input::-moz-placeholder, textarea::-moz-placeholder {
|
|
355
|
+
opacity: 1;
|
|
356
|
+
/* 1 */
|
|
357
|
+
color: #9ca3af;
|
|
358
|
+
/* 2 */
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
input::placeholder,
|
|
362
|
+
textarea::placeholder {
|
|
363
|
+
opacity: 1;
|
|
364
|
+
/* 1 */
|
|
365
|
+
color: #9ca3af;
|
|
366
|
+
/* 2 */
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/*
|
|
370
|
+
Set the default cursor for buttons.
|
|
371
|
+
*/
|
|
372
|
+
|
|
373
|
+
button,
|
|
374
|
+
[role="button"] {
|
|
375
|
+
cursor: pointer;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/*
|
|
379
|
+
Make sure disabled buttons don't get the pointer cursor.
|
|
380
|
+
*/
|
|
381
|
+
|
|
382
|
+
:disabled {
|
|
383
|
+
cursor: default;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/*
|
|
387
|
+
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
388
|
+
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
389
|
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
390
|
+
*/
|
|
391
|
+
|
|
392
|
+
img,
|
|
393
|
+
svg,
|
|
394
|
+
video,
|
|
395
|
+
canvas,
|
|
396
|
+
audio,
|
|
397
|
+
iframe,
|
|
398
|
+
embed,
|
|
399
|
+
object {
|
|
400
|
+
display: block;
|
|
401
|
+
/* 1 */
|
|
402
|
+
vertical-align: middle;
|
|
403
|
+
/* 2 */
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/*
|
|
407
|
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
408
|
+
*/
|
|
409
|
+
|
|
410
|
+
img,
|
|
411
|
+
video {
|
|
412
|
+
max-width: 100%;
|
|
413
|
+
height: auto;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
417
|
+
|
|
418
|
+
[hidden] {
|
|
419
|
+
display: none;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
*, ::before, ::after {
|
|
423
|
+
--tw-border-spacing-x: 0;
|
|
424
|
+
--tw-border-spacing-y: 0;
|
|
425
|
+
--tw-translate-x: 0;
|
|
426
|
+
--tw-translate-y: 0;
|
|
427
|
+
--tw-rotate: 0;
|
|
428
|
+
--tw-skew-x: 0;
|
|
429
|
+
--tw-skew-y: 0;
|
|
430
|
+
--tw-scale-x: 1;
|
|
431
|
+
--tw-scale-y: 1;
|
|
432
|
+
--tw-pan-x: ;
|
|
433
|
+
--tw-pan-y: ;
|
|
434
|
+
--tw-pinch-zoom: ;
|
|
435
|
+
--tw-scroll-snap-strictness: proximity;
|
|
436
|
+
--tw-ordinal: ;
|
|
437
|
+
--tw-slashed-zero: ;
|
|
438
|
+
--tw-numeric-figure: ;
|
|
439
|
+
--tw-numeric-spacing: ;
|
|
440
|
+
--tw-numeric-fraction: ;
|
|
441
|
+
--tw-ring-inset: ;
|
|
442
|
+
--tw-ring-offset-width: 0px;
|
|
443
|
+
--tw-ring-offset-color: #fff;
|
|
444
|
+
--tw-ring-color: rgb(59 130 246 / 0.5);
|
|
445
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
446
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
447
|
+
--tw-shadow: 0 0 #0000;
|
|
448
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
449
|
+
--tw-blur: ;
|
|
450
|
+
--tw-brightness: ;
|
|
451
|
+
--tw-contrast: ;
|
|
452
|
+
--tw-grayscale: ;
|
|
453
|
+
--tw-hue-rotate: ;
|
|
454
|
+
--tw-invert: ;
|
|
455
|
+
--tw-saturate: ;
|
|
456
|
+
--tw-sepia: ;
|
|
457
|
+
--tw-drop-shadow: ;
|
|
458
|
+
--tw-backdrop-blur: ;
|
|
459
|
+
--tw-backdrop-brightness: ;
|
|
460
|
+
--tw-backdrop-contrast: ;
|
|
461
|
+
--tw-backdrop-grayscale: ;
|
|
462
|
+
--tw-backdrop-hue-rotate: ;
|
|
463
|
+
--tw-backdrop-invert: ;
|
|
464
|
+
--tw-backdrop-opacity: ;
|
|
465
|
+
--tw-backdrop-saturate: ;
|
|
466
|
+
--tw-backdrop-sepia: ;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
::backdrop {
|
|
470
|
+
--tw-border-spacing-x: 0;
|
|
471
|
+
--tw-border-spacing-y: 0;
|
|
472
|
+
--tw-translate-x: 0;
|
|
473
|
+
--tw-translate-y: 0;
|
|
474
|
+
--tw-rotate: 0;
|
|
475
|
+
--tw-skew-x: 0;
|
|
476
|
+
--tw-skew-y: 0;
|
|
477
|
+
--tw-scale-x: 1;
|
|
478
|
+
--tw-scale-y: 1;
|
|
479
|
+
--tw-pan-x: ;
|
|
480
|
+
--tw-pan-y: ;
|
|
481
|
+
--tw-pinch-zoom: ;
|
|
482
|
+
--tw-scroll-snap-strictness: proximity;
|
|
483
|
+
--tw-ordinal: ;
|
|
484
|
+
--tw-slashed-zero: ;
|
|
485
|
+
--tw-numeric-figure: ;
|
|
486
|
+
--tw-numeric-spacing: ;
|
|
487
|
+
--tw-numeric-fraction: ;
|
|
488
|
+
--tw-ring-inset: ;
|
|
489
|
+
--tw-ring-offset-width: 0px;
|
|
490
|
+
--tw-ring-offset-color: #fff;
|
|
491
|
+
--tw-ring-color: rgb(59 130 246 / 0.5);
|
|
492
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
493
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
494
|
+
--tw-shadow: 0 0 #0000;
|
|
495
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
496
|
+
--tw-blur: ;
|
|
497
|
+
--tw-brightness: ;
|
|
498
|
+
--tw-contrast: ;
|
|
499
|
+
--tw-grayscale: ;
|
|
500
|
+
--tw-hue-rotate: ;
|
|
501
|
+
--tw-invert: ;
|
|
502
|
+
--tw-saturate: ;
|
|
503
|
+
--tw-sepia: ;
|
|
504
|
+
--tw-drop-shadow: ;
|
|
505
|
+
--tw-backdrop-blur: ;
|
|
506
|
+
--tw-backdrop-brightness: ;
|
|
507
|
+
--tw-backdrop-contrast: ;
|
|
508
|
+
--tw-backdrop-grayscale: ;
|
|
509
|
+
--tw-backdrop-hue-rotate: ;
|
|
510
|
+
--tw-backdrop-invert: ;
|
|
511
|
+
--tw-backdrop-opacity: ;
|
|
512
|
+
--tw-backdrop-saturate: ;
|
|
513
|
+
--tw-backdrop-sepia: ;
|
|
514
|
+
}
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
/* @tailwind base; */
|
|
2
|
+
|
|
3
|
+
.container {
|
|
4
|
+
width: 100%
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@media (min-width: 640px) {
|
|
8
|
+
.container {
|
|
9
|
+
max-width: 640px
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media (min-width: 768px) {
|
|
14
|
+
.container {
|
|
15
|
+
max-width: 768px
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media (min-width: 1024px) {
|
|
20
|
+
.container {
|
|
21
|
+
max-width: 1024px
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media (min-width: 1280px) {
|
|
26
|
+
.container {
|
|
27
|
+
max-width: 1280px
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media (min-width: 1536px) {
|
|
32
|
+
.container {
|
|
33
|
+
max-width: 1536px
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
body.steedos .visible {
|
|
38
|
+
visibility: visible
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
body.steedos .collapse {
|
|
42
|
+
visibility: collapse
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
body.steedos .static {
|
|
46
|
+
position: static
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
body.steedos .fixed {
|
|
50
|
+
position: fixed
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
body.steedos .absolute {
|
|
54
|
+
position: absolute
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
body.steedos .relative {
|
|
58
|
+
position: relative
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
body.steedos .sticky {
|
|
62
|
+
position: sticky
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
body.steedos .inset-0 {
|
|
66
|
+
top: 0px;
|
|
67
|
+
right: 0px;
|
|
68
|
+
bottom: 0px;
|
|
69
|
+
left: 0px
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
body.steedos .top-0 {
|
|
73
|
+
top: 0px
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
body.steedos .z-40 {
|
|
77
|
+
z-index: 40
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
body.steedos .z-20 {
|
|
81
|
+
z-index: 20
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
body.steedos .col-span-2 {
|
|
85
|
+
grid-column: span 2 / span 2
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
body.steedos .m-0 {
|
|
89
|
+
margin: 0px
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
body.steedos .m-1 {
|
|
93
|
+
margin: 0.25rem
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
body.steedos .mr-4 {
|
|
97
|
+
margin-right: 1rem
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
body.steedos .mb-\[-3px\] {
|
|
101
|
+
margin-bottom: -3px
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
body.steedos .mt-\[50px\] {
|
|
105
|
+
margin-top: 50px
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
body.steedos .mt-0\.5 {
|
|
109
|
+
margin-top: 0.125rem
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
body.steedos .mt-0 {
|
|
113
|
+
margin-top: 0px
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
body.steedos .-mt-3 {
|
|
117
|
+
margin-top: -0.75rem
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
body.steedos .block {
|
|
121
|
+
display: block
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
body.steedos .inline {
|
|
125
|
+
display: inline
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
body.steedos .flex {
|
|
129
|
+
display: flex
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
body.steedos .table {
|
|
133
|
+
display: table
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
body.steedos .grid {
|
|
137
|
+
display: grid
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
body.steedos .contents {
|
|
141
|
+
display: contents
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
body.steedos .hidden {
|
|
145
|
+
display: none
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
body.steedos .h-\[50px\] {
|
|
149
|
+
height: 50px
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
body.steedos .h-7 {
|
|
153
|
+
height: 1.75rem
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
body.steedos .h-10 {
|
|
157
|
+
height: 2.5rem
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
body.steedos .h-full {
|
|
161
|
+
height: 100%
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
body.steedos .w-full {
|
|
165
|
+
width: 100%
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
body.steedos .w-auto {
|
|
169
|
+
width: auto
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
body.steedos .w-64 {
|
|
173
|
+
width: 16rem
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
body.steedos .w-10 {
|
|
177
|
+
width: 2.5rem
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
body.steedos .w-6\/12 {
|
|
181
|
+
width: 50%
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
body.steedos .min-w-max {
|
|
185
|
+
min-width: -moz-max-content;
|
|
186
|
+
min-width: max-content
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
body.steedos .flex-none {
|
|
190
|
+
flex: none
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
body.steedos .flex-1 {
|
|
194
|
+
flex: 1 1 0%
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
body.steedos .-translate-x-0 {
|
|
198
|
+
--tw-translate-x: -0px;
|
|
199
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
body.steedos .transform {
|
|
203
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
body.steedos .flex-col {
|
|
207
|
+
flex-direction: column
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
body.steedos .flex-nowrap {
|
|
211
|
+
flex-wrap: nowrap
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
body.steedos .items-center {
|
|
215
|
+
align-items: center
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
body.steedos .justify-center {
|
|
219
|
+
justify-content: center
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
body.steedos .justify-between {
|
|
223
|
+
justify-content: space-between
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
body.steedos .gap-x-3 {
|
|
227
|
+
-moz-column-gap: 0.75rem;
|
|
228
|
+
column-gap: 0.75rem
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
body.steedos .overflow-y-auto {
|
|
232
|
+
overflow-y: auto
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
body.steedos .border-b-\[3px\] {
|
|
236
|
+
border-bottom-width: 3px
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
body.steedos .border-r {
|
|
240
|
+
border-right-width: 1px
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
body.steedos .border-solid {
|
|
244
|
+
border-style: solid
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
body.steedos .border-sky-500 {
|
|
248
|
+
--tw-border-opacity: 1;
|
|
249
|
+
border-color: rgb(14 165 233 / var(--tw-border-opacity))
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
body.steedos .border-slate-200 {
|
|
253
|
+
--tw-border-opacity: 1;
|
|
254
|
+
border-color: rgb(226 232 240 / var(--tw-border-opacity))
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
body.steedos .bg-white {
|
|
258
|
+
--tw-bg-opacity: 1;
|
|
259
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity))
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
body.steedos .p-3 {
|
|
263
|
+
padding: 0.75rem
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
body.steedos .p-0 {
|
|
267
|
+
padding: 0px
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
body.steedos .p-4 {
|
|
271
|
+
padding: 1rem
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
body.steedos .px-4 {
|
|
275
|
+
padding-left: 1rem;
|
|
276
|
+
padding-right: 1rem
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
body.steedos .px-10 {
|
|
280
|
+
padding-left: 2.5rem;
|
|
281
|
+
padding-right: 2.5rem
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
body.steedos .py-2 {
|
|
285
|
+
padding-top: 0.5rem;
|
|
286
|
+
padding-bottom: 0.5rem
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
body.steedos .pl-4 {
|
|
290
|
+
padding-left: 1rem
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
body.steedos .pb-0 {
|
|
294
|
+
padding-bottom: 0px
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
body.steedos .pt-2 {
|
|
298
|
+
padding-top: 0.5rem
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
body.steedos .pl-1\.5 {
|
|
302
|
+
padding-left: 0.375rem
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
body.steedos .pl-1 {
|
|
306
|
+
padding-left: 0.25rem
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
body.steedos .text-left {
|
|
310
|
+
text-align: left
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
body.steedos .text-center {
|
|
314
|
+
text-align: center
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
body.steedos .lowercase {
|
|
318
|
+
text-transform: lowercase
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
body.steedos .italic {
|
|
322
|
+
font-style: italic
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
body.steedos .leading-5 {
|
|
326
|
+
line-height: 1.25rem
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
body.steedos .leading-none {
|
|
330
|
+
line-height: 1
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
body.steedos .text-black {
|
|
334
|
+
--tw-text-opacity: 1;
|
|
335
|
+
color: rgb(0 0 0 / var(--tw-text-opacity))
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
body.steedos .underline {
|
|
339
|
+
text-decoration-line: underline
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
body.steedos .filter {
|
|
343
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
body.steedos .backdrop-blur {
|
|
347
|
+
--tw-backdrop-blur: blur(8px);
|
|
348
|
+
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
349
|
+
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
body.steedos .transition-colors {
|
|
353
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
354
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
355
|
+
transition-duration: 150ms
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
body.steedos .duration-500 {
|
|
359
|
+
transition-duration: 500ms
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
body.steedos .duration-300 {
|
|
363
|
+
transition-duration: 300ms
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
body.steedos .ease-in-out {
|
|
367
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
@media (min-width: 640px) {
|
|
371
|
+
body.steedos .sm\:flex {
|
|
372
|
+
display: flex
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
body.steedos .sm\:w-\[220px\] {
|
|
376
|
+
width: 220px
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
body.steedos .sm\:shadow {
|
|
380
|
+
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
381
|
+
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
382
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
@media (min-width: 1024px) {
|
|
387
|
+
body.steedos .lg\:z-50 {
|
|
388
|
+
z-index: 50
|
|
389
|
+
}
|
|
390
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@tailwind base;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
module.exports = {
|
|
3
|
+
important: "body.steedos",
|
|
4
|
+
content: [
|
|
5
|
+
// '../../creator/**/*.{html,coffee,js,jsx,tsx,json}',
|
|
6
|
+
'../../services/**/*.{json,client.js}',
|
|
7
|
+
'../../steedos-packages/**/*.{json,client.js}',
|
|
8
|
+
'../../packages/**/*.{json,client.js}'
|
|
9
|
+
],
|
|
10
|
+
theme: {
|
|
11
|
+
fontSize: {
|
|
12
|
+
xs: '12px',
|
|
13
|
+
sm: '12px',
|
|
14
|
+
base: '14px',
|
|
15
|
+
md: '14px',
|
|
16
|
+
lg: '16px',
|
|
17
|
+
xl: '18px',
|
|
18
|
+
},
|
|
19
|
+
extend: {
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
plugins: [],
|
|
23
|
+
}
|
|
24
|
+
|