@neatui/css 3.16.1 → 3.17.0

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.
@@ -129,6 +129,22 @@ value 规定输入字段的默认值。
129
129
  }
130
130
  }
131
131
 
132
+ // 预览
133
+ &[ui-form~='preview'] {
134
+ &,
135
+ &:hover,
136
+ &:focus-within {
137
+ cursor: default;
138
+ border-color: transparent !important;
139
+ background-color: transparent !important;
140
+ box-shadow: none !important;
141
+ }
142
+
143
+ input {
144
+ cursor: default;
145
+ }
146
+ }
147
+
132
148
  // 尺寸
133
149
  $sz_base: 1.5em;
134
150
  @each $s in $form-sz {
@@ -128,6 +128,22 @@ value 规定输入字段的默认值。
128
128
  }
129
129
  }
130
130
 
131
+ // 预览
132
+ &[ui-form~='preview'] {
133
+ &,
134
+ &:hover,
135
+ &:focus-within {
136
+ cursor: default;
137
+ border-color: transparent !important;
138
+ background-color: transparent !important;
139
+ box-shadow: none !important;
140
+ }
141
+
142
+ input {
143
+ cursor: default;
144
+ }
145
+ }
146
+
131
147
  // 尺寸
132
148
  $sz_base: 1.5em;
133
149
  @each $s in $form-sz {
@@ -130,6 +130,22 @@ value 规定输入字段的默认值。
130
130
  }
131
131
  }
132
132
 
133
+ // 预览
134
+ &[ui-form~='preview'] {
135
+ &,
136
+ &:hover,
137
+ &:focus-within {
138
+ cursor: default;
139
+ border-color: transparent !important;
140
+ background-color: transparent !important;
141
+ box-shadow: none !important;
142
+ }
143
+
144
+ input {
145
+ cursor: default;
146
+ }
147
+ }
148
+
133
149
  // 尺寸
134
150
  $sz_base: 1.5em;
135
151
  @each $s in $form-sz {
@@ -139,6 +139,22 @@ value 规定输入字段的默认值。
139
139
  }
140
140
  }
141
141
 
142
+ // 预览
143
+ &[ui-form~='preview'] {
144
+ &,
145
+ &:hover,
146
+ &:focus-within {
147
+ cursor: default;
148
+ border-color: transparent !important;
149
+ background-color: transparent !important;
150
+ box-shadow: none !important;
151
+ }
152
+
153
+ input {
154
+ cursor: default;
155
+ }
156
+ }
157
+
142
158
  // 尺寸
143
159
  $sz_base: 1.5em;
144
160
  @each $s in $form-sz {
package/core/basic.scss CHANGED
@@ -210,11 +210,6 @@ code,
210
210
  width: 100%;
211
211
  height: 100%;
212
212
  }
213
-
214
- .box {
215
- width: 100%;
216
- max-width: 100%;
217
- }
218
213
  }
219
214
 
220
215
  // 容器
@@ -247,6 +242,7 @@ code,
247
242
  }
248
243
 
249
244
  .box,
245
+ .doc,
250
246
  .box-base,
251
247
  .box-wide,
252
248
  .box-norm,
@@ -255,15 +251,6 @@ code,
255
251
  margin: 0 auto;
256
252
  }
257
253
 
258
- @include mob {
259
- .box-base,
260
- [layout] .box {
261
- width: 100%;
262
- max-width: 100%;
263
- padding: 0 4%;
264
- }
265
- }
266
-
267
254
  // 文档
268
255
  .doc {
269
256
  p {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/css",
3
- "version": "3.16.1",
3
+ "version": "3.17.0",
4
4
  "description": "neatui",
5
5
  "main": "./neatui.scss",
6
6
  "license": "MIT",