855d4940
梁灏
Tag add more colo...
|
1
2
|
@import "color/colors";
|
7fa943eb
梁灏
init
|
3
4
|
// Prefix
@css-prefix : ivu-;
|
e1596b7e
梁灏
add Button UI
|
5
|
@css-prefix-iconfont : ivu-icon;
|
69576f47
梁灏
add Slider component
|
6
|
|
7fa943eb
梁灏
init
|
7
|
// Color
|
df64fd36
Aresn
update styles
|
8
|
@primary-color : #2d8cf0;
|
7fa943eb
梁灏
init
|
9
|
@info-color : #2db7f5;
|
df64fd36
Aresn
update styles
|
10
|
@success-color : #19be6b;
|
0823f88b
梁灏
Badge add status
|
11
|
@processing-color : @primary-color;
|
d2203972
梁灏
add gutter to Row...
|
12
|
@warning-color : #ff9900;
|
7401ec35
梁灏
update colors
|
13
|
@error-color : #ed4014;
|
cc27c42a
梁灏
Badge add type pr...
|
14
|
@normal-color : #e6ebf1;
|
df64fd36
Aresn
update styles
|
15
|
@link-color : #2D8cF0;
|
7fa943eb
梁灏
init
|
16
17
|
@link-hover-color : tint(@link-color, 20%);
@link-active-color : shade(@link-color, 5%);
|
e355dd49
梁灏
add Select Component
|
18
|
@selected-color : fade(@primary-color, 90%);
|
dce3e753
梁灏
add Tooltip compo...
|
19
|
@tooltip-color : #fff;
|
7401ec35
梁灏
update colors
|
20
|
@subsidiary-color : #808695;
|
49d380cf
梁灏
init Rate component
|
21
|
@rate-star-color : #f5a623;
|
7fa943eb
梁灏
init
|
22
23
24
|
// Base
@body-background : #fff;
|
4a90d20a
梁灏
Update custom.less
|
25
|
@component-background : #fff;
|
3b0ded22
梁灏
revert https://gi...
|
26
27
|
@font-family : "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
@code-family : Consolas,Menlo,Courier,monospace;
|
7401ec35
梁灏
update colors
|
28
29
|
@title-color : #17233d;
@text-color : #515a6e;
|
7fa943eb
梁灏
init
|
30
|
@font-size-base : 14px;
|
dce3e753
梁灏
add Tooltip compo...
|
31
|
@font-size-small : 12px;
|
a0141266
梁灏
update Divider style
|
32
|
@font-size-large : 16px;
|
7fa943eb
梁灏
init
|
33
34
35
|
@line-height-base : 1.5;
@line-height-computed : floor((@font-size-base * @line-height-base));
@border-radius-base : 6px;
|
15bae144
梁灏
add Card component
|
36
|
@border-radius-small : 4px;
|
e1596b7e
梁灏
add Button UI
|
37
|
@cursor-disabled : not-allowed;
|
15bae144
梁灏
add Card component
|
38
39
|
// Border color
|
7401ec35
梁灏
update colors
|
40
41
|
@border-color-base : #dcdee2; // outside
@border-color-split : #e8eaec; // inside
|
27b03d14
梁灏
update Alert style
|
42
43
|
@border-width-base : 1px; // width of the border for a component
@border-style-base : solid; // style of a components border
|
15bae144
梁灏
add Card component
|
44
45
|
// Background color
|
e355dd49
梁灏
add Select Component
|
46
47
|
@background-color-base : #f7f7f7; // base
@background-color-select-hover: @input-disabled-bg;
|
650ce7b8
梁灏
optimize Tooltip ...
|
48
|
@tooltip-bg : rgba(70, 76, 91, .9);
|
122e69ee
梁灏
update Transfer
|
49
|
@head-bg : #f9fafc;
|
df64fd36
Aresn
update styles
|
50
51
|
@table-thead-bg : #f8f8f9;
@table-td-stripe-bg : #f8f8f9;
|
0d136465
梁灏
update Table
|
52
53
|
@table-td-hover-bg : #ebf7ff;
@table-td-highlight-bg : #ebf7ff;
|
7401ec35
梁灏
update colors
|
54
|
@menu-dark-title : #515a6e;
|
c0478e27
Aresn
update Menu style
|
55
56
57
|
@menu-dark-active-bg : #363e4f;
@menu-dark-subsidiary-color : rgba(255,255,255,.7);
@menu-dark-group-title-color : rgba(255,255,255,.36);
|
50637863
梁灏
update DatePicker
|
58
|
@date-picker-cell-hover-bg : #e1f0fe;
|
15bae144
梁灏
add Card component
|
59
60
|
// Shadow
|
3fa1c31e
梁灏
optimize Poptip s...
|
61
|
@shadow-color : rgba(0, 0, 0, .2);
|
15bae144
梁灏
add Card component
|
62
63
64
65
66
67
|
@shadow-base : @shadow-down;
@shadow-card : 0 1px 1px 0 rgba(0,0,0,.1);
@shadow-up : 0 -1px 6px @shadow-color;
@shadow-down : 0 1px 6px @shadow-color;
@shadow-left : -1px 0 6px @shadow-color;
@shadow-right : 1px 0 6px @shadow-color;
|
7fa943eb
梁灏
init
|
68
|
|
e1596b7e
梁灏
add Button UI
|
69
|
// Button
|
3e855e34
梁灏
fixed #46
|
70
|
@btn-font-weight : normal;
|
5fc37ce4
梁灏
update Button style
|
71
72
73
|
@btn-padding-base : 5px 15px 6px;
@btn-padding-large : 6px 15px 6px 15px;
@btn-padding-small : 1px 7px 2px;
|
932c449d
梁灏
update Button style
|
74
75
76
|
@btn-padding-base-icon : 5px 15px 6px;
@btn-padding-large-icon : 6px 15px 6px 15px;
@btn-padding-small-icon : 1px 7px 2px;
|
e1596b7e
梁灏
add Button UI
|
77
78
79
80
81
82
|
@btn-font-size : 12px;
@btn-font-size-large : 14px;
@btn-border-radius : 4px;
@btn-border-radius-small: 3px;
@btn-group-border : shade(@primary-color, 5%);
|
7401ec35
梁灏
update colors
|
83
|
@btn-disable-color : #c5c8ce;
|
e1596b7e
梁灏
add Button UI
|
84
85
86
87
|
@btn-disable-bg : @background-color-base;
@btn-disable-border : @border-color-base;
@btn-default-color : @text-color;
|
b4fe39f7
梁灏
Button add ghost ...
|
88
|
@btn-default-bg : #fff;
|
e1596b7e
梁灏
add Button UI
|
89
90
91
92
93
94
|
@btn-default-border : @border-color-base;
@btn-primary-color : #fff;
@btn-primary-bg : @primary-color;
@btn-ghost-color : @text-color;
|
b4fe39f7
梁灏
Button add ghost ...
|
95
|
@btn-ghost-bg : #fff;
|
e1596b7e
梁灏
add Button UI
|
96
97
|
@btn-ghost-border : @border-color-base;
|
3c01d81a
梁灏
fixed Modal bug,w...
|
98
|
@btn-circle-size : 32px;
|
f1b3ed30
梁灏
Button add circle...
|
99
100
|
@btn-circle-size-large : 36px;
@btn-circle-size-small : 24px;
|
e1596b7e
梁灏
add Button UI
|
101
|
|
7fa943eb
梁灏
init
|
102
|
// Layout and Grid
|
a2eb0287
zhigang.li
add layout compon...
|
103
104
105
|
@grid-columns : 24;
@grid-gutter-width : 0;
@layout-body-background : #f5f7f9;
|
7401ec35
梁灏
update colors
|
106
|
@layout-header-background : #515a6e;
|
a2eb0287
zhigang.li
add layout compon...
|
107
108
109
110
111
112
113
114
115
|
@layout-header-height : 64px;
@layout-header-padding : 0 50px;
@layout-footer-padding : 24px 50px;
@layout-footer-background : @layout-body-background;
@layout-sider-background : @layout-header-background;
@layout-trigger-height : 48px;
@layout-trigger-color : #fff;
@layout-zero-trigger-width : 36px;
@layout-zero-trigger-height : 42px;
|
7fa943eb
梁灏
init
|
116
|
|
9d69bab6
梁灏
add Alert component
|
117
118
119
|
// Legend
@legend-color : #999;
|
95436eeb
梁灏
add InputNumber UI
|
120
|
// Input
|
3c01d81a
梁灏
fixed Modal bug,w...
|
121
|
@input-height-base : 32px;
|
0f822c9b
梁灏
add Input component
|
122
123
|
@input-height-large : 36px;
@input-height-small : 24px;
|
95436eeb
梁灏
add InputNumber UI
|
124
125
126
127
128
129
|
@input-padding-horizontal : 7px;
@input-padding-vertical-base : 4px;
@input-padding-vertical-small: 1px;
@input-padding-vertical-large: 6px;
|
e96fa06d
梁灏
update Cascader s...
|
130
|
@input-placeholder-color : @btn-disable-color;
|
95436eeb
梁灏
add InputNumber UI
|
131
132
133
|
@input-color : @text-color;
@input-border-color : @border-color-base;
@input-bg : #fff;
|
d8fc2568
梁灏
update Input grou...
|
134
|
@input-group-bg : #f8f8f9;
|
95436eeb
梁灏
add InputNumber UI
|
135
136
137
138
139
|
@input-hover-border-color : @primary-color;
@input-focus-border-color : @primary-color;
@input-disabled-bg : #f3f3f3;
|
4ec205b6
梁灏
add Tag UI
|
140
141
142
|
// Tag
@tag-font-size : 12px;
|
84a351df
梁灏
Layout support re...
|
143
144
145
146
147
148
149
|
// Media queries breakpoints
// Extra small screen / phone
@screen-xs : 480px;
@screen-xs-min : @screen-xs;
@screen-xs-max : (@screen-xs-min - 1);
// Small screen / tablet
|
6e97df10
梁灏
update default me...
|
150
|
@screen-sm : 576px;
|
84a351df
梁灏
Layout support re...
|
151
152
153
154
|
@screen-sm-min : @screen-sm;
@screen-sm-max : (@screen-sm-min - 1);
// Medium screen / desktop
|
6e97df10
梁灏
update default me...
|
155
|
@screen-md : 768px;
|
84a351df
梁灏
Layout support re...
|
156
157
158
159
|
@screen-md-min : @screen-md;
@screen-md-max : (@screen-md-min - 1);
// Large screen / wide desktop
|
6e97df10
梁灏
update default me...
|
160
|
@screen-lg : 992px;
|
84a351df
梁灏
Layout support re...
|
161
162
163
|
@screen-lg-min : @screen-lg;
@screen-lg-max : (@screen-lg-min - 1);
|
6e97df10
梁灏
update default me...
|
164
165
166
167
168
169
170
171
172
173
|
// Extra large screen / full hd
@screen-xl : 1200px;
@screen-xl-min : @screen-xl;
@screen-xl-max : (@screen-xl-min - 1);
// Extra extra large screen / large descktop
@screen-xxl : 1600px;
@screen-xxl-min : @screen-xxl;
@screen-xxl-max : (@screen-xxl-min - 1);
|
7fa943eb
梁灏
init
|
174
|
// Z-index
|
be966e9f
梁灏
add Modal component
|
175
|
@zindex-spin : 8;
|
7fa943eb
梁灏
init
|
176
177
|
@zindex-affix : 10;
@zindex-back-top : 10;
|
e355dd49
梁灏
add Select Component
|
178
|
@zindex-select : 900;
|
be966e9f
梁灏
add Modal component
|
179
|
@zindex-modal : 1000;
|
ab58648e
梁灏
update Drawer
|
180
|
@zindex-drawer : 1000;
|
7c15ac9e
梁灏
add Message compo...
|
181
|
@zindex-message : 1010;
|
40f8606f
梁灏
add Notice component
|
182
|
@zindex-notification : 1010;
|
dce3e753
梁灏
add Tooltip compo...
|
183
|
@zindex-tooltip : 1060;
|
595cfa72
梁灏
fixed #1187 #844 ...
|
184
|
@zindex-transfer : 1060;
|
9dde24b6
梁灏
add LoadingBar co...
|
185
|
@zindex-loading-bar : 2000;
|
297648f1
梁灏
fixed #1063
|
186
|
@zindex-spin-fullscreen : 2010;
|
7fa943eb
梁灏
init
|
187
188
|
// Animation
|
7c15ac9e
梁灏
add Message compo...
|
189
|
@animation-time : .3s;
|
7fa943eb
梁灏
init
|
190
|
@transition-time : .2s;
|
69576f47
梁灏
add Slider component
|
191
192
193
|
@ease-in-out : ease-in-out;
// Slider
|
41d90ccf
梁灏
Slider can show s...
|
194
|
@slider-color : tint(@primary-color, 20%);
|
69576f47
梁灏
add Slider component
|
195
196
197
|
@slider-height : 4px;
@slider-margin : 16px 0;
@slider-button-wrap-size : 18px;
|
ba3e34e0
梁灏
update some styles
|
198
|
@slider-button-wrap-offset : -4px;
|
a1530fac
梁灏
update Avatar
|
199
200
201
202
203
204
205
206
207
208
209
|
@slider-disabled-color : #ccc;
// Avatar
@avatar-size-base: 32px;
@avatar-size-lg: 40px;
@avatar-size-sm: 24px;
@avatar-font-size-base: 18px;
@avatar-font-size-lg: 24px;
@avatar-font-size-sm: 14px;
@avatar-bg: #ccc;
@avatar-color: #fff;
|
43513f70
zhigang.li
add anchor component
|
210
211
212
213
|
@avatar-border-radius: @border-radius-small;
// Anchor
@anchor-border-width: 2px;
|