|
@@ -0,0 +1,222 @@
|
|
1
|
+@require "~cube-ui/src/common/stylus/var/color.styl"
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+// action-sheet
|
|
5
|
+$action-sheet-color := $color-grey
|
|
6
|
+$action-sheet-active-color := $color-orange
|
|
7
|
+$action-sheet-bgc := $color-white
|
|
8
|
+$action-sheet-active-bgc := $color-light-grey-opacity
|
|
9
|
+$action-sheet-title-color := $color-dark-grey
|
|
10
|
+$action-sheet-space-bgc := $color-mask-bg
|
|
11
|
+/// picker style
|
|
12
|
+$action-sheet-picker-cancel-color := $color-light-grey
|
|
13
|
+$action-sheet-picker-cancel-active-color := $color-light-grey-s
|
|
14
|
+
|
|
15
|
+// bubble
|
|
16
|
+
|
|
17
|
+// button
|
|
18
|
+$btn-color := $color-white
|
|
19
|
+$btn-bgc := $color-regular-blue
|
|
20
|
+$btn-bdc := $color-regular-blue
|
|
21
|
+$btn-active-bgc := $color-blue
|
|
22
|
+$btn-active-bdc := $color-blue
|
|
23
|
+$btn-disabled-color := $color-white
|
|
24
|
+$btn-disabled-bgc := $color-light-grey-s
|
|
25
|
+$btn-disabled-bdc := $color-light-grey-s
|
|
26
|
+/// primary
|
|
27
|
+$btn-primary-color := $color-white
|
|
28
|
+$btn-primary-bgc := $color-orange
|
|
29
|
+$btn-primary-bdc := $color-orange
|
|
30
|
+$btn-primary-active-bgc := $color-dark-orange
|
|
31
|
+$btn-primary-active-bdc := $color-dark-orange
|
|
32
|
+/// light
|
|
33
|
+$btn-light-color := $color-grey
|
|
34
|
+$btn-light-bgc := $color-light-grey-sss
|
|
35
|
+$btn-light-bdc := $color-light-grey-sss
|
|
36
|
+$btn-light-active-bgc := $color-active-grey
|
|
37
|
+$btn-light-active-bdc := $color-active-grey
|
|
38
|
+/// outline
|
|
39
|
+$btn-outline-color := $color-grey
|
|
40
|
+$btn-outline-bgc := transparent
|
|
41
|
+$btn-outline-bdc := $color-grey
|
|
42
|
+$btn-outline-active-bgc := $color-grey-opacity
|
|
43
|
+$btn-outline-active-bdc := $color-grey
|
|
44
|
+/// outline-primary
|
|
45
|
+$btn-outline-primary-color := $color-orange
|
|
46
|
+$btn-outline-primary-bgc := transparent
|
|
47
|
+$btn-outline-primary-bdc := $color-orange
|
|
48
|
+$btn-outline-primary-active-bgc := $color-orange-opacity
|
|
49
|
+$btn-outline-primary-active-bdc := $color-dark-orange
|
|
50
|
+
|
|
51
|
+// toolbar
|
|
52
|
+$toolbar-bgc := $color-light-grey-sss
|
|
53
|
+$toolbar-active-bgc := $color-active-grey
|
|
54
|
+
|
|
55
|
+// checkbox
|
|
56
|
+$checkbox-color := $color-grey
|
|
57
|
+$checkbox-icon-color := $color-light-grey-s
|
|
58
|
+/// checked
|
|
59
|
+$checkbox-checked-icon-color := $color-orange
|
|
60
|
+$checkbox-checked-icon-bgc := $color-white
|
|
61
|
+/// disabled
|
|
62
|
+$checkbox-disabled-icon-color := $color-light-grey-ss
|
|
63
|
+$checkbox-disabled-icon-bgc := $color-light-grey-ss
|
|
64
|
+// checkbox hollow
|
|
65
|
+$checkbox-hollow-checked-icon-color := $color-orange
|
|
66
|
+$checkbox-hollow-disabled-icon-color := $color-light-grey-ss
|
|
67
|
+// checkbox-group
|
|
68
|
+$checkbox-group-bgc := $color-white
|
|
69
|
+$checkbox-group-horizontal-bdc := $color-light-grey-s
|
|
70
|
+
|
|
71
|
+// radio
|
|
72
|
+$radio-group-bgc := $color-white
|
|
73
|
+$radio-group-horizontal-bdc := $color-light-grey-s
|
|
74
|
+$radio-color := $color-grey
|
|
75
|
+$radio-icon-color := $color-light-grey-s
|
|
76
|
+/// selected
|
|
77
|
+$radio-selected-icon-color := $color-white
|
|
78
|
+$radio-selected-icon-bgc := $color-orange
|
|
79
|
+/// disabled
|
|
80
|
+$radio-disabled-icon-bgc := $color-light-grey-ss
|
|
81
|
+// radio hollow
|
|
82
|
+$radio-hollow-selected-icon-color := $color-orange
|
|
83
|
+$radio-hollow-disabled-icon-color := $color-light-grey-ss
|
|
84
|
+
|
|
85
|
+// dialog
|
|
86
|
+$dialog-color := $color-grey
|
|
87
|
+$dialog-bgc := $color-white
|
|
88
|
+$dialog-icon-color := $color-regular-blue
|
|
89
|
+$dialog-icon-bgc := $color-background
|
|
90
|
+$dialog-title-color := $color-dark-grey
|
|
91
|
+$dialog-close-color := $color-light-grey
|
|
92
|
+$dialog-btn-color := $color-light-grey
|
|
93
|
+$dialog-btn-bgc := $color-white
|
|
94
|
+$dialog-btn-active-bgc := $color-light-grey-opacity
|
|
95
|
+$dialog-btn-highlight-color := $color-orange
|
|
96
|
+$dialog-btn-highlight-active-bgc := $color-light-orange-opacity
|
|
97
|
+$dialog-btn-disabled-color := $color-light-grey
|
|
98
|
+$dialog-btn-disabled-active-bgc := transparent
|
|
99
|
+$dialog-btns-split-color := $color-row-line
|
|
100
|
+
|
|
101
|
+// index-list
|
|
102
|
+$index-list-bgc := $color-white
|
|
103
|
+$index-list-title-color := $color-dark-grey
|
|
104
|
+$index-list-anchor-color := $color-light-grey
|
|
105
|
+$index-list-anchor-bgc := #f7f7f7
|
|
106
|
+$index-list-item-color := $color-dark-grey
|
|
107
|
+$index-list-item-active-bgc := $color-light-grey-opacity
|
|
108
|
+$index-list-nav-color := $color-grey
|
|
109
|
+$index-list-nav-active-color := $color-orange
|
|
110
|
+
|
|
111
|
+// loading
|
|
112
|
+
|
|
113
|
+// picker
|
|
114
|
+$picker-bgc := $color-white
|
|
115
|
+$picker-title-color := $color-dark-grey
|
|
116
|
+$picker-subtitle-color := $color-light-grey
|
|
117
|
+$picker-confirm-btn-color := $color-orange
|
|
118
|
+$picker-confirm-btn-active-color := $color-light-orange
|
|
119
|
+$picker-cancel-btn-color := $color-light-grey
|
|
120
|
+$picker-cancel-btn-active-color := $color-light-grey-s
|
|
121
|
+$picker-item-color := $color-dark-grey
|
|
122
|
+
|
|
123
|
+// popup
|
|
124
|
+$popup-mask-bgc := rgb(37, 38, 45)
|
|
125
|
+$popup-mask-opacity := .4
|
|
126
|
+
|
|
127
|
+//scroll
|
|
128
|
+
|
|
129
|
+// slide
|
|
130
|
+$slide-dot-bgc := $color-light-grey-s
|
|
131
|
+$slide-dot-active-bgc := $color-orange
|
|
132
|
+
|
|
133
|
+// time-picker
|
|
134
|
+
|
|
135
|
+// tip
|
|
136
|
+$tip-color := $color-white
|
|
137
|
+$tip-bgc := $color-dark-grey-opacity
|
|
138
|
+
|
|
139
|
+// toast
|
|
140
|
+$toast-color := $color-light-grey-s
|
|
141
|
+$toast-bgc := rgba(37, 38, 45, 0.9)
|
|
142
|
+
|
|
143
|
+// upload
|
|
144
|
+$upload-btn-color := $color-grey
|
|
145
|
+$upload-btn-bgc := $color-white
|
|
146
|
+$upload-btn-active-bgc := $color-light-grey-opacity
|
|
147
|
+$upload-btn-box-shadow := 0 0 6px 2px $color-grey-opacity
|
|
148
|
+$upload-btn-border-color := #e5e5e5
|
|
149
|
+$upload-file-bgc := $color-white
|
|
150
|
+$upload-file-remove-color := rgba(0, 0, 0, .8)
|
|
151
|
+$upload-file-remove-bgc := $color-white
|
|
152
|
+$upload-file-state-bgc := $color-mask-bg
|
|
153
|
+$upload-file-success-color := $color-orange
|
|
154
|
+$upload-file-error-color := #f43530
|
|
155
|
+$upload-file-status-bgc := $color-white
|
|
156
|
+$upload-file-progress-color := $color-white
|
|
157
|
+
|
|
158
|
+// switch
|
|
159
|
+$switch-on-bgc := $color-orange
|
|
160
|
+$switch-off-bgc := $color-white
|
|
161
|
+$switch-off-border-color := #e4e4e4
|
|
162
|
+
|
|
163
|
+// input
|
|
164
|
+$input-color := $color-grey
|
|
165
|
+$input-bgc := $color-white
|
|
166
|
+$input-border-color := $color-row-line
|
|
167
|
+$input-focus-border-color := $color-orange
|
|
168
|
+$input-placeholder-color := $color-light-grey-s
|
|
169
|
+$input-clear-icon-color := $color-light-grey
|
|
170
|
+
|
|
171
|
+//textarea
|
|
172
|
+$textarea-color := $color-grey
|
|
173
|
+$textarea-bgc := $color-white
|
|
174
|
+$textarea-border-color := $color-row-line
|
|
175
|
+$textarea-focus-border-color := $color-orange
|
|
176
|
+$textarea-outline-color := $color-orange
|
|
177
|
+$textarea-placeholder-color := $color-light-grey-s
|
|
178
|
+$textarea-indicator-color := $color-light-grey-s
|
|
179
|
+
|
|
180
|
+// validator
|
|
181
|
+$validator-msg-def-color := #e64340
|
|
182
|
+
|
|
183
|
+// select
|
|
184
|
+$select-color := $color-grey
|
|
185
|
+$select-bgc := $color-white
|
|
186
|
+$select-disabled-color := #b8b8b8
|
|
187
|
+$select-disabled-bgc := $color-light-grey-opacity
|
|
188
|
+$select-border-color := $color-light-grey-s
|
|
189
|
+$select-border-active-color := $color-orange
|
|
190
|
+$select-icon-color := $color-light-grey
|
|
191
|
+$select-placeholder-color := $color-light-grey-s
|
|
192
|
+
|
|
193
|
+// swipe
|
|
194
|
+$swipe-btn-color := $color-white
|
|
195
|
+
|
|
196
|
+// form
|
|
197
|
+$form-color := $color-grey
|
|
198
|
+$form-bgc := $color-white
|
|
199
|
+$form-invalid-color := #e64340
|
|
200
|
+$form-group-legend-color := $color-light-grey
|
|
201
|
+$form-group-legend-bgc := $color-background
|
|
202
|
+$form-label-required-color := #e64340
|
|
203
|
+
|
|
204
|
+// drawer
|
|
205
|
+$drawer-color := $color-dark-grey
|
|
206
|
+$drawer-title-bdc := $color-light-grey-ss
|
|
207
|
+$drawer-title-bgc := $color-white
|
|
208
|
+$drawer-panel-bgc := $color-white
|
|
209
|
+$drawer-item-active-bgc := $color-light-grey-opacity
|
|
210
|
+
|
|
211
|
+// scroll-nav
|
|
212
|
+$scroll-nav-bgc := $color-white
|
|
213
|
+$scroll-nav-color := $color-grey
|
|
214
|
+$scroll-nav-active-color := $color-orange
|
|
215
|
+
|
|
216
|
+// image-preview
|
|
217
|
+$image-preview-counter-color := $color-white
|
|
218
|
+
|
|
219
|
+// tab-bar & tab-panel
|
|
220
|
+$tab-color := $color-grey
|
|
221
|
+$tab-active-color := $color-dark-orange
|
|
222
|
+$tab-slider-bgc := $color-dark-orange
|