@neatui/css 1.0.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.
Files changed (226) hide show
  1. package/README.md +1 -0
  2. package/all.scss +22 -0
  3. package/anim/am-loading.scss +220 -0
  4. package/anim/am-rotate.scss +17 -0
  5. package/anim/am-view-aa.scss +91 -0
  6. package/anim/am-view-ab.scss +107 -0
  7. package/anim/am-view-ac.scss +114 -0
  8. package/anim/am-view-ad.scss +109 -0
  9. package/anim/am-view-ae.scss +109 -0
  10. package/anim/am-view-af.scss +104 -0
  11. package/anim/am-view-ag.scss +1789 -0
  12. package/anim/am-view-ah.scss +122 -0
  13. package/anim/am-view-ai.scss +116 -0
  14. package/anim/am-view-aj.scss +112 -0
  15. package/anim/am-view-ak.scss +102 -0
  16. package/anim/am-view-al.scss +98 -0
  17. package/anim/am-view-am.scss +97 -0
  18. package/anim/am-view-an.scss +109 -0
  19. package/anim/am-view-ao.scss +123 -0
  20. package/anim/am-view-ap.scss +108 -0
  21. package/anim/am-view-aq.scss +115 -0
  22. package/anim/am-view-ar.scss +113 -0
  23. package/anim/am-view-as.scss +99 -0
  24. package/anim/am-view-at.scss +103 -0
  25. package/anim/mcui@anim.scss +22 -0
  26. package/anim/package.json +16 -0
  27. package/badge/badge@theme=aa.scss +36 -0
  28. package/badge/package.json +22 -0
  29. package/btns/README.md +79 -0
  30. package/btns/base.scss +152 -0
  31. package/btns/btns@a.scss +469 -0
  32. package/btns/btns@b.scss +187 -0
  33. package/btns/btns@c.scss +169 -0
  34. package/btns/mcui@btns.scss +3 -0
  35. package/btns/package.json +16 -0
  36. package/card/card@a.scss +238 -0
  37. package/card/card@b.scss +75 -0
  38. package/card/mcui@card.scss +2 -0
  39. package/card/package.json +15 -0
  40. package/chat/chat@a.scss +139 -0
  41. package/chat/mcui@chat.scss +1 -0
  42. package/chat/package.json +11 -0
  43. package/cite/cite@a.scss +33 -0
  44. package/cite/package.json +11 -0
  45. package/core/README.md +142 -0
  46. package/core/base.scss +544 -0
  47. package/core/border.scss +307 -0
  48. package/core/color.scss +245 -0
  49. package/core/cols.scss +148 -0
  50. package/core/cover.scss +94 -0
  51. package/core/flex.scss +616 -0
  52. package/core/line.scss +4 -0
  53. package/core/margin.scss +0 -0
  54. package/core/mcui@core.scss +36 -0
  55. package/core/mcui@mobile.scss +37 -0
  56. package/core/media.scss +268 -0
  57. package/core/package.json +16 -0
  58. package/core/padding.scss +0 -0
  59. package/core/pos.scss +252 -0
  60. package/core/reset.scss +165 -0
  61. package/core/scale.scss +24 -0
  62. package/core/scroll.scss +178 -0
  63. package/core/shadow.scss +81 -0
  64. package/core/size.mobile.scss +105 -0
  65. package/core/size.scss +178 -0
  66. package/core/theme.scss +156 -0
  67. package/core/trim.mobile.scss +327 -0
  68. package/core/trim.scss +443 -0
  69. package/core/ux.scss +334 -0
  70. package/demo/demo@a.scss +34 -0
  71. package/demo/mcui@demo.scss +1 -0
  72. package/form/README.md +142 -0
  73. package/form/base.scss +425 -0
  74. package/form/form@a/base.scss +33 -0
  75. package/form/form@a/checkbox.scss +194 -0
  76. package/form/form@a/date.scss +86 -0
  77. package/form/form@a/index.scss +9 -0
  78. package/form/form@a/input.scss +156 -0
  79. package/form/form@a/radio.scss +99 -0
  80. package/form/form@a/select.scss +128 -0
  81. package/form/form@a/switch.scss +83 -0
  82. package/form/form@a/textarea.scss +105 -0
  83. package/form/form@a/upload.scss +162 -0
  84. package/form/form@b/base.scss +33 -0
  85. package/form/form@b/checkbox.scss +86 -0
  86. package/form/form@b/date.scss +107 -0
  87. package/form/form@b/index.scss +9 -0
  88. package/form/form@b/input.scss +163 -0
  89. package/form/form@b/radio.scss +90 -0
  90. package/form/form@b/select.scss +124 -0
  91. package/form/form@b/switch.scss +83 -0
  92. package/form/form@b/textarea.scss +105 -0
  93. package/form/form@b/upload.scss +160 -0
  94. package/form/form@c/base.scss +44 -0
  95. package/form/form@c/checkbox.scss +90 -0
  96. package/form/form@c/date.scss +125 -0
  97. package/form/form@c/index.scss +9 -0
  98. package/form/form@c/input.scss +169 -0
  99. package/form/form@c/radio.scss +84 -0
  100. package/form/form@c/select.scss +121 -0
  101. package/form/form@c/switch.scss +83 -0
  102. package/form/form@c/textarea.scss +85 -0
  103. package/form/form@c/upload.scss +159 -0
  104. package/form/form@d/base.scss +45 -0
  105. package/form/form@d/checkbox.scss +87 -0
  106. package/form/form@d/date.scss +125 -0
  107. package/form/form@d/index.scss +9 -0
  108. package/form/form@d/input.scss +346 -0
  109. package/form/form@d/radio.scss +81 -0
  110. package/form/form@d/select.scss +121 -0
  111. package/form/form@d/switch.scss +83 -0
  112. package/form/form@d/textarea.scss +104 -0
  113. package/form/form@d/upload.scss +160 -0
  114. package/form/mcui@form.scss +4 -0
  115. package/form/package.json +22 -0
  116. package/form/radio@theme=aa.scss +74 -0
  117. package/grid/grid@a.scss +54 -0
  118. package/grid/mcui@grid.scss +1 -0
  119. package/grid/package.json +16 -0
  120. package/icon/icon@add.scss +9 -0
  121. package/icon/icon@close.scss +12 -0
  122. package/icon/icon@down.scss +9 -0
  123. package/icon/icon@download.scss +26 -0
  124. package/icon/icon@drag.scss +9 -0
  125. package/icon/icon@except.scss +9 -0
  126. package/icon/icon@hook.scss +16 -0
  127. package/icon/icon@left.scss +9 -0
  128. package/icon/icon@link.scss +14 -0
  129. package/icon/icon@menu.scss +10 -0
  130. package/icon/icon@minus.scss +7 -0
  131. package/icon/icon@more.scss +8 -0
  132. package/icon/icon@omit.scss +8 -0
  133. package/icon/icon@quit.scss +11 -0
  134. package/icon/icon@refresh.scss +11 -0
  135. package/icon/icon@right.scss +9 -0
  136. package/icon/icon@search.scss +9 -0
  137. package/icon/icon@time.scss +12 -0
  138. package/icon/icon@top.scss +9 -0
  139. package/icon/icon@upload.scss +26 -0
  140. package/icon/icon@view.scss +20 -0
  141. package/icon/mcui@icon.scss +21 -0
  142. package/icon/package.json +15 -0
  143. package/imgs/README.md +78 -0
  144. package/imgs/base.scss +8 -0
  145. package/imgs/imgs@a.scss +171 -0
  146. package/imgs/imgs@b.scss +173 -0
  147. package/imgs/mcui@imgs.scss +1 -0
  148. package/imgs/package.json +16 -0
  149. package/index.js +28 -0
  150. package/line/line@a.scss +51 -0
  151. package/line/line@b.scss +63 -0
  152. package/line/mcui@line.scss +2 -0
  153. package/line/package.json +16 -0
  154. package/list/list@a.scss +62 -0
  155. package/list/list@b.scss +83 -0
  156. package/list/list@c.scss +89 -0
  157. package/list/mcui@list.scss +2 -0
  158. package/list/package.json +16 -0
  159. package/load/README.md +69 -0
  160. package/load/load@a.scss +44 -0
  161. package/load/load@b.scss +56 -0
  162. package/load/load@c.scss +270 -0
  163. package/load/load@d.scss +26 -0
  164. package/load/load@e.scss +24 -0
  165. package/load/load@f.scss +124 -0
  166. package/load/load@g.scss +35 -0
  167. package/load/load@h.scss +51 -0
  168. package/load/load@i.scss +51 -0
  169. package/load/mcui@load.scss +8 -0
  170. package/load/package.json +16 -0
  171. package/menu/mcui@menu.scss +1 -0
  172. package/menu/menu@b.scss +302 -0
  173. package/menu/menu@theme=ab.scss +282 -0
  174. package/menu/package.json +22 -0
  175. package/navs/README.md +30 -0
  176. package/navs/mcui@navs.scss +2 -0
  177. package/navs/navs@a.scss +113 -0
  178. package/navs/navs@b.scss +111 -0
  179. package/navs/package.json +16 -0
  180. package/note/mcui@note.scss +2 -0
  181. package/note/note@a.scss +26 -0
  182. package/note/note@b.scss +33 -0
  183. package/note/package.json +11 -0
  184. package/opts/mcui@opts.scss +1 -0
  185. package/opts/opts@a.scss +52 -0
  186. package/opts/package.json +11 -0
  187. package/package.json +26 -0
  188. package/paging/mc-paging-ui1503.scss +106 -0
  189. package/paging/mc-paging.scss +432 -0
  190. package/paging/paging@theme=aa.scss +45 -0
  191. package/path/README.md +142 -0
  192. package/path/mcui@path.scss +1 -0
  193. package/path/package.json +22 -0
  194. package/path/path@a.scss +38 -0
  195. package/side/mcui@side.scss +0 -0
  196. package/side/side.scss +2 -0
  197. package/steps/mcui@steps.scss +2 -0
  198. package/steps/package.json +17 -0
  199. package/steps/steps@a.scss +89 -0
  200. package/steps/steps@v.scss +122 -0
  201. package/table/base.scss +140 -0
  202. package/table/mcui@table.scss +3 -0
  203. package/table/package.json +22 -0
  204. package/table/table@a.scss +230 -0
  205. package/table/table@b.scss +78 -0
  206. package/table/table@c.scss +18 -0
  207. package/tabs/README.md +62 -0
  208. package/tabs/mcui@tabs.scss +1 -0
  209. package/tabs/package.json +22 -0
  210. package/tabs/tabs@a.scss +62 -0
  211. package/tags/README.md +71 -0
  212. package/tags/mcui@tags.scss +2 -0
  213. package/tags/package.json +22 -0
  214. package/tags/tags@a.scss +125 -0
  215. package/tags/tags@b.scss +131 -0
  216. package/tips/README.md +62 -0
  217. package/tips/base.scss +351 -0
  218. package/tips/mcui@tips.scss +1 -0
  219. package/tips/package.json +22 -0
  220. package/tips/tips@a.scss +52 -0
  221. package/title/mcui@title.scss +2 -0
  222. package/title/package.json +15 -0
  223. package/title/title@a.scss +18 -0
  224. package/title/title@b.scss +7 -0
  225. package/user/mcui@user.scss +0 -0
  226. package/user/user@a.scss +7 -0
