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