aliascss 1.2.3 → 1.2.5
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/README.md +6 -4
- package/aliascss.config.js +24 -33
- package/dist/aliascss.js +1 -1
- package/lib/classPrinter.js +7 -1
- package/lib/compilers/shadow.js +2 -0
- package/lib/css-properties-all.js +29 -29
- package/lib/custom-css-compilers.js +117 -16
- package/lib/node/compileFile.js +9 -9
- package/lib/prebuild.d.ts +12 -116
- package/lib/prebuild.js +148 -106
- package/lib/prefix/responsive.js +13 -4
- package/lib/returnPropertyAndValue.js +2 -2
- package/lib/returnStatement.js +2 -1
- package/lib/static/customColorsRadix.d.ts +3540 -0
- package/lib/static/customColorsRadix.js +3797 -0
- package/lib/static/customStaticClassNames.js +22 -12
- package/lib/utils/helper.d.ts +5 -0
- package/lib/utils/helper.js +19 -0
- package/package.json +2 -2
- package/ts.js +22 -10
- package/ui-dev/app/index.bk +0 -45
- package/ui-dev/app/index.html +0 -51
- package/ui-dev/app/index.html.css +0 -127
- package/ui-dev/app/index.html.module.css +0 -55
- package/ui-dev/button.html +0 -87
- package/ui-dev/button.html.css +0 -196
- package/ui-dev/button.html.module.css +0 -55
- package/ui-dev/card-section-row-container-box-bk.html +0 -154
- package/ui-dev/card-section-row-container-box-bk.html.css +0 -109
- package/ui-dev/card-section-row-container-box-bk.html.module.css +0 -55
- package/ui-dev/card-section-row-container-box.html +0 -150
- package/ui-dev/card-section-row-container-box.html.css +0 -174
- package/ui-dev/card-section-row-container-box.html.module.css +0 -55
- package/ui-dev/examples/screen.html +0 -66
- package/ui-dev/examples/screen.html.css +0 -167
- package/ui-dev/examples/screen.html.module.css +0 -55
- package/ui-dev/index-preview-one.html +0 -72
- package/ui-dev/index-preview-one.html.css +0 -144
- package/ui-dev/index-preview-one.html.module.css +0 -55
- package/ui-dev/index-test.html +0 -79
- package/ui-dev/index-test.html.css +0 -206
- package/ui-dev/index-test.html.module.css +0 -55
- package/ui-dev/index.html +0 -191
- package/ui-dev/index.html.css +0 -227
- package/ui-dev/index.html.module.css +0 -55
- package/ui-dev/nav-red.html +0 -121
- package/ui-dev/nav-red.html.css +0 -149
- package/ui-dev/nav-red.html.module.css +0 -55
- package/ui-dev/navbar-demo.html +0 -121
- package/ui-dev/navbar-demo.html.css +0 -151
- package/ui-dev/navbar-demo.html.module.css +0 -55
- package/ui-dev/tooltip.html +0 -113
- package/ui-dev/tooltip.html.css +0 -90
- package/ui-dev/tooltip.html.module.css +0 -55
|
@@ -84,14 +84,14 @@ export const customStaticClassNames = {
|
|
|
84
84
|
'x-fixed-center': "position:fixed;margin:auto;top:0;left:0;right:0;bottom:0;",
|
|
85
85
|
'x-sr-only': 'position:absolute;overflow:hidden;clip-path:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0',
|
|
86
86
|
'x-display-2xl': 'font-size:72px ; line-height:90px ; letter-spacing:-0.02em',
|
|
87
|
-
'x-display-xxl': 'font-size:72px ; line-height:90px ; letter-spacing:-0.02em',
|
|
87
|
+
// 'x-display-xxl': 'font-size:72px ; line-height:90px ; letter-spacing:-0.02em',
|
|
88
88
|
'x-display-xl': 'font-size: 60px; line-height: 72px; letter-spacing:-0.02em',
|
|
89
89
|
'x-display-lg': 'font-size:48px ; line-height: 60px; letter-spacing:-0.02em',
|
|
90
90
|
'x-display-md': 'font-size: 36px; line-height: 44px; letter-spacing:-0.02em',
|
|
91
91
|
'x-display-sm': 'font-size: 30px; line-height: 38px',
|
|
92
92
|
'x-display-xs': 'font-size: 24px; line-height: 32px',
|
|
93
93
|
'x-heading-2xl': 'font-size:72px ; line-height:90px ; letter-spacing:-0.02em',
|
|
94
|
-
'x-heading-xxl': 'font-size:72px ; line-height:90px ; letter-spacing:-0.02em',
|
|
94
|
+
// 'x-heading-xxl': 'font-size:72px ; line-height:90px ; letter-spacing:-0.02em',
|
|
95
95
|
'x-heading-xl': 'font-size: 60px; line-height: 72px; letter-spacing:-0.02em',
|
|
96
96
|
'x-heading-lg': 'font-size:48px ; line-height: 60px; letter-spacing:-0.02em',
|
|
97
97
|
'x-heading-md': 'font-size: 36px; line-height: 44px; letter-spacing:-0.02em',
|
|
@@ -114,17 +114,24 @@ export const customStaticClassNames = {
|
|
|
114
114
|
'x-t-md': 'font-size:16px;line-height:24px',
|
|
115
115
|
'x-t-sm': 'font-size:14px;line-height:20px',
|
|
116
116
|
'x-t-xs': 'font-size:12px;line-height:18px',
|
|
117
|
-
'x-button-xxl':
|
|
118
|
-
|
|
119
|
-
'x-button-
|
|
120
|
-
'
|
|
121
|
-
'x-button-
|
|
122
|
-
'
|
|
123
|
-
'x-button-
|
|
117
|
+
// 'x-button-xxl':
|
|
118
|
+
// 'display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:16px 28px;border-radius:8px;box-sizing:border-box',
|
|
119
|
+
// 'x-button-2xl':
|
|
120
|
+
// 'display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:16px 28px;border-radius:8px;box-sizing:border-box',
|
|
121
|
+
// 'x-button-xl':
|
|
122
|
+
// 'display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:12px 20px;border-radius:8px;box-sizing:border-box',
|
|
123
|
+
// 'x-button-lg':
|
|
124
|
+
// 'display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:10px 18px;border-radius:8px;box-sizing:border-box',
|
|
125
|
+
// 'x-button-md':
|
|
126
|
+
// 'display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:10px 16px;border-radius:8px;box-sizing:border-box',
|
|
127
|
+
// 'x-button-sm':
|
|
128
|
+
// 'display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:8px 14px;border-radius:8px;box-sizing:border-box',
|
|
129
|
+
// 'x-button-xs':
|
|
130
|
+
// 'display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;box-sizing:border-box',
|
|
124
131
|
'x-shadow-3xl': 'box-shadow:var(--x-shadow-3xl, 0px 32px 64px -12px rgba(16, 24, 40, 0.14))',
|
|
125
|
-
'x-shadow-xxxl': 'box-shadow:var(--x-shadow-xxxl, 0px 32px 64px -12px rgba(16, 24, 40, 0.14))',
|
|
132
|
+
// 'x-shadow-xxxl': 'box-shadow:var(--x-shadow-xxxl, 0px 32px 64px -12px rgba(16, 24, 40, 0.14))',
|
|
126
133
|
'x-shadow-2xl': 'box-shadow:var(--x-shadow-2xl, 0px 24px 48px -12px rgba(16, 24, 40, 0.18))',
|
|
127
|
-
'x-shadow-xxl': 'box-shadow:var(--x-shadow-xxl, 0px 24px 48px -12px rgba(16, 24, 40, 0.18))',
|
|
134
|
+
// 'x-shadow-xxl': 'box-shadow:var(--x-shadow-xxl, 0px 24px 48px -12px rgba(16, 24, 40, 0.18))',
|
|
128
135
|
'x-shadow-xl': 'box-shadow:var(--x-shadow-xl, 0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03))',
|
|
129
136
|
'x-shadow-lg': 'box-shadow:var(--x-shadow-lg, 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03))',
|
|
130
137
|
'x-shadow-md': 'box-shadow:var(--x-shadow-md, 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06))',
|
|
@@ -145,13 +152,14 @@ export const customStaticClassNames = {
|
|
|
145
152
|
'x-blur-lg': 'backdrop-filter: var(--x-blur-lg,blur(12px))',
|
|
146
153
|
'x-blur-xl': 'backdrop-filter: var(--x-blur-xl,blur(20px))',
|
|
147
154
|
'x-colorize-dark': 'background:#0f0f0f;color:#e3e3e3',
|
|
155
|
+
'x-colorize-light': 'background:#e3e3e3;color:rgba(0,0,0,0.8)',
|
|
148
156
|
'x-clip-menu': 'clip-path: polygon(0% 10%,100% 10%,100% 20%,0% 20%,0% 45%,100% 45%,100% 55%,0% 55%,0% 80%,100% 80%,100% 90%,0% 90%);',
|
|
149
157
|
'x-clip-message': 'clip-path: polygon(0% 0%,100% 0%,100% 80%,60% 80%,50% 100%,40% 80%,0% 80%);',
|
|
150
158
|
'x-clip-star': 'clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);',
|
|
151
159
|
'x-clip-close': 'clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%)',
|
|
152
160
|
'x-clip-plus': 'clip-path: polygon(40% 0%,60% 0%,60% 40%,100% 40%,100% 60%,60% 60%,60% 100%,40% 100%,40% 60%,0% 60%,0% 40%,40% 40%);',
|
|
153
|
-
'x-colorize-light': 'background:#e3e3e3;color:rgba(0,0,0,0.8)',
|
|
154
161
|
'flex-center': 'display:flex;align-items:center;justify-content:center',
|
|
162
|
+
'inline-flex-center': 'display:inline-flex;align-items:center;justify-content:center',
|
|
155
163
|
'absolute-center': 'position:absolute;top:0;right:0;left:0;bottom:0:margin:auto',
|
|
156
164
|
'sr-only': 'position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0',
|
|
157
165
|
'hidden': 'display:none',
|
|
@@ -190,5 +198,7 @@ export const customStaticClassNames = {
|
|
|
190
198
|
'x-relative': 'position:relative',
|
|
191
199
|
'x-jusitfy-between': 'justify-content: space-between',
|
|
192
200
|
'x-flex': 'display:flex',
|
|
201
|
+
'x-flex-between': 'display:flex;align-items:center;justify-content:space-between',
|
|
202
|
+
'flex-between': 'display:flex;align-items:center;justify-content:space-between',
|
|
193
203
|
'x-items-center': 'align-items: center'
|
|
194
204
|
};
|
package/lib/utils/helper.d.ts
CHANGED
package/lib/utils/helper.js
CHANGED
|
@@ -25,3 +25,22 @@ export function splitByCommaOutsideParens(str) {
|
|
|
25
25
|
}
|
|
26
26
|
return result;
|
|
27
27
|
}
|
|
28
|
+
export function cssVarWithDefault(valuePortion, compiler, custom = {}) {
|
|
29
|
+
if (/^--[a-zA-Z]/.test(valuePortion)) {
|
|
30
|
+
if (valuePortion.includes(':')) {
|
|
31
|
+
const value = valuePortion.slice(valuePortion.indexOf(':')).replace(':', '');
|
|
32
|
+
const cssVar = valuePortion.replace(value, '').replace(':', '');
|
|
33
|
+
if (/^calc\(/.test(value)) {
|
|
34
|
+
return "var(" + cssVar + ',' + value.replace(/([-+/*])([\d]|var\(|calc\()/g, ' $1 $2') + ')';
|
|
35
|
+
}
|
|
36
|
+
if (compiler) {
|
|
37
|
+
const val = compiler(value, custom);
|
|
38
|
+
return `var(${cssVar}, ${val ? val : value})`;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
return `var(${cssVar}, ${value.replace(/([\d])p$/g, '$1%')})`;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return `var(${valuePortion})`;
|
|
45
|
+
}
|
|
46
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aliascss",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "AliasCSS is a CSS post processor.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"postcss-discard-duplicates": "^7.0.0",
|
|
63
63
|
"postcss-safe-parser": "^7.0.0"
|
|
64
64
|
},
|
|
65
|
-
"homepage": "https://
|
|
65
|
+
"homepage": "https://aliascss.com"
|
|
66
66
|
}
|
package/ts.js
CHANGED
|
@@ -1,24 +1,36 @@
|
|
|
1
1
|
import main ,{ watch} from './lib/node/compileFile.js'
|
|
2
2
|
import postcss from 'postcss';
|
|
3
|
+
import { customColorsRadix,getColorScale ,colors} from './lib/static/customColorsRadix.js';
|
|
3
4
|
|
|
4
5
|
import path from 'path'
|
|
5
6
|
import safeParse from 'postcss-safe-parser';
|
|
6
7
|
import * as fs from 'fs';
|
|
7
8
|
let config=await import(path.resolve('aliascss.config.js'))
|
|
8
|
-
console.log(path.dirname('button/hello/hello.txt'));
|
|
9
|
+
// console.log(path.dirname('button/hello/hello.txt'));
|
|
9
10
|
// watch({input:['./demo/**/*.html'],output:{location:'./demo/acss.css','--file':true}});
|
|
10
11
|
// fs.openSync('button/hello/hello.txt','w');
|
|
11
12
|
|
|
12
13
|
// fs.mkdirSync('button/hello',{recursive:true})
|
|
13
14
|
|
|
14
|
-
let cpath="button/hello/hell0/s.js";
|
|
15
|
-
let dir=path.dirname(cpath);
|
|
16
|
-
if(fs.existsSync(dir)){
|
|
17
|
-
|
|
15
|
+
// let cpath="button/hello/hell0/s.js";
|
|
16
|
+
// let dir=path.dirname(cpath);
|
|
17
|
+
// if(fs.existsSync(dir)){
|
|
18
|
+
// console.log('Already exists')
|
|
18
19
|
|
|
19
|
-
}else{
|
|
20
|
-
|
|
20
|
+
// }else{
|
|
21
|
+
// fs.mkdirSync(dir,{recursive:true});
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
fs.openSync(cpath,'w');
|
|
23
|
+
// console.log('Dir Created')
|
|
24
|
+
// }
|
|
25
|
+
// fs.openSync(cpath,'w');
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
`
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
`
|
package/ui-dev/app/index.bk
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>AliasCSS</title>
|
|
7
|
-
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
8
|
-
<link rel="stylesheet" href="index.html.css">
|
|
9
|
-
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
|
10
|
-
|
|
11
|
-
</head>
|
|
12
|
-
<body class="m0 p0 _all-bsbb flex-center mh-100vh" style="--base:100%">
|
|
13
|
-
<div class="x-square-300px bg-red flex-center br-8px">
|
|
14
|
-
<div class="x-circle-150px bgc-white flex-center br-8px">
|
|
15
|
-
Center
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
</div>
|
|
19
|
-
<div class="x-screen-root dn" xclass-xx-screen-root=" oh pr
|
|
20
|
-
__[class~=x-screen][tdu--x-screen-transition-duration:0d35s,pa,ttf--x-screen-transition-timing-function:eio,transition-property-transform_height_width,transform-translateY-0px]
|
|
21
|
-
__[class~=x-screen][w--x-screen-width:100p,h--x-screen-height:100p]
|
|
22
|
-
__[class~=x-screen][class~=x-screen-active]-transform-translate-0
|
|
23
|
-
__[class~=x-screen][x-screen-active]--x-screen-offset:0p
|
|
24
|
-
__[class~=x-screen-up][zi-2,t-0,l-0,transform-translateY--t-up,--t-up:calc(0%-var(--x-screen-offset,100%))]
|
|
25
|
-
__[class~=x-screen-down][zi-3,btm-0px,l-0,transform-translateY--t-down,--t-down:calc(var(--x-screen-offset,100%)-0%)]
|
|
26
|
-
__[class~=x-screen-left][zi-4,transform-translateX--t-left,--t-left:calc(0%-var(--x-screen-offset,100%))]
|
|
27
|
-
__[class~=x-screen-right][zi-5,t0,r0,transform-translateX--t-right,--t-right:calc(var(--x-screen-offset,100%)-0%)]
|
|
28
|
-
"></div>
|
|
29
|
-
<div class=" x-screen-root w-300px h-300px">
|
|
30
|
-
<div class=" x-screen x-screen-left xclip-path-p-0p-0p_50p-50p_0p-100p --x-screen-width:100p xx-screen-active bgc-green" >Left</div>
|
|
31
|
-
<div class=" x-screen bgc-pink ">Main</div>
|
|
32
|
-
<div class=" x-screen bgc-pink --h--x-screen-offset:50px xclip-path-p-0p-0p_100p-0p_50p-50p x-screen-up --x-screen-height:100p xx-screen-active">Main</div>
|
|
33
|
-
<div class=" x-screen x-screen-right xclip-path-p-100p-0p_100p-100p_50p-50p --x-screen-width:100p bg-red xx-screen-active" >Right</div>
|
|
34
|
-
<div class=" x-screen x-screen-down xclip-path-p-50p-50p_100p-100p_0p-100p --x-screen-height:100p bg-gray x-screen-active">
|
|
35
|
-
<div class="x-screen-root w-100p h-100p">
|
|
36
|
-
<div
|
|
37
|
-
class=" x-screen x-screen-down bgc-blue x-screen-active">
|
|
38
|
-
Left</div>
|
|
39
|
-
<div class=" x-screen bgc-brown ">Main</div>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
<script src="script.js"></script>
|
|
44
|
-
</body>
|
|
45
|
-
</html>
|
package/ui-dev/app/index.html
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en" class="x-css-reset-normalize">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>AliasCSS</title>
|
|
7
|
-
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
8
|
-
<link rel="stylesheet" href="index.html.css">
|
|
9
|
-
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
|
10
|
-
|
|
11
|
-
</head>
|
|
12
|
-
<body class="" >
|
|
13
|
-
<div class="h-100vh g-16px bgc-gray-300 p-30px x__div-h-200px x__div-x-square-50px __div- dg gtr-3fr-3fr-6fr gtc-3col-6col">
|
|
14
|
-
<div class="bg-success-200">
|
|
15
|
-
<i class="x-menu df " data-state="open" ></i>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="bg-success-300 --after-x-lorem p-20px --before-x-lorem-4 oh --h_h1-fs-300px g-30px">
|
|
18
|
-
<h1>Hello World</h1>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="bg-success-400">
|
|
21
|
-
|
|
22
|
-
</div>
|
|
23
|
-
<div class="bg-success-500">
|
|
24
|
-
|
|
25
|
-
</div>
|
|
26
|
-
<div class="bg-success-600">
|
|
27
|
-
|
|
28
|
-
</div>
|
|
29
|
-
<div class="bg-success-700">
|
|
30
|
-
|
|
31
|
-
</div>
|
|
32
|
-
<div class="bg-success-800">
|
|
33
|
-
|
|
34
|
-
</div>
|
|
35
|
-
<div class="bg-success-900">
|
|
36
|
-
|
|
37
|
-
</div>
|
|
38
|
-
|
|
39
|
-
<div class="bg-success-400">
|
|
40
|
-
LAst-1
|
|
41
|
-
</div>
|
|
42
|
-
<div class="bg-success-200 x-dollar ff-inter">
|
|
43
|
-
Last <i class="x-rupee"> </i> 00,0000
|
|
44
|
-
</div>
|
|
45
|
-
|
|
46
|
-
</div>
|
|
47
|
-
<script src="script.js"></script>
|
|
48
|
-
</body>
|
|
49
|
-
</html>
|
|
50
|
-
|
|
51
|
-
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
/* From:aliacss.config.statement */
|
|
2
|
-
.color{color:red}
|
|
3
|
-
/* -----End:aliacss.config.statement----- */
|
|
4
|
-
|
|
5
|
-
/* From:aliacss.config.group */
|
|
6
|
-
@media (max-width : 576px){.x-responsive{width: 100%}}
|
|
7
|
-
@media (min-width : 576px){.x-responsive{width: 540px}}
|
|
8
|
-
@media (min-width : 768px){.x-responsive{width: 720px}}
|
|
9
|
-
@media (min-width : 992px){.x-responsive{width: 960px}}
|
|
10
|
-
@media (min-width : 1200px){.x-responsive{width: 1140px}}
|
|
11
|
-
@media (min-width : 1408px){.x-responsive{width: 1320px}}
|
|
12
|
-
|
|
13
|
-
@media (max-width : 576px){.x-responsive-sm{width: 100%}}
|
|
14
|
-
@media (min-width : 576px){.x-responsive-sm{width: 540px}}
|
|
15
|
-
@media (min-width : 768px){.x-responsive-sm{width: 720px}}
|
|
16
|
-
@media (min-width : 992px){.x-responsive-sm{width: 960px}}
|
|
17
|
-
@media (min-width : 1200px){.x-responsive-sm{width: 1140px}}
|
|
18
|
-
@media (min-width : 1408px){.x-responsive-sm{width: 1320px}}
|
|
19
|
-
|
|
20
|
-
@media (max-width : 576px){.x-responsive-md{width: 100%}}
|
|
21
|
-
@media (min-width : 576px){.x-responsive-md{width: 100%}}
|
|
22
|
-
@media (min-width : 768px){.x-responsive-md{width: 720px}}
|
|
23
|
-
@media (min-width : 992px){.x-responsive-md{width: 960px}}
|
|
24
|
-
@media (min-width : 1200px){.x-responsive-md{width: 1140px}}
|
|
25
|
-
@media (min-width : 1408px){.x-responsive-md{width: 1320px}}
|
|
26
|
-
|
|
27
|
-
@media (max-width : 576px){.x-responsive-lg{width: 100%}}
|
|
28
|
-
@media (min-width : 576px){.x-responsive-lg{width: 100%}}
|
|
29
|
-
@media (min-width : 768px){.x-responsive-lg{width: 100%}}
|
|
30
|
-
@media (min-width : 992px){.x-responsive-lg{width: 960px}}
|
|
31
|
-
@media (min-width : 1200px){.x-responsive-lg{width: 1140px}}
|
|
32
|
-
@media (min-width : 1408px){.x-responsive-lg{width: 1320px}}
|
|
33
|
-
|
|
34
|
-
@media (max-width : 576px){.x-responsive-xl{width: 100%}}
|
|
35
|
-
@media (min-width : 576px){.x-responsive-xl{width: 100%}}
|
|
36
|
-
@media (min-width : 768px){.x-responsive-xl{width: 100%}}
|
|
37
|
-
@media (min-width : 992px){.x-responsive-xl{width: 100%}}
|
|
38
|
-
@media (min-width : 1200px){.x-responsive-xl{width: 1140px}}
|
|
39
|
-
@media (min-width : 1408px){.x-responsive-xl{width: 1320px}}
|
|
40
|
-
|
|
41
|
-
@media (max-width : 576px){.x-responsive-xll{width: 100%}}
|
|
42
|
-
@media (min-width : 576px){.x-responsive-xll{width: 100%}}
|
|
43
|
-
@media (min-width : 768px){.x-responsive-xll{width: 100%}}
|
|
44
|
-
@media (min-width : 992px){.x-responsive-xll{width: 100%}}
|
|
45
|
-
@media (min-width : 1200px){.x-responsive-xll{width: 100%}}
|
|
46
|
-
@media (min-width : 1408px){.x-responsive-xll{width: 1320px}}
|
|
47
|
-
|
|
48
|
-
@media (max-width : 576px){.x-responsive-fluid{width: 100%}}
|
|
49
|
-
@media (min-width : 576px){.x-responsive-fluid{width: 100%}}
|
|
50
|
-
@media (min-width : 768px){.x-responsive-fluid{width: 100%}}
|
|
51
|
-
@media (min-width : 992px){.x-responsive-fluid{width: 100%}}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
/* -----End:aliacss.config.group----- */
|
|
55
|
-
|
|
56
|
-
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
|
|
57
|
-
.h-100vh{height: 100vh}
|
|
58
|
-
.g-16px{gap: 16px}
|
|
59
|
-
.bgc-gray-300{background-color:var(--gray-300,#D0D5DD)}
|
|
60
|
-
.p-30px{padding: 30px}
|
|
61
|
-
.x__div-h-200px{x:__div-h 200px}
|
|
62
|
-
.x__div-x-square-50px{x:__div-x-square 50px}
|
|
63
|
-
.dg{display: grid}
|
|
64
|
-
.gtr-3fr-3fr-6fr{grid-template-rows: 3fr 3fr 6fr}
|
|
65
|
-
.gtc-3col-6col{grid-template-columns: 25% 50%}
|
|
66
|
-
.bg-success-200{background:var(--success-200,#ABEFC6)}
|
|
67
|
-
.x-menu{position: relative}
|
|
68
|
-
.x-menu{cursor: pointer}
|
|
69
|
-
.x-menu{width: 35px}
|
|
70
|
-
.x-menu{height: 30px}
|
|
71
|
-
.x-menu{background:linear-gradient( transparent 0px 12.5px, currentColor 12.5px 17.5px, transparent 17.5px 35px )}
|
|
72
|
-
.x-menu{transition:all 0.5s}
|
|
73
|
-
.x-menu[class~="x-menu-open"]{background:none}
|
|
74
|
-
.x-menu[x-menu-open]{background:none}
|
|
75
|
-
.x-menu::after{position: absolute}
|
|
76
|
-
.x-menu::after{top:0}
|
|
77
|
-
.x-menu::after{height: 5px}
|
|
78
|
-
.x-menu::after{width: 35px}
|
|
79
|
-
.x-menu::after{background-color:currentColor}
|
|
80
|
-
.x-menu::after{content:""}
|
|
81
|
-
|
|
82
|
-
.x-menu[class~="x-menu-rounded"]::after{border-radius: 5px}
|
|
83
|
-
.x-menu::before{bottom: 0}
|
|
84
|
-
.x-menu::before{position: absolute}
|
|
85
|
-
.x-menu::before{height: 5px}
|
|
86
|
-
.x-menu::before{width: 35px}
|
|
87
|
-
.x-menu::before{background-color:currentColor}
|
|
88
|
-
.x-menu::before{content:""}
|
|
89
|
-
|
|
90
|
-
.x-menu[class~="x-menu-rounded"]::before{border-radius: 5px}
|
|
91
|
-
.x-menu{transition:all 0.5s}
|
|
92
|
-
.x-menu::after{transition:all 0.5s}
|
|
93
|
-
.x-menu::before{transition:all 0.5s}
|
|
94
|
-
.x-menu[class~="x-menu-open"]::after{transform:rotate(45deg)}
|
|
95
|
-
.x-menu[class~="x-menu-open"]::after{top: 50%}
|
|
96
|
-
.x-menu[class~="x-menu-open"]::before{transform:rotate(-45deg)}
|
|
97
|
-
.x-menu[class~="x-menu-open"]::before{top:50%}
|
|
98
|
-
.x-menu[class~="x-menu-open"]::after{transition:all 0.5s}
|
|
99
|
-
.x-menu[class~="x-menu-open"]::before{transition:all 0.5s}
|
|
100
|
-
|
|
101
|
-
.x-menu[x-menu-open]::after{transform:rotate(45deg)}
|
|
102
|
-
.x-menu[x-menu-open]::after{top: 50%}
|
|
103
|
-
.x-menu[x-menu-open]::before{transform:rotate(-45deg)}
|
|
104
|
-
.x-menu[x-menu-open]::before{top:50%}
|
|
105
|
-
.x-menu[x-menu-open]::after{transition:all 0.5s}
|
|
106
|
-
.x-menu[x-menu-open]::before{transition:all 0.5s}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
.df{display: flex}
|
|
110
|
-
.bg-success-300{background:var(--success-300,#75E0A7)}
|
|
111
|
-
.--after-x-lorem::after{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."}
|
|
112
|
-
.p-20px{padding:20px}
|
|
113
|
-
.--before-x-lorem-4::before{content:"The quick brown fox jumps over the lazy dog"}
|
|
114
|
-
.oh{overflow: hidden}
|
|
115
|
-
.--h_h1-fs-300px:hover h1{font-size:-300px}
|
|
116
|
-
.g-30px{gap: 30px}
|
|
117
|
-
.bg-success-400{background:var(--success-400,#47CD89)}
|
|
118
|
-
.bg-success-500{background:var(--success-500,#17B26A)}
|
|
119
|
-
.bg-success-600{background:var(--success-600,#079455)}
|
|
120
|
-
.bg-success-700{background:var(--success-700,#067647)}
|
|
121
|
-
.bg-success-800{background:var(--success-800,#085D3A)}
|
|
122
|
-
.bg-success-900{background:var(--success-900,#074D31)}
|
|
123
|
-
.x-dollar::after{content:' \0024'}
|
|
124
|
-
|
|
125
|
-
.ff-inter{font-family:inter}
|
|
126
|
-
.x-rupee::after{content:' \20B9'}
|
|
127
|
-
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/* From:aliacss.config.statement */
|
|
2
|
-
.color{color:red}
|
|
3
|
-
/* ------End:aliacss.config.statement----- */
|
|
4
|
-
|
|
5
|
-
/* From:aliacss.config.group */
|
|
6
|
-
@media (max-width : 576px){.x-responsive{width: 100%}}
|
|
7
|
-
@media (min-width : 576px){.x-responsive{width: 540px}}
|
|
8
|
-
@media (min-width : 768px){.x-responsive{width: 720px}}
|
|
9
|
-
@media (min-width : 992px){.x-responsive{width: 960px}}
|
|
10
|
-
@media (min-width : 1200px){.x-responsive{width: 1140px}}
|
|
11
|
-
@media (min-width : 1408px){.x-responsive{width: 1320px}}
|
|
12
|
-
|
|
13
|
-
@media (max-width : 576px){.x-responsive-sm{width: 100%}}
|
|
14
|
-
@media (min-width : 576px){.x-responsive-sm{width: 540px}}
|
|
15
|
-
@media (min-width : 768px){.x-responsive-sm{width: 720px}}
|
|
16
|
-
@media (min-width : 992px){.x-responsive-sm{width: 960px}}
|
|
17
|
-
@media (min-width : 1200px){.x-responsive-sm{width: 1140px}}
|
|
18
|
-
@media (min-width : 1408px){.x-responsive-sm{width: 1320px}}
|
|
19
|
-
|
|
20
|
-
@media (max-width : 576px){.x-responsive-md{width: 100%}}
|
|
21
|
-
@media (min-width : 576px){.x-responsive-md{width: 100%}}
|
|
22
|
-
@media (min-width : 768px){.x-responsive-md{width: 720px}}
|
|
23
|
-
@media (min-width : 992px){.x-responsive-md{width: 960px}}
|
|
24
|
-
@media (min-width : 1200px){.x-responsive-md{width: 1140px}}
|
|
25
|
-
@media (min-width : 1408px){.x-responsive-md{width: 1320px}}
|
|
26
|
-
|
|
27
|
-
@media (max-width : 576px){.x-responsive-lg{width: 100%}}
|
|
28
|
-
@media (min-width : 576px){.x-responsive-lg{width: 100%}}
|
|
29
|
-
@media (min-width : 768px){.x-responsive-lg{width: 100%}}
|
|
30
|
-
@media (min-width : 992px){.x-responsive-lg{width: 960px}}
|
|
31
|
-
@media (min-width : 1200px){.x-responsive-lg{width: 1140px}}
|
|
32
|
-
@media (min-width : 1408px){.x-responsive-lg{width: 1320px}}
|
|
33
|
-
|
|
34
|
-
@media (max-width : 576px){.x-responsive-xl{width: 100%}}
|
|
35
|
-
@media (min-width : 576px){.x-responsive-xl{width: 100%}}
|
|
36
|
-
@media (min-width : 768px){.x-responsive-xl{width: 100%}}
|
|
37
|
-
@media (min-width : 992px){.x-responsive-xl{width: 100%}}
|
|
38
|
-
@media (min-width : 1200px){.x-responsive-xl{width: 1140px}}
|
|
39
|
-
@media (min-width : 1408px){.x-responsive-xl{width: 1320px}}
|
|
40
|
-
|
|
41
|
-
@media (max-width : 576px){.x-responsive-xll{width: 100%}}
|
|
42
|
-
@media (min-width : 576px){.x-responsive-xll{width: 100%}}
|
|
43
|
-
@media (min-width : 768px){.x-responsive-xll{width: 100%}}
|
|
44
|
-
@media (min-width : 992px){.x-responsive-xll{width: 100%}}
|
|
45
|
-
@media (min-width : 1200px){.x-responsive-xll{width: 100%}}
|
|
46
|
-
@media (min-width : 1408px){.x-responsive-xll{width: 1320px}}
|
|
47
|
-
|
|
48
|
-
@media (max-width : 576px){.x-responsive-fluid{width: 100%}}
|
|
49
|
-
@media (min-width : 576px){.x-responsive-fluid{width: 100%}}
|
|
50
|
-
@media (min-width : 768px){.x-responsive-fluid{width: 100%}}
|
|
51
|
-
@media (min-width : 992px){.x-responsive-fluid{width: 100%}}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
/* -----End:aliacss.config.group----- */
|
|
55
|
-
|
package/ui-dev/button.html
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<link rel="stylesheet" href="/button.html.css">
|
|
7
|
-
<title>UI-Development</title>
|
|
8
|
-
|
|
9
|
-
</head>
|
|
10
|
-
<body>
|
|
11
|
-
<!-- Base button -->
|
|
12
|
-
<button class="button"
|
|
13
|
-
class-button="dib aic jcc cp tdn tn-all-0d3s
|
|
14
|
-
c--button-color:ffffff
|
|
15
|
-
p--button-padding:8px-16px
|
|
16
|
-
fs--button-font-size:16px
|
|
17
|
-
br--button-border-radius:4px
|
|
18
|
-
b--button-border:2px-solid--border-color
|
|
19
|
-
--border-color:transparent
|
|
20
|
-
bg--button-bg:gray-600
|
|
21
|
-
--hover-opacity-0d9
|
|
22
|
-
--hover-transform-translateY--1px
|
|
23
|
-
--active-transform-translateY-0px
|
|
24
|
-
|
|
25
|
-
[class~=button-primary][--button-bg:primary600,--button-soft-bg:primary100,--button-color:ffffff]
|
|
26
|
-
[class~=button-success][--button-bg:success600,--button-soft-bg:success100,--button-color:ffffff]
|
|
27
|
-
[class~=button-error][--button-bg:error600,--button-soft-bg:error100,--button-color:ffffff]
|
|
28
|
-
[class~=button-warning][--button-bg:warning600,--button-soft-bg:warning100,--button-color:ffffff]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
[disabled]-bg-cccccc
|
|
32
|
-
[disabled]-color-666666
|
|
33
|
-
[disabled]-opacity-0.7
|
|
34
|
-
[disabled]-cursor-not-allowed
|
|
35
|
-
|
|
36
|
-
[class~=button-small][--button-padding:6px-12px,--button-font-size:14px]
|
|
37
|
-
[class~=button-large][--button-padding:12px-24px,--button-font-size:18px]
|
|
38
|
-
[class~=button-outline][bg-transparent,--button-color:--button-bg:gray-600,--border-color:--button-color,--hover-bg--button-color:gray-600,--hover-color-ffffff,--hover-border-color:--button-color]
|
|
39
|
-
[class~=button-text][bgc-transparent,--button-border:none,--hover-bg--button-soft-bg:gray100,--button-color:--button-bg:gray600,--button-padding:4px-8px]">Base
|
|
40
|
-
Button</button>
|
|
41
|
-
<button class="button button-small button-primary">Small Button</button>
|
|
42
|
-
<button class="button button-small button-primary filter-inverse">Small Button</button>
|
|
43
|
-
<button class="button button-small bgc-indigo600">Small Button</button>
|
|
44
|
-
<button class="button button-small button-warning">Small Button</button>
|
|
45
|
-
<button class="button button-small button-success">Small Button</button>
|
|
46
|
-
<button class="button button-small button-error">Small Button</button>
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
<span class="divider-text text-lg fwb " class-divider-text="[df,aic,g12px]
|
|
50
|
-
--before[df,cont,bgc--divider-color:gray,flex-1,h--divider-width:1px]
|
|
51
|
-
--after[df,cont,bgc--divider-color:gray,flex-1,h--divider-width:1px]" class-divider="border-top-width--divider-width:1px
|
|
52
|
-
border-top-color--divider-color:gray
|
|
53
|
-
border-top-style--divider-style:solid bsbb db
|
|
54
|
-
">Divider</span>
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
<button class="x-button x-button-large aspect-ratio-1-by-1 "><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
59
|
-
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-soup-icon lucide-soup">
|
|
60
|
-
<path d="M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z" />
|
|
61
|
-
<path d="M7 21h10" />
|
|
62
|
-
<path d="M19.5 12 22 6" />
|
|
63
|
-
<path d="M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62" />
|
|
64
|
-
<path d="M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62" />
|
|
65
|
-
<path d="M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62" />
|
|
66
|
-
</svg></button>
|
|
67
|
-
<button class="x-button x-button-outline br-50px-i">Outline Button</button>
|
|
68
|
-
<br/>
|
|
69
|
-
<button class="x-button x-button-outline">outline Button</button>
|
|
70
|
-
<button class="x-button x-button-outline x-button-primary">outline Button</button>
|
|
71
|
-
<button class="x-button x-button-error">outline Button</button>
|
|
72
|
-
<button class="x-button x-button-outline c-indigo600 --border-color:indigo600-i --h--border-color:gray600-i"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
73
|
-
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-soup-icon lucide-soup">
|
|
74
|
-
<path d="M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z" />
|
|
75
|
-
<path d="M7 21h10" />
|
|
76
|
-
<path d="M19.5 12 22 6" />
|
|
77
|
-
<path d="M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62" />
|
|
78
|
-
<path d="M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62" />
|
|
79
|
-
<path d="M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62" />
|
|
80
|
-
</svg></button>
|
|
81
|
-
|
|
82
|
-
</body>
|
|
83
|
-
|
|
84
|
-
<script src="/js/aliascss.js"></script>
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
</html>
|