@@ -0,0 +1,36 @@
1
+ @charset "utf-8";
2
+ @use 'sass:math';
3
+ // 主题
4
+ @import './theme.scss';
5
+ // 媒体查询
6
+ @import './media.scss';
7
+ // 重置
8
+ @import './reset.scss';
9
+ // 基础
10
+ @import './base.scss';
11
+ // 对齐
12
+ @import './pos.scss';
13
+ // 字号
14
+ @import './size.scss';
15
+ // 色号
16
+ @import './color.scss';
17
+ // 栅格
18
+ @import './cols.scss';
19
+ // 微调
20
+ @import './trim.scss';
21
+ // 边距
22
+ @import './padding.scss';
23
+ // 外边距
24
+ @import './margin.scss';
25
+ // 边框
26
+ @import './border.scss';
27
+ // 弹性布局
28
+ @import './flex.scss';
29
+ // 缩小
30
+ @import './scale.scss';
31
+ // 滚动条
32
+ @import './scroll.scss';
33
+ // 封面
34
+ @import './cover.scss';
35
+ // 交互
36
+ @import './ux.scss';
@@ -0,0 +1,37 @@
1
+ @charset "utf-8";
2
+ @use 'sass:math';
3
+ // 主题
4
+ @import './theme.scss';
5
+ // 媒体查询
6
+ @import './media.scss';
7
+ // 重置
8
+ @import './reset.scss';
9
+ // 基础
10
+ @import './base.scss';
11
+ // 对齐
12
+ @import './pos.scss';
13
+ // 字号
14
+ @import './size.mobile.scss';
15
+
16
+ // 色号
17
+ @import './color.scss';
18
+ // 栅格
19
+ @import './cols.scss';
20
+ // 微调
21
+ @import './trim.mobile.scss';
22
+ // 边距
23
+ @import './padding.scss';
24
+ // 外边距
25
+ @import './margin.scss';
26
+ // 边框
27
+ @import './border.scss';
28
+ // 弹性布局
29
+ @import './flex.scss';
30
+ // 缩小
31
+ @import './scale.scss';
32
+ // 滚动条
33
+ @import './scroll.scss';
34
+ // 封面
35
+ @import './cover.scss';
36
+ // 交互
37
+ @import './ux.scss';
@@ -0,0 +1,268 @@
1
+ // 桌面
2
+ @mixin dpc() {
3
+ $this: #{nth(&, 1)};
4
+ @media screen and (min-width: 1120px) {
5
+ @if ($this == '') {
6
+ @content;
7
+ } @else {
8
+ & {
9
+ @content;
10
+ }
11
+ }
12
+ }
13
+ }
14
+
15
+ // 平板
16
+ @mixin pad() {
17
+ $this: #{nth(&, 1)};
18
+ @media screen and (max-width: 1119px) {
19
+ @if ($this == '') {
20
+ @content;
21
+ } @else {
22
+ & {
23
+ @content;
24
+ }
25
+ }
26
+ }
27
+ }
28
+
29
+ // 移动
30
+ @mixin mob() {
31
+ $this: #{nth(&, 1)};
32
+ @media screen and (max-width: 799px) {
33
+ @if ($this == '') {
34
+ @content;
35
+ } @else {
36
+ & {
37
+ @content;
38
+ }
39
+ }
40
+ }
41
+ }
42
+
43
+ $level: (
44
+ mob-s: 320px,
45
+ mob-m: 480px,
46
+ mob-l: 640px,
47
+ pad-s: 800px,
48
+ pad-m: 960px,
49
+ pad-l: 1120px,
50
+ dpc-s: 1280px,
51
+ dpc-m: 1440px,
52
+ dpc-l: 1600px
53
+ );
54
+
55
+ // 设备
56
+ @mixin med($p) {
57
+ $this: #{nth(&, 1)};
58
+
59
+ $r: str-slice($p, 1, 1);
60
+ $_n: str-slice($p, 2, -1);
61
+
62
+ // 大于某节点时
63
+ @if ($r == '>') {
64
+ // 大于平板
65
+ @if ($p == '>pad') {
66
+ @media screen and (min-width: 1120px) {
67
+ @if ($this == '') {
68
+ @content;
69
+ } @else {
70
+ & {
71
+ @content;
72
+ }
73
+ }
74
+ }
75
+ }
76
+ // 大于移动
77
+ @if ($p == '>mob') {
78
+ @media screen and (min-width: 800px) {
79
+ @if ($this == '') {
80
+ @content;
81
+ } @else {
82
+ & {
83
+ @content;
84
+ }
85
+ }
86
+ }
87
+ }
88
+ @each $sz in $level {
89
+ $n: #{nth($sz, 1)};
90
+ $v: #{nth($sz, 2)};
91
+ @if ($_n == $n) {
92
+ @media screen and (min-width: $v) {
93
+ @if ($this == '') {
94
+ @content;
95
+ } @else {
96
+ & {
97
+ @content;
98
+ }
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
104
+ // 小于某节点时
105
+ @if ($r == '<') {
106
+ // 小于桌面
107
+ @if ($p == '<dpc') {
108
+ @media screen and (max-width: 1119px) {
109
+ @if ($this == '') {
110
+ @content;
111
+ } @else {
112
+ & {
113
+ @content;
114
+ }
115
+ }
116
+ }
117
+ }
118
+ // 小于平板
119
+ @if ($p == '<pad') {
120
+ @media screen and (max-width: 799px) {
121
+ @if ($this == '') {
122
+ @content;
123
+ } @else {
124
+ & {
125
+ @content;
126
+ }
127
+ }
128
+ }
129
+ }
130
+
131
+ @each $sz in $level {
132
+ $n: #{nth($sz, 1)};
133
+ $v: #{nth($sz, 2) - 1};
134
+ @if ($_n == $n) {
135
+ @media screen and (max-width: $v) {
136
+ @if ($this == '') {
137
+ @content;
138
+ } @else {
139
+ & {
140
+ @content;
141
+ }
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ // 仅在某节点时
148
+ @if ($r == '=') {
149
+ @if ($p == '=dpc') {
150
+ @media screen and (min-width: 1120px) {
151
+ @if ($this == '') {
152
+ @content;
153
+ } @else {
154
+ & {
155
+ @content;
156
+ }
157
+ }
158
+ }
159
+ }
160
+ @if ($p == '=pad') {
161
+ @media screen and (min-width: 800px) and (max-width: 1119px) {
162
+ @if ($this == '') {
163
+ @content;
164
+ } @else {
165
+ & {
166
+ @content;
167
+ }
168
+ }
169
+ }
170
+ }
171
+ @if ($p == '=mob') {
172
+ @media screen and (max-width: 799px) {
173
+ @if ($this == '') {
174
+ @content;
175
+ } @else {
176
+ & {
177
+ @content;
178
+ }
179
+ }
180
+ }
181
+ }
182
+ @each $sz in $level {
183
+ $n: #{nth($sz, 1)};
184
+ $v: #{nth($sz, 2)};
185
+ $m: #{nth($sz, 2) + 159};
186
+ @if ($_n == $n) {
187
+ @if ($_n == 'mob-s') {
188
+ @media screen and (max-width: $m) {
189
+ @content;
190
+ }
191
+ } @else if($_n == 'dpc-l') {
192
+ @media screen and (min-width: $v) {
193
+ @content;
194
+ }
195
+ } @else {
196
+ @media screen and (min-width: $v) and (max-width: $m) {
197
+ @content;
198
+ }
199
+ }
200
+ }
201
+ }
202
+ }
203
+ }
204
+
205
+ // 大于某节点时
206
+ @each $sz in $level {
207
+ $n: #{nth($sz, 1)};
208
+ [ui-hide~='>#{$n}'] {
209
+ @include med('>#{$n}') {
210
+ display: none !important;
211
+ }
212
+ }
213
+ }
214
+ [ui-hide~='>mob'] {
215
+ @include med('>mob') {
216
+ display: none !important;
217
+ }
218
+ }
219
+ [ui-hide~='>pad'] {
220
+ @include med('>pad') {
221
+ display: none !important;
222
+ }
223
+ }
224
+
225
+ // 小于某节点时
226
+ @each $sz in $level {
227
+ $n: #{nth($sz, 1)};
228
+ [ui-hide~='<#{$n}'] {
229
+ @include med('<#{$n}') {
230
+ display: none !important;
231
+ }
232
+ }
233
+ }
234
+ [ui-hide~='<pad'] {
235
+ @include med('<pad') {
236
+ display: none !important;
237
+ }
238
+ }
239
+ [ui-hide~='<dpc'] {
240
+ @include med('<dpc') {
241
+ display: none !important;
242
+ }
243
+ }
244
+
245
+ // 等于某节点时
246
+ @each $sz in $level {
247
+ $n: #{nth($sz, 1)};
248
+ [ui-hide~='=#{$n}'] {
249
+ @include med('=#{$n}') {
250
+ display: none !important;
251
+ }
252
+ }
253
+ }
254
+ [ui-hide~='=mob'] {
255
+ @include med('=mob') {
256
+ display: none !important;
257
+ }
258
+ }
259
+ [ui-hide~='=pad'] {
260
+ @include med('=pad') {
261
+ display: none !important;
262
+ }
263
+ }
264
+ [ui-hide~='=dpc'] {
265
+ @include med('=dpc') {
266
+ display: none !important;
267
+ }
268
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "@neatui/core",
3
+ "version": "1.12.12",
4
+ "description": "MCUI 核心组件,MCUI 全局架构性组件。官网 https://mcui.fekit.cn",
5
+ "main": "mcui@core.scss",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "xiaojunbo",
10
+ "license": "MIT",
11
+ "dependencies": {},
12
+ "keywords": [
13
+ "mcui",
14
+ "ui"
15
+ ]
16
+ }
File without changes
package/core/pos.scss ADDED
@@ -0,0 +1,252 @@
1
+ [ui-pos] {
2
+ position: relative;
3
+ display: flex;
4
+ // pointer-events: none;
5
+ flex-wrap: wrap;
6
+
7
+ // 行列
8
+ &,
9
+ &[ui-pos~=':row'] {
10
+ flex-direction: row;
11
+
12
+ &[ui-pos~='lt'] {
13
+ justify-content: flex-start;
14
+ align-items: flex-start;
15
+ align-content: flex-start;
16
+ }
17
+
18
+ &[ui-pos~='ct'] {
19
+ justify-content: center;
20
+ align-items: flex-start;
21
+ align-content: flex-start;
22
+ }
23
+
24
+ &[ui-pos~='rt'] {
25
+ justify-content: flex-end;
26
+ align-items: flex-start;
27
+ align-content: flex-start;
28
+ }
29
+
30
+ &[ui-pos~='xt'] {
31
+ justify-content: space-between;
32
+ align-items: flex-start;
33
+ align-content: flex-start;
34
+ }
35
+ &[ui-pos~='at'] {
36
+ justify-content: space-around;
37
+ align-items: flex-start;
38
+ align-content: flex-start;
39
+ }
40
+
41
+ &[ui-pos~='lm'] {
42
+ justify-content: flex-start;
43
+ align-items: center;
44
+ align-content: center;
45
+ }
46
+
47
+ &[ui-pos~='cm'] {
48
+ justify-content: center;
49
+ align-items: center;
50
+ align-content: center;
51
+ }
52
+
53
+ &[ui-pos~='rm'] {
54
+ justify-content: flex-end;
55
+ align-items: center;
56
+ align-content: center;
57
+ }
58
+
59
+ &[ui-pos~='xm'] {
60
+ justify-content: space-between;
61
+ align-items: center;
62
+ align-content: center;
63
+ }
64
+
65
+ &[ui-pos~='am'] {
66
+ justify-content: space-around;
67
+ align-items: center;
68
+ align-content: center;
69
+ }
70
+
71
+ &[ui-pos~='lb'] {
72
+ justify-content: flex-start;
73
+ align-items: flex-end;
74
+ align-content: flex-end;
75
+ }
76
+
77
+ &[ui-pos~='cb'] {
78
+ justify-content: center;
79
+ align-items: flex-end;
80
+ align-content: flex-end;
81
+ }
82
+
83
+ &[ui-pos~='rb'] {
84
+ justify-content: flex-end;
85
+ align-items: flex-end;
86
+ align-content: flex-end;
87
+ }
88
+
89
+ &[ui-pos~='xb'] {
90
+ justify-content: space-between;
91
+ align-items: flex-end;
92
+ align-content: flex-end;
93
+ }
94
+
95
+ &[ui-pos~='ab'] {
96
+ justify-content: space-around;
97
+ align-items: flex-end;
98
+ align-content: flex-end;
99
+ }
100
+ }
101
+ &[ui-pos~=':col'] {
102
+ flex-direction: column;
103
+
104
+ &[ui-pos~='lt'] {
105
+ justify-content: flex-start;
106
+ align-items: flex-start;
107
+ align-content: flex-start;
108
+ }
109
+
110
+ &[ui-pos~='ct'] {
111
+ justify-content: flex-start;
112
+ align-items: center;
113
+ align-content: center;
114
+ }
115
+
116
+ &[ui-pos~='rt'] {
117
+ justify-content: flex-start;
118
+ align-items: flex-end;
119
+ align-content: flex-end;
120
+ }
121
+
122
+ &[ui-pos~='xt'] {
123
+ justify-content: flex-start;
124
+ align-items: stretch;
125
+ align-content: stretch;
126
+ }
127
+ &[ui-pos~='at'] {
128
+ justify-content: flex-start;
129
+ align-items: space-around;
130
+ align-content: space-around;
131
+ }
132
+
133
+ &[ui-pos~='lm'] {
134
+ justify-content: center;
135
+ align-items: flex-start;
136
+ align-content: flex-start;
137
+ }
138
+
139
+ &[ui-pos~='cm'] {
140
+ justify-content: center;
141
+ align-items: center;
142
+ align-content: center;
143
+ }
144
+
145
+ &[ui-pos~='rm'] {
146
+ justify-content: center;
147
+ align-items: flex-end;
148
+ align-content: flex-end;
149
+ }
150
+
151
+ &[ui-pos~='xm'] {
152
+ justify-content: center;
153
+ align-items: stretch;
154
+ align-content: stretch;
155
+ }
156
+ &[ui-pos~='am'] {
157
+ justify-content: center;
158
+ align-items: space-around;
159
+ align-content: space-around;
160
+ }
161
+
162
+ &[ui-pos~='lb'] {
163
+ justify-content: flex-end;
164
+ align-items: flex-start;
165
+ align-content: flex-start;
166
+ }
167
+
168
+ &[ui-pos~='cb'] {
169
+ justify-content: flex-end;
170
+ align-items: center;
171
+ align-content: center;
172
+ }
173
+
174
+ &[ui-pos~='rb'] {
175
+ justify-content: flex-end;
176
+ align-items: flex-end;
177
+ align-content: flex-end;
178
+ }
179
+
180
+ &[ui-pos~='xb'] {
181
+ justify-content: flex-end;
182
+ align-items: stretch;
183
+ align-content: stretch;
184
+ }
185
+ &[ui-pos~='ab'] {
186
+ justify-content: flex-end;
187
+ align-items: space-around;
188
+ align-content: space-around;
189
+ }
190
+
191
+ &[ui-pos~='ly'] {
192
+ justify-content: space-between;
193
+ align-items: flex-start;
194
+ align-content: flex-start;
195
+ }
196
+ &[ui-pos~='la'] {
197
+ justify-content: space-around;
198
+ align-items: flex-start;
199
+ align-content: flex-start;
200
+ }
201
+
202
+ &[ui-pos~='cy'] {
203
+ justify-content: space-between;
204
+ align-items: center;
205
+ align-content: center;
206
+ }
207
+ &[ui-pos~='ca'] {
208
+ justify-content: space-around;
209
+ align-items: center;
210
+ align-content: center;
211
+ }
212
+ &[ui-pos~='ry'] {
213
+ justify-content: space-between;
214
+ align-items: flex-end;
215
+ align-content: flex-end;
216
+ }
217
+ &[ui-pos~='ra'] {
218
+ justify-content: space-around;
219
+ align-items: flex-end;
220
+ align-content: flex-end;
221
+ }
222
+ &[ui-pos~='xy'] {
223
+ justify-content: space-between;
224
+ align-items: space-between;
225
+ align-content: space-between;
226
+ }
227
+ &[ui-pos~='aa'] {
228
+ justify-content: space-around;
229
+ align-items: space-around;
230
+ align-content: space-around;
231
+ }
232
+ }
233
+
234
+ // 撑满
235
+ &[ui-pos~=':full'] {
236
+ flex-grow: 1;
237
+ }
238
+
239
+ // 行内
240
+ &[ui-pos~=':inline'] {
241
+ display: inline-flex;
242
+ }
243
+
244
+ // 不换行
245
+ &[ui-pos~=':nowrap'] {
246
+ flex-wrap: nowrap;
247
+ }
248
+
249
+ & > * {
250
+ position: relative !important;
251
+ }
252
+ }