-
Notifications
You must be signed in to change notification settings - Fork 1
/
theme.less
105 lines (105 loc) · 3.26 KB
/
theme.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
//全局变量
@themeColor: #60D2DD;
//Switch组件
@SwitchWidth: 126;
@SwitchHeight: 72;
@SwitchPadding: 12;
@SwitchCircleSize: 48;
@SwitchCircleTranslateX: @SwitchWidth - @SwitchCircleSize - @SwitchPadding * 2;
@SwitchCircleColor: #FFFFFF;
@SwitchOnColor: @themeColor; //使用全局变量,也可以自己定义.
@SwitchOffColor: #D8D8D8;
@SwitchDisabledOnColor: #CFF1F5;
@SwitchDisabledOffColor: #F3F3F3;
//CheckBox组件
@CheckBoxSize: 60px;
@CheckBoxPadding: 20px;//增加热点面积,利于触发事件
@CheckBoxBold: 3px;
@CheckBoxCheckedColor: @themeColor;
@CheckBoxDischeckedColor: #ccc;
@CheckBoxCheckedIconColor: #fff;
@CheckBoxDisabledCheckedColor: @SwitchDisabledOnColor;
@CheckBoxDisabledDischeckedColor: #F0F0F0;
@CheckBoxDisabledCheckedIconColor: #90E0E7;
//NavBar组件
@NavBarHeight: 160px;
@NavBarPaddingLeft: 60px;
@NavBarPaddingRight: 60px - 27px;
@NavBarBackgroundColor: @themeColor;
@NavBarFontColor: #FFFFFF;
@NavBarTitleFontSize: 48px;
@NavBarMoreDotSize: 12px;
@NavBarMoreSize: 120px;
@NavBarMorePadding: 20px;
@NavBarCloseWidth: 66px;
@NavBarCloseHeight: 6px;
@NavBarCloseSize: 120px;
@NavBarActiveColor: rgba(0, 0, 0, 0.1);
//Buttons组件
@ButtonsBackgroundColor: #f2f4f5;
@ButtonsBorderTopBold: 1px;
@ButtonsBorderTopColor: #b2b2b2;
@ButtonsFontSize: 39px;
@ButtonsPadingLeftRight:60px;
@ButtonsTextPaddingTop:24px;
//Button组件 单个按钮
@ButtonPrimaryColor: @themeColor;
@ButtonHeight: 120px;
@ButtonPadding: 30px;
@ButtonBorderRadius: 15px;
@ButtonPrimaryTextColor: #fff;
@ButtonFontSize: 48px;
@ButtonDashedBorderBold: 3px;
//Loading组件
@LoadingSizeBig: 132px;
@LoadingSizeSmall: 36px;
@LoadingSizeDefault: 72px;
@LoadingColor: #ccc;
//TwoLevelList组件二级列表
@TwoLevelListBackgroundColor: #ccc;
@TwoLevelListTitleHeight: 144px;
@TwoLevelListTitleBackground: #fff;
@TwoLevelListTitlePaddingLeft: 60px;
@TwoLevelListTitlePaddingRight: 60px;
@TwoLevelListTitleBackIconSize: 48px;
@TwoLevelListTitleBackIconBold: 6px;
@TwoLevelListTitleBackIconColor: #666;
@TwoLevelListTitleFontSize: 48px;
@TwoLevelListItemPaddingLeft: 60px;
@TwoLevelListItemPaddingRight: 60px;
@TwoLevelListItemPaddingTop: 42px;
@TwoLevelListItemPaddingBottom: 42px;
@TwoLevelListLineColor: #ccc;
@TwoLevelListLineHeight: 1px;
@TwoLevelListItemArrowSize: 36px;
@TwoLevelListItemArrowBold: 4px;
@TwoLevelListItemArrowColor: #666;
@TwoLevelListItemTitleFontSize: 48px;
@TwoLevelListItemIconSize: 84px;
@TwoLevelListItemIconImageSize: 60px;
@TwoLevelListItemIconBorderRadius: 15px;
@TwoLevelListItemIconPaddingRight: 30px;
@TwoLevelListItemSubTitleColor: #666;
@TwoLevelListItemSubTitleFontSize: 36px;
@TwoLevelListItemSubTitlePaddingTop: 4px;
@TwoLevelListItemRightTextFontSize: 36px;
@TwoLevelListItemRightTextFontColor: #666;
@TwoLevelListItemRightTextPaddingRight: 24px;
@TwoLevelListItemBackground: #fff;
@TwoLevelListItemIconBackground: #ccc;
@TwoLevelListLinkColor: #3388ff;
@TwoLevelListFooterTextColor: #666;
@TwoLevelListItemGroupPadding: 36px;
@TwoLevelListHeaderFooterFontSize:33px;
//Modal组件
@ModalButtonPaddingTop: 30px;
@ModalButtonPaddingBottom: 30px;
@ModalSoltPaddingLeft: 60px;
@ModalSoltPaddingRight: 60px;
@ModalSlotBorderRadius: 30px;
@ModalPaddingLeft: 90px;
@ModalPaddingRight: 90px;
@ModalTitlePaddingTop: 30px;
@ModalTitlePaddingBottom: 30px;
@ModalTitleFontSize: 48px;
@ModalTitleColor: #000;