@nutui/nutui-react 2.3.0-beta.0 → 2.3.0-beta.1
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/CHANGELOG.md +82 -0
- package/dist/esm/ActionSheet/style/style.css +1 -1
- package/dist/esm/ActionSheet.js +4 -4
- package/dist/esm/Address/style/style.css +1 -1
- package/dist/esm/Address.js +5 -3
- package/dist/esm/Animate.js +2 -3
- package/dist/esm/AnimatingNumbers/style/style.css +1 -1
- package/dist/esm/AnimatingNumbers.js +5 -5
- package/dist/esm/Audio/style/style.css +1 -1
- package/dist/esm/Audio.js +5 -5
- package/dist/esm/Avatar/style/style.css +1 -1
- package/dist/esm/Avatar.js +2 -2
- package/dist/esm/Badge/style/style.css +1 -1
- package/dist/esm/Button/style/style.css +1 -1
- package/dist/esm/Calendar/style/style.css +1 -1
- package/dist/esm/CalendarCard/style/style.css +1 -1
- package/dist/esm/CalendarItem.js +2 -3
- package/dist/esm/Card/style/style.css +1 -1
- package/dist/esm/Cascader/style/style.css +1 -1
- package/dist/esm/Checkbox/style/style.css +1 -1
- package/dist/esm/Collapse/style/style.css +1 -1
- package/dist/esm/CollapseItem/style/style.css +1 -1
- package/dist/esm/CountDown.js +1 -1
- package/dist/esm/DatePicker/style/style.css +1 -1
- package/dist/esm/DatePicker.js +2 -3
- package/dist/esm/Dialog/style/style.css +1 -1
- package/dist/esm/Dialog.js +6 -6
- package/dist/esm/Divider/style/style.css +1 -1
- package/dist/esm/Divider.js +1 -2
- package/dist/esm/Elevator/style/style.css +1 -1
- package/dist/esm/Elevator.js +12 -15
- package/dist/esm/Empty.js +1 -2
- package/dist/esm/Form/style/style.css +1 -1
- package/dist/esm/FormItem/style/style.css +1 -1
- package/dist/esm/Grid/style/style.css +1 -1
- package/dist/esm/Grid.js +1 -1
- package/dist/esm/GridItem/style/style.css +1 -1
- package/dist/esm/Image.js +1 -1
- package/dist/esm/ImagePreview/style/style.css +1 -1
- package/dist/esm/ImagePreview.js +2 -2
- package/dist/esm/InfiniteLoading/style/style.css +1 -1
- package/dist/esm/InfiniteLoading.js +3 -56
- package/dist/esm/InputNumber.js +1 -2
- package/dist/esm/Menu.js +6 -2
- package/dist/esm/NavBar.js +1 -2
- package/dist/esm/NoticeBar/style/style.css +1 -1
- package/dist/esm/NoticeBar.js +12 -16
- package/dist/esm/Notify/style/style.css +1 -1
- package/dist/esm/Notify.js +2 -3
- package/dist/esm/NumberKeyboard/style/style.css +1 -1
- package/dist/esm/NumberKeyboard.js +1 -0
- package/dist/esm/Pagination/style/style.css +1 -1
- package/dist/esm/Pagination.js +6 -6
- package/dist/esm/Picker/style/style.css +1 -1
- package/dist/esm/Picker.js +7 -5
- package/dist/esm/Popover/style/style.css +1 -1
- package/dist/esm/Popover.js +2 -2
- package/dist/esm/Popup/style/style.css +1 -1
- package/dist/esm/Price/style/style.css +1 -1
- package/dist/esm/Price.js +5 -5
- package/dist/esm/Progress/style/style.css +1 -1
- package/dist/esm/Progress.js +2 -3
- package/dist/esm/PullToRefresh/style/style.css +1 -1
- package/dist/esm/Radio/style/style.css +1 -1
- package/dist/esm/RadioGroup/style/style.css +1 -1
- package/dist/esm/Range.js +1 -2
- package/dist/esm/Rate/style/style.css +1 -1
- package/dist/esm/Rate.js +2 -2
- package/dist/esm/SearchBar/style/style.css +1 -1
- package/dist/esm/SearchBar.js +8 -8
- package/dist/esm/ShortPassword/style/style.css +1 -1
- package/dist/esm/ShortPassword.js +13 -13
- package/dist/esm/SideNavBar/style/style.css +1 -1
- package/dist/esm/SideNavBar.js +4 -4
- package/dist/esm/SideNavBarItem/style/style.css +1 -1
- package/dist/esm/SideNavBarItem.js +1 -1
- package/dist/esm/Signature/style/style.css +1 -1
- package/dist/esm/Signature.js +2 -2
- package/dist/esm/Skeleton/style/style.css +1 -1
- package/dist/esm/Skeleton.js +7 -7
- package/dist/esm/Steps.js +1 -2
- package/dist/esm/Sticky/style/style.css +1 -1
- package/dist/esm/Sticky.js +2 -3
- package/dist/esm/SubSideNavBar/style/style.css +1 -1
- package/dist/esm/SubSideNavBar.js +6 -6
- package/dist/esm/Swiper/style/style.css +1 -1
- package/dist/esm/Swiper.js +3 -5
- package/dist/esm/Tabbar/style/style.css +1 -1
- package/dist/esm/Tabbar.js +3 -3
- package/dist/esm/TabbarItem/style/style.css +1 -1
- package/dist/esm/Table/style/style.css +1 -1
- package/dist/esm/Table.js +9 -10
- package/dist/esm/Tabs/style/style.css +1 -1
- package/dist/esm/Tag/style/style.css +1 -1
- package/dist/esm/Tag.js +1 -2
- package/dist/esm/TextArea/style/style.css +1 -1
- package/dist/esm/TextArea.js +3 -3
- package/dist/esm/TimeDetail/style/style.css +1 -1
- package/dist/esm/TimeDetail.js +1 -1
- package/dist/esm/TimeSelect/style/style.css +1 -1
- package/dist/esm/TimeSelect.js +5 -8
- package/dist/esm/Toast/style/style.css +1 -1
- package/dist/esm/Toast.js +4 -4
- package/dist/esm/Tour/style/style.css +1 -1
- package/dist/esm/Uploader/style/style.css +1 -1
- package/dist/esm/Uploader.js +21 -21
- package/dist/esm/badge2.js +2 -2
- package/dist/esm/button2.js +1 -2
- package/dist/esm/cascader2.js +3 -3
- package/dist/esm/checkbox2.js +1 -2
- package/dist/esm/collapseitem2.js +7 -7
- package/dist/esm/context5.js +1 -1
- package/dist/esm/formitem2.js +8 -7
- package/dist/esm/griditem2.js +2 -3
- package/dist/esm/menuitem2.js +1 -2
- package/dist/esm/popup2.js +2 -3
- package/dist/esm/radio2.js +2 -4
- package/dist/esm/tabbaritem2.js +1 -1
- package/dist/esm/tabs2.js +2 -4
- package/dist/esm/types/src/locales/zh-TW.d.ts +2 -2
- package/dist/esm/types/src/packages/animate/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/animate/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/button/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/button/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/configprovider/types.d.ts +1 -1
- package/dist/esm/types/src/packages/elevator/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/elevator/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/infiniteloading/infiniteloading.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/popup/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/popup/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/range/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/range/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/tabbar/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/tabbar/demo.taro.d.ts +0 -1
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/tr-TR.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.d.ts +2 -2
- package/dist/locales/zh-TW.js +19 -17
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +244 -291
- package/dist/nutui.react.umd.js +244 -291
- package/dist/packages/actionsheet/actionsheet.scss +4 -4
- package/dist/packages/animatingnumbers/countup.scss +5 -5
- package/dist/packages/audio/audio.scss +6 -6
- package/dist/packages/avatar/avatar.scss +1 -1
- package/dist/packages/badge/badge.scss +5 -5
- package/dist/packages/button/button.scss +66 -65
- package/dist/packages/calendar/calendar.scss +4 -5
- package/dist/packages/calendarcard/calendarcard.scss +3 -3
- package/dist/packages/card/card.scss +8 -8
- package/dist/packages/cascader/cascader.scss +2 -2
- package/dist/packages/checkbox/checkbox.scss +12 -1
- package/dist/packages/collapseitem/collapseitem.scss +9 -9
- package/dist/packages/dialog/dialog.scss +7 -7
- package/dist/packages/divider/divider.scss +7 -7
- package/dist/packages/elevator/elevator.scss +12 -12
- package/dist/packages/form/form.scss +4 -4
- package/dist/packages/formitem/formitem.scss +5 -5
- package/dist/packages/grid/grid.scss +1 -1
- package/dist/packages/griditem/griditem.scss +13 -13
- package/dist/packages/imagepreview/imagepreview.scss +1 -1
- package/dist/packages/infiniteloading/infiniteloading.scss +4 -4
- package/dist/packages/noticebar/noticebar.scss +38 -43
- package/dist/packages/notify/notify.scss +15 -8
- package/dist/packages/pagination/pagination.scss +9 -9
- package/dist/packages/picker/picker.scss +5 -5
- package/dist/packages/popover/popover.scss +20 -20
- package/dist/packages/popup/popup.scss +4 -4
- package/dist/packages/price/price.scss +7 -7
- package/dist/packages/progress/progress.scss +1 -1
- package/dist/packages/pulltorefresh/pulltorefresh.scss +2 -2
- package/dist/packages/radio/radio.scss +1 -1
- package/dist/packages/rate/rate.scss +7 -7
- package/dist/packages/searchbar/searchbar.scss +16 -16
- package/dist/packages/shortpassword/shortpassword.scss +11 -11
- package/dist/packages/sidenavbar/sidenavbar.scss +5 -5
- package/dist/packages/sidenavbaritem/sidenavbaritem.scss +2 -2
- package/dist/packages/signature/signature.scss +2 -2
- package/dist/packages/skeleton/skeleton.scss +5 -5
- package/dist/packages/sticky/sticky.scss +1 -1
- package/dist/packages/subsidenavbar/subsidenavbar.scss +4 -4
- package/dist/packages/swiper/swiper.scss +4 -4
- package/dist/packages/tabbar/tabbar.scss +3 -3
- package/dist/packages/tabbaritem/tabbaritem.scss +1 -1
- package/dist/packages/table/table.scss +22 -22
- package/dist/packages/tabs/tabs.scss +12 -7
- package/dist/packages/tag/tag.scss +10 -10
- package/dist/packages/textarea/textarea.scss +5 -5
- package/dist/packages/timedetail/timedetail.scss +1 -1
- package/dist/packages/timeselect/timeselect.scss +2 -2
- package/dist/packages/toast/toast.scss +8 -8
- package/dist/packages/uploader/uploader.scss +14 -14
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/variables-jmapp.scss +1738 -870
- package/dist/styles/variables.scss +1705 -851
- package/dist/types/locales/zh-TW.d.ts +2 -2
- package/dist/types/packages/configprovider/types.d.ts +1 -1
- package/dist/types/packages/infiniteloading/infiniteloading.taro.d.ts +1 -1
- package/package.json +2 -2
|
@@ -7,9 +7,11 @@ $color-primary-pressed: var(--nutui-brand-9) !default;
|
|
|
7
7
|
$color-primary-disabled: var(--nutui-brand-3) !default;
|
|
8
8
|
$color-primary-light: var(--nutui-brand-1) !default;
|
|
9
9
|
$color-primary-light-pressed: var(--nutui-brand-2) !default;
|
|
10
|
-
$color-primary-gradient-1: linear-gradient(
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
$color-primary-gradient-1: linear-gradient(
|
|
11
|
+
135deg,
|
|
12
|
+
$color-primary-stop-1 0%,
|
|
13
|
+
$color-primary-stop-2 100%
|
|
14
|
+
) !default;
|
|
13
15
|
|
|
14
16
|
// 默认
|
|
15
17
|
$color-default: var(--nutui-gray-2) !default;
|
|
@@ -21,8 +23,10 @@ $color-info: var(--nutui-color-info, #1988fa) !default;
|
|
|
21
23
|
$color-info-pressed: var(--nutui-color-info-pressed, #496af2) !default;
|
|
22
24
|
$color-info-disabled: var(--nutui-color-info-disabled, #89a6f8) !default;
|
|
23
25
|
$color-info-light: var(--nutui-color-info-light) !default;
|
|
24
|
-
$color-info-background: var(
|
|
25
|
-
|
|
26
|
+
$color-info-background: var(
|
|
27
|
+
--nutui-color-info-background,
|
|
28
|
+
linear-gradient(315deg, rgba(73, 143, 242, 1) 0%, rgba(73, 101, 242, 1) 100%)
|
|
29
|
+
) !default;
|
|
26
30
|
// 成功
|
|
27
31
|
$color-success: var(--nutui-green-6) !default;
|
|
28
32
|
$color-success-pressed: var(--nutui-green-8) !default;
|
|
@@ -51,35 +55,55 @@ $color-light: var(--nutui-gray-0) !default; // 输入框、头像边框等
|
|
|
51
55
|
// 界面
|
|
52
56
|
$color-surface-1: var(--nutui-gray-1) !default; // APP 的框架背景色
|
|
53
57
|
$color-surface-2: var(--nutui-white-12) !default; // 卡片、内容容器背景色
|
|
54
|
-
$color-surface-3: var(
|
|
58
|
+
$color-surface-3: var(
|
|
59
|
+
--nutui-white-12
|
|
60
|
+
) !default; // 3333 下拉菜单,即时反馈控件背景色
|
|
55
61
|
$color-surface-4: var(--nutui-white-12) !default;
|
|
56
62
|
$color-surface-overlay: var(--nutui-black-8) !default; // Mask遮罩
|
|
57
63
|
|
|
58
64
|
// 边框
|
|
59
65
|
$color-border-shade: var(--nutui-gray-3) !default;
|
|
60
|
-
$color-border: var(
|
|
61
|
-
|
|
66
|
+
$color-border: var(
|
|
67
|
+
--nutui-gray-2
|
|
68
|
+
) !default; // 默认按钮、输入框等表单组件默认的边框色,分隔线默认色
|
|
69
|
+
$color-border-tint: var(
|
|
70
|
+
--nutui-gray-1
|
|
71
|
+
) !default; // 默认按钮、输入框等表单组件默认的边框禁用色
|
|
62
72
|
|
|
63
73
|
// 文本
|
|
64
|
-
$color-title: var(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
$color-text
|
|
74
|
+
$color-title: var(
|
|
75
|
+
--nutui-gray-12
|
|
76
|
+
) !default; // 一级文字色;主要内容用色,常用语常规标题内容、细文浏览
|
|
77
|
+
$color-text: var(
|
|
78
|
+
--nutui-gray-10
|
|
79
|
+
) !default; // 二级文字色;次要文字色,用于次级标题、正文等属性标示、非主要信息引导等。
|
|
80
|
+
$color-text-help: var(
|
|
81
|
+
--nutui-gray-8
|
|
82
|
+
) !default; // 三级文字色;注释帮助说明文本,面包屑、输入字段占位符等。
|
|
83
|
+
$color-text-disabled: var(
|
|
84
|
+
--nutui-gray-7
|
|
85
|
+
) !default; // 四级文字色;禁用文本,失效文本
|
|
68
86
|
$color-text-dark: var(--nutui-white-12) !default; // 深色背景下的反向文本色
|
|
69
|
-
$color-text-link: $color-primary
|
|
87
|
+
$color-text-link: $color-primary !default; //链接文本色
|
|
70
88
|
$color-text-title: $color-title;
|
|
71
89
|
|
|
72
90
|
// 字号
|
|
73
91
|
$font-h1: var(--nutui-font-size-7) !default; //导航栏标题、
|
|
74
92
|
$font-h2: var(--nutui-font-size-6) !default;
|
|
75
|
-
$font-h3: var(
|
|
93
|
+
$font-h3: var(
|
|
94
|
+
--nutui-font-size-5
|
|
95
|
+
) !default; //标题文本,卡片标题、板块标题、tabs 标题,小号标题
|
|
76
96
|
$font-h4: var(--nutui-font-size-4) !default; //次要文本,List 列表标题
|
|
77
97
|
$font-h5: var(--nutui-font-size-3) !default; //级联选择等小号组件标题
|
|
78
|
-
$font-text-large: var(
|
|
98
|
+
$font-text-large: var(
|
|
99
|
+
--nutui-font-size-5
|
|
100
|
+
) !default; //大字号,label、大号按钮等文本
|
|
79
101
|
$font-text-base: var(--nutui-font-size-4) !default; //标准字号,正文字号
|
|
80
102
|
$font-text-small: var(--nutui-font-size-3) !default;
|
|
81
103
|
$font-text-xs: var(--nutui-font-size-2) !default; //注释说明文本字号
|
|
82
|
-
$font-text-mini: var(
|
|
104
|
+
$font-text-mini: var(
|
|
105
|
+
--nutui-font-size-1
|
|
106
|
+
) !default; //提示标记备注,最小宽容度的字号,如徽标中的数值字号
|
|
83
107
|
|
|
84
108
|
// 字重
|
|
85
109
|
$font-weight: 400;
|
|
@@ -92,18 +116,32 @@ $line-height-base: var(--nutui-line-height-base, 1.4) !default;
|
|
|
92
116
|
$spacing-xxs: var(--nutui-spacing-1) !default; // 多用于文本与图标之间的间距
|
|
93
117
|
$spacing-xs: var(--nutui-spacing-2) !default; // 多用于文本与图标之间的间距
|
|
94
118
|
$spacing-s: var(--nutui-spacing-3) !default; // 二级卡片与屏幕两侧的间距
|
|
95
|
-
$spacing-base: var(
|
|
96
|
-
|
|
97
|
-
|
|
119
|
+
$spacing-base: var(
|
|
120
|
+
--nutui-spacing-4
|
|
121
|
+
) !default; // 楼层间距(二级卡片之间的上下间距)
|
|
122
|
+
$spacing-l: var(
|
|
123
|
+
--nutui-spacing-5
|
|
124
|
+
) !default; // 卡片布局容器中,同类信息组之间的上下间距(比如两行金刚位之间的间距)
|
|
125
|
+
$spacing-xl: var(
|
|
126
|
+
--nutui-spacing-6
|
|
127
|
+
) !default; // 卡片布局容器中,信息组之间的上下间距
|
|
98
128
|
$spacing-xxl: var(--nutui-spacing-7) !default; // 卡片布局容器的内容左右间距,
|
|
99
129
|
$spacing-xxxl: var(--nutui-spacing-8) !default; // 卡片布局容器的内容上下间距
|
|
100
130
|
|
|
101
131
|
// 圆角 corners
|
|
102
|
-
$radius-xxs: var(
|
|
103
|
-
|
|
104
|
-
|
|
132
|
+
$radius-xxs: var(
|
|
133
|
+
--nutui-radius-1
|
|
134
|
+
) !default; // 极小号按钮、标签、多选框等组件的圆角样式
|
|
135
|
+
$radius-xs: var(
|
|
136
|
+
--nutui-radius-2
|
|
137
|
+
) !default; // 极小、小号的按钮、标签等组件的圆角样式
|
|
138
|
+
$radius-s: var(
|
|
139
|
+
--nutui-radius-3
|
|
140
|
+
) !default; // 中号、大号按钮、输入框等表单组件的圆角样式
|
|
105
141
|
$radius-base: var(--nutui-radius-4) !default; // 常规宫格排列的卡片圆角样式
|
|
106
|
-
$radius-l: var(
|
|
142
|
+
$radius-l: var(
|
|
143
|
+
--nutui-radius-5
|
|
144
|
+
) !default; // 下拉菜单、popup 等组件的默认圆角样式
|
|
107
145
|
$radius-xl: var(--nutui-radius-6) !default; // 一级页面模块容器使用的圆角样式
|
|
108
146
|
$radius-circle: 50px !default; // 按钮、徽标等组件的胶囊形态圆角样式
|
|
109
147
|
$radius-full: 50% !default; // 头像、图片等不限制尺寸规格,需要以圆形呈现
|
|
@@ -118,9 +156,9 @@ $shadow-overlay: 0 0 8px 0 rgba(0, 0, 0, 0.2) !default;
|
|
|
118
156
|
// ========= nutui 变量 ======== //
|
|
119
157
|
$color-text-disabled: $color-text-disabled;
|
|
120
158
|
// 页面基底色,用于卡片式页面的兜底,永远置于页面最底层。
|
|
121
|
-
$color-background: $color-surface-1
|
|
159
|
+
$color-background: $color-surface-1 !default;
|
|
122
160
|
// 卡片背景色
|
|
123
|
-
$color-background-overlay: $color-surface-2
|
|
161
|
+
$color-background-overlay: $color-surface-2 !default;
|
|
124
162
|
// 卡片内嵌背景色,用于卡片内部的信息包裹,感知较弱。
|
|
125
163
|
$color-background-sunken: var(--nutui-gray-2, #f8f8f8) !default;
|
|
126
164
|
|
|
@@ -133,7 +171,8 @@ $color-mask-part: var(--nutui-black-2, rgba(0, 0, 0, 0.02)) !default;
|
|
|
133
171
|
$spacing-icon-text: var(--nutui-spacing-2, 4px) !default;
|
|
134
172
|
|
|
135
173
|
// ---- Font Family ----
|
|
136
|
-
$font-family:
|
|
174
|
+
$font-family:
|
|
175
|
+
PingFang SC,
|
|
137
176
|
Microsoft YaHei,
|
|
138
177
|
Helvetica,
|
|
139
178
|
Hiragino Sans GB,
|
|
@@ -150,10 +189,10 @@ $font-size-xl: var(--nutui-font-size-6) !default;
|
|
|
150
189
|
$font-size-xxl: var(--nutui-font-size-8) !default;
|
|
151
190
|
$font-size-xxxl: var(--nutui-font-size-10) !default;
|
|
152
191
|
|
|
153
|
-
$space-mini: $spacing-xs
|
|
154
|
-
$space-large: $spacing-l
|
|
155
|
-
$space-xl: $spacing-xl
|
|
156
|
-
$space-xxl: $spacing-xxl
|
|
192
|
+
$space-mini: $spacing-xs !default;
|
|
193
|
+
$space-large: $spacing-l !default;
|
|
194
|
+
$space-xl: $spacing-xl !default;
|
|
195
|
+
$space-xxl: $spacing-xxl !default;
|
|
157
196
|
|
|
158
197
|
// todo
|
|
159
198
|
// 与品牌色一起使用,默认为白色,不区分暗黑与明亮模式。
|
|
@@ -161,7 +200,7 @@ $color-primary-text: var(--nutui-color-primary-text) !default;
|
|
|
161
200
|
// 链接色 todo
|
|
162
201
|
$color-text-link: var(--nutui-color-text-link) !default;
|
|
163
202
|
$white: #ffffff !default;
|
|
164
|
-
$black: $color-text-title
|
|
203
|
+
$black: $color-text-title !default;
|
|
165
204
|
|
|
166
205
|
// --- z-index ----
|
|
167
206
|
$mask-z-index: 1000;
|
|
@@ -175,144 +214,248 @@ $animation-timing-fun: cubic-bezier(0.55, 0.085, 0.68, 0.53) !default;
|
|
|
175
214
|
$padding-xs: var(--nutui-padding-xs, 12px) !default;
|
|
176
215
|
|
|
177
216
|
// button(✅)
|
|
178
|
-
$button-square-border-radius: var(
|
|
179
|
-
|
|
217
|
+
$button-square-border-radius: var(
|
|
218
|
+
--nutui-button-square-border-radius,
|
|
219
|
+
$radius-s
|
|
220
|
+
) !default;
|
|
180
221
|
$button-border-radius: var(--nutui-button-border-radius, $radius-xs) !default;
|
|
181
222
|
$button-border-width: var(--nutui-button-border-width, 1px) !default;
|
|
182
223
|
|
|
183
|
-
$button-normal-padding: var(
|
|
184
|
-
|
|
224
|
+
$button-normal-padding: var(
|
|
225
|
+
--nutui-button-normal-padding,
|
|
226
|
+
0px $space-xl
|
|
227
|
+
) !default;
|
|
185
228
|
$button-default-height: var(--nutui-button-default-height, 32px) !default;
|
|
186
|
-
$button-default-color: var(
|
|
187
|
-
|
|
188
|
-
$
|
|
189
|
-
|
|
190
|
-
$button-default-
|
|
191
|
-
|
|
192
|
-
$
|
|
193
|
-
|
|
194
|
-
$button-default-
|
|
195
|
-
|
|
196
|
-
$
|
|
197
|
-
|
|
198
|
-
$button-default-
|
|
199
|
-
|
|
229
|
+
$button-default-color: var(
|
|
230
|
+
--nutui-button-default-color,
|
|
231
|
+
$color-text-title
|
|
232
|
+
) !default;
|
|
233
|
+
$button-default-background-color: var(
|
|
234
|
+
--nutui-button-default-background-color,
|
|
235
|
+
$color-default
|
|
236
|
+
) !default;
|
|
237
|
+
$button-default-border-color: var(
|
|
238
|
+
--nutui-button-default-border-color,
|
|
239
|
+
$color-default
|
|
240
|
+
) !default;
|
|
241
|
+
$button-default-disabled: var(
|
|
242
|
+
--nutui-button-default-disabled,
|
|
243
|
+
$color-text-disabled
|
|
244
|
+
) !default;
|
|
245
|
+
$button-default-padding: var(
|
|
246
|
+
--nutui-button-default-padding,
|
|
247
|
+
0px $space-xl
|
|
248
|
+
) !default;
|
|
249
|
+
$button-default-font-size: var(
|
|
250
|
+
--nutui-button-default-font-size,
|
|
251
|
+
$font-size-base
|
|
252
|
+
) !default;
|
|
253
|
+
$button-default-font-weight: var(
|
|
254
|
+
--nutui-button-default-font-weight,
|
|
255
|
+
$font-weight
|
|
256
|
+
) !default;
|
|
200
257
|
|
|
201
258
|
$button-large-width: var(--nutui-button-large-width, auto) !default;
|
|
202
259
|
$button-large-height: var(--nutui-button-large-height, 44px) !default;
|
|
203
|
-
$button-large-padding: var(
|
|
204
|
-
|
|
205
|
-
$
|
|
206
|
-
|
|
207
|
-
$button-large-font-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
260
|
+
$button-large-padding: var(
|
|
261
|
+
--nutui-button-large-padding,
|
|
262
|
+
0px $space-xxl
|
|
263
|
+
) !default;
|
|
264
|
+
$button-large-font-size: var(
|
|
265
|
+
--nutui-button-large-font-size,
|
|
266
|
+
$font-size-large
|
|
267
|
+
) !default;
|
|
268
|
+
$button-large-font-weight: var(
|
|
269
|
+
--nutui-button-large-font-weight,
|
|
270
|
+
$font-weight-bold
|
|
271
|
+
) !default;
|
|
272
|
+
|
|
273
|
+
$button-small-font-size: var(
|
|
274
|
+
--nutui-button-small-font-size,
|
|
275
|
+
$font-size-base
|
|
276
|
+
) !default;
|
|
277
|
+
$button-small-padding: var(
|
|
278
|
+
--nutui-button-small-padding,
|
|
279
|
+
0px $space-large
|
|
280
|
+
) !default;
|
|
214
281
|
$button-small-height: var(--nutui-button-small-height, 32px) !default;
|
|
215
282
|
|
|
216
|
-
$button-mini-padding: var(
|
|
217
|
-
|
|
283
|
+
$button-mini-padding: var(
|
|
284
|
+
--nutui-button-mini-padding,
|
|
285
|
+
0px $space-large
|
|
286
|
+
) !default;
|
|
218
287
|
$button-mini-height: var(--nutui-button-mini-height, 24px) !default;
|
|
219
|
-
$button-mini-font-size: var(
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
$button-primary-
|
|
225
|
-
|
|
226
|
-
$
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
$
|
|
231
|
-
|
|
232
|
-
$button-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
$
|
|
249
|
-
|
|
250
|
-
$button-
|
|
251
|
-
|
|
252
|
-
$
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
$
|
|
258
|
-
|
|
259
|
-
$button-
|
|
260
|
-
|
|
261
|
-
$
|
|
262
|
-
|
|
263
|
-
$button-
|
|
264
|
-
|
|
288
|
+
$button-mini-font-size: var(
|
|
289
|
+
--nutui-button-mini-font-size,
|
|
290
|
+
$font-size-small
|
|
291
|
+
) !default;
|
|
292
|
+
|
|
293
|
+
$button-primary-color: var(
|
|
294
|
+
--nutui-button-primary-color,
|
|
295
|
+
$color-primary-text
|
|
296
|
+
) !default;
|
|
297
|
+
$button-primary-border-color: var(
|
|
298
|
+
--nutui-button-primary-border-color,
|
|
299
|
+
$color-primary
|
|
300
|
+
) !default;
|
|
301
|
+
$button-primary-background-color: $color-primary-gradient-1 !default;
|
|
302
|
+
$button-primary-disabled: var(
|
|
303
|
+
--nutui-button-primary-disabled,
|
|
304
|
+
$color-primary-disabled
|
|
305
|
+
) !default;
|
|
306
|
+
|
|
307
|
+
$button-success-color: var(
|
|
308
|
+
--nutui-button-success-color,
|
|
309
|
+
$color-primary-text
|
|
310
|
+
) !default;
|
|
311
|
+
$button-success-border-color: var(
|
|
312
|
+
--nutui-button-success-border-color,
|
|
313
|
+
$color-success
|
|
314
|
+
) !default;
|
|
315
|
+
$button-success-background-color: var(
|
|
316
|
+
--nutui-button-success-background-color,
|
|
317
|
+
$color-success
|
|
318
|
+
) !default;
|
|
319
|
+
$button-success-disabled: var(
|
|
320
|
+
--nutui-button-success-disabled,
|
|
321
|
+
$color-success-disabled
|
|
322
|
+
) !default;
|
|
323
|
+
|
|
324
|
+
$button-info-color: var(
|
|
325
|
+
--nutui-button-info-color,
|
|
326
|
+
$color-primary-text
|
|
327
|
+
) !default;
|
|
328
|
+
$button-info-border-color: var(
|
|
329
|
+
--nutui-button-info-border-color,
|
|
330
|
+
$color-info
|
|
331
|
+
) !default;
|
|
332
|
+
$button-info-background-color: var(
|
|
333
|
+
--nutui-button-info-background-color,
|
|
334
|
+
$color-info-background
|
|
335
|
+
) !default;
|
|
336
|
+
$button-info-disabled: var(
|
|
337
|
+
--nutui-button-info-disabled,
|
|
338
|
+
$color-info-disabled
|
|
339
|
+
) !default;
|
|
340
|
+
|
|
341
|
+
$button-warning-color: var(
|
|
342
|
+
--nutui-button-warning-color,
|
|
343
|
+
$color-primary-text
|
|
344
|
+
) !default;
|
|
345
|
+
$button-warning-border-color: var(
|
|
346
|
+
--nutui-button-warning-border-color,
|
|
347
|
+
$color-warning
|
|
348
|
+
) !default;
|
|
349
|
+
$button-warning-background-color: var(
|
|
350
|
+
--nutui-button-warning-background-color,
|
|
351
|
+
$color-warning
|
|
352
|
+
) !default;
|
|
353
|
+
$button-warning-disabled: var(
|
|
354
|
+
--nutui-button-warning-disabled,
|
|
355
|
+
$color-warning-disabled
|
|
356
|
+
) !default;
|
|
357
|
+
|
|
358
|
+
$button-danger-color: var(
|
|
359
|
+
--nutui-button-danger-color,
|
|
360
|
+
$color-primary-text
|
|
361
|
+
) !default;
|
|
362
|
+
$button-danger-border-color: var(
|
|
363
|
+
--nutui-button-danger-border-color,
|
|
364
|
+
$color-danger
|
|
365
|
+
) !default;
|
|
366
|
+
$button-danger-background-color: var(
|
|
367
|
+
--nutui-button-danger-background-color,
|
|
368
|
+
$color-danger
|
|
369
|
+
) !default;
|
|
370
|
+
$button-danger-disabled: var(
|
|
371
|
+
--nutui-button-danger-disabled,
|
|
372
|
+
$color-danger-disabled
|
|
373
|
+
) !default;
|
|
265
374
|
|
|
266
375
|
$button-text-icon-margin: var(--nutui-button-text-icon-margin, 4px) !default;
|
|
267
376
|
|
|
268
377
|
// cell(✅)
|
|
269
378
|
$cell-title-color: var(--nutui-cell-title-color, $color-text-title) !default;
|
|
270
|
-
$cell-title-font-size: var(
|
|
271
|
-
|
|
272
|
-
$
|
|
273
|
-
|
|
274
|
-
$cell-description-
|
|
275
|
-
|
|
276
|
-
$
|
|
277
|
-
|
|
379
|
+
$cell-title-font-size: var(
|
|
380
|
+
--nutui-cell-title-font-size,
|
|
381
|
+
$font-size-base
|
|
382
|
+
) !default;
|
|
383
|
+
$cell-description-font-size: var(
|
|
384
|
+
--nutui-cell-description-font-size,
|
|
385
|
+
$font-size-small
|
|
386
|
+
) !default;
|
|
387
|
+
$cell-description-color: var(
|
|
388
|
+
--nutui-cell-description-color,
|
|
389
|
+
$color-text
|
|
390
|
+
) !default;
|
|
391
|
+
$cell-extra-font-size: var(
|
|
392
|
+
--nutui-cell-extra-font-size,
|
|
393
|
+
$font-size-base
|
|
394
|
+
) !default;
|
|
278
395
|
$cell-extra-color: var(--nutui-cell-extra-color, $color-text) !default;
|
|
279
396
|
$cell-border-radius: var(--nutui-cell-border-radius, 6px) !default;
|
|
280
397
|
$cell-padding: var(--nutui-cell-padding, 13px 16px) !default;
|
|
281
398
|
$cell-line-height: var(--nutui-cell-line-height, 20px) !default;
|
|
282
399
|
$cell-divider-right: var(--nutui-cell-divider-right, 16px) !default;
|
|
283
400
|
$cell-divider-left: var(--nutui-cell-divider-left, 16px) !default;
|
|
284
|
-
$cell-divider-border-bottom: var(
|
|
285
|
-
|
|
401
|
+
$cell-divider-border-bottom: var(
|
|
402
|
+
--nutui-cell-divider-border-bottom,
|
|
403
|
+
2px solid $color-border
|
|
404
|
+
) !default;
|
|
286
405
|
$cell-background-color: var(--nutui-cell-background-color, $white) !default;
|
|
287
|
-
$cell-box-shadow: var(
|
|
288
|
-
|
|
406
|
+
$cell-box-shadow: var(
|
|
407
|
+
--nutui-cell-box-shadow,
|
|
408
|
+
0px 1px 7px 0px rgba(237, 238, 241, 1)
|
|
409
|
+
) !default;
|
|
289
410
|
|
|
290
411
|
// cell-group(✅)
|
|
291
|
-
$cell-group-title-padding: var(
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
$cell-group-title-
|
|
296
|
-
|
|
297
|
-
$
|
|
298
|
-
|
|
299
|
-
$cell-group-
|
|
300
|
-
|
|
301
|
-
$
|
|
302
|
-
|
|
303
|
-
$cell-group-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
$cell-group-
|
|
308
|
-
|
|
412
|
+
$cell-group-title-padding: var(
|
|
413
|
+
--nutui-cell-group-title-padding,
|
|
414
|
+
0 10px
|
|
415
|
+
) !default;
|
|
416
|
+
$cell-group-title-color: var(
|
|
417
|
+
--nutui-cell-group-title-color,
|
|
418
|
+
$color-text-title
|
|
419
|
+
) !default;
|
|
420
|
+
$cell-group-title-font-size: var(
|
|
421
|
+
--nutui-cell-group-title-font-size,
|
|
422
|
+
$font-size-base
|
|
423
|
+
) !default;
|
|
424
|
+
$cell-group-title-line-height: var(
|
|
425
|
+
--nutui-cell-group-title-line-height,
|
|
426
|
+
20px
|
|
427
|
+
) !default;
|
|
428
|
+
$cell-group-description-padding: var(
|
|
429
|
+
--nutui-cell-group-description-padding,
|
|
430
|
+
0 10px
|
|
431
|
+
) !default;
|
|
432
|
+
$cell-group-description-color: var(
|
|
433
|
+
--nutui-cell-group-description-color,
|
|
434
|
+
$color-text
|
|
435
|
+
) !default;
|
|
436
|
+
$cell-group-description-font-size: var(
|
|
437
|
+
--nutui-cell-group-description-font-size,
|
|
438
|
+
$font-size-small
|
|
439
|
+
) !default;
|
|
440
|
+
$cell-group-description-line-height: var(
|
|
441
|
+
--nutui-cell-group-description-line-height,
|
|
442
|
+
16px
|
|
443
|
+
) !default;
|
|
444
|
+
$cell-group-background-color: var(
|
|
445
|
+
--nutui-cell-group-background-color,
|
|
446
|
+
$color-background-overlay
|
|
447
|
+
) !default;
|
|
309
448
|
|
|
310
449
|
// divider(✅)
|
|
311
450
|
$divider-margin: var(--nutui-divider-margin, 16px 0) !default;
|
|
312
|
-
$divider-text-font-size: var(
|
|
313
|
-
|
|
314
|
-
$
|
|
315
|
-
|
|
451
|
+
$divider-text-font-size: var(
|
|
452
|
+
--nutui-divider-text-font-size,
|
|
453
|
+
$font-size-small
|
|
454
|
+
) !default;
|
|
455
|
+
$divider-border-color: var(
|
|
456
|
+
--nutui-divider-border-color,
|
|
457
|
+
$color-border
|
|
458
|
+
) !default;
|
|
316
459
|
$divider-text-color: var(--nutui-divider-text-color, $color-text-help) !default;
|
|
317
460
|
$divider-line-height: var(--nutui-divider-line-height, 2px) !default;
|
|
318
461
|
$divider-spacing: var(--nutui-divider-spacing, $spacing-base) !default;
|
|
@@ -331,180 +474,320 @@ $icon-line-height: var(--nutui-icon-line-height, 20px) !default;
|
|
|
331
474
|
$uploader-image-width: var(--nutui-uploader-image-width, 64px) !default;
|
|
332
475
|
$uploader-image-height: var(--nutui-uploader-image-height, 64px) !default;
|
|
333
476
|
$uploader-image-border: var(--nutui-uploader-image-border, 0px) !default;
|
|
334
|
-
$uploader-image-border-radius: var(
|
|
335
|
-
|
|
336
|
-
$
|
|
337
|
-
|
|
338
|
-
$uploader-background
|
|
339
|
-
|
|
340
|
-
$
|
|
341
|
-
|
|
342
|
-
$uploader-
|
|
343
|
-
|
|
344
|
-
$
|
|
345
|
-
|
|
346
|
-
$uploader-image-
|
|
347
|
-
|
|
348
|
-
$
|
|
349
|
-
|
|
350
|
-
$uploader-
|
|
351
|
-
|
|
352
|
-
$
|
|
353
|
-
|
|
354
|
-
$uploader-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
$uploader-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
$uploader-preview-
|
|
363
|
-
|
|
477
|
+
$uploader-image-border-radius: var(
|
|
478
|
+
--nutui-uploader-image-border-radius,
|
|
479
|
+
$radius-xs
|
|
480
|
+
) !default;
|
|
481
|
+
$uploader-background: var(
|
|
482
|
+
--nutui-uploader-background,
|
|
483
|
+
$color-background
|
|
484
|
+
) !default;
|
|
485
|
+
$uploader-background-disabled: var(
|
|
486
|
+
--nutui-uploader-background-disabled,
|
|
487
|
+
$color-background
|
|
488
|
+
) !default;
|
|
489
|
+
$uploader-image-color: var(
|
|
490
|
+
--nutui-uploader-image-color,
|
|
491
|
+
$color-text-help
|
|
492
|
+
) !default;
|
|
493
|
+
$uploader-image-disabled: var(
|
|
494
|
+
--nutui-uploader-image-disabled,
|
|
495
|
+
$color-text-disabled
|
|
496
|
+
) !default;
|
|
497
|
+
$uploader-image-icon-margin-bottom: var(
|
|
498
|
+
--nutui-uploader-image-icon-margin-bottom,
|
|
499
|
+
6px
|
|
500
|
+
) !default;
|
|
501
|
+
$uploader-image-icon-tip-font-size: var(
|
|
502
|
+
--nutui-uploader-image-icon-tip-font-size,
|
|
503
|
+
12px
|
|
504
|
+
) !default;
|
|
505
|
+
$uploader-preview-progress-background: var(
|
|
506
|
+
--nutui-uploader-preview-progress-background,
|
|
507
|
+
$color-mask
|
|
508
|
+
) !default;
|
|
509
|
+
$uploader-preview-margin-right: var(
|
|
510
|
+
--nutui-uploader-preview-margin-right,
|
|
511
|
+
$spacing-s
|
|
512
|
+
) !default;
|
|
513
|
+
$uploader-preview-margin-bottom: var(
|
|
514
|
+
--nutui-uploader-preview-margin-bottom,
|
|
515
|
+
$spacing-s
|
|
516
|
+
) !default;
|
|
517
|
+
$uploader-preview-tips-height: var(
|
|
518
|
+
--nutui-uploader-preview-tips-height,
|
|
519
|
+
20px
|
|
520
|
+
) !default;
|
|
521
|
+
$uploader-preview-tips-background: var(
|
|
522
|
+
--nutui-uploader-preview-tips-background,
|
|
523
|
+
var(--nutui-black-9)
|
|
524
|
+
) !default;
|
|
525
|
+
$uploader-preview-tips-padding: var(
|
|
526
|
+
--nutui-uploader-preview-tips-padding,
|
|
527
|
+
0 $spacing-xxs
|
|
528
|
+
) !default;
|
|
529
|
+
$uploader-preview-close-right: var(
|
|
530
|
+
--nutui-uploader-preview-close-right,
|
|
531
|
+
0px
|
|
532
|
+
) !default;
|
|
533
|
+
$uploader-preview-close-top: var(
|
|
534
|
+
--nutui-uploader-preview-close-top,
|
|
535
|
+
0px
|
|
536
|
+
) !default;
|
|
364
537
|
|
|
365
538
|
// picker(✅)(todo:react版本picker组件dom元素类名变化较大,picker.scss暂不改动)
|
|
366
|
-
$picker-title-cancel-color: var(
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
$picker-title-
|
|
371
|
-
|
|
372
|
-
$
|
|
373
|
-
|
|
539
|
+
$picker-title-cancel-color: var(
|
|
540
|
+
--nutui-picker-title-cancel-color,
|
|
541
|
+
#f0f0f0
|
|
542
|
+
) !default;
|
|
543
|
+
$picker-title-cancel-font-size: var(
|
|
544
|
+
--nutui-picker-title-cancel-font-size,
|
|
545
|
+
$font-size-base
|
|
546
|
+
) !default;
|
|
547
|
+
$picker-title-ok-color: var(
|
|
548
|
+
--nutui-picker-title-ok-color,
|
|
549
|
+
$color-primary
|
|
550
|
+
) !default;
|
|
551
|
+
$picker-title-ok-font-size: var(
|
|
552
|
+
--nutui-picker-title-ok-font-size,
|
|
553
|
+
$font-size-base
|
|
554
|
+
) !default;
|
|
374
555
|
$picker-list-height: var(--nutui-picker-list-height, 252px) !default;
|
|
375
556
|
$picker-item-height: var(--nutui-picker-item-height, 40px) !default;
|
|
376
|
-
$picker-item-text-color: var(
|
|
377
|
-
|
|
378
|
-
$
|
|
379
|
-
|
|
380
|
-
$picker-item-text-
|
|
381
|
-
|
|
382
|
-
$
|
|
383
|
-
|
|
384
|
-
$picker-
|
|
385
|
-
|
|
386
|
-
|
|
557
|
+
$picker-item-text-color: var(
|
|
558
|
+
--nutui-picker-item-text-color,
|
|
559
|
+
$color-text
|
|
560
|
+
) !default;
|
|
561
|
+
$picker-item-active-text-color: var(
|
|
562
|
+
--nutui-picker-item-active-text-color,
|
|
563
|
+
$color-text
|
|
564
|
+
) !default;
|
|
565
|
+
$picker-item-text-font-size: var(
|
|
566
|
+
--nutui-picker-item-text-font-size,
|
|
567
|
+
$font-h3
|
|
568
|
+
) !default;
|
|
569
|
+
$picker-item-active-line-border: var(
|
|
570
|
+
--nutui-picker-item-active-line-border,
|
|
571
|
+
1px solid $color-border
|
|
572
|
+
) !default;
|
|
573
|
+
$picker-mask-background: var(
|
|
574
|
+
--picker-mask-background,
|
|
575
|
+
linear-gradient(180deg, var(--nutui-white-12), var(--nutui-white-7)),
|
|
576
|
+
linear-gradient(0deg, var(--nutui-white-12), var(--nutui-white-7))
|
|
577
|
+
) !default;
|
|
387
578
|
|
|
388
579
|
//input(✅)
|
|
389
580
|
$input-border-bottom: var(--nutui-input-border-bottom, $color-border) !default;
|
|
390
|
-
$input-border-bottom-width: var(
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
581
|
+
$input-border-bottom-width: var(
|
|
582
|
+
--nutui-input-border-bottom-width,
|
|
583
|
+
0px
|
|
584
|
+
) !default;
|
|
585
|
+
$input-disabled-color: var(
|
|
586
|
+
--nutui-input-disabled-color,
|
|
587
|
+
$color-text-disabled
|
|
588
|
+
) !default;
|
|
394
589
|
$input-font-size: var(--nutui-input-font-size, $font-size-base) !default;
|
|
395
590
|
$input-border-radius: var(--nutui-input-border-radius, $radius-xs) !default;
|
|
396
591
|
$input-color: var(--nutui-input-color, $color-text) !default;
|
|
397
|
-
$input-background-color: var(
|
|
398
|
-
|
|
592
|
+
$input-background-color: var(
|
|
593
|
+
--nutui-input-background-color,
|
|
594
|
+
$color-default
|
|
595
|
+
) !default;
|
|
399
596
|
$input-padding: var(--nutui-input-padding, 8px 12px) !default;
|
|
400
597
|
|
|
401
598
|
// textarea(✅)
|
|
402
599
|
|
|
403
600
|
$textarea-font: var(--nutui-textarea-font, $font-text-base) !default;
|
|
404
|
-
$textarea-padding: var(
|
|
405
|
-
|
|
406
|
-
$
|
|
407
|
-
|
|
601
|
+
$textarea-padding: var(
|
|
602
|
+
--nutui-textarea-padding,
|
|
603
|
+
$spacing-base $spacing-xxxl
|
|
604
|
+
) !default;
|
|
605
|
+
$textarea-limit-color: var(
|
|
606
|
+
--nutui-textarea-limit-color,
|
|
607
|
+
$color-text-help
|
|
608
|
+
) !default;
|
|
408
609
|
$textarea-text-color: var(--nutui-textarea-text-color, $color-text) !default;
|
|
409
|
-
$textarea-text-curror-color: var(
|
|
410
|
-
|
|
411
|
-
$
|
|
412
|
-
|
|
413
|
-
$textarea-
|
|
414
|
-
|
|
610
|
+
$textarea-text-curror-color: var(
|
|
611
|
+
--nutui-textarea-text-curror-color,
|
|
612
|
+
$color-text-title
|
|
613
|
+
) !default;
|
|
614
|
+
$textarea-text-line-height: var(
|
|
615
|
+
--nutui-textarea-text-line-height,
|
|
616
|
+
$line-height-base
|
|
617
|
+
) !default;
|
|
618
|
+
$textarea-disabled-color: var(
|
|
619
|
+
--nutui-textarea-disabled-color,
|
|
620
|
+
$color-text-disabled
|
|
621
|
+
) !default;
|
|
415
622
|
|
|
416
623
|
// inputnumber(✅)
|
|
417
624
|
$inputnumber-input-width: var(--nutui-inputnumber-input-width, 40px) !default;
|
|
418
625
|
$inputnumber-input-height: var(--nutui-inputnumber-input-height, 24px) !default;
|
|
419
|
-
$inputnumber-input-background-color: var(
|
|
420
|
-
|
|
421
|
-
$
|
|
422
|
-
|
|
423
|
-
$inputnumber-input-font-
|
|
424
|
-
|
|
626
|
+
$inputnumber-input-background-color: var(
|
|
627
|
+
--nutui-inputnumber-input-background-color,
|
|
628
|
+
$color-background-overlay
|
|
629
|
+
) !default;
|
|
630
|
+
$inputnumber-input-font-color: var(
|
|
631
|
+
--nutui-inputnumber-input-font-color,
|
|
632
|
+
$color-text-title
|
|
633
|
+
) !default;
|
|
634
|
+
$inputnumber-input-font-size: var(
|
|
635
|
+
--nutui-inputnumber-input-font-size,
|
|
636
|
+
14px
|
|
637
|
+
) !default;
|
|
425
638
|
$inputnumber-input-border: var(--nutui-inputnumber-input-border, 0) !default;
|
|
426
|
-
$inputnumber-input-border-radius: var(
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
639
|
+
$inputnumber-input-border-radius: var(
|
|
640
|
+
--nutui-inputnumber-input-border-radius,
|
|
641
|
+
6px
|
|
642
|
+
) !default;
|
|
643
|
+
$inputnumber-input-margin: var(
|
|
644
|
+
--nutui-inputnumber-input-margin,
|
|
645
|
+
0 6px
|
|
646
|
+
) !default;
|
|
430
647
|
|
|
431
648
|
$inputnumber-button-width: var(--nutui-inputnumber-button-width, 16px) !default;
|
|
432
|
-
$inputnumber-button-height: var(
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
$inputnumber-button-
|
|
437
|
-
|
|
438
|
-
$
|
|
439
|
-
|
|
649
|
+
$inputnumber-button-height: var(
|
|
650
|
+
--nutui-inputnumber-button-height,
|
|
651
|
+
16px
|
|
652
|
+
) !default;
|
|
653
|
+
$inputnumber-button-border-radius: var(
|
|
654
|
+
--nutui-inputnumber-button-border-radius,
|
|
655
|
+
$radius-xxs
|
|
656
|
+
) !default;
|
|
657
|
+
$inputnumber-button-background-color: var(
|
|
658
|
+
--nutui-inputnumber-button-background-color,
|
|
659
|
+
$color-background
|
|
660
|
+
) !default;
|
|
661
|
+
$inputnumber-icon-color: var(
|
|
662
|
+
--nutui-inputnumber-icon-color,
|
|
663
|
+
$color-text
|
|
664
|
+
) !default;
|
|
440
665
|
$inputnumber-icon-size: var(--nutui-inputnumber-icon-size, 8px) !default;
|
|
441
|
-
$inputnumber-disabled-color: var(
|
|
442
|
-
|
|
666
|
+
$inputnumber-disabled-color: var(
|
|
667
|
+
--nutui-inputnumber-disabled-color,
|
|
668
|
+
$color-text-disabled
|
|
669
|
+
) !default;
|
|
443
670
|
|
|
444
671
|
// actionsheet(✅)
|
|
445
|
-
$actionsheet-background-color: var(
|
|
446
|
-
|
|
672
|
+
$actionsheet-background-color: var(
|
|
673
|
+
--nutui-actionsheet-background-color,
|
|
674
|
+
$color-surface-1
|
|
675
|
+
) !default;
|
|
447
676
|
$actionsheet-padding: var(--nutui-actionsheet-padding, 0 4px) !default;
|
|
448
677
|
$actionsheet-border-color: var(--nutui-actionsheet-border-color, none) !default;
|
|
449
|
-
$actionsheet-border-radius: var(
|
|
450
|
-
|
|
451
|
-
$
|
|
452
|
-
|
|
453
|
-
$actionsheet-item-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
$actionsheet-item-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
678
|
+
$actionsheet-border-radius: var(
|
|
679
|
+
--nutui-actionsheet-border-radius,
|
|
680
|
+
$radius-l
|
|
681
|
+
) !default;
|
|
682
|
+
$actionsheet-item-text-align: var(
|
|
683
|
+
--nutui-actionsheet-item-text-align,
|
|
684
|
+
center
|
|
685
|
+
) !default;
|
|
686
|
+
$actionsheet-item-border-bottom: var(
|
|
687
|
+
--nutui-actionsheet-item-border-bottom,
|
|
688
|
+
none
|
|
689
|
+
) !default;
|
|
690
|
+
$actionsheet-item-line-height: var(
|
|
691
|
+
--nutui-actionsheet-item-line-height,
|
|
692
|
+
24px
|
|
693
|
+
) !default;
|
|
694
|
+
$actionsheet-item-color: var(
|
|
695
|
+
--nutui-actionsheet-item-color,
|
|
696
|
+
$color-text-title
|
|
697
|
+
) !default;
|
|
698
|
+
$actionsheet-item-danger: var(
|
|
699
|
+
--nutui-actionsheet-item-danger,
|
|
700
|
+
$color-danger
|
|
701
|
+
) !default;
|
|
461
702
|
|
|
462
703
|
//shortpassword(✅)
|
|
463
|
-
$shortpassword-background-color: var(
|
|
464
|
-
|
|
465
|
-
$
|
|
466
|
-
|
|
704
|
+
$shortpassword-background-color: var(
|
|
705
|
+
--nutui-shortpassword-background-color,
|
|
706
|
+
$color-background
|
|
707
|
+
) !default;
|
|
708
|
+
$shortpassword-border-color: var(
|
|
709
|
+
--nutui-shortpassword-border-color,
|
|
710
|
+
$color-background
|
|
711
|
+
) !default;
|
|
467
712
|
$shortpassword-error: var(--nutui-shortpassword-error, $color-primary) !default;
|
|
468
|
-
$shortpassword-forget: var(
|
|
469
|
-
|
|
713
|
+
$shortpassword-forget: var(
|
|
714
|
+
--nutui-shortpassword-forget,
|
|
715
|
+
$color-text-help
|
|
716
|
+
) !default;
|
|
470
717
|
|
|
471
718
|
//numberkeyboard(✅)
|
|
472
|
-
$numberkeyboard-padding: var(
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
$numberkeyboard-
|
|
477
|
-
|
|
478
|
-
$
|
|
479
|
-
|
|
480
|
-
$numberkeyboard-
|
|
481
|
-
|
|
482
|
-
$
|
|
483
|
-
|
|
484
|
-
$numberkeyboard-header-close-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
$numberkeyboard-
|
|
489
|
-
|
|
490
|
-
$
|
|
491
|
-
|
|
492
|
-
$numberkeyboard-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
$numberkeyboard-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
$numberkeyboard-key-color: var(
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
$numberkeyboard-key-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
719
|
+
$numberkeyboard-padding: var(
|
|
720
|
+
--nutui-numberkeyboard-padding,
|
|
721
|
+
0 0 22px 0
|
|
722
|
+
) !default;
|
|
723
|
+
$numberkeyboard-background-color: var(
|
|
724
|
+
--nutui-numberkeyboard-background-color,
|
|
725
|
+
$color-surface-1
|
|
726
|
+
) !default;
|
|
727
|
+
$numberkeyboard-wrapper-background-color: var(
|
|
728
|
+
--nutui-numberkeyboard-wrapper-background-color,
|
|
729
|
+
$color-surface-1
|
|
730
|
+
) !default;
|
|
731
|
+
$numberkeyboard-header-close-padding: var(
|
|
732
|
+
--nutui-numberkeyboard-header-close-padding,
|
|
733
|
+
0 16px
|
|
734
|
+
) !default;
|
|
735
|
+
$numberkeyboard-header-close-color: var(
|
|
736
|
+
--nutui-numberkeyboard-header-close-color,
|
|
737
|
+
$color-text
|
|
738
|
+
) !default;
|
|
739
|
+
$numberkeyboard-header-close-font-size: var(
|
|
740
|
+
--nutui-numberkeyboard-header-close-font-size,
|
|
741
|
+
14px
|
|
742
|
+
) !default;
|
|
743
|
+
$numberkeyboard-header-close-background-color: var(
|
|
744
|
+
--nutui-numberkeyboard-header-close-background-color,
|
|
745
|
+
transparent
|
|
746
|
+
) !default;
|
|
747
|
+
$numberkeyboard-key-background-color: var(
|
|
748
|
+
--nutui-numberkeyboard-key-background-color,
|
|
749
|
+
#fff
|
|
750
|
+
) !default;
|
|
751
|
+
$numberkeyboard-key-active-background-color: var(
|
|
752
|
+
--nutui-numberkeyboard-key-active-background-color,
|
|
753
|
+
#ebedf0
|
|
754
|
+
) !default;
|
|
755
|
+
$numberkeyboard-key-height: var(
|
|
756
|
+
--nutui-numberkeyboard-key-height,
|
|
757
|
+
48px
|
|
758
|
+
) !default;
|
|
759
|
+
$numberkeyboard-key-line-height: var(
|
|
760
|
+
--nutui-numberkeyboard-key-line-height,
|
|
761
|
+
1.5
|
|
762
|
+
) !default;
|
|
763
|
+
$numberkeyboard-key-border-radius: var(
|
|
764
|
+
--nutui-numberkeyboard-key-border-radius,
|
|
765
|
+
$radius-base
|
|
766
|
+
) !default;
|
|
767
|
+
$numberkeyboard-key-border: var(
|
|
768
|
+
--nutui-numberkeyboard-key-border,
|
|
769
|
+
none
|
|
770
|
+
) !default;
|
|
771
|
+
$numberkeyboard-key-font-size: var(
|
|
772
|
+
--nutui-numberkeyboard-key-font-size,
|
|
773
|
+
$font-size-xl
|
|
774
|
+
) !default;
|
|
775
|
+
$numberkeyboard-key-color: var(
|
|
776
|
+
--nutui-numberkeyboard-key-color,
|
|
777
|
+
$color-text
|
|
778
|
+
) !default;
|
|
779
|
+
$numberkeyboard-key-confirm-font-size: var(
|
|
780
|
+
--nutui-numberkeyboard-key-confirm-font-size,
|
|
781
|
+
$font-size-large
|
|
782
|
+
) !default;
|
|
783
|
+
$numberkeyboard-key-confirm-color: var(
|
|
784
|
+
--nutui-numberkeyboard-key-confirm-color,
|
|
785
|
+
#fff
|
|
786
|
+
) !default;
|
|
787
|
+
$numberkeyboard-key-confirm-background-color: var(
|
|
788
|
+
--nutui-numberkeyboard-key-confirm-background-color,
|
|
789
|
+
$color-primary
|
|
790
|
+
) !default;
|
|
508
791
|
|
|
509
792
|
// countdown(✅)
|
|
510
793
|
$countdown-display: var(--nutui-countdown-display, flex) !default;
|
|
@@ -512,8 +795,10 @@ $countdown-color: var(--nutui-countdown-color, $color-text-title) !default;
|
|
|
512
795
|
$countdown-font-size: var(--nutui-countdown-font-size, 14px) !default;
|
|
513
796
|
|
|
514
797
|
//large price(✅)
|
|
515
|
-
$price-symbol-padding-right: var(
|
|
516
|
-
|
|
798
|
+
$price-symbol-padding-right: var(
|
|
799
|
+
--nutui-price-symbol-padding-right,
|
|
800
|
+
1px
|
|
801
|
+
) !default;
|
|
517
802
|
$price-symbol-big-size: var(--nutui-price-symbol-big-size, 18px) !default;
|
|
518
803
|
$price-integer-big-size: var(--nutui-price-integer-big-size, 24px) !default;
|
|
519
804
|
$price-decimal-big-size: var(--nutui-price-decimal-big-size, 18px) !default;
|
|
@@ -522,10 +807,14 @@ $price-decimal-big-size: var(--nutui-price-decimal-big-size, 18px) !default;
|
|
|
522
807
|
$price-line-color: var(--nutui-price-line-color, $color-border) !default;
|
|
523
808
|
$price-line-font-size: var(--nutui-price-line-font-size, 12px) !default;
|
|
524
809
|
$price-symbol-medium-size: var(--nutui-price-symbol-medium-size, 14px) !default;
|
|
525
|
-
$price-integer-medium-size: var(
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
810
|
+
$price-integer-medium-size: var(
|
|
811
|
+
--nutui-price-integer-medium-size,
|
|
812
|
+
16px
|
|
813
|
+
) !default;
|
|
814
|
+
$price-decimal-medium-size: var(
|
|
815
|
+
--nutui-price-decimal-medium-size,
|
|
816
|
+
14px
|
|
817
|
+
) !default;
|
|
529
818
|
|
|
530
819
|
// small price(✅)
|
|
531
820
|
$price-symbol-small-size: var(--nutui-price-symbol-small-size, 10px) !default;
|
|
@@ -542,103 +831,169 @@ $avatar-normal-width: var(--nutui-avatar-normal-width, 40px) !default;
|
|
|
542
831
|
$avatar-normal-height: var(--nutui-avatar-normal-height, 40px) !default;
|
|
543
832
|
|
|
544
833
|
//switch(✅)
|
|
545
|
-
$switch-close-background-color: var(
|
|
546
|
-
|
|
547
|
-
$
|
|
548
|
-
|
|
549
|
-
$switch-
|
|
550
|
-
|
|
551
|
-
$
|
|
552
|
-
|
|
553
|
-
$switch-close-
|
|
554
|
-
|
|
834
|
+
$switch-close-background-color: var(
|
|
835
|
+
--nutui-switch-close-background-color,
|
|
836
|
+
$color-default
|
|
837
|
+
) !default;
|
|
838
|
+
$switch-open-background-color: var(
|
|
839
|
+
--nutui-switch-open-background-color,
|
|
840
|
+
$color-primary
|
|
841
|
+
) !default;
|
|
842
|
+
$switch-close-disabled-background-color: var(
|
|
843
|
+
--nutui-switch-close-disabled-background-color,
|
|
844
|
+
$color-default-disabled
|
|
845
|
+
) !default;
|
|
846
|
+
$switch-open-disabled-background-color: var(
|
|
847
|
+
--nutui-switch-open-disabled-background-color,
|
|
848
|
+
$color-primary-disabled
|
|
849
|
+
) !default;
|
|
850
|
+
$switch-close-line-background-color: var(
|
|
851
|
+
--nutui-switch-close-line-bg-color,
|
|
852
|
+
#fff
|
|
853
|
+
) !default;
|
|
555
854
|
$switch-width: var(--nutui-switch-width, 40px) !default;
|
|
556
855
|
$switch-height: var(--nutui-switch-height, 24px) !default;
|
|
557
856
|
$switch-line-height: var(--nutui-switch-line-height, 24px) !default;
|
|
558
857
|
$switch-border-radius: var(--nutui-switch-border-radius, 24px) !default;
|
|
559
858
|
$switch-inside-width: var(--nutui-switch-inside-width, 20px) !default;
|
|
560
859
|
$switch-inside-height: var(--nutui-switch-inside-height, 20px) !default;
|
|
561
|
-
$switch-inside-open-transform: var(
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
$switch-
|
|
566
|
-
|
|
860
|
+
$switch-inside-open-transform: var(
|
|
861
|
+
--nutui-switch-inside-open-transform,
|
|
862
|
+
translateX(90%)
|
|
863
|
+
) !default;
|
|
864
|
+
$switch-inside-close-transform: var(
|
|
865
|
+
--nutui-switch-inside-close-transform,
|
|
866
|
+
translateX(14%)
|
|
867
|
+
) !default;
|
|
868
|
+
$switch-button-box-shadow: var(
|
|
869
|
+
--nutui-switch-box-shadow,
|
|
870
|
+
$shadow-raised
|
|
871
|
+
) !default;
|
|
567
872
|
|
|
568
873
|
// toast(✅)
|
|
569
874
|
$toast-title-font-size: var(--nutui-toast-title-font-size, 16px) !default;
|
|
570
875
|
$toast-text-font-size: var(--nutui-toast-text-font-size, 14px) !default;
|
|
571
876
|
$toast-font-color: var(--nutui-toast-font-color, $white) !default;
|
|
572
877
|
$toast-inner-padding: var(--nutui-toast-inner-padding, $spacing-base) !default;
|
|
573
|
-
$toast-inner-bg-color: var(
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
878
|
+
$toast-inner-bg-color: var(
|
|
879
|
+
--nutui-toast-inner-bg-color,
|
|
880
|
+
rgba(0, 0, 0, 0.9)
|
|
881
|
+
) !default;
|
|
882
|
+
$toast-inner-border-radius: var(
|
|
883
|
+
--nutui-toast-inner-border-radius,
|
|
884
|
+
$radius-xs
|
|
885
|
+
) !default;
|
|
577
886
|
$toast-inner-top: var(--nutui-toast-inner-top, 50%) !default;
|
|
578
887
|
|
|
579
888
|
//tour(✅)
|
|
580
889
|
$tour-mask-border-radius: var(--nutui-tour-mask-border-radius, 10px) !default;
|
|
581
890
|
$tour-content-min-width: var(--nutui-tour-content-min-width, 200px) !default;
|
|
582
891
|
$tour-content-padding: var(--nutui-tour-content-padding, 10px 12px) !default;
|
|
583
|
-
$tour-content-inner-margin: var(
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
$tour-content-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
$tour-content-bottom-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
$tour-content-bottom-btn-
|
|
596
|
-
|
|
892
|
+
$tour-content-inner-margin: var(
|
|
893
|
+
--nutui-tour-content-inner-margin,
|
|
894
|
+
10px 0px
|
|
895
|
+
) !default;
|
|
896
|
+
$tour-content-inner-font-size: var(
|
|
897
|
+
--nutui-tour-content-inner-font-size,
|
|
898
|
+
14px
|
|
899
|
+
) !default;
|
|
900
|
+
$tour-content-bottom-margin-top: var(
|
|
901
|
+
--nutui-tour-content-bottom-margin-top,
|
|
902
|
+
10px
|
|
903
|
+
) !default;
|
|
904
|
+
$tour-content-bottom-btn-margin-left: var(
|
|
905
|
+
--nutui-tour-content-bottom-btn-margin-left,
|
|
906
|
+
4px
|
|
907
|
+
) !default;
|
|
908
|
+
$tour-content-bottom-btn-padding: var(
|
|
909
|
+
--nutui-tour-content-bottom-btn-padding,
|
|
910
|
+
2px 4px
|
|
911
|
+
) !default;
|
|
912
|
+
$tour-content-bottom-btn-font-size: var(
|
|
913
|
+
--nutui-tour-content-bottom-btn-font-size,
|
|
914
|
+
12px
|
|
915
|
+
) !default;
|
|
916
|
+
$tour-content-bottom-btn-border-radius: var(
|
|
917
|
+
--nutui-tour-content-bottom-btn-border-radius,
|
|
918
|
+
4px
|
|
919
|
+
) !default;
|
|
597
920
|
|
|
598
921
|
//backtop(✅)
|
|
599
|
-
$backtop-border-color: var(
|
|
600
|
-
|
|
922
|
+
$backtop-border-color: var(
|
|
923
|
+
--nutui-backtop-border-color,
|
|
924
|
+
$color-border
|
|
925
|
+
) !default;
|
|
601
926
|
|
|
602
927
|
// calendar(✅)
|
|
603
|
-
$calendar-active-background-color: var(
|
|
604
|
-
|
|
605
|
-
$
|
|
606
|
-
|
|
607
|
-
$calendar-choose-background-color
|
|
608
|
-
|
|
609
|
-
$
|
|
610
|
-
|
|
611
|
-
$calendar-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
$calendar-
|
|
616
|
-
|
|
928
|
+
$calendar-active-background-color: var(
|
|
929
|
+
--nutui-calendar-active-background-color,
|
|
930
|
+
$color-primary
|
|
931
|
+
) !default;
|
|
932
|
+
$calendar-choose-background-color: var(
|
|
933
|
+
--nutui-calendar-choose-background-color,
|
|
934
|
+
$color-primary-light
|
|
935
|
+
) !default;
|
|
936
|
+
$calendar-choose-disable-background-color: var(
|
|
937
|
+
--nutui-calendar-choose-disable-background-color,
|
|
938
|
+
rgba(191, 191, 191, 0.09)
|
|
939
|
+
) !default;
|
|
940
|
+
$calendar-disable-color: var(--nutui-calendar-disable-color, $gray3) !default;
|
|
941
|
+
$calendar-base-font-size: var(
|
|
942
|
+
--nutui-calendar-base-font-size,
|
|
943
|
+
$font-size-large
|
|
944
|
+
) !default;
|
|
945
|
+
$calendar-title-font-size: var(
|
|
946
|
+
--nutui-calendar-title-font-size,
|
|
947
|
+
$font-size-xl
|
|
948
|
+
) !default;
|
|
949
|
+
$calendar-title-font-weight: var(
|
|
950
|
+
--nutui-calendar-title-font-weight,
|
|
951
|
+
$font-weight-bold
|
|
952
|
+
) !default;
|
|
953
|
+
$calendar-sub-title-font-size: var(
|
|
954
|
+
--nutui-calendar-sub-title-font-size,
|
|
955
|
+
$font-size-base
|
|
956
|
+
) !default;
|
|
617
957
|
$calendar-header-height: var(--nutui-calendar-header-height, 24px) !default;
|
|
618
958
|
$calendar-day-width: var(--nutui-calendar-day-width, 14.28%) !default;
|
|
619
959
|
$calendar-day-height: var(--nutui-calendar-day-height, 60px) !default;
|
|
620
|
-
$calendar-day-font-weight: var(
|
|
621
|
-
|
|
622
|
-
|
|
960
|
+
$calendar-day-font-weight: var(
|
|
961
|
+
--nutui-calendar-day-font-weight,
|
|
962
|
+
$font-weight-bold
|
|
963
|
+
) !default;
|
|
964
|
+
$calendar-day-active-border-radius: var(
|
|
965
|
+
--nutui-calendar-day-active-border-radius,
|
|
966
|
+
4px
|
|
967
|
+
) !default;
|
|
623
968
|
|
|
624
969
|
//overlay(✅)
|
|
625
970
|
$overlay-bg-color: var(--nutui-overlay-bg-color, $color-mask) !default;
|
|
626
971
|
$overlay-zIndex: var(--nutui-overlay-zIndex, 1000) !default;
|
|
627
|
-
$overlay-content-bg-color: var(
|
|
628
|
-
|
|
629
|
-
$
|
|
630
|
-
|
|
631
|
-
$overlay-
|
|
632
|
-
|
|
972
|
+
$overlay-content-bg-color: var(
|
|
973
|
+
--nutui-overlay-content-bg-color,
|
|
974
|
+
$white
|
|
975
|
+
) !default;
|
|
976
|
+
$overlay-content-color: var(
|
|
977
|
+
--nutui-overlay-content-color,
|
|
978
|
+
$color-text-title
|
|
979
|
+
) !default;
|
|
980
|
+
$overlay-animation-duration: var(
|
|
981
|
+
--nutui-overlay-animation-duration,
|
|
982
|
+
0.3s
|
|
983
|
+
) !default;
|
|
633
984
|
//popup(✅)
|
|
634
985
|
$popup-border-radius: var(--nutui-popup-border-radius, 12px) !default;
|
|
635
986
|
$popup-icon-size: var(--nutui-popup-icon-size, $font-size-xl) !default;
|
|
636
987
|
$popup-title-padding: var(--nutui-popup-title-padding, 12px) !default;
|
|
637
988
|
$popup-title-font-size: var(--nutui-popup-title-font-size, $font-h1) !default;
|
|
638
|
-
$popup-description-font-size: var(
|
|
639
|
-
|
|
640
|
-
$
|
|
641
|
-
|
|
989
|
+
$popup-description-font-size: var(
|
|
990
|
+
--nutui-popup-description-font-size,
|
|
991
|
+
$font-size-xs
|
|
992
|
+
) !default;
|
|
993
|
+
$popup-title-font-weight: var(
|
|
994
|
+
--nutui-popup-title-font-weight,
|
|
995
|
+
$font-weight-bold
|
|
996
|
+
) !default;
|
|
642
997
|
$popup-title-height: var(--nutui-popup-title-height, auto) !default;
|
|
643
998
|
$popup-title-border-bottom: var(--nutui-popup-title-border-bottom, 0) !default;
|
|
644
999
|
$popup-animation-duration: var(--nutui-popup-animation-duration, 0.3s) !default;
|
|
@@ -648,67 +1003,103 @@ $notify-text-color: var(--nutui-notify-text-color, $white) !default;
|
|
|
648
1003
|
$notify-padding: var(--nutui-notify-padding, 0px 10px) !default;
|
|
649
1004
|
$notify-font-size: var(--nutui-notify-font-size, $font-size-base) !default;
|
|
650
1005
|
$notify-height: var(--nutui-notify-height, 40px) !default;
|
|
651
|
-
$notify-base-background-color: var(
|
|
652
|
-
|
|
653
|
-
$
|
|
654
|
-
|
|
655
|
-
$notify-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
1006
|
+
$notify-base-background-color: var(
|
|
1007
|
+
--nutui-notify-base-background-color,
|
|
1008
|
+
$color-primary-gradient-1
|
|
1009
|
+
) !default;
|
|
1010
|
+
$notify-primary-background-color: var(
|
|
1011
|
+
--nutui-notify-primary-background-color,
|
|
1012
|
+
$color-info
|
|
1013
|
+
) !default;
|
|
1014
|
+
$notify-success-background-color: var(
|
|
1015
|
+
--nutui-notify-success-background-color,
|
|
1016
|
+
linear-gradient(
|
|
1017
|
+
135deg,
|
|
1018
|
+
rgba(38, 191, 38, 1) 0%,
|
|
1019
|
+
rgba(39, 197, 48, 1) 45%,
|
|
1020
|
+
rgba(40, 207, 63, 1) 83%,
|
|
1021
|
+
rgba(41, 212, 70, 1) 100%
|
|
1022
|
+
)
|
|
1023
|
+
) !default;
|
|
1024
|
+
$notify-danger-background-color: var(
|
|
1025
|
+
--nutui-notify-danger-background-color,
|
|
1026
|
+
$color-primary
|
|
1027
|
+
) !default;
|
|
1028
|
+
$notify-warning-background-color: var(
|
|
1029
|
+
--nutui-notify-warning-background-color,
|
|
1030
|
+
$color-warning
|
|
1031
|
+
) !default;
|
|
665
1032
|
|
|
666
1033
|
// rate(✅)
|
|
667
1034
|
$rate-item-margin: var(--nutui-rate-item-margin, 14px) !default;
|
|
668
1035
|
$rate-icon-color: var(--nutui-rate-icon-color, $color-primary) !default;
|
|
669
|
-
$rate-icon-inactive-color: var(
|
|
670
|
-
|
|
1036
|
+
$rate-icon-inactive-color: var(
|
|
1037
|
+
--nutui-rate-icon-inactive-color,
|
|
1038
|
+
$color-text-disabled
|
|
1039
|
+
) !default;
|
|
671
1040
|
|
|
672
1041
|
// tabbar(✅)
|
|
673
1042
|
$tabbar-height: var(--nutui-tabbar-height, 50px) !default;
|
|
674
|
-
$tabbar-active-color: var(
|
|
675
|
-
|
|
676
|
-
$
|
|
677
|
-
|
|
1043
|
+
$tabbar-active-color: var(
|
|
1044
|
+
--nutui-tabbar-active-color,
|
|
1045
|
+
$color-text-link
|
|
1046
|
+
) !default;
|
|
1047
|
+
$tabbar-inactive-color: var(
|
|
1048
|
+
--nutui-tabbar-inactive-color,
|
|
1049
|
+
$color-text
|
|
1050
|
+
) !default;
|
|
678
1051
|
$tabbar-border-top: var(--nutui-tabbar-border-top, none) !default;
|
|
679
1052
|
$tabbar-border-bottom: var(--nutui-tabbar-border-bottom, none) !default;
|
|
680
1053
|
$tabbar-box-shadow: var(--nutui-tabbar-box-shadow, none) !default;
|
|
681
|
-
$tabbar-text-font-size: var(
|
|
682
|
-
|
|
683
|
-
$
|
|
684
|
-
|
|
685
|
-
$tabbar-text-large-font-
|
|
686
|
-
|
|
1054
|
+
$tabbar-text-font-size: var(
|
|
1055
|
+
--nutui-tabbar-text-font-size,
|
|
1056
|
+
$font-size-xs
|
|
1057
|
+
) !default;
|
|
1058
|
+
$tabbar-text-large-font-size: var(
|
|
1059
|
+
--nutui-tabbar-text-large-font-size,
|
|
1060
|
+
$font-h4
|
|
1061
|
+
) !default;
|
|
1062
|
+
$tabbar-text-large-font-weight: var(
|
|
1063
|
+
--nutui-tabbar-text-large-font-weight,
|
|
1064
|
+
$font-weight-bold
|
|
1065
|
+
) !default;
|
|
687
1066
|
$tabbar-text-line-height: var(--nutui-tabbar-text-line-height, 20px) !default;
|
|
688
1067
|
$tabbar-height: var(--nutui-tabbar-height, 50px) !default;
|
|
689
1068
|
$tabbar-text-margin-top: var(--nutui-tabbar-text-margin-top, 3px) !default;
|
|
690
1069
|
|
|
691
1070
|
//pulltorefresh
|
|
692
|
-
$pulltorefresh-top-icon-width: var(
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
1071
|
+
$pulltorefresh-top-icon-width: var(
|
|
1072
|
+
--nutui-pulltorefresh-top-icon-width,
|
|
1073
|
+
36px
|
|
1074
|
+
) !default;
|
|
1075
|
+
$pulltorefresh-top-icon-height: var(
|
|
1076
|
+
--nutui-pulltorefresh-top-icon-height,
|
|
1077
|
+
26px
|
|
1078
|
+
) !default;
|
|
696
1079
|
|
|
697
1080
|
//infiniteloading(✅)
|
|
698
|
-
$infiniteloading-color: var(
|
|
699
|
-
|
|
700
|
-
$
|
|
701
|
-
|
|
1081
|
+
$infiniteloading-color: var(
|
|
1082
|
+
--nutui-infiniteloading-color,
|
|
1083
|
+
$color-text-help
|
|
1084
|
+
) !default;
|
|
1085
|
+
$infiniteloading-bottom-icon-size: var(
|
|
1086
|
+
--nutui-infiniteloading-bottom-icon-size,
|
|
1087
|
+
24px
|
|
1088
|
+
) !default;
|
|
702
1089
|
|
|
703
1090
|
//range(✅)
|
|
704
1091
|
$range-color: var(--nutui-range-color, $color-text-title) !default;
|
|
705
1092
|
$range-height: var(--nutui-range-height, 2px) !default;
|
|
706
1093
|
$range-margin: var(--nutui-range-margin, 15px) !default;
|
|
707
|
-
$range-inactive-color: var(
|
|
708
|
-
|
|
1094
|
+
$range-inactive-color: var(
|
|
1095
|
+
--nutui-range-inactive-color,
|
|
1096
|
+
$color-default
|
|
1097
|
+
) !default;
|
|
709
1098
|
$range-active-color: var(--nutui-range-active-color, $color-primary) !default;
|
|
710
|
-
$range-button-background: var(
|
|
711
|
-
|
|
1099
|
+
$range-button-background: var(
|
|
1100
|
+
--nutui-range-button-background,
|
|
1101
|
+
$color-primary-text
|
|
1102
|
+
) !default;
|
|
712
1103
|
$range-button-width: var(--nutui-range-button-width, 24px) !default;
|
|
713
1104
|
$range-button-height: var(--nutui-range-button-height, 24px) !default;
|
|
714
1105
|
$range-button-border: var(--nutui-range-button-border, none) !default;
|
|
@@ -717,200 +1108,344 @@ $range-button-border: var(--nutui-range-button-border, none) !default;
|
|
|
717
1108
|
$swiper-indicator-bottom: var(--nutui-swiper-indicator-bottom, 12px);
|
|
718
1109
|
|
|
719
1110
|
//address
|
|
720
|
-
$address-tab-line-background: linear-gradient(
|
|
721
|
-
|
|
722
|
-
|
|
1111
|
+
$address-tab-line-background: linear-gradient(
|
|
1112
|
+
90deg,
|
|
1113
|
+
$color-primary-stop-1 0%,
|
|
1114
|
+
$color-primary-stop-2 100%
|
|
1115
|
+
) !default;
|
|
723
1116
|
|
|
724
1117
|
//steps(✅)
|
|
725
1118
|
$steps-base-icon-width: var(--nutui-steps-base-icon-width, 25px) !default;
|
|
726
1119
|
$steps-base-icon-height: var(--nutui-steps-base-icon-height, 25px) !default;
|
|
727
|
-
$steps-base-icon-line-height: var(
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
$steps-base-icon-
|
|
732
|
-
|
|
1120
|
+
$steps-base-icon-line-height: var(
|
|
1121
|
+
--nutui-steps-base-icon-line-height,
|
|
1122
|
+
25px
|
|
1123
|
+
) !default;
|
|
1124
|
+
$steps-base-icon-margin-bottom: var(
|
|
1125
|
+
--nutui-steps-base-icon-margin-bottom,
|
|
1126
|
+
12px
|
|
1127
|
+
) !default;
|
|
1128
|
+
$steps-base-icon-font-size: var(
|
|
1129
|
+
--nutui-steps-base-icon-font-size,
|
|
1130
|
+
$font-size-small
|
|
1131
|
+
) !default;
|
|
733
1132
|
$steps-base-line-width: var(--nutui-steps-base-line-width, 70%) !default;
|
|
734
1133
|
$steps-base-line-height: var(--nutui-steps-base-line-height, 1px) !default;
|
|
735
|
-
$steps-base-line-background: var(
|
|
736
|
-
|
|
737
|
-
$
|
|
738
|
-
|
|
739
|
-
$steps-base-title-
|
|
740
|
-
|
|
741
|
-
$
|
|
742
|
-
|
|
743
|
-
$steps-base-
|
|
744
|
-
|
|
745
|
-
$
|
|
746
|
-
|
|
747
|
-
$steps-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
$steps-
|
|
752
|
-
|
|
753
|
-
$
|
|
754
|
-
|
|
755
|
-
$steps-
|
|
756
|
-
|
|
757
|
-
$
|
|
758
|
-
|
|
759
|
-
$steps-
|
|
760
|
-
|
|
761
|
-
$
|
|
762
|
-
|
|
763
|
-
$steps-
|
|
764
|
-
|
|
765
|
-
$
|
|
766
|
-
|
|
767
|
-
$steps-
|
|
768
|
-
|
|
769
|
-
$
|
|
770
|
-
|
|
771
|
-
$steps-
|
|
772
|
-
|
|
773
|
-
$
|
|
774
|
-
|
|
775
|
-
$steps-
|
|
776
|
-
|
|
777
|
-
$
|
|
778
|
-
|
|
779
|
-
$steps-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
$steps-
|
|
784
|
-
|
|
785
|
-
$
|
|
786
|
-
|
|
1134
|
+
$steps-base-line-background: var(
|
|
1135
|
+
--nutui-steps-base-line-background,
|
|
1136
|
+
$color-border
|
|
1137
|
+
) !default;
|
|
1138
|
+
$steps-base-title-font-size: var(
|
|
1139
|
+
--nutui-steps-base-title-font-size,
|
|
1140
|
+
$font-size-base
|
|
1141
|
+
) !default;
|
|
1142
|
+
$steps-base-title-color: var(
|
|
1143
|
+
--nutui-steps-base-title-color,
|
|
1144
|
+
$color-text-title
|
|
1145
|
+
) !default;
|
|
1146
|
+
$steps-base-title-margin-bottom: var(
|
|
1147
|
+
--nutui-steps-base-title-margin-bottom,
|
|
1148
|
+
0
|
|
1149
|
+
) !default;
|
|
1150
|
+
$steps-base-description-font-size: var(
|
|
1151
|
+
--nutui-steps-base-description-font-size,
|
|
1152
|
+
$font-size-small
|
|
1153
|
+
) !default;
|
|
1154
|
+
$steps-base-description-color: var(
|
|
1155
|
+
--nutui-steps-base-description-color,
|
|
1156
|
+
$color-text
|
|
1157
|
+
) !default;
|
|
1158
|
+
$steps-wait-icon-bg-color: var(
|
|
1159
|
+
--nutui-steps-wait-icon-bg-color,
|
|
1160
|
+
$color-default
|
|
1161
|
+
) !default;
|
|
1162
|
+
$steps-wait-icon-color: var(
|
|
1163
|
+
--nutui-steps-wait-icon-color,
|
|
1164
|
+
$color-text-help
|
|
1165
|
+
) !default;
|
|
1166
|
+
$steps-wait-title-color: var(
|
|
1167
|
+
--nutui-steps-wait-title-color,
|
|
1168
|
+
$color-text-help
|
|
1169
|
+
) !default;
|
|
1170
|
+
$steps-wait-description-color: var(
|
|
1171
|
+
--nutui-steps-wait-description-color,
|
|
1172
|
+
$color-text-help
|
|
1173
|
+
) !default;
|
|
1174
|
+
$steps-process-icon-bg-color: var(
|
|
1175
|
+
--nutui-steps-process-icon-bg-color,
|
|
1176
|
+
$color-primary
|
|
1177
|
+
) !default;
|
|
1178
|
+
$steps-process-icon-before-bg-color: var(
|
|
1179
|
+
--nutui-steps-process-icon-before-bg-color,
|
|
1180
|
+
none
|
|
1181
|
+
) !default;
|
|
1182
|
+
$steps-process-icon-color: var(
|
|
1183
|
+
--nutui-steps-process-icon-color,
|
|
1184
|
+
$white
|
|
1185
|
+
) !default;
|
|
1186
|
+
$steps-process-title-color: var(
|
|
1187
|
+
--nutui-steps-process-title-color,
|
|
1188
|
+
$color-primary
|
|
1189
|
+
) !default;
|
|
1190
|
+
$steps-process-title-font-size: var(
|
|
1191
|
+
--nutui-steps-process-title-font-size,
|
|
1192
|
+
$font-size-base
|
|
1193
|
+
) !default;
|
|
1194
|
+
$steps-process-title-font-weight: var(
|
|
1195
|
+
--nutui-steps-process-title-font-weight,
|
|
1196
|
+
$font-weight-bold
|
|
1197
|
+
) !default;
|
|
1198
|
+
$steps-process-description-color: var(
|
|
1199
|
+
--nutui-steps-process-description-color,
|
|
1200
|
+
$color-text
|
|
1201
|
+
) !default;
|
|
1202
|
+
$steps-finish-icon-bg-color: var(
|
|
1203
|
+
--nutui-steps-finish-icon-bg-color,
|
|
1204
|
+
$color-primary-light
|
|
1205
|
+
) !default;
|
|
1206
|
+
$steps-finish-icon-color: var(
|
|
1207
|
+
--nutui-steps-finish-icon-color,
|
|
1208
|
+
$color-primary
|
|
1209
|
+
) !default;
|
|
1210
|
+
$steps-finish-icon-border-color: var(
|
|
1211
|
+
--nutui-steps-finish-icon-border-color,
|
|
1212
|
+
transparent
|
|
1213
|
+
) !default;
|
|
1214
|
+
$steps-finish-title-color: var(
|
|
1215
|
+
--nutui-steps-finish-title-color,
|
|
1216
|
+
$color-text-title
|
|
1217
|
+
) !default;
|
|
1218
|
+
$steps-finish-description-color: var(
|
|
1219
|
+
--nutui-steps-finish-description-color,
|
|
1220
|
+
$color-text
|
|
1221
|
+
) !default;
|
|
1222
|
+
$steps-finish-line-background: var(
|
|
1223
|
+
--nutui-steps-finish-line-background,
|
|
1224
|
+
$color-primary
|
|
1225
|
+
) !default;
|
|
1226
|
+
$steps-dot-finish-icon-bg-color: var(
|
|
1227
|
+
--nutui-steps-finish-icon-bg-color,
|
|
1228
|
+
$white
|
|
1229
|
+
) !default;
|
|
1230
|
+
$steps-dot-finish-icon-border-color: var(
|
|
1231
|
+
--nutui-steps-finish-icon-color,
|
|
1232
|
+
$color-primary
|
|
1233
|
+
) !default;
|
|
1234
|
+
$steps-dot-wait-icon-bg-color: var(
|
|
1235
|
+
--nutui-steps-dot-wait-icon-bg-color,
|
|
1236
|
+
$white
|
|
1237
|
+
) !default;
|
|
787
1238
|
$steps-dot-icon-width: var(--nutui-steps-dot-icon-width, 6px) !default;
|
|
788
1239
|
$steps-dot-icon-height: var(--nutui-steps-dot-icon-height, 6px) !default;
|
|
789
|
-
$steps-dot-icon-border: var(
|
|
790
|
-
|
|
1240
|
+
$steps-dot-icon-border: var(
|
|
1241
|
+
--nutui-steps-dot-icon-border,
|
|
1242
|
+
2px solid $color-border-shade
|
|
1243
|
+
) !default;
|
|
791
1244
|
$steps-dot-head-margin: var(--nutui-steps-dot-head-margin, 10px 0) !default;
|
|
792
1245
|
|
|
793
1246
|
// dialog(✅)
|
|
794
1247
|
$dialog-z-index: var(--nutui-dialog-z-index, $mask-content-z-index) !default;
|
|
795
1248
|
$dialog-width: var(--nutui-dialog-width, 295px) !default;
|
|
796
|
-
$dialog-padding: var(
|
|
797
|
-
|
|
1249
|
+
$dialog-padding: var(
|
|
1250
|
+
--nutui-dialog-padding,
|
|
1251
|
+
$spacing-xxxl $spacing-xxl
|
|
1252
|
+
) !default;
|
|
798
1253
|
$dialog-min-height: var(--nutui-dialog-min-height, 60px) !default;
|
|
799
1254
|
$dialog-border-radius: var(--nutui-dialog-border-radius, $radius-base) !default;
|
|
800
|
-
$dialog-footer-justify-content: var(
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
$dialog-content-
|
|
805
|
-
|
|
806
|
-
$
|
|
807
|
-
|
|
808
|
-
$dialog-content-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
$dialog-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
$dialog-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
1255
|
+
$dialog-footer-justify-content: var(
|
|
1256
|
+
--nutui-dialog-footer-justify-content,
|
|
1257
|
+
space-around
|
|
1258
|
+
) !default;
|
|
1259
|
+
$dialog-content-margin: var(
|
|
1260
|
+
--nutui-dialog-content-margin,
|
|
1261
|
+
$spacing-base 0
|
|
1262
|
+
) !default;
|
|
1263
|
+
$dialog-content-max-height: var(
|
|
1264
|
+
--nutui-dialog-content-max-height,
|
|
1265
|
+
268px
|
|
1266
|
+
) !default;
|
|
1267
|
+
$dialog-content-line-height: var(
|
|
1268
|
+
--nutui-dialog-content-line-height,
|
|
1269
|
+
20px
|
|
1270
|
+
) !default;
|
|
1271
|
+
$dialog-content-text-align: var(
|
|
1272
|
+
--nutui-dialog-content-text-align,
|
|
1273
|
+
left
|
|
1274
|
+
) !default;
|
|
1275
|
+
$dialog-footer-button-min-width: var(
|
|
1276
|
+
--nutui-dialog-footer-button-min-width,
|
|
1277
|
+
117px
|
|
1278
|
+
) !default;
|
|
1279
|
+
$dialog-footer-cancel-margin-right: var(
|
|
1280
|
+
--nutui-dialog-footer-cancel-margin-right,
|
|
1281
|
+
12px
|
|
1282
|
+
) !default;
|
|
1283
|
+
$dialog-footer-ok-max-width: var(
|
|
1284
|
+
--nutui-dialog-footer-ok-max-width,
|
|
1285
|
+
128px
|
|
1286
|
+
) !default;
|
|
1287
|
+
$dialog-header-font-weight: var(
|
|
1288
|
+
--nutui-dialog-header-font-weight,
|
|
1289
|
+
normal
|
|
1290
|
+
) !default;
|
|
1291
|
+
$dialog-vertical-footer-ok-margin-top: var(
|
|
1292
|
+
--nutui-dialog-vertical-footer-ok-margin-top,
|
|
1293
|
+
5px
|
|
1294
|
+
) !default;
|
|
820
1295
|
|
|
821
1296
|
// checkbox(✅)
|
|
822
|
-
$checkbox-label-margin-left: var(
|
|
823
|
-
|
|
1297
|
+
$checkbox-label-margin-left: var(
|
|
1298
|
+
--nutui-checkbox-label-margin-left,
|
|
1299
|
+
$spacing-icon-text
|
|
1300
|
+
) !default;
|
|
824
1301
|
$checkbox-label-color: var(--nutui-checkbox-label-color, $color-text) !default;
|
|
825
|
-
$checkbox-label-font-size: var(
|
|
826
|
-
|
|
827
|
-
$
|
|
828
|
-
|
|
829
|
-
$checkbox-
|
|
830
|
-
|
|
1302
|
+
$checkbox-label-font-size: var(
|
|
1303
|
+
--nutui-checkbox-label-font-size,
|
|
1304
|
+
$font-size-base
|
|
1305
|
+
) !default;
|
|
1306
|
+
$checkbox-icon-font-size: var(
|
|
1307
|
+
--nutui-checkbox-icon-font-size,
|
|
1308
|
+
$font-size-large
|
|
1309
|
+
) !default;
|
|
1310
|
+
$checkbox-button-font-size: var(
|
|
1311
|
+
--nutui-checkbox-button-font-size,
|
|
1312
|
+
$font-size-base
|
|
1313
|
+
) !default;
|
|
831
1314
|
$checkbox-button-color: $color-text;
|
|
832
1315
|
$checkbox-button-background: $color-background;
|
|
833
|
-
$checkbox-button-padding: var(
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
$checkbox-button-
|
|
838
|
-
|
|
839
|
-
$
|
|
840
|
-
|
|
1316
|
+
$checkbox-button-padding: var(
|
|
1317
|
+
--nutui-checkbox-button-padding,
|
|
1318
|
+
5px 18px
|
|
1319
|
+
) !default;
|
|
1320
|
+
$checkbox-button-border-radius: var(
|
|
1321
|
+
--nutui-checkbox-button-border-radius,
|
|
1322
|
+
$radius-xs
|
|
1323
|
+
) !default;
|
|
1324
|
+
$checkbox-button-active-border: var(
|
|
1325
|
+
--nutui-checkbox-button-active-border,
|
|
1326
|
+
1px solid $color-primary-light
|
|
1327
|
+
) !default;
|
|
1328
|
+
$checkbox-button-disabled-active-color: var(
|
|
1329
|
+
--nutui-checkbox-button-disabled-active-color,
|
|
1330
|
+
$white
|
|
1331
|
+
) !default;
|
|
841
1332
|
|
|
842
1333
|
//radio(✅)
|
|
843
|
-
$radio-icon-font-size: var(
|
|
844
|
-
|
|
845
|
-
$
|
|
846
|
-
|
|
1334
|
+
$radio-icon-font-size: var(
|
|
1335
|
+
--nutui-radio-icon-font-size,
|
|
1336
|
+
$font-size-large
|
|
1337
|
+
) !default;
|
|
1338
|
+
$radio-label-font-size: var(
|
|
1339
|
+
--nutui-radio-label-font-size,
|
|
1340
|
+
$font-size-base
|
|
1341
|
+
) !default;
|
|
847
1342
|
$radio-label-color: var(--nutui-radio-label-color, $color-text) !default;
|
|
848
1343
|
$radio-label-margin-left: var(--nutui-radio-label-margin-left, 4px) !default;
|
|
849
|
-
$radio-button-font-size: var(
|
|
850
|
-
|
|
1344
|
+
$radio-button-font-size: var(
|
|
1345
|
+
--nutui-radio-button-font-size,
|
|
1346
|
+
$font-size-base
|
|
1347
|
+
) !default;
|
|
851
1348
|
$radio-button-color: $color-text;
|
|
852
1349
|
$radio-button-background: $color-background;
|
|
853
1350
|
$radio-button-padding: var(--nutui-radio-button-padding, 5px 18px) !default;
|
|
854
|
-
$radio-button-border-radius: var(
|
|
855
|
-
|
|
856
|
-
$
|
|
857
|
-
|
|
858
|
-
$radio-button-
|
|
859
|
-
|
|
860
|
-
$
|
|
861
|
-
|
|
862
|
-
$
|
|
863
|
-
|
|
1351
|
+
$radio-button-border-radius: var(
|
|
1352
|
+
--nutui-radio-button-border-radius,
|
|
1353
|
+
$radius-xs
|
|
1354
|
+
) !default;
|
|
1355
|
+
$radio-button-active-border: var(
|
|
1356
|
+
--nutui-radio-button-active-border,
|
|
1357
|
+
1px solid $color-primary-light
|
|
1358
|
+
) !default;
|
|
1359
|
+
$radio-button-disabled-active-color: var(
|
|
1360
|
+
--nutui-radio-button-disabled-active-color,
|
|
1361
|
+
$white
|
|
1362
|
+
) !default;
|
|
1363
|
+
$radiogroup-radio-margin: var(
|
|
1364
|
+
--nutui-radiogroup-radio-margin,
|
|
1365
|
+
0 20px 5px 0
|
|
1366
|
+
) !default;
|
|
1367
|
+
$radiogroup-radio-label-margin: var(
|
|
1368
|
+
--nutui-radiogroup-radio-label-margin,
|
|
1369
|
+
0 5px 0 5px
|
|
1370
|
+
) !default;
|
|
864
1371
|
|
|
865
1372
|
// signature(✅)
|
|
866
|
-
$signature-border-color: var(
|
|
867
|
-
|
|
1373
|
+
$signature-border-color: var(
|
|
1374
|
+
--nutui-signature-border-color,
|
|
1375
|
+
$color-border
|
|
1376
|
+
) !default;
|
|
868
1377
|
$signature-border-width: var(--nutui-signature-border-width, 1px) !default;
|
|
869
1378
|
$signature-height: var(--nutui-signature-height, 10rem) !default;
|
|
870
|
-
$signature-background-color: var(
|
|
871
|
-
|
|
872
|
-
$
|
|
873
|
-
|
|
1379
|
+
$signature-background-color: var(
|
|
1380
|
+
--nutui-signature-background-color,
|
|
1381
|
+
$color-background-overlay
|
|
1382
|
+
) !default;
|
|
1383
|
+
$signature-font-size: var(
|
|
1384
|
+
--nutui-signature-font-size,
|
|
1385
|
+
$font-size-base
|
|
1386
|
+
) !default;
|
|
874
1387
|
|
|
875
1388
|
//fixednav(✅)
|
|
876
|
-
$fixednav-background-color: var(
|
|
877
|
-
|
|
1389
|
+
$fixednav-background-color: var(
|
|
1390
|
+
--nutui-fixednav-background-color,
|
|
1391
|
+
$white
|
|
1392
|
+
) !default;
|
|
878
1393
|
$fixednav-color: var(--nutui-fixednav-color, #1a1a1a) !default;
|
|
879
1394
|
$fixednav-index: var(--nutui-fixednav-index, 900) !default;
|
|
880
|
-
$fixednav-button-background: var(
|
|
881
|
-
|
|
882
|
-
$
|
|
883
|
-
|
|
1395
|
+
$fixednav-button-background: var(
|
|
1396
|
+
--nutui-fixednav-button-background,
|
|
1397
|
+
$color-primary-gradient-1
|
|
1398
|
+
) !default;
|
|
1399
|
+
$fixednav-item-active-color: var(
|
|
1400
|
+
--nutui-fixednav-item-active-color,
|
|
1401
|
+
$color-primary
|
|
1402
|
+
) !default;
|
|
884
1403
|
|
|
885
1404
|
// NoticeBar(✅)
|
|
886
1405
|
$noticebar-height: var(--nutui-noticebar-height, 36px) !default;
|
|
887
|
-
$noticebar-background: var(
|
|
888
|
-
|
|
1406
|
+
$noticebar-background: var(
|
|
1407
|
+
--nutui-noticebar-background,
|
|
1408
|
+
rgba(251, 248, 220, 1)
|
|
1409
|
+
) !default;
|
|
889
1410
|
$noticebar-color: var(--nutui-noticebar-color, #d9500b) !default;
|
|
890
|
-
$noticebar-font-size: var(
|
|
891
|
-
|
|
1411
|
+
$noticebar-font-size: var(
|
|
1412
|
+
--nutui-noticebar-font-size,
|
|
1413
|
+
$font-size-small
|
|
1414
|
+
) !default;
|
|
892
1415
|
$noticebar-line-height: var(--nutui-noticebar-line-height, 24px) !default;
|
|
893
|
-
$noticebar-box-padding: var(
|
|
894
|
-
|
|
1416
|
+
$noticebar-box-padding: var(
|
|
1417
|
+
--nutui-noticebar-box-padding,
|
|
1418
|
+
$spacing-s $spacing-l
|
|
1419
|
+
) !default;
|
|
895
1420
|
$noticebar-border-radius: var(--nutui-noticebar-border-radius, 8px) !default;
|
|
896
1421
|
$noticebar-wrap-padding: var(--nutui-noticebar-wrapable-padding, 16px) !default;
|
|
897
1422
|
$noticebar-icon-gap: var(--nutui-noticebar-icon-gap, 4px) !default;
|
|
898
|
-
$noticebar-left-icon-width: var(
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
1423
|
+
$noticebar-left-icon-width: var(
|
|
1424
|
+
--nutui-noticebar-left-icon-width,
|
|
1425
|
+
16px
|
|
1426
|
+
) !default;
|
|
1427
|
+
$noticebar-right-icon-width: var(
|
|
1428
|
+
--nutui-noticebar-right-icon-width,
|
|
1429
|
+
16px
|
|
1430
|
+
) !default;
|
|
902
1431
|
|
|
903
1432
|
// TimeSelect(✅)
|
|
904
1433
|
$timeselect-date-width: var(--nutui-timeselect-date-width, 140px) !default;
|
|
905
1434
|
$timeselect-date-height: var(--nutui-timeselect-date-height, 40px) !default;
|
|
906
|
-
$timeselect-date-active-color: var(
|
|
907
|
-
|
|
1435
|
+
$timeselect-date-active-color: var(
|
|
1436
|
+
--nutui-timeselect-date-active-color,
|
|
1437
|
+
$color-text-title
|
|
1438
|
+
) !default;
|
|
908
1439
|
$timeselect-time-width: var(--nutui-timeselect-time-width, 100px) !default;
|
|
909
1440
|
$timeselect-time-height: var(--nutui-timeselect-time-height, 50px) !default;
|
|
910
|
-
$timeselect-time-margin: var(
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
1441
|
+
$timeselect-time-margin: var(
|
|
1442
|
+
--nutui-timeselect-time-margin,
|
|
1443
|
+
0 10px 10px 0
|
|
1444
|
+
) !default;
|
|
1445
|
+
$timeselect-time-background: var(
|
|
1446
|
+
--nutui-timeselect-time-background,
|
|
1447
|
+
$color-background
|
|
1448
|
+
) !default;
|
|
914
1449
|
|
|
915
1450
|
//tag(✅)
|
|
916
1451
|
$tag-padding: var(--nutui-tag-padding, 0 $spacing-xs) !default;
|
|
@@ -919,37 +1454,57 @@ $tag-border-radius: var(--nutui-tag-border-radius, $radius-xs) !default;
|
|
|
919
1454
|
$tag-height: var(--nutui-tag-height, 20px) !default;
|
|
920
1455
|
$tag-color: var(--nutui-tag-color, $color-text-dark) !default;
|
|
921
1456
|
$tag-border-width: var(--nutui-tag-border-width, 1px) !default;
|
|
922
|
-
$tag-background-color: var(
|
|
923
|
-
|
|
924
|
-
$
|
|
925
|
-
|
|
926
|
-
$tag-
|
|
927
|
-
|
|
928
|
-
$
|
|
929
|
-
|
|
930
|
-
$tag-
|
|
931
|
-
|
|
932
|
-
$
|
|
933
|
-
|
|
1457
|
+
$tag-background-color: var(
|
|
1458
|
+
--nutui-tag-background-color,
|
|
1459
|
+
$color-text-title
|
|
1460
|
+
) !default;
|
|
1461
|
+
$tag-primary-background-color: var(
|
|
1462
|
+
--nutui-tag-primary-background-color,
|
|
1463
|
+
$color-primary
|
|
1464
|
+
) !default;
|
|
1465
|
+
$tag-info-background-color: var(
|
|
1466
|
+
--nutui-tag-info-background-color,
|
|
1467
|
+
$color-info
|
|
1468
|
+
) !default;
|
|
1469
|
+
$tag-success-background-color: var(
|
|
1470
|
+
--nutui-tag-success-background-color,
|
|
1471
|
+
$color-success
|
|
1472
|
+
) !default;
|
|
1473
|
+
$tag-danger-background-color: var(
|
|
1474
|
+
--nutui-tag-danger-background-color,
|
|
1475
|
+
$color-danger
|
|
1476
|
+
) !default;
|
|
1477
|
+
$tag-warning-background-color: var(
|
|
1478
|
+
--nutui-tag-warning-background-color,
|
|
1479
|
+
$color-warning
|
|
1480
|
+
) !default;
|
|
934
1481
|
$tag-round-border-radius: var(--nutui-tag-round-border-radius, 8px) !default;
|
|
935
|
-
$tag-mark-border-radius: var(
|
|
936
|
-
|
|
1482
|
+
$tag-mark-border-radius: var(
|
|
1483
|
+
--nutui-tag-mark-border-radius,
|
|
1484
|
+
0 8px 8px 0
|
|
1485
|
+
) !default;
|
|
937
1486
|
|
|
938
1487
|
//badge(✅)
|
|
939
1488
|
$badge-height: var(--nutui-badge-height, 20px) !default;
|
|
940
|
-
$badge-background-color: var(
|
|
941
|
-
|
|
1489
|
+
$badge-background-color: var(
|
|
1490
|
+
--nutui-badge-background-color,
|
|
1491
|
+
$color-danger
|
|
1492
|
+
) !default;
|
|
942
1493
|
$badge-color: var(--nutui-badge-color, #fff) !default;
|
|
943
1494
|
$badge-font-size: var(--nutui-badge-font-size, $font-size-xs) !default;
|
|
944
1495
|
$badge-border: var(--nutui-badge-border, 2px solid $badge-color) !default;
|
|
945
|
-
$badge-border-radius: var(
|
|
946
|
-
|
|
1496
|
+
$badge-border-radius: var(
|
|
1497
|
+
--nutui-badge-border-radius,
|
|
1498
|
+
calc($badge-height/2)
|
|
1499
|
+
) !default;
|
|
947
1500
|
$badge-min-width: var(--nutui-badge-min-width, 10px) !default;
|
|
948
1501
|
$badge-padding: var(--nutui-badge-padding, 0 4px) !default;
|
|
949
1502
|
$badge-icon-padding: var(--nutui-badge-icon-padding, 3px) !default;
|
|
950
1503
|
$badge-icon-size: var(--nutui-badge-icon-size, 12px) !default;
|
|
951
|
-
$badge-content-transform: var(
|
|
952
|
-
|
|
1504
|
+
$badge-content-transform: var(
|
|
1505
|
+
--nutui-badge-content-transform,
|
|
1506
|
+
translateY(-50%) translateX(100%)
|
|
1507
|
+
) !default;
|
|
953
1508
|
$badge-z-index: var(--nutui-badge-z-index, 1) !default;
|
|
954
1509
|
$badge-dot-width: var(--nutui-badge-dot-width, 7px) !default;
|
|
955
1510
|
|
|
@@ -957,192 +1512,326 @@ $badge-dot-width: var(--nutui-badge-dot-width, 7px) !default;
|
|
|
957
1512
|
$popover-border-radius: var(--nutui-popover-border-radius, $radius-s) !default;
|
|
958
1513
|
$popover-font-size: var(--nutui-popover-font-size, $font-size-base) !default;
|
|
959
1514
|
$popover-border-color: var(--nutui-popover-border-color, #ffffff) !default;
|
|
960
|
-
$popover-content-background-color: var(
|
|
961
|
-
|
|
1515
|
+
$popover-content-background-color: var(
|
|
1516
|
+
--nutui-popover-content-background-color,
|
|
1517
|
+
#ffffff
|
|
1518
|
+
) !default;
|
|
962
1519
|
$popover-text-color: var(--nutui-popover-text-color, $color-text) !default;
|
|
963
|
-
$popover-hover-background-color: var(
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
$popover-
|
|
968
|
-
|
|
1520
|
+
$popover-hover-background-color: var(
|
|
1521
|
+
--nutui-popover-hover-background-color,
|
|
1522
|
+
#fff
|
|
1523
|
+
) !default;
|
|
1524
|
+
$popover-hover-text-color: var(
|
|
1525
|
+
--nutui-popover-hover-text-color,
|
|
1526
|
+
$color-text
|
|
1527
|
+
) !default;
|
|
1528
|
+
$popover-disable-color: var(
|
|
1529
|
+
--nutui-popover-disable-color,
|
|
1530
|
+
$color-text-disabled
|
|
1531
|
+
) !default;
|
|
969
1532
|
$popover-divider-color: var(--nutui-popover-divider-color, none) !default;
|
|
970
|
-
$popover-menu-item-padding: var(
|
|
971
|
-
|
|
1533
|
+
$popover-menu-item-padding: var(
|
|
1534
|
+
--nutui-popover-menu-item-padding,
|
|
1535
|
+
$spacing-xl
|
|
1536
|
+
) !default;
|
|
972
1537
|
|
|
973
1538
|
//progress(✅)
|
|
974
1539
|
$progress-height: var(--nutui-progress-height, 10px) !default;
|
|
975
|
-
$progress-color: var(
|
|
976
|
-
|
|
977
|
-
$
|
|
978
|
-
|
|
1540
|
+
$progress-color: var(
|
|
1541
|
+
--nutui-progress-color,
|
|
1542
|
+
$color-primary-gradient-1
|
|
1543
|
+
) !default;
|
|
1544
|
+
$progress-background: var(
|
|
1545
|
+
--nutui-progress-background,
|
|
1546
|
+
$color-background
|
|
1547
|
+
) !default;
|
|
979
1548
|
$progress-border-radius: var(--nutui-progress-border-radius, 12px) !default;
|
|
980
|
-
$progress-text-color: var(
|
|
981
|
-
|
|
982
|
-
$
|
|
983
|
-
|
|
1549
|
+
$progress-text-color: var(
|
|
1550
|
+
--nutui-progress-text-color,
|
|
1551
|
+
$color-primary-text
|
|
1552
|
+
) !default;
|
|
1553
|
+
$progress-text-background: var(
|
|
1554
|
+
--nutui-progress-text-background,
|
|
1555
|
+
$progress-color
|
|
1556
|
+
) !default;
|
|
984
1557
|
$progress-text-padding: var(--nutui-progress-text-padding, 0 5px) !default;
|
|
985
1558
|
$progress-text-font-size: var(--nutui-progress-text-font-size, 9px) !default;
|
|
986
|
-
$progress-text-position-top: var(
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
$progress-text-
|
|
991
|
-
|
|
1559
|
+
$progress-text-position-top: var(
|
|
1560
|
+
--nutui-progress-text-position-top,
|
|
1561
|
+
-4px
|
|
1562
|
+
) !default;
|
|
1563
|
+
$progress-text-position-bottom: var(
|
|
1564
|
+
--nutui-progress-text-position-bottom,
|
|
1565
|
+
-4px
|
|
1566
|
+
) !default;
|
|
1567
|
+
$progress-text-border-radius: var(
|
|
1568
|
+
--nutui-progress-text-border-radius,
|
|
1569
|
+
5px
|
|
1570
|
+
) !default;
|
|
992
1571
|
|
|
993
1572
|
//pagination(✅)
|
|
994
1573
|
$pagination-color: var(--nutui-pagination-color, $color-primary) !default;
|
|
995
|
-
$pagination-font-size: var(
|
|
996
|
-
|
|
997
|
-
$
|
|
998
|
-
|
|
999
|
-
$pagination-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
$
|
|
1007
|
-
|
|
1008
|
-
$pagination-
|
|
1009
|
-
|
|
1010
|
-
$
|
|
1011
|
-
|
|
1574
|
+
$pagination-font-size: var(
|
|
1575
|
+
--nutui-pagination-font-size,
|
|
1576
|
+
$font-size-base
|
|
1577
|
+
) !default;
|
|
1578
|
+
$pagination-item-border-color: var(
|
|
1579
|
+
--nutui-pagination-item-border-color,
|
|
1580
|
+
$color-border
|
|
1581
|
+
) !default;
|
|
1582
|
+
$pagination-active-background-color: linear-gradient(
|
|
1583
|
+
135deg,
|
|
1584
|
+
$color-primary-stop-1 0%,
|
|
1585
|
+
$color-primary-stop-2 100%
|
|
1586
|
+
) !default;
|
|
1587
|
+
$pagination-disable-color: var(
|
|
1588
|
+
--nutui-pagination-disable-color,
|
|
1589
|
+
$color-text-disabled
|
|
1590
|
+
) !default;
|
|
1591
|
+
$pagination-disable-background-color: var(
|
|
1592
|
+
--nutui-pagination-disable-background-color,
|
|
1593
|
+
#f7f8fa
|
|
1594
|
+
) !default;
|
|
1595
|
+
$pagination-item-border-width: var(
|
|
1596
|
+
--nutui-pagination-item-border-width,
|
|
1597
|
+
1px
|
|
1598
|
+
) !default;
|
|
1599
|
+
$pagination-item-border-radius: var(
|
|
1600
|
+
--nutui-pagination-item-border-radius,
|
|
1601
|
+
2px
|
|
1602
|
+
) !default;
|
|
1603
|
+
$pagination-prev-next-padding: var(
|
|
1604
|
+
--nutui-pagination-prev-next-padding,
|
|
1605
|
+
0 12px
|
|
1606
|
+
) !default;
|
|
1012
1607
|
$pagination-lite-width: var(--nutui-pagination-lite-width, 40px) !default;
|
|
1013
1608
|
$pagination-lite-height: var(--nutui-pagination-lite-height, 20px) !default;
|
|
1014
1609
|
$pagination-lite-radius: var(--nutui-pagination-lite-radius, 12px) !default;
|
|
1015
|
-
$pagination-lite-background-color: var(
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1610
|
+
$pagination-lite-background-color: var(
|
|
1611
|
+
--nutui-pagination-lite-background-color,
|
|
1612
|
+
var(--nutui-black-7)
|
|
1613
|
+
) !default;
|
|
1614
|
+
$pagination-lite-active-background-color: var(
|
|
1615
|
+
--nutui-pagination-lite-active-background-color,
|
|
1616
|
+
var(--nutui-black-5)
|
|
1617
|
+
) !default;
|
|
1019
1618
|
|
|
1020
1619
|
// tabs(✅)
|
|
1021
1620
|
$tabs-titles-height: var(--nutui-tabs-titles-height, 32px) !default;
|
|
1022
|
-
$tabs-titles-background-color: var(
|
|
1023
|
-
|
|
1621
|
+
$tabs-titles-background-color: var(
|
|
1622
|
+
--nutui-tabs-titles-background-color,
|
|
1623
|
+
$white
|
|
1624
|
+
) !default;
|
|
1024
1625
|
$tabs-titles-gap: var(--nutui-tabs-titles-gap, 12px) !default;
|
|
1025
|
-
$tabs-titles-font-size: var(
|
|
1026
|
-
|
|
1027
|
-
$
|
|
1028
|
-
|
|
1029
|
-
$tabs-titles-item-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
$tabs-titles-item-active-
|
|
1034
|
-
|
|
1035
|
-
$
|
|
1036
|
-
|
|
1626
|
+
$tabs-titles-font-size: var(
|
|
1627
|
+
--nutui-tabs-titles-font-size,
|
|
1628
|
+
$font-size-small
|
|
1629
|
+
) !default;
|
|
1630
|
+
$tabs-titles-item-min-width: var(
|
|
1631
|
+
--nutui-tabs-titles-item-min-width,
|
|
1632
|
+
50px
|
|
1633
|
+
) !default;
|
|
1634
|
+
$tabs-titles-item-active-color: var(
|
|
1635
|
+
--nutui-tabs-titles-item-active-color,
|
|
1636
|
+
$color-text-link
|
|
1637
|
+
) !default;
|
|
1638
|
+
$tabs-titles-item-active-font-weight: var(
|
|
1639
|
+
--nutui-tabs-titles-item-active-font-weight,
|
|
1640
|
+
$font-weight-bold
|
|
1641
|
+
) !default;
|
|
1642
|
+
$tabs-titles-item-active-font-size: var(
|
|
1643
|
+
--nutui-tabs-titles-item-active-font-size,
|
|
1644
|
+
$font-size-large
|
|
1645
|
+
) !default;
|
|
1646
|
+
$tabs-titles-item-active-background-color: var(
|
|
1647
|
+
--nutui-tabs-titles-item-active-background-color,
|
|
1648
|
+
$color-background-overlay
|
|
1649
|
+
) !default;
|
|
1037
1650
|
$tabs-tab-line-width: var(--nutui-tabs-tab-line-width, 24px) !default;
|
|
1038
1651
|
$tabs-tab-line-height: var(--nutui-tabs-tab-line-height, 3px) !default;
|
|
1039
1652
|
$tabs-tab-line-color: var(--nutui-tabs-tab-line-color, $color-primary) !default;
|
|
1040
1653
|
$tabs-tab-line-bottom: var(--nutui-tabs-line-bottom, 0) !default;
|
|
1041
|
-
$tabs-tab-line-border-radius: var(
|
|
1042
|
-
|
|
1654
|
+
$tabs-tab-line-border-radius: var(
|
|
1655
|
+
--nutui-tabs-line-border-radius,
|
|
1656
|
+
3px
|
|
1657
|
+
) !default;
|
|
1043
1658
|
$tabs-tab-line-opacity: var(--nutui-tabs-tab-line-opacity, 1) !default;
|
|
1044
|
-
$tabs-vertical-titles-width: var(
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
$tabs-vertical-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
$tabs-vertical-tab-line-
|
|
1053
|
-
|
|
1054
|
-
$
|
|
1055
|
-
|
|
1659
|
+
$tabs-vertical-titles-width: var(
|
|
1660
|
+
--nutui-tabs-vertical-titles-width,
|
|
1661
|
+
100px
|
|
1662
|
+
) !default;
|
|
1663
|
+
$tabs-vertical-titles-item-height: var(
|
|
1664
|
+
--nutui-tabs-vertical-titles-item-height,
|
|
1665
|
+
40px
|
|
1666
|
+
) !default;
|
|
1667
|
+
$tabs-vertical-tab-line-color: var(
|
|
1668
|
+
--nutui-tabs-vertical-tab-line-color,
|
|
1669
|
+
linear-gradient(180deg, $color-primary-stop-1 0%, $color-primary-light 100%)
|
|
1670
|
+
) !default;
|
|
1671
|
+
$tabs-vertical-tab-line-width: var(
|
|
1672
|
+
--nutui-tabs-vertical-tab-line-width,
|
|
1673
|
+
3px
|
|
1674
|
+
) !default;
|
|
1675
|
+
$tabs-vertical-tab-line-height: var(
|
|
1676
|
+
--nutui-tabs-vertical-tab-line-height,
|
|
1677
|
+
12px
|
|
1678
|
+
) !default;
|
|
1679
|
+
$tabs-titles-item-smile-bottom: var(
|
|
1680
|
+
--nutui-tabs-titles-item-smile-bottom,
|
|
1681
|
+
-10px
|
|
1682
|
+
) !default;
|
|
1056
1683
|
|
|
1057
1684
|
// indicator(✅)
|
|
1058
1685
|
$indicator-color: var(--nutui-indicator-color, $color-primary) !default;
|
|
1059
1686
|
$indicator-dot-color: var(--nutui-indicator-dot-color, $color-default) !default;
|
|
1060
1687
|
$indicator-dot-size: var(--nutui-indicator-dot-size, 6px) !default;
|
|
1061
|
-
$indicator-dot-active-size: var(
|
|
1062
|
-
|
|
1688
|
+
$indicator-dot-active-size: var(
|
|
1689
|
+
--nutui-indicator-dot-active-size,
|
|
1690
|
+
20px
|
|
1691
|
+
) !default;
|
|
1063
1692
|
$indicator-border-radius: var(--nutui-indicator-border-radius, 2px) !default;
|
|
1064
1693
|
$indicator-dot-margin: var(--nutui-indicator-dot-margin, $spacing-xs) !default;
|
|
1065
1694
|
|
|
1066
1695
|
// menu(✅)
|
|
1067
1696
|
$menu-scroll-fixed-top: var(--nutui-menu-scroll-fixed-top, 0) !default;
|
|
1068
|
-
$menu-scroll-fixed-z-index: var(
|
|
1069
|
-
|
|
1697
|
+
$menu-scroll-fixed-z-index: var(
|
|
1698
|
+
--nutui-menu-scroll-fixed-z-index,
|
|
1699
|
+
$mask-z-index
|
|
1700
|
+
) !default;
|
|
1070
1701
|
$menu-bar-line-height: var(--nutui-menu-bar-line-height, 48px) !default;
|
|
1071
|
-
$menu-bar-box-shadow: var(
|
|
1072
|
-
|
|
1702
|
+
$menu-bar-box-shadow: var(
|
|
1703
|
+
--nutui-menu-bar-box-shadow,
|
|
1704
|
+
0 2px 12px rgba(89, 89, 89, 0.12)
|
|
1705
|
+
) !default;
|
|
1073
1706
|
$menu-bar-opened-z-index: var(--nutui-menu-bar-opened-z-index, 1000) !default;
|
|
1074
1707
|
$menu-title-padding: var(--nutui-menu-title-padding, 0 8px) !default;
|
|
1075
|
-
$menu-title-font-size: var(
|
|
1076
|
-
|
|
1708
|
+
$menu-title-font-size: var(
|
|
1709
|
+
--nutui-menu-title-font-size,
|
|
1710
|
+
$font-size-base
|
|
1711
|
+
) !default;
|
|
1077
1712
|
$menu-title-color: var(--nutui-menu-title-color, $color-text-title) !default;
|
|
1078
1713
|
$menu-container-z-index: var(--nutui-menu-container-z-index, 1000) !default;
|
|
1079
1714
|
$menu-content-padding: var(--nutui-menu-content-padding, 12px 24px) !default;
|
|
1080
1715
|
$menu-content-max-height: var(--nutui-menu-content-max-height, 214px) !default;
|
|
1081
|
-
$menu-content-background-color: var(
|
|
1082
|
-
|
|
1083
|
-
$
|
|
1084
|
-
|
|
1085
|
-
$menu-item-active-
|
|
1086
|
-
|
|
1087
|
-
$
|
|
1088
|
-
|
|
1716
|
+
$menu-content-background-color: var(
|
|
1717
|
+
--nutui-menu-content-background-color,
|
|
1718
|
+
$color-background-overlay
|
|
1719
|
+
) !default;
|
|
1720
|
+
$menu-item-active-color: var(
|
|
1721
|
+
--nutui-menu-item-active-color,
|
|
1722
|
+
$color-primary
|
|
1723
|
+
) !default;
|
|
1724
|
+
$menu-item-active-font-weight: var(
|
|
1725
|
+
--nutui-menu-item-active-font-weight,
|
|
1726
|
+
$font-weight-bold
|
|
1727
|
+
) !default;
|
|
1728
|
+
$menu-item-disabled-color: var(
|
|
1729
|
+
--nutui-menu-item-disabled-color,
|
|
1730
|
+
$color-text-disabled
|
|
1731
|
+
) !default;
|
|
1089
1732
|
$menu-item-padding: var(--nutui-menu-item-padding, 12px 0) !default;
|
|
1090
1733
|
$menu-item-icon-margin: var(--nutui-menu-item-icon-margin, 8px) !default;
|
|
1091
1734
|
|
|
1092
1735
|
// collapse(✅)
|
|
1093
|
-
$collapse-item-border-bottom: var(
|
|
1094
|
-
|
|
1095
|
-
$
|
|
1096
|
-
|
|
1097
|
-
$collapse-item-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
$collapse-item-
|
|
1102
|
-
|
|
1103
|
-
$
|
|
1104
|
-
|
|
1105
|
-
$collapse-item-
|
|
1106
|
-
|
|
1107
|
-
$
|
|
1108
|
-
|
|
1109
|
-
$collapse-
|
|
1110
|
-
|
|
1111
|
-
$
|
|
1112
|
-
|
|
1113
|
-
$collapse-
|
|
1114
|
-
|
|
1115
|
-
$
|
|
1116
|
-
|
|
1117
|
-
$collapse-
|
|
1118
|
-
|
|
1736
|
+
$collapse-item-border-bottom: var(
|
|
1737
|
+
--nutui-collapse-item-border-bottom,
|
|
1738
|
+
1px solid $color-border
|
|
1739
|
+
) !default;
|
|
1740
|
+
$collapse-item-header-border-bottom: var(
|
|
1741
|
+
--nutui-collapse-item-header-border-bottom,
|
|
1742
|
+
none
|
|
1743
|
+
) !default;
|
|
1744
|
+
$collapse-item-padding: var(
|
|
1745
|
+
--nutui-collapse-item-padding,
|
|
1746
|
+
$spacing-xxl $spacing-l
|
|
1747
|
+
) !default;
|
|
1748
|
+
$collapse-item-color: var(
|
|
1749
|
+
--nutui-collapse-item-color,
|
|
1750
|
+
$color-text-title
|
|
1751
|
+
) !default;
|
|
1752
|
+
$collapse-item-disabled-color: var(
|
|
1753
|
+
--nutui-collapse-item-disabled-color,
|
|
1754
|
+
$color-text-disabled
|
|
1755
|
+
) !default;
|
|
1756
|
+
$collapse-item-font-size: var(
|
|
1757
|
+
--nutui-collapse-item-font-size,
|
|
1758
|
+
$font-text-large
|
|
1759
|
+
) !default;
|
|
1760
|
+
$collapse-item-line-height: var(
|
|
1761
|
+
--nutui-collapse-item-line-height,
|
|
1762
|
+
$line-height-base
|
|
1763
|
+
) !default;
|
|
1764
|
+
$collapse-item-extra-color: var(
|
|
1765
|
+
--nutui-collapse-item-extra-color,
|
|
1766
|
+
$color-text
|
|
1767
|
+
) !default;
|
|
1768
|
+
$collapse-wrapper-content-padding: var(
|
|
1769
|
+
--nutui-collapse-wrapper-content-padding,
|
|
1770
|
+
$spacing-l
|
|
1771
|
+
) !default;
|
|
1772
|
+
$collapse-wrapper-content-color: var(
|
|
1773
|
+
--nutui-collapse-wrapper-content-color,
|
|
1774
|
+
$color-text
|
|
1775
|
+
) !default;
|
|
1776
|
+
$collapse-wrapper-content-font-size: var(
|
|
1777
|
+
--nutui-collapse-wrapper-content-font-size,
|
|
1778
|
+
$font-text-base
|
|
1779
|
+
) !default;
|
|
1780
|
+
$collapse-wrapper-content-line-height: var(
|
|
1781
|
+
--nutui-collapse-wrapper-content-line-height,
|
|
1782
|
+
$line-height-base
|
|
1783
|
+
) !default;
|
|
1784
|
+
$collapse-wrapper-content-background-color: var(
|
|
1785
|
+
--nutui-collapse-wrapper-content-background-color,
|
|
1786
|
+
$color-background-overlay
|
|
1787
|
+
) !default;
|
|
1119
1788
|
|
|
1120
1789
|
// searchbar(✅)
|
|
1121
1790
|
$searchbar-width: var(--nutui-searchbar-width, 100%) !default;
|
|
1122
1791
|
$searchbar-padding: var(--nutui-searchbar-padding, 8px 10px) !default;
|
|
1123
|
-
$searchbar-background: var(
|
|
1124
|
-
|
|
1792
|
+
$searchbar-background: var(
|
|
1793
|
+
--nutui-searchbar-background,
|
|
1794
|
+
$color-surface-2
|
|
1795
|
+
) !default;
|
|
1125
1796
|
$searchbar-color: var(--nutui-searchbar-color, $color-text-title) !default;
|
|
1126
1797
|
$searchbar-gap: var(--nutui-searchbar-gap, 16px) !default;
|
|
1127
|
-
$searchbar-font-size: var(
|
|
1128
|
-
|
|
1129
|
-
$
|
|
1130
|
-
|
|
1131
|
-
$searchbar-content-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
$searchbar-content-
|
|
1136
|
-
|
|
1798
|
+
$searchbar-font-size: var(
|
|
1799
|
+
--nutui-searchbar-font-size,
|
|
1800
|
+
$font-size-base
|
|
1801
|
+
) !default;
|
|
1802
|
+
$searchbar-content-padding: var(
|
|
1803
|
+
--nutui-searchbar-content-padding,
|
|
1804
|
+
0 12px
|
|
1805
|
+
) !default;
|
|
1806
|
+
$searchbar-content-background: var(
|
|
1807
|
+
--nutui-searchbar-content-background,
|
|
1808
|
+
$color-default-light
|
|
1809
|
+
) !default;
|
|
1810
|
+
$searchbar-content-border-radius: var(
|
|
1811
|
+
--nutui-searchbar-content-border-radius,
|
|
1812
|
+
$radius-xs
|
|
1813
|
+
) !default;
|
|
1814
|
+
$searchbar-content-round-border-radius: var(
|
|
1815
|
+
--nutui-searchbar-content-round-border-radius,
|
|
1816
|
+
18px
|
|
1817
|
+
) !default;
|
|
1137
1818
|
$searchbar-input-height: var(--nutui-searchbar-input-height, 36px) !default;
|
|
1138
|
-
$searchbar-input-padding: var(
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
$searchbar-input-
|
|
1143
|
-
|
|
1144
|
-
$
|
|
1145
|
-
|
|
1819
|
+
$searchbar-input-padding: var(
|
|
1820
|
+
--nutui-searchbar-input-padding,
|
|
1821
|
+
4px 8px
|
|
1822
|
+
) !default;
|
|
1823
|
+
$searchbar-input-text-color: var(
|
|
1824
|
+
--nutui-searchbar-input-text-color,
|
|
1825
|
+
$color-text
|
|
1826
|
+
) !default;
|
|
1827
|
+
$searchbar-input-curror-color: var(
|
|
1828
|
+
--nutui-searchbar-input-curror-color,
|
|
1829
|
+
$color-text-title
|
|
1830
|
+
) !default;
|
|
1831
|
+
$searchbar-input-text-align: var(
|
|
1832
|
+
--nutui-searchbar-input-text-align,
|
|
1833
|
+
left
|
|
1834
|
+
) !default;
|
|
1146
1835
|
|
|
1147
1836
|
// empty(✅)
|
|
1148
1837
|
|
|
@@ -1150,98 +1839,162 @@ $empty-padding: var(--nutui-empty-padding, 32px 40px) !default;
|
|
|
1150
1839
|
$empty-image-size: var(--nutui-empty-image-size, 160px) !default;
|
|
1151
1840
|
$empty-image-small-size: var(--nutui-empty-image-small-size, 120px) !default;
|
|
1152
1841
|
$empty-title-margin-top: var(--nutui-empty-title-margin-top, 0px) !default;
|
|
1153
|
-
$empty-title-margin-bottom: var(
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
$empty-
|
|
1158
|
-
|
|
1159
|
-
$
|
|
1160
|
-
|
|
1842
|
+
$empty-title-margin-bottom: var(
|
|
1843
|
+
--nutui-empty-title-margin-bottom,
|
|
1844
|
+
8px
|
|
1845
|
+
) !default;
|
|
1846
|
+
$empty-title-line-height: var(
|
|
1847
|
+
--nutui-empty-title-line-height,
|
|
1848
|
+
$font-size-base
|
|
1849
|
+
) !default;
|
|
1850
|
+
$empty-description-margin-top: var(
|
|
1851
|
+
--nutui-empty-description-margin-top,
|
|
1852
|
+
0px
|
|
1853
|
+
) !default;
|
|
1854
|
+
$empty-description-line-height: var(
|
|
1855
|
+
--nutui-empty-description-line-height,
|
|
1856
|
+
1.2
|
|
1857
|
+
) !default;
|
|
1161
1858
|
|
|
1162
1859
|
// cascader(✅)
|
|
1163
1860
|
$cascader-font-size: var(--nutui-cascader-font-size, $font-size-base) !default;
|
|
1164
1861
|
$cascader-pane-height: var(--nutui-cascader-pane-height, 342px) !default;
|
|
1165
1862
|
$cascader-pane-paddingTop: var(--nutui-cascader-pane-paddingTop, 10px) !default;
|
|
1166
|
-
$cascader-icon-checklist-marginLeft: var(
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
$cascader-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1863
|
+
$cascader-icon-checklist-marginLeft: var(
|
|
1864
|
+
--nutui-cascader-icon-checklist-marginLeft,
|
|
1865
|
+
10px
|
|
1866
|
+
) !default;
|
|
1867
|
+
$cascader-tabs-item-padding: var(
|
|
1868
|
+
--nutui-cascader-tabs-item-padding,
|
|
1869
|
+
0 10px
|
|
1870
|
+
) !default;
|
|
1871
|
+
$cascader-bar-padding: var(
|
|
1872
|
+
--nutui-cascader-bar-padding,
|
|
1873
|
+
24px 20px 17px
|
|
1874
|
+
) !default;
|
|
1875
|
+
$cascader-bar-font-size: var(
|
|
1876
|
+
--nutui-cascader-bar-font-size,
|
|
1877
|
+
$font-size-xl
|
|
1878
|
+
) !default;
|
|
1174
1879
|
$cascader-bar-line-height: var(--nutui-cascader-bar-line-height, 20px) !default;
|
|
1175
|
-
$cascader-bar-color: var(
|
|
1176
|
-
|
|
1880
|
+
$cascader-bar-color: var(
|
|
1881
|
+
--nutui-cascader-bar-color,
|
|
1882
|
+
$color-text-title
|
|
1883
|
+
) !default;
|
|
1177
1884
|
$cascader-item-height: var(--nutui-cascader-item-height, 40px) !default;
|
|
1178
1885
|
$cascader-item-padding: var(--nutui-cascader-item-padding, 10px 20px) !default;
|
|
1179
1886
|
$cascader-item-margin: var(--nutui-cascader-item-margin, 0px) !default;
|
|
1180
|
-
$cascader-item-border-bottom: var(
|
|
1181
|
-
|
|
1182
|
-
$
|
|
1183
|
-
|
|
1184
|
-
$cascader-item-
|
|
1185
|
-
|
|
1186
|
-
$
|
|
1187
|
-
|
|
1887
|
+
$cascader-item-border-bottom: var(
|
|
1888
|
+
--nutui-cascader-item-border-bottom,
|
|
1889
|
+
0px solid $color-border
|
|
1890
|
+
) !default;
|
|
1891
|
+
$cascader-item-color: var(
|
|
1892
|
+
--nutui-cascader-item-color,
|
|
1893
|
+
$color-text-title
|
|
1894
|
+
) !default;
|
|
1895
|
+
$cascader-item-font-size: var(
|
|
1896
|
+
--nutui-cascader-item-font-size,
|
|
1897
|
+
$font-size-base
|
|
1898
|
+
) !default;
|
|
1899
|
+
$cascader-item-active-color: var(
|
|
1900
|
+
--nutui-cascader-item-active-color,
|
|
1901
|
+
$color-primary
|
|
1902
|
+
) !default;
|
|
1188
1903
|
|
|
1189
1904
|
// form
|
|
1190
|
-
$form-item-error-line-color: var(
|
|
1191
|
-
|
|
1192
|
-
$
|
|
1193
|
-
|
|
1194
|
-
$form-item-
|
|
1195
|
-
|
|
1196
|
-
$
|
|
1197
|
-
|
|
1905
|
+
$form-item-error-line-color: var(
|
|
1906
|
+
--nutui-form-item-error-line-color,
|
|
1907
|
+
$color-primary
|
|
1908
|
+
) !default;
|
|
1909
|
+
$form-item-required-color: var(
|
|
1910
|
+
--nutui-form-item-required-color,
|
|
1911
|
+
$color-danger
|
|
1912
|
+
) !default;
|
|
1913
|
+
$form-item-error-message-color: var(
|
|
1914
|
+
--nutui-form-item-error-message-color,
|
|
1915
|
+
$color-primary
|
|
1916
|
+
) !default;
|
|
1917
|
+
$form-item-label-font-size: var(
|
|
1918
|
+
--nutui-form-item-label-font-size,
|
|
1919
|
+
$font-size-base
|
|
1920
|
+
) !default;
|
|
1198
1921
|
$form-item-label-width: var(--nutui-form-item-label-width, 90px) !default;
|
|
1199
|
-
$form-item-label-margin-right: var(
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
$form-item-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
$form-item-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
$form-item-
|
|
1212
|
-
|
|
1922
|
+
$form-item-label-margin-right: var(
|
|
1923
|
+
--nutui-form-item-label-margin-right,
|
|
1924
|
+
10px
|
|
1925
|
+
) !default;
|
|
1926
|
+
$form-item-label-text-align: var(
|
|
1927
|
+
--nutui-form-item-label-text-align,
|
|
1928
|
+
left
|
|
1929
|
+
) !default;
|
|
1930
|
+
$form-item-required-margin-right: var(
|
|
1931
|
+
--nutui-form-item-required-margin-right,
|
|
1932
|
+
4px
|
|
1933
|
+
) !default;
|
|
1934
|
+
$form-item-body-font-size: var(
|
|
1935
|
+
--nutui-form-item-body-font-size,
|
|
1936
|
+
$font-size-base
|
|
1937
|
+
) !default;
|
|
1938
|
+
$form-item-body-slots-text-align: var(
|
|
1939
|
+
--nutui-form-item-body-slots-text-align,
|
|
1940
|
+
left
|
|
1941
|
+
) !default;
|
|
1942
|
+
$form-item-body-input-text-align: var(
|
|
1943
|
+
--nutui-form-item-body-input-text-align,
|
|
1944
|
+
left
|
|
1945
|
+
) !default;
|
|
1946
|
+
$form-item-tip-font-size: var(
|
|
1947
|
+
--nutui-form-item-tip-font-size,
|
|
1948
|
+
$font-size-xs
|
|
1949
|
+
) !default;
|
|
1213
1950
|
$form-item-tip-text-align: var(--nutui-form-item-tip-text-align, left) !default;
|
|
1214
1951
|
|
|
1215
1952
|
// skeleton(✅)
|
|
1216
|
-
$skeleton-background: var(
|
|
1217
|
-
|
|
1953
|
+
$skeleton-background: var(
|
|
1954
|
+
--nutui-skeleton-background,
|
|
1955
|
+
$color-background
|
|
1956
|
+
) !default;
|
|
1218
1957
|
$skeleton-line-width: var(--nutui-skeleton-line-width, 100%) !default;
|
|
1219
1958
|
$skeleton-line-height: var(--nutui-skeleton-line-height, 15px) !default;
|
|
1220
|
-
$skeleton-line-border-radius: var(
|
|
1221
|
-
|
|
1959
|
+
$skeleton-line-border-radius: var(
|
|
1960
|
+
--nutui-skeleton-line-border-radius,
|
|
1961
|
+
0
|
|
1962
|
+
) !default;
|
|
1222
1963
|
|
|
1223
1964
|
// card(✅)
|
|
1224
1965
|
$card-border-radius: var(--nutui-card-border-radius, 4px) !default;
|
|
1225
|
-
$color-background-overlay: var(
|
|
1226
|
-
|
|
1966
|
+
$color-background-overlay: var(
|
|
1967
|
+
--nutui-card-background-color,
|
|
1968
|
+
$color-background
|
|
1969
|
+
) !default;
|
|
1227
1970
|
|
|
1228
1971
|
// grid(✅)
|
|
1229
1972
|
$grid-border-color: var(--nutui-grid-border-color, $color-border) !default;
|
|
1230
|
-
$grid-item-content-padding: var(
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1973
|
+
$grid-item-content-padding: var(
|
|
1974
|
+
--nutui-grid-item-content-padding,
|
|
1975
|
+
16px 8px
|
|
1976
|
+
) !default;
|
|
1977
|
+
$grid-item-content-bg-color: var(
|
|
1978
|
+
--nutui-grid-item-content-bg-color,
|
|
1979
|
+
$white
|
|
1980
|
+
) !default;
|
|
1234
1981
|
$grid-item-text-margin: var(--nutui-grid-item-text-margin, 8px) !default;
|
|
1235
|
-
$grid-item-text-color: var(
|
|
1236
|
-
|
|
1237
|
-
$
|
|
1238
|
-
|
|
1982
|
+
$grid-item-text-color: var(
|
|
1983
|
+
--nutui-grid-item-text-color,
|
|
1984
|
+
$color-text-title
|
|
1985
|
+
) !default;
|
|
1986
|
+
$grid-item-text-font-size: var(
|
|
1987
|
+
--nutui-grid-item-text-font-size,
|
|
1988
|
+
$font-size-small
|
|
1989
|
+
) !default;
|
|
1239
1990
|
|
|
1240
1991
|
// table(✅)
|
|
1241
1992
|
$table-border-color: var(--nutui-table-border-color, $color-border) !default;
|
|
1242
1993
|
$table-cols-padding: var(--nutui-table-cols-padding, 10px) !default;
|
|
1243
|
-
$table-tr-even-bg-color: var(
|
|
1244
|
-
|
|
1994
|
+
$table-tr-even-bg-color: var(
|
|
1995
|
+
--nutui-table-tr-even-bg-color,
|
|
1996
|
+
$color-background
|
|
1997
|
+
) !default;
|
|
1245
1998
|
$table-tr-odd-bg-color: var(--nutui-table-tr-odd-bg-color, $white) !default;
|
|
1246
1999
|
|
|
1247
2000
|
// navbar(✅)
|
|
@@ -1253,103 +2006,188 @@ $navbar-box-shadow: var(--nutui-navbar-box-shadow, 0px) !default;
|
|
|
1253
2006
|
$navbar-color: var(--nutui-navbar-color, $color-text-title) !default;
|
|
1254
2007
|
$navbar-font-size: var(--nutui-navbar-font-size, $font-size-base) !default;
|
|
1255
2008
|
$navbar-title-font-size: var(--nutui-navbar-title-font-size, $font-h1) !default;
|
|
1256
|
-
$navbar-title-font-weight: var(
|
|
1257
|
-
|
|
1258
|
-
$
|
|
1259
|
-
|
|
2009
|
+
$navbar-title-font-weight: var(
|
|
2010
|
+
--nutui-navbar-title-font-weight,
|
|
2011
|
+
$font-weight-bold
|
|
2012
|
+
) !default;
|
|
2013
|
+
$navbar-title-font-color: var(
|
|
2014
|
+
--nutui-navbar-title-font-color,
|
|
2015
|
+
$color-text-title
|
|
2016
|
+
) !default;
|
|
1260
2017
|
|
|
1261
2018
|
// sidenavbar(✅)
|
|
1262
|
-
$sidenavbar-content-bg-color: var(
|
|
1263
|
-
|
|
2019
|
+
$sidenavbar-content-bg-color: var(
|
|
2020
|
+
--nutui-sidenavbar-content-bg-color,
|
|
2021
|
+
$white
|
|
2022
|
+
) !default;
|
|
1264
2023
|
$sidenavbar-item-height: var(--nutui-sidenavbar-item-height, 40px) !default;
|
|
1265
|
-
$sidenavbar-title-padding: var(
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
$sidenavbar-title-
|
|
1270
|
-
|
|
2024
|
+
$sidenavbar-title-padding: var(
|
|
2025
|
+
--nutui-sidenavbar-title-padding,
|
|
2026
|
+
10px 8px 10px 20px
|
|
2027
|
+
) !default;
|
|
2028
|
+
$sidenavbar-title-background: var(
|
|
2029
|
+
--nutui-sidenavbar-title-background,
|
|
2030
|
+
$color-background
|
|
2031
|
+
) !default;
|
|
2032
|
+
$sidenavbar-title-color: var(
|
|
2033
|
+
--nutui-sidenavbar-title-color,
|
|
2034
|
+
$color-text-title
|
|
2035
|
+
) !default;
|
|
1271
2036
|
// subsidenavbar(✅)
|
|
1272
|
-
$sidenavbar-sub-title-padding: var(
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
$sidenavbar-sub-title-
|
|
1277
|
-
|
|
2037
|
+
$sidenavbar-sub-title-padding: var(
|
|
2038
|
+
--nutui-sidenavbar-sub-title-padding,
|
|
2039
|
+
10px 8px 10px 35px
|
|
2040
|
+
) !default;
|
|
2041
|
+
$sidenavbar-sub-title-background: var(
|
|
2042
|
+
--nutui-sidenavbar-sub-title-background,
|
|
2043
|
+
$color-background-sunken
|
|
2044
|
+
) !default;
|
|
2045
|
+
$sidenavbar-sub-title-color: var(
|
|
2046
|
+
--nutui-sidenavbar-sub-title-color,
|
|
2047
|
+
$color-text-title
|
|
2048
|
+
) !default;
|
|
1278
2049
|
// sidenavbaritem(✅)
|
|
1279
|
-
$sidenavbar-sub-item-color: var(
|
|
1280
|
-
|
|
1281
|
-
$
|
|
1282
|
-
|
|
1283
|
-
$sidenavbar-sub-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
2050
|
+
$sidenavbar-sub-item-color: var(
|
|
2051
|
+
--nutui-sidenavbar-sub-item-color,
|
|
2052
|
+
$color-text
|
|
2053
|
+
) !default;
|
|
2054
|
+
$sidenavbar-sub-item-padding: var(
|
|
2055
|
+
--nutui-sidenavbar-sub-item-padding,
|
|
2056
|
+
10px 8px 10px 55px
|
|
2057
|
+
) !default;
|
|
2058
|
+
$sidenavbar-sub-list-background: var(
|
|
2059
|
+
--nutui-sidenavbar-sub-list-background,
|
|
2060
|
+
$white
|
|
2061
|
+
) !default;
|
|
2062
|
+
$sidenavbar-sub-list-color: var(
|
|
2063
|
+
--nutui-sidenavbar-sub-list-background,
|
|
2064
|
+
$color-text
|
|
2065
|
+
) !default;
|
|
1287
2066
|
|
|
1288
2067
|
// elevator(✅)
|
|
1289
2068
|
$elevator-list-bg-color: var(--nutui-elevator-list-bg-color, $white) !default;
|
|
1290
|
-
$elevator-list-font-size: var(
|
|
1291
|
-
|
|
1292
|
-
$
|
|
1293
|
-
|
|
1294
|
-
$elevator-list-
|
|
1295
|
-
|
|
1296
|
-
$
|
|
1297
|
-
|
|
1298
|
-
$elevator-list-item-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
$elevator-list-item-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
$elevator-list-item-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
$elevator-list-item-code-
|
|
1311
|
-
|
|
1312
|
-
$
|
|
1313
|
-
|
|
1314
|
-
$elevator-list-item-code-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
2069
|
+
$elevator-list-font-size: var(
|
|
2070
|
+
--nutui-elevator-list-font-size,
|
|
2071
|
+
$font-size-small
|
|
2072
|
+
) !default;
|
|
2073
|
+
$elevator-list-color: var(
|
|
2074
|
+
--nutui-elevator-list-color,
|
|
2075
|
+
$color-text-title
|
|
2076
|
+
) !default;
|
|
2077
|
+
$elevator-list-item-padding: var(
|
|
2078
|
+
--nutui-elevator-list-item-padding,
|
|
2079
|
+
0 20px
|
|
2080
|
+
) !default;
|
|
2081
|
+
$elevator-list-item-name-height: var(
|
|
2082
|
+
--nutui-elevator-list-item-name-height,
|
|
2083
|
+
52px
|
|
2084
|
+
) !default;
|
|
2085
|
+
$elevator-list-item-name-line-height: var(
|
|
2086
|
+
--nutui-elevator-list-item-name-line-height,
|
|
2087
|
+
52px
|
|
2088
|
+
) !default;
|
|
2089
|
+
$elevator-list-item-code-font-size: var(
|
|
2090
|
+
--nutui-elevator-list-item-code-font-size,
|
|
2091
|
+
$font-size-base
|
|
2092
|
+
) !default;
|
|
2093
|
+
$elevator-list-item-code-color: var(
|
|
2094
|
+
--nutui-elevator-list-item-code-color,
|
|
2095
|
+
$color-text-title
|
|
2096
|
+
) !default;
|
|
2097
|
+
$elevator-list-item-code-font-weight: var(
|
|
2098
|
+
--nutui-elevator-list-item-code-font-weight,
|
|
2099
|
+
$font-weight-bold
|
|
2100
|
+
) !default;
|
|
2101
|
+
$elevator-list-item-code-height: var(
|
|
2102
|
+
--nutui-elevator-list-item-code-height,
|
|
2103
|
+
20px
|
|
2104
|
+
) !default;
|
|
2105
|
+
$elevator-list-item-code-line-height: var(
|
|
2106
|
+
--nutui-elevator-list-item-code-line-height,
|
|
2107
|
+
20px
|
|
2108
|
+
) !default;
|
|
2109
|
+
$elevator-list-item-code-border-bottom: var(
|
|
2110
|
+
--nutui-elevator-list-item-code-border-bottom,
|
|
2111
|
+
none
|
|
2112
|
+
) !default;
|
|
2113
|
+
$elevator-list-item-code-background-color: var(
|
|
2114
|
+
--nutui-elevator-list-item-code-background-color,
|
|
2115
|
+
$color-default-light
|
|
2116
|
+
) !default;
|
|
2117
|
+
$elevator-list-item-code-current-box-shadow: 0px 2px 6px 0px
|
|
2118
|
+
rgba(4, 1, 135, 0.08) !default;
|
|
2119
|
+
$elevator-list-item-code-current-bg-color: var(
|
|
2120
|
+
--nutui-elevator-list-item-code-current-bg-color,
|
|
2121
|
+
$color-default-light
|
|
2122
|
+
) !default;
|
|
2123
|
+
$elevator-list-item-code-current-border-radius: var(
|
|
2124
|
+
--nutui-elevator-list-item-code-current-border-radius,
|
|
2125
|
+
50% 0 50% 50%
|
|
2126
|
+
) !default;
|
|
2127
|
+
$elevator-list-item-code-current-width: var(
|
|
2128
|
+
--nutui-elevator-list-item-code-current-width,
|
|
2129
|
+
48px
|
|
2130
|
+
) !default;
|
|
2131
|
+
$elevator-list-item-code-current-height: var(
|
|
2132
|
+
--nutui-elevator-list-item-code-current-height,
|
|
2133
|
+
48px
|
|
2134
|
+
) !default;
|
|
2135
|
+
$elevator-list-item-code-current-line-height: var(
|
|
2136
|
+
--nutui-elevator-list-item-code-current-line-height,
|
|
2137
|
+
48px
|
|
2138
|
+
) !default;
|
|
2139
|
+
$elevator-list-item-code-current-right: var(
|
|
2140
|
+
--nutui-elevator-list-item-code-current-right,
|
|
2141
|
+
40px
|
|
2142
|
+
) !default;
|
|
2143
|
+
$elevator-list-item-code-current-top: var(
|
|
2144
|
+
--nutui-elevator-list-item-code-current-top,
|
|
2145
|
+
50%
|
|
2146
|
+
) !default;
|
|
2147
|
+
$elevator-list-item-code-current-text-align: var(
|
|
2148
|
+
--nutui-elevator-list-item-code-current-text-align,
|
|
2149
|
+
center
|
|
2150
|
+
) !default;
|
|
1331
2151
|
$elevator-bars-right: var(--nutui-elevator-bars-right, 10px) !default;
|
|
1332
2152
|
$elevator-bars-top: var(--nutui-elevator-bars-top, 50%) !default;
|
|
1333
|
-
$elevator-bars-transform: var(
|
|
1334
|
-
|
|
2153
|
+
$elevator-bars-transform: var(
|
|
2154
|
+
--nutui-elevator-bars-transform,
|
|
2155
|
+
translateY(-50%)
|
|
2156
|
+
) !default;
|
|
1335
2157
|
$elevator-bars-padding: var(--nutui-elevator-bars-padding, 15px 0) !default;
|
|
1336
|
-
$elevator-bars-background-color: var(
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
2158
|
+
$elevator-bars-background-color: var(
|
|
2159
|
+
--nutui-elevator-bars-background-color,
|
|
2160
|
+
transparent
|
|
2161
|
+
) !default;
|
|
2162
|
+
$elevator-bars-border-radius: var(
|
|
2163
|
+
--nutui-elevator-bars-border-radius,
|
|
2164
|
+
6px
|
|
2165
|
+
) !default;
|
|
1340
2166
|
$elevator-bars-z-index: var(--nutui-elevator-bars-z-index, 2) !default;
|
|
1341
|
-
$elevator-bars-inner-item-padding: var(
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
$elevator-bars-
|
|
1346
|
-
|
|
1347
|
-
$
|
|
1348
|
-
|
|
1349
|
-
$elevator-
|
|
1350
|
-
|
|
1351
|
-
$
|
|
1352
|
-
|
|
2167
|
+
$elevator-bars-inner-item-padding: var(
|
|
2168
|
+
--nutui-elevator-bars-inner-item-padding,
|
|
2169
|
+
3px
|
|
2170
|
+
) !default;
|
|
2171
|
+
$elevator-bars-font-size: var(
|
|
2172
|
+
--nutui-elevator-bars-font-size,
|
|
2173
|
+
$font-size-xs
|
|
2174
|
+
) !default;
|
|
2175
|
+
$elevator-bars-active-color: var(
|
|
2176
|
+
--nutui-elevator-bars-active-color,
|
|
2177
|
+
$color-primary
|
|
2178
|
+
) !default;
|
|
2179
|
+
$elevator-list-fixed-color: var(
|
|
2180
|
+
--nutui-elevator-list-fixed-color,
|
|
2181
|
+
$color-primary
|
|
2182
|
+
) !default;
|
|
2183
|
+
$elevator-list-fixed-bg-color: var(
|
|
2184
|
+
--nutui-elevator-list-fixed-bg-color,
|
|
2185
|
+
$color-default-light
|
|
2186
|
+
) !default;
|
|
2187
|
+
$elevator-list-fixed-box-shadow: var(
|
|
2188
|
+
--nutui-elevator-list-fixed-box-shadow,
|
|
2189
|
+
0 0 10px #eee
|
|
2190
|
+
) !default;
|
|
1353
2191
|
|
|
1354
2192
|
// list(✅)
|
|
1355
2193
|
$list-item-margin: var(--nutui-list-item-margin, 0 0 10px 0) !default;
|
|
@@ -1359,36 +2197,58 @@ $addresslist-bg: var(--nutui-addresslist-bg, #fff) !default;
|
|
|
1359
2197
|
$addresslist-border: var(--nutui-addresslist-border, #f0f0f0) !default;
|
|
1360
2198
|
$addresslist-font-color: var(--nutui-addresslist-font-color, #333333) !default;
|
|
1361
2199
|
$addresslist-font-size: var(--nutui-addresslist-font-size, 16px) !default;
|
|
1362
|
-
$addresslist-mask-bg: var(
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
$addresslist-addr-font-
|
|
1367
|
-
|
|
2200
|
+
$addresslist-mask-bg: var(
|
|
2201
|
+
--nutui-addresslist-mask-bg,
|
|
2202
|
+
rgba(0, 0, 0, 0.4)
|
|
2203
|
+
) !default;
|
|
2204
|
+
$addresslist-addr-font-color: var(
|
|
2205
|
+
--nutui-addresslist-addr-font-color,
|
|
2206
|
+
#666666
|
|
2207
|
+
) !default;
|
|
2208
|
+
$addresslist-addr-font-size: var(
|
|
2209
|
+
--nutui-addresslist-addr-font-size,
|
|
2210
|
+
12px
|
|
2211
|
+
) !default;
|
|
1368
2212
|
$addresslist-set-bg: var(--nutui-addresslist-set-bg, #f5a623) !default;
|
|
1369
2213
|
$addresslist-del-bg: var(--nutui-addresslist-del-bg, #e1251b) !default;
|
|
1370
|
-
$addresslist-contnts-contact-default: var(
|
|
1371
|
-
|
|
1372
|
-
$
|
|
1373
|
-
|
|
2214
|
+
$addresslist-contnts-contact-default: var(
|
|
2215
|
+
--nutui-addresslist-contnts-contact-default,
|
|
2216
|
+
$color-primary
|
|
2217
|
+
) !default;
|
|
2218
|
+
$addresslist-contnts-contact-color: var(
|
|
2219
|
+
--nutui-addresslist-contnts-contact-color,
|
|
2220
|
+
$white
|
|
2221
|
+
) !default;
|
|
1374
2222
|
|
|
1375
2223
|
// circleProgress(✅)
|
|
1376
|
-
$circleprogress-primary-color: var(
|
|
1377
|
-
|
|
1378
|
-
$
|
|
1379
|
-
|
|
1380
|
-
$circleprogress-
|
|
1381
|
-
|
|
1382
|
-
$
|
|
1383
|
-
|
|
2224
|
+
$circleprogress-primary-color: var(
|
|
2225
|
+
--nutui-circleprogress-primary-color,
|
|
2226
|
+
$color-primary
|
|
2227
|
+
) !default;
|
|
2228
|
+
$circleprogress-path-color: var(
|
|
2229
|
+
--nutui-circleprogress-path-color,
|
|
2230
|
+
$color-background
|
|
2231
|
+
) !default;
|
|
2232
|
+
$circleprogress-text-color: var(
|
|
2233
|
+
--nutui-circleprogress-text-color,
|
|
2234
|
+
$color-text-title
|
|
2235
|
+
) !default;
|
|
2236
|
+
$circleprogress-text-size: var(
|
|
2237
|
+
--nutui-circleprogress-text-size,
|
|
2238
|
+
$font-size-large
|
|
2239
|
+
) !default;
|
|
1384
2240
|
|
|
1385
2241
|
// Ellipsis
|
|
1386
|
-
$ellipsis-expand-collapse-color: var(
|
|
1387
|
-
|
|
2242
|
+
$ellipsis-expand-collapse-color: var(
|
|
2243
|
+
--nutui-ellipsis-expand-collapse-color,
|
|
2244
|
+
$color-info
|
|
2245
|
+
) !default;
|
|
1388
2246
|
|
|
1389
2247
|
// WaterMark
|
|
1390
|
-
$watermark-z-index: var(
|
|
1391
|
-
|
|
2248
|
+
$watermark-z-index: var(
|
|
2249
|
+
--nutui-watermark-z-index,
|
|
2250
|
+
$mask-content-z-index
|
|
2251
|
+
) !default;
|
|
1392
2252
|
|
|
1393
2253
|
// TrendArrow
|
|
1394
2254
|
$trendarrow-font-size: var(--nutui-trendarrow-font-size, 14px) !default;
|
|
@@ -1405,17 +2265,25 @@ $countup-color: var(--nutui-countup-color, $color-text-title) !default;
|
|
|
1405
2265
|
|
|
1406
2266
|
// layout(✅)
|
|
1407
2267
|
$row-content-color: var(--nutui-row-content-color, #fff) !default;
|
|
1408
|
-
$row-content-background-color: var(
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
$row-content-
|
|
1413
|
-
|
|
2268
|
+
$row-content-background-color: var(
|
|
2269
|
+
--nutui-row-content-background-color,
|
|
2270
|
+
var(--row-content-bg-color, #ff8881)
|
|
2271
|
+
) !default;
|
|
2272
|
+
$row-content-light-background-color: var(
|
|
2273
|
+
--row-content-light-bg-color,
|
|
2274
|
+
#ffc7c4
|
|
2275
|
+
) !default;
|
|
2276
|
+
$row-content-border-radius: var(
|
|
2277
|
+
--nutui-row-content-border-radius,
|
|
2278
|
+
6px
|
|
2279
|
+
) !default;
|
|
1414
2280
|
$row-content-height: var(--nutui-row-content-height, 50px) !default;
|
|
1415
2281
|
$row-content-line-height: var(--nutui-row-content-line-height, 40px) !default;
|
|
1416
2282
|
|
|
1417
|
-
$col-default-margin-bottom: var(
|
|
1418
|
-
|
|
2283
|
+
$col-default-margin-bottom: var(
|
|
2284
|
+
--nutui-col-default-margin-bottom,
|
|
2285
|
+
2px
|
|
2286
|
+
) !default;
|
|
1419
2287
|
|
|
1420
2288
|
// TrendArrow
|
|
1421
2289
|
$trendarrow-font-size: var(--nutui-trendarrow-font-size, 14px) !default;
|
|
@@ -1428,4 +2296,4 @@ $space-gap: var(--nutui-space-gap, 8px) !default;
|
|
|
1428
2296
|
$loading-icon-color: var(--nutui-loading-icon-color, $color-text-help) !default;
|
|
1429
2297
|
$loading-icon-size: var(--nutui-loading-icon-size, $font-size-small) !default;
|
|
1430
2298
|
$loading-color: var(--nutui-loading-color, $color-text-help) !default;
|
|
1431
|
-
$loading-font-size: var(--nutui-loading-font-size, $font-size-small) !default;
|
|
2299
|
+
$loading-font-size: var(--nutui-loading-font-size, $font-size-small) !default;
|