@fox-js/foxui 4.0.1-93 → 4.0.1-95
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/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +5783 -6121
- package/dist/index.umd.js +2 -2
- package/dist/locale/index.d.ts +0 -90
- package/dist/locale/index.esm.js +0 -78
- package/dist/locale/index.umd.js +1 -1
- package/dist/style.css +572 -867
- package/dist/style.js +1 -1
- package/dist/theme/common/base.scss +39 -0
- package/dist/theme/common/border.scss +16 -0
- package/dist/theme/common/color.scss +126 -0
- package/dist/theme/common/fill.scss +25 -0
- package/dist/theme/common/shadow.scss +28 -0
- package/dist/theme/common/typography.scss +38 -0
- package/dist/theme/common/var.scss +6 -0
- package/dist/theme/components/actionsheet.scss +49 -0
- package/dist/theme/components/avatar.scss +15 -0
- package/dist/theme/components/backtop.scss +10 -0
- package/dist/theme/components/badge.scss +23 -0
- package/dist/theme/components/button.scss +97 -0
- package/dist/theme/components/buttons-item.scss +12 -0
- package/dist/theme/components/calendar.scss +31 -0
- package/dist/theme/components/card.scss +16 -0
- package/dist/theme/components/cascader.scss +23 -0
- package/dist/theme/components/cell.scss +44 -0
- package/dist/theme/components/checkbox.scss +35 -0
- package/dist/theme/components/circleprogress.scss +16 -0
- package/dist/theme/components/collapse.scss +24 -0
- package/dist/theme/components/content.scss +10 -0
- package/dist/theme/components/countdown.scss +11 -0
- package/dist/theme/components/dialog.scss +48 -0
- package/dist/theme/components/divider.scss +22 -0
- package/dist/theme/components/elevator.scss +49 -0
- package/dist/theme/components/ellipsis.scss +10 -0
- package/dist/theme/components/empty.scss +18 -0
- package/dist/theme/components/fixednav.scss +14 -0
- package/dist/theme/components/floating-button.scss +23 -0
- package/dist/theme/components/footer-bar.scss +16 -0
- package/dist/theme/components/footer.scss +11 -0
- package/dist/theme/components/form.scss +24 -0
- package/dist/theme/components/grid.scss +18 -0
- package/dist/theme/components/group.scss +28 -0
- package/dist/theme/components/header-bar.scss +36 -0
- package/dist/theme/components/hint-text.scss +22 -0
- package/dist/theme/components/icon.scss +11 -0
- package/dist/theme/components/index.scss +75 -0
- package/dist/theme/components/indicator.scss +18 -0
- package/dist/theme/components/infiniteloading.scss +12 -0
- package/dist/theme/components/input-number.scss +38 -0
- package/dist/theme/components/input.scss +61 -0
- package/dist/theme/components/link-item.scss +15 -0
- package/dist/theme/components/list.scss +9 -0
- package/dist/theme/components/menu.scss +31 -0
- package/dist/theme/components/messagebox.scss +55 -0
- package/dist/theme/components/navbar.scss +24 -0
- package/dist/theme/components/noticebar.scss +20 -0
- package/dist/theme/components/notify.scss +21 -0
- package/dist/theme/components/numberkeyboard.scss +30 -0
- package/dist/theme/components/pagination.scss +22 -0
- package/dist/theme/components/picker.scss +24 -0
- package/dist/theme/components/popover-dialog.scss +23 -0
- package/dist/theme/components/popover.scss +20 -0
- package/dist/theme/components/popup-wrapper.scss +40 -0
- package/dist/theme/components/popup.scss +13 -0
- package/dist/theme/components/price.scss +19 -0
- package/dist/theme/components/progress.scss +32 -0
- package/dist/theme/components/radio.scss +33 -0
- package/dist/theme/components/range.scss +18 -0
- package/dist/theme/components/rate.scss +13 -0
- package/dist/theme/components/row-item.scss +14 -0
- package/dist/theme/components/searchbar.scss +28 -0
- package/dist/theme/components/shortpassword.scss +17 -0
- package/dist/theme/components/sidenavbar.scss +27 -0
- package/dist/theme/components/skeleton.scss +10 -0
- package/dist/theme/components/slot-item.scss +10 -0
- package/dist/theme/components/steps-bar.scss +55 -0
- package/dist/theme/components/steps.scss +36 -0
- package/dist/theme/components/swiper.scss +12 -0
- package/dist/theme/components/switch-item.scss +9 -0
- package/dist/theme/components/switch.scss +20 -0
- package/dist/theme/components/tabbar.scss +21 -0
- package/dist/theme/components/table.scss +15 -0
- package/dist/theme/components/tabs-bar.scss +110 -0
- package/dist/theme/components/tabs-frame.scss +9 -0
- package/dist/theme/components/tag.scss +41 -0
- package/dist/theme/components/text.scss +36 -0
- package/dist/theme/components/textarea.scss +18 -0
- package/dist/theme/components/toast.scss +18 -0
- package/dist/theme/components/trendarrow.scss +12 -0
- package/dist/theme/components/uploader.scss +12 -0
- package/dist/theme/components/watermark.scss +9 -0
- package/dist/theme/dark/css-vars.scss +27 -0
- package/dist/theme/dark/var.scss +77 -0
- package/dist/theme/index.scss +248 -0
- package/dist/theme/mixins/_css-var.scss +39 -0
- package/dist/theme/mixins/index.scss +1 -0
- package/dist/theme/readme.md +359 -0
- package/dist/types/index.d.ts +146 -114
- package/package.json +3 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/border' as *;
|
|
5
|
+
@use '../common/base' as *;
|
|
6
|
+
@use '../common/shadow' as *;
|
|
7
|
+
|
|
8
|
+
$menu: () !default;
|
|
9
|
+
$menu: map.deep-merge(
|
|
10
|
+
(
|
|
11
|
+
'active-item-font-weight': 500,
|
|
12
|
+
'bar-border-bottom-color': $border-color-light,
|
|
13
|
+
'bar-box-shadow': $box-shadow-light,
|
|
14
|
+
'bar-line-height': 48px,
|
|
15
|
+
'bar-opened-z-index': 2001,
|
|
16
|
+
'item-active-text-color': $color-primary,
|
|
17
|
+
'item-content-max-height': 214px,
|
|
18
|
+
'item-content-padding': 12px 24px,
|
|
19
|
+
'item-disabled-color': $text-color-secondary,
|
|
20
|
+
'item-font-size': $font-size-base,
|
|
21
|
+
'item-option-i-margin-right': 6px,
|
|
22
|
+
'item-option-padding-bottom': 12px,
|
|
23
|
+
'item-option-padding-top': 12px,
|
|
24
|
+
'item-text-color': $title-color,
|
|
25
|
+
'scroll-fixed-top': 0,
|
|
26
|
+
'scroll-fixed-z-index': 1000,
|
|
27
|
+
'title-text-padding-left': 8px,
|
|
28
|
+
'title-text-padding-right': 8px,
|
|
29
|
+
),
|
|
30
|
+
$menu
|
|
31
|
+
);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/border' as *;
|
|
5
|
+
@use '../common/base' as *;
|
|
6
|
+
@use '../common/shadow' as *;
|
|
7
|
+
|
|
8
|
+
$messagebox: () !default;
|
|
9
|
+
$messagebox: map.deep-merge(
|
|
10
|
+
(
|
|
11
|
+
'text-align': center,
|
|
12
|
+
'background': $white,
|
|
13
|
+
'body-box-sizing': border-box,
|
|
14
|
+
'body-max-height': 60vh,
|
|
15
|
+
'border-radius': 8px,
|
|
16
|
+
'box-shadow': $box-shadow-light,
|
|
17
|
+
'color': $title-color,
|
|
18
|
+
'font-size': $font-size-base,
|
|
19
|
+
'footer-button-font-size': $font-size-medium,
|
|
20
|
+
'footer-button-font-weight': $font-weight-bold,
|
|
21
|
+
'footer-button-padding': 10px,
|
|
22
|
+
'footer-height': auto,
|
|
23
|
+
'footer-margin': 16px 0 0 0,
|
|
24
|
+
'footer-width': 100%,
|
|
25
|
+
'font-weight': $font-weight-bold,
|
|
26
|
+
'group-row-color': $title-color,
|
|
27
|
+
'group-row-font-size': $font-size-base,
|
|
28
|
+
'group-row-font-weight': $font-weight-bold,
|
|
29
|
+
'group-row-line-height': 1.6,
|
|
30
|
+
'group-row-padding': 10px 0,
|
|
31
|
+
'group-row-text-align': left,
|
|
32
|
+
'group-title-color': $title-color-secondary,
|
|
33
|
+
'group-title-font-size': $font-size-small,
|
|
34
|
+
'group-title-font-weight': $font-weight-bold,
|
|
35
|
+
'group-title-line-height': 1.5,
|
|
36
|
+
'group-title-text-align': left,
|
|
37
|
+
'header-title-padding': 10px 0,
|
|
38
|
+
'header-title-font-size': $font-size-medium,
|
|
39
|
+
'header-title-font-weight': 600,
|
|
40
|
+
'header-title-color': $title-color,
|
|
41
|
+
'header-icon-color': $text-color-secondary,
|
|
42
|
+
'header-icon-size': 110px,
|
|
43
|
+
'header-close-icon-color': $text-color-secondary,
|
|
44
|
+
'header-close-icon-size': $font-size-medium,
|
|
45
|
+
'width': 80%,
|
|
46
|
+
'height': auto,
|
|
47
|
+
'line-height': 24px,
|
|
48
|
+
'padding-bottom': 0px,
|
|
49
|
+
'padding-left': 16px,
|
|
50
|
+
'padding-right': 16px,
|
|
51
|
+
'padding-top': 24px,
|
|
52
|
+
'z-index': 3000
|
|
53
|
+
),
|
|
54
|
+
$messagebox
|
|
55
|
+
);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/border' as *;
|
|
5
|
+
@use '../common/base' as *;
|
|
6
|
+
|
|
7
|
+
$navbar: () !default;
|
|
8
|
+
$navbar: map.deep-merge(
|
|
9
|
+
(
|
|
10
|
+
'background': $white,
|
|
11
|
+
'box-shadow': 0px 1px 7px 0px #{$border-color-lighter},
|
|
12
|
+
'color': $title-color-secondary,
|
|
13
|
+
'height': 44px,
|
|
14
|
+
'margin-bottom': 20px,
|
|
15
|
+
'padding': 0 16px,
|
|
16
|
+
'title-base-font': $font-size-base,
|
|
17
|
+
'title-font': $font-size-base,
|
|
18
|
+
'title-font-color': var(--fox-navbar-color),
|
|
19
|
+
'title-font-weight': 0,
|
|
20
|
+
'title-icon-margin': 0 0 0 13px,
|
|
21
|
+
'title-width': 100px,
|
|
22
|
+
),
|
|
23
|
+
$navbar
|
|
24
|
+
);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/base' as *;
|
|
5
|
+
|
|
6
|
+
$noticebar: () !default;
|
|
7
|
+
$noticebar: map.deep-merge(
|
|
8
|
+
(
|
|
9
|
+
'across-height': 40px,
|
|
10
|
+
'across-line-height': 24px,
|
|
11
|
+
'background': $color-warning-light-9,
|
|
12
|
+
'box-padding': 0 16px,
|
|
13
|
+
'color': $color-warning,
|
|
14
|
+
'font-size': $font-size-base,
|
|
15
|
+
'lefticon-margin': 0px 10px,
|
|
16
|
+
'righticon-margin': 0px 10px,
|
|
17
|
+
'wrapable-padding': 16px,
|
|
18
|
+
),
|
|
19
|
+
$noticebar
|
|
20
|
+
);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/base' as *;
|
|
5
|
+
|
|
6
|
+
$notify: () !default;
|
|
7
|
+
$notify: map.deep-merge(
|
|
8
|
+
(
|
|
9
|
+
'base-background-color': $color-primary,
|
|
10
|
+
'danger-background-color': $color-danger,
|
|
11
|
+
'font-size': $font-size-base,
|
|
12
|
+
'height': 44px,
|
|
13
|
+
'line-height': auto,
|
|
14
|
+
'padding': 12px 0,
|
|
15
|
+
'primary-background-color': $color-primary,
|
|
16
|
+
'success-background-color': $color-success,
|
|
17
|
+
'text-color': $white,
|
|
18
|
+
'warning-background-color': $color-warning,
|
|
19
|
+
),
|
|
20
|
+
$notify
|
|
21
|
+
);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/fill' as *;
|
|
5
|
+
@use '../common/base' as *;
|
|
6
|
+
|
|
7
|
+
$numberkeyboard: () !default;
|
|
8
|
+
$numberkeyboard: map.deep-merge(
|
|
9
|
+
(
|
|
10
|
+
'background-color': $fill-color-base,
|
|
11
|
+
'header-close-color': $text-color-secondary,
|
|
12
|
+
'header-close-font-size': $font-size-base,
|
|
13
|
+
'header-close-padding': 0 16px,
|
|
14
|
+
'header-color': $title-color-secondary,
|
|
15
|
+
'header-font-size': $font-size-medium,
|
|
16
|
+
'header-height': 34px,
|
|
17
|
+
'header-padding': 6px 0 0 0,
|
|
18
|
+
'key-background-color': $white,
|
|
19
|
+
'key-border-radius': 8px,
|
|
20
|
+
'key-finish-font-size': $font-size-medium,
|
|
21
|
+
'key-finish-font-size-color': $white,
|
|
22
|
+
'key-font-size': 28px,
|
|
23
|
+
'key-font-size-color': $title-color,
|
|
24
|
+
'key-height': 48px,
|
|
25
|
+
'key-line-height': $line-height-base,
|
|
26
|
+
'padding': 0 0 22px 0,
|
|
27
|
+
'width': 100%,
|
|
28
|
+
),
|
|
29
|
+
$numberkeyboard
|
|
30
|
+
);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/border' as *;
|
|
5
|
+
@use '../common/fill' as *;
|
|
6
|
+
@use '../common/base' as *;
|
|
7
|
+
|
|
8
|
+
$pagination: () !default;
|
|
9
|
+
$pagination: map.deep-merge(
|
|
10
|
+
(
|
|
11
|
+
'active-background-color': $color-primary,
|
|
12
|
+
'color': $color-primary,
|
|
13
|
+
'disable-background-color': $fill-color-base,
|
|
14
|
+
'disable-color': $disabled-color,
|
|
15
|
+
'font-size': $font-size-base,
|
|
16
|
+
'item-border-color': $border-color-light,
|
|
17
|
+
'item-border-radius': 2px,
|
|
18
|
+
'item-border-width': 1px,
|
|
19
|
+
'prev-next-padding': 0 11px
|
|
20
|
+
),
|
|
21
|
+
$pagination
|
|
22
|
+
);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/border' as *;
|
|
5
|
+
@use '../common/base' as *;
|
|
6
|
+
|
|
7
|
+
$picker: () !default;
|
|
8
|
+
$picker: map.deep-merge(
|
|
9
|
+
(
|
|
10
|
+
'bar-button-padding': 0 15px,
|
|
11
|
+
'bar-cancel-font-size': $font-size-base,
|
|
12
|
+
'bar-ok-font-size': $font-size-base,
|
|
13
|
+
'bar-title-color': $title-color,
|
|
14
|
+
'bar-title-font-size': $font-size-medium,
|
|
15
|
+
'bar-title-font-weight': normal,
|
|
16
|
+
'cancel-color': $text-color-regular,
|
|
17
|
+
'item-active-line-border': 1px solid $border-color-light,
|
|
18
|
+
'item-height': 36px,
|
|
19
|
+
'item-text-color': $title-color,
|
|
20
|
+
'item-text-font-size': $font-size-base,
|
|
21
|
+
'ok-color': $color-primary
|
|
22
|
+
),
|
|
23
|
+
$picker
|
|
24
|
+
);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/base' as *;
|
|
5
|
+
|
|
6
|
+
$popover-dialog: () !default;
|
|
7
|
+
$popover-dialog: map.deep-merge(
|
|
8
|
+
(
|
|
9
|
+
'arrow-size': $font-size-small,
|
|
10
|
+
'background-color': $white,
|
|
11
|
+
'background-color-dark': $title-color,
|
|
12
|
+
'border-radius': 4px,
|
|
13
|
+
'color': $title-color,
|
|
14
|
+
'color-dark': $white,
|
|
15
|
+
'min-width': 0px,
|
|
16
|
+
'overlay-background-color': transparent,
|
|
17
|
+
'padding': 12px,
|
|
18
|
+
'position': fixed,
|
|
19
|
+
'title-font-size': $font-size-medium,
|
|
20
|
+
'z-index': 2000
|
|
21
|
+
),
|
|
22
|
+
$popover-dialog
|
|
23
|
+
);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/border' as *;
|
|
4
|
+
@use '../common/base' as *;
|
|
5
|
+
@use '../common/typography' as *;
|
|
6
|
+
|
|
7
|
+
$popover: () !default;
|
|
8
|
+
$popover: map.deep-merge(
|
|
9
|
+
(
|
|
10
|
+
'border-bottom-color': $border-color-lighter,
|
|
11
|
+
'dark-background-color': $dark-background-5,
|
|
12
|
+
'disable-color': $text-color-secondary,
|
|
13
|
+
'menu-item-margin': 0 8px,
|
|
14
|
+
'menu-item-padding': 8px 0,
|
|
15
|
+
'menu-name-line-height': normal,
|
|
16
|
+
'primary-text-color': $title-color,
|
|
17
|
+
'white-background-color': $white,
|
|
18
|
+
),
|
|
19
|
+
$popover
|
|
20
|
+
);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/base' as *;
|
|
5
|
+
|
|
6
|
+
$popup-wrapper: () !default;
|
|
7
|
+
$popup-wrapper: map.deep-merge(
|
|
8
|
+
(
|
|
9
|
+
'background': transparent,
|
|
10
|
+
'close-icon-color': $text-color-secondary,
|
|
11
|
+
'close-icon-size': $font-size-medium,
|
|
12
|
+
'close-inset': 16px 16px auto auto,
|
|
13
|
+
'footer-align-items': center,
|
|
14
|
+
'footer-background': transparent,
|
|
15
|
+
'footer-button-color': $title-color-secondary,
|
|
16
|
+
'footer-button-font-size': $font-size-medium,
|
|
17
|
+
'footer-button-font-weight': $font-weight-bold,
|
|
18
|
+
'footer-button-padding': 10px,
|
|
19
|
+
'footer-height': auto,
|
|
20
|
+
'footer-justify-content': space-around,
|
|
21
|
+
'footer-layout': row nowrap,
|
|
22
|
+
'footer-padding': 0px,
|
|
23
|
+
'header-align-items': center,
|
|
24
|
+
'header-background': transparent,
|
|
25
|
+
'header-color': $title-color,
|
|
26
|
+
'header-font-size': $font-size-medium,
|
|
27
|
+
'header-font-weight': normal,
|
|
28
|
+
'header-height': 20px,
|
|
29
|
+
'header-justify-content': center,
|
|
30
|
+
'header-layout': row nowrap,
|
|
31
|
+
'header-padding': 0px,
|
|
32
|
+
'min-height': 160px,
|
|
33
|
+
'padding': 0px,
|
|
34
|
+
'popup-border-radius': 20px,
|
|
35
|
+
'popup-height': auto,
|
|
36
|
+
'popup-position': fixed,
|
|
37
|
+
'popup-width': 80%,
|
|
38
|
+
),
|
|
39
|
+
$popup-wrapper
|
|
40
|
+
);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/typography' as *;
|
|
3
|
+
@use '../common/base' as *;
|
|
4
|
+
|
|
5
|
+
$price: () !default;
|
|
6
|
+
$price: map.deep-merge(
|
|
7
|
+
(
|
|
8
|
+
'big-size': 24px,
|
|
9
|
+
'decimal-big-size': $font-size-large,
|
|
10
|
+
'decimal-medium-size': $font-size-base,
|
|
11
|
+
'decimal-small-size': $font-size-extra-small,
|
|
12
|
+
'medium-size': $font-size-medium,
|
|
13
|
+
'small-size': $font-size-small,
|
|
14
|
+
'symbol-big-size': $font-size-large,
|
|
15
|
+
'symbol-medium-size': $font-size-base,
|
|
16
|
+
'symbol-small-size': $font-size-extra-small,
|
|
17
|
+
),
|
|
18
|
+
$price
|
|
19
|
+
);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/fill' as *;
|
|
4
|
+
|
|
5
|
+
$progress: () !default;
|
|
6
|
+
$progress: map.deep-merge(
|
|
7
|
+
(
|
|
8
|
+
'base-height': 10px,
|
|
9
|
+
'base-text-font-size': 9px,
|
|
10
|
+
'base-text-line-height': 13px,
|
|
11
|
+
'base-text-padding': var(--fox-progress-insidetext-padding),
|
|
12
|
+
'base-text-top': var(--fox-progress-insidetext-top),
|
|
13
|
+
'inner-background-color': $color-primary,
|
|
14
|
+
'insidetext-background': var(--fox-progress-inner-background-color),
|
|
15
|
+
'insidetext-border-radius': 5px,
|
|
16
|
+
'insidetext-padding': 3px 5px 3px 6px,
|
|
17
|
+
'insidetext-top': -42%,
|
|
18
|
+
'large-height': 15px,
|
|
19
|
+
'large-text-font-size': 13px,
|
|
20
|
+
'large-text-line-height': 18px,
|
|
21
|
+
'large-text-padding': var(--fox-progress-insidetext-padding),
|
|
22
|
+
'large-text-top': var(--fox-progress-insidetext-top),
|
|
23
|
+
'outer-background-color': $fill-color-base,
|
|
24
|
+
'outer-border-radius': 12px,
|
|
25
|
+
'small-height': 5px,
|
|
26
|
+
'small-text-font-size': 7px,
|
|
27
|
+
'small-text-line-height': 10px,
|
|
28
|
+
'small-text-padding': 2px 4px,
|
|
29
|
+
'small-text-top': -100%,
|
|
30
|
+
),
|
|
31
|
+
$progress
|
|
32
|
+
);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/border' as *;
|
|
5
|
+
@use '../common/base' as *;
|
|
6
|
+
|
|
7
|
+
$radio: () !default;
|
|
8
|
+
$radio: map.deep-merge(
|
|
9
|
+
(
|
|
10
|
+
'button-background': $white,
|
|
11
|
+
'button-background-active': $color-primary-light-9,
|
|
12
|
+
'button-border-color-active': $color-primary,
|
|
13
|
+
'button-border-radius': 4px,
|
|
14
|
+
'button-font-size': $font-size-small,
|
|
15
|
+
'button-min-width': 100px,
|
|
16
|
+
'button-padding': 5px 18px,
|
|
17
|
+
'icon-disable-color': $disabled-color,
|
|
18
|
+
'icon-font-size': $font-size-large,
|
|
19
|
+
'icon-readonly-color': $readonly-color,
|
|
20
|
+
'icon-unchecked-color': $disabled-color,
|
|
21
|
+
'label-active-color': $color-primary,
|
|
22
|
+
'label-button-border-color': $border-color-base,
|
|
23
|
+
'label-color': $title-color,
|
|
24
|
+
'label-disable-color': $disabled-color,
|
|
25
|
+
'label-font-size': $font-size-base,
|
|
26
|
+
'label-margin-left': 15px,
|
|
27
|
+
'label-readonly-color': $readonly-color,
|
|
28
|
+
'margin-horizontal': 0 8px 8px 0,
|
|
29
|
+
'margin-vertical': 0 0 8px 0,
|
|
30
|
+
'min-width': 0px
|
|
31
|
+
),
|
|
32
|
+
$radio
|
|
33
|
+
);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
|
|
5
|
+
$range: () !default;
|
|
6
|
+
$range: map.deep-merge(
|
|
7
|
+
(
|
|
8
|
+
'bar-bg-color': $color-primary,
|
|
9
|
+
'bar-btn-bg-color': $white,
|
|
10
|
+
'bar-btn-border': 1px solid $color-primary,
|
|
11
|
+
'bar-btn-height': 24px,
|
|
12
|
+
'bar-btn-width': 24px,
|
|
13
|
+
'bg-color': $color-primary,
|
|
14
|
+
'bg-color-tick': $color-primary-light-5,
|
|
15
|
+
'tip-font-color': $title-color,
|
|
16
|
+
),
|
|
17
|
+
$range
|
|
18
|
+
);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography.scss' as *;
|
|
4
|
+
@use '../common/base' as *;
|
|
5
|
+
|
|
6
|
+
$rate: () !default;
|
|
7
|
+
$rate: map.deep-merge(
|
|
8
|
+
(
|
|
9
|
+
'icon-color': $color-primary,
|
|
10
|
+
'icon-void-color': $disabled-color
|
|
11
|
+
),
|
|
12
|
+
$rate
|
|
13
|
+
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/border' as *;
|
|
3
|
+
|
|
4
|
+
$row-item: () !default;
|
|
5
|
+
$row-item: map.deep-merge(
|
|
6
|
+
(
|
|
7
|
+
'divide-color': $border-color-light,
|
|
8
|
+
'divide-height': 12px,
|
|
9
|
+
'divide-margin': 0 10px,
|
|
10
|
+
'divide-width': 1px,
|
|
11
|
+
'column-gap': 12px
|
|
12
|
+
),
|
|
13
|
+
$row-item
|
|
14
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/border' as *;
|
|
4
|
+
@use '../common/fill' as *;
|
|
5
|
+
@use '../common/shadow' as *;
|
|
6
|
+
@use '../common/base' as *;
|
|
7
|
+
|
|
8
|
+
$searchbar: () !default;
|
|
9
|
+
$searchbar: map.deep-merge(
|
|
10
|
+
(
|
|
11
|
+
'background': $white,
|
|
12
|
+
'border-radius': 12px,
|
|
13
|
+
'input-background': $fill-color-base,
|
|
14
|
+
'input-bar-color': inherit,
|
|
15
|
+
'input-bar-placeholder-color': inherit,
|
|
16
|
+
'input-border-radius': 16px,
|
|
17
|
+
'input-box-shadow': $box-shadow-lighter,
|
|
18
|
+
'input-height': 32px,
|
|
19
|
+
'input-padding': 0 0 0 13px,
|
|
20
|
+
'input-width': 100%,
|
|
21
|
+
'input-inner-padding': 0 20px 0 10px,
|
|
22
|
+
'icon-size': $font-size-base,
|
|
23
|
+
'padding': 9px 16px,
|
|
24
|
+
'right-out-color': $black,
|
|
25
|
+
'width': 100%
|
|
26
|
+
),
|
|
27
|
+
$searchbar
|
|
28
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/border' as *;
|
|
4
|
+
@use '../common/fill' as *;
|
|
5
|
+
@use '../common/base' as *;
|
|
6
|
+
@use '../common/typography' as *;
|
|
7
|
+
|
|
8
|
+
$shortpassword: () !default;
|
|
9
|
+
$shortpassword: map.deep-merge(
|
|
10
|
+
(
|
|
11
|
+
'background-color': $fill-color-base,
|
|
12
|
+
'border-color': $border-color-base,
|
|
13
|
+
'error': $color-primary,
|
|
14
|
+
'forget': $text-color-regular,
|
|
15
|
+
),
|
|
16
|
+
$shortpassword
|
|
17
|
+
);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/fill' as *;
|
|
5
|
+
@use '../common/base' as *;
|
|
6
|
+
|
|
7
|
+
$sidenavbar: () !default;
|
|
8
|
+
$sidenavbar: map.deep-merge(
|
|
9
|
+
(
|
|
10
|
+
'content-bg-color': $white,
|
|
11
|
+
'item-font-size': $font-size-medium,
|
|
12
|
+
'item-height': 40px,
|
|
13
|
+
'item-line-height': 40px,
|
|
14
|
+
'item-title-bg-color': $white,
|
|
15
|
+
'item-title-color': $title-color,
|
|
16
|
+
'sub-title-bg-color': $fill-color-base,
|
|
17
|
+
'sub-title-border': 0,
|
|
18
|
+
'sub-title-border-color': $fill-color-base,
|
|
19
|
+
'sub-title-font-size': $font-size-large,
|
|
20
|
+
'sub-title-height': 40px,
|
|
21
|
+
'sub-title-radius': 0,
|
|
22
|
+
'sub-title-text-color': $title-color,
|
|
23
|
+
'sub-title-text-line-height': 40px,
|
|
24
|
+
'sub-title-width': 100%,
|
|
25
|
+
),
|
|
26
|
+
$sidenavbar
|
|
27
|
+
);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/base' as *;
|
|
5
|
+
|
|
6
|
+
$steps-bar: () !default;
|
|
7
|
+
$steps-bar: map.deep-merge(
|
|
8
|
+
(
|
|
9
|
+
'active-color': $white,
|
|
10
|
+
'disabled-color': $white,
|
|
11
|
+
'done-color': $white,
|
|
12
|
+
'error-color': $white,
|
|
13
|
+
'font-size': $font-size-base,
|
|
14
|
+
'half-color': $white,
|
|
15
|
+
'icon-active-color': $white,
|
|
16
|
+
'icon-bg-active-color': $color-primary,
|
|
17
|
+
'icon-bg-disabled-color': $disabled-color,
|
|
18
|
+
'icon-bg-done-color': $color-success,
|
|
19
|
+
'icon-bg-error-color': $color-danger,
|
|
20
|
+
'icon-bg-half-color': $color-warning,
|
|
21
|
+
'icon-bg-normal-color': $disabled-color,
|
|
22
|
+
'icon-border': none,
|
|
23
|
+
'icon-disabled-color': $white,
|
|
24
|
+
'icon-done-color': $white,
|
|
25
|
+
'icon-error-color': $white,
|
|
26
|
+
'icon-font-size': var(--fox-steps-bar-font-size),
|
|
27
|
+
'icon-half-color': $white,
|
|
28
|
+
'icon-normal-color': $white,
|
|
29
|
+
'icon-size': 28px,
|
|
30
|
+
'line-active-color': $color-primary,
|
|
31
|
+
'line-border-style': solid,
|
|
32
|
+
'line-border-width': 1px,
|
|
33
|
+
'line-normal-color': $disabled-color,
|
|
34
|
+
'main-height-horizontal': auto,
|
|
35
|
+
'main-height-vertical': auto,
|
|
36
|
+
'main-line-height-horizontal': auto,
|
|
37
|
+
'main-line-height-vertical': var(--fox-steps-bar-icon-size),
|
|
38
|
+
'main-margin-horizontal': 10px 0 0 0,
|
|
39
|
+
'main-margin-vertical': 0 0 0 0,
|
|
40
|
+
'main-width-horizontal': auto,
|
|
41
|
+
'main-width-vertical': 100px,
|
|
42
|
+
'mark-color': $color-primary,
|
|
43
|
+
'mark-height-vertical': var(--fox-steps-bar-icon-size),
|
|
44
|
+
'mark-width-vertical': var(--fox-steps-bar-icon-size),
|
|
45
|
+
'normal-color': $white,
|
|
46
|
+
'text-active-color': $black,
|
|
47
|
+
'text-disabled-color': $black,
|
|
48
|
+
'text-done-color': $black,
|
|
49
|
+
'text-error-color': $black,
|
|
50
|
+
'text-font-size': var(--fox-steps-bar-font-size),
|
|
51
|
+
'text-half-color': $black,
|
|
52
|
+
'text-normal-color': $disabled-color
|
|
53
|
+
),
|
|
54
|
+
$steps-bar
|
|
55
|
+
);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../common/color' as *;
|
|
3
|
+
@use '../common/typography' as *;
|
|
4
|
+
@use '../common/base' as *;
|
|
5
|
+
|
|
6
|
+
$steps: () !default;
|
|
7
|
+
$steps: map.deep-merge(
|
|
8
|
+
(
|
|
9
|
+
'base-content-color': $title-color-secondary,
|
|
10
|
+
'base-content-font-size': $font-size-base,
|
|
11
|
+
'base-icon-font-size': 13px,
|
|
12
|
+
'base-icon-height': 25px,
|
|
13
|
+
'base-icon-line-height': 25px,
|
|
14
|
+
'base-icon-width': 25px,
|
|
15
|
+
'base-line-color': $text-color-secondary,
|
|
16
|
+
'base-title-color': $text-color-secondary,
|
|
17
|
+
'base-title-font-size': $font-size-base,
|
|
18
|
+
'base-title-margin-bottom': 10px,
|
|
19
|
+
'finish-head-border-color': $color-primary,
|
|
20
|
+
'finish-head-color': $color-primary,
|
|
21
|
+
'finish-icon-text-color': $white,
|
|
22
|
+
'finish-line-background': $color-primary,
|
|
23
|
+
'finish-title-color': $color-primary,
|
|
24
|
+
'process-head-border-color': $color-primary,
|
|
25
|
+
'process-head-color': $white,
|
|
26
|
+
'process-icon-text-color': $color-primary,
|
|
27
|
+
'process-title-color': $color-primary,
|
|
28
|
+
'wait-content-color': $text-color-secondary,
|
|
29
|
+
'wait-head-border-color': $text-color-secondary,
|
|
30
|
+
'wait-head-color': $text-color-secondary,
|
|
31
|
+
'wait-icon-bg-color': $text-color-secondary,
|
|
32
|
+
'wait-icon-color': $white,
|
|
33
|
+
'wait-icon-text-color': $white
|
|
34
|
+
),
|
|
35
|
+
$steps
|
|
36
|
+
);
|