@neatui/css 2.0.2 → 2.0.3

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.
@@ -27,6 +27,11 @@ $size: 'xs', 's', 'm', 'l', 'xl';
27
27
  background: co(weak);
28
28
  }
29
29
  }
30
+ &.disabled {
31
+ pointer-events: none;
32
+ cursor: not-allowed;
33
+ opacity: 0.5;
34
+ }
30
35
 
31
36
  // 按钮尺寸
32
37
  $base: 1.5;
@@ -5,7 +5,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
5
5
  &[ui-form~='type:date'] {
6
6
  position: relative;
7
7
  cursor: pointer;
8
- min-width: 6em;
8
+ min-width: 2.5em;
9
9
  height: 2.5em;
10
10
  line-height: 1.5em;
11
11
  transition: all 0.5s;
@@ -18,7 +18,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
18
18
  [ui-form~='@a'] {
19
19
  &[ui-form~='type:input'] {
20
20
  position: relative;
21
- min-width: 6em;
21
+ min-width: 2.5em;
22
22
  height: 100%;
23
23
  height: 2.5em;
24
24
  line-height: 1.5em;
@@ -5,7 +5,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
5
5
  &[ui-form~='type:select'] {
6
6
  position: relative;
7
7
  cursor: pointer;
8
- min-width: 6em;
8
+ min-width: 2.5em;
9
9
  height: 2.5em;
10
10
  line-height: 1.5em;
11
11
  transition: all 0.5s;
@@ -18,7 +18,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
18
18
  [ui-form~='@a'] {
19
19
  &[ui-form~='type:textarea'] {
20
20
  position: relative;
21
- min-width: 6em;
21
+ min-width: 2.5em;
22
22
  line-height: 1.5em;
23
23
  padding: 0.5em;
24
24
  border-radius: 0.25em;
@@ -5,7 +5,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
5
5
  &[ui-form~='type:date'] {
6
6
  position: relative;
7
7
  cursor: pointer;
8
- min-width: 6em;
8
+ min-width: 2.5em;
9
9
  height: 2.5em;
10
10
  line-height: 1.5em;
11
11
  transition: all 0.5s;
@@ -18,7 +18,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
18
18
  [ui-form~='@b'] {
19
19
  &[ui-form~='type:input'] {
20
20
  position: relative;
21
- min-width: 6em;
21
+ min-width: 2.5em;
22
22
  height: 100%;
23
23
  height: 2.5em;
24
24
  line-height: 1.5em;
@@ -5,7 +5,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
5
5
  &[ui-form~='type:select'] {
6
6
  position: relative;
7
7
  cursor: pointer;
8
- min-width: 6em;
8
+ min-width: 2.5em;
9
9
  height: 2.5em;
10
10
  line-height: 1.5em;
11
11
  transition: all 0.5s;
@@ -18,7 +18,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
18
18
  [ui-form~='@b'] {
19
19
  &[ui-form~='type:textarea'] {
20
20
  position: relative;
21
- min-width: 6em;
21
+ min-width: 2.5em;
22
22
  line-height: 1.5em;
23
23
  padding: 0.5em;
24
24
  border-radius: 0.25em;
@@ -5,7 +5,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
5
5
  &[ui-form~='type:date'] {
6
6
  position: relative;
7
7
  cursor: pointer;
8
- min-width: 6em;
8
+ min-width: 2.5em;
9
9
  height: 2.5em;
10
10
  line-height: 1.5em;
11
11
  transition: all 0.5s;
@@ -18,7 +18,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
18
18
  [ui-form~='@c'] {
19
19
  &[ui-form~='type:input'] {
20
20
  position: relative;
21
- min-width: 6em;
21
+ min-width: 2.5em;
22
22
  height: 100%;
23
23
  height: 2.5em;
24
24
  line-height: 1.5em;
@@ -5,7 +5,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
5
5
  &[ui-form~='type:select'] {
6
6
  position: relative;
7
7
  cursor: pointer;
8
- min-width: 6em;
8
+ min-width: 2.5em;
9
9
  height: 2.5em;
10
10
  line-height: 1.5em;
11
11
  transition: all 0.5s;
@@ -17,7 +17,7 @@ $co: 'info', 'well', 'warn', 'risk';
17
17
  [ui-form~='@c'] {
18
18
  &[ui-form~='type:textarea'] {
19
19
  position: relative;
20
- min-width: 6em;
20
+ min-width: 2.5em;
21
21
  line-height: 1.5em;
22
22
  padding: 0.5em;
23
23
  border-radius: 0.25em;
@@ -5,7 +5,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
5
5
  &[ui-form~='type:date'] {
6
6
  position: relative;
7
7
  cursor: pointer;
8
- min-width: 6em;
8
+ min-width: 2.5em;
9
9
  height: 2.5em;
10
10
  line-height: 1.5em;
11
11
  transition: all 0.5s;
@@ -18,7 +18,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
18
18
  [ui-form~='@d'] {
19
19
  &[ui-form~='type:input'] {
20
20
  position: relative;
21
- min-width: 6em;
21
+ min-width: 2.5em;
22
22
  height: 100%;
23
23
  height: 2.5em;
24
24
  line-height: 1.5em;
@@ -5,7 +5,7 @@ $sz: 'xs', 's', 'm', 'l', 'xl';
5
5
  &[ui-form~='type:select'] {
6
6
  position: relative;
7
7
  cursor: pointer;
8
- min-width: 6em;
8
+ min-width: 2.5em;
9
9
  height: 2.5em;
10
10
  line-height: 1.5em;
11
11
  transition: all 0.5s;
@@ -17,7 +17,7 @@ $co: 'info', 'well', 'warn', 'risk';
17
17
  [ui-form~='@d'] {
18
18
  &[ui-form~='type:textarea'] {
19
19
  position: relative;
20
- min-width: 6em;
20
+ min-width: 2.5em;
21
21
  line-height: 1.5em;
22
22
  padding: 0.5em;
23
23
  border-radius: 0.1em;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/css",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "neatui",
5
5
  "main": "./neatui.scss",
6
6
  "license": "MIT",