7fa943eb
梁灏
init
|
1
2
|
// Prefix
@css-prefix : ivu-;
|
e1596b7e
梁灏
add Button UI
|
3
|
@css-prefix-iconfont : ivu-icon;
|
69576f47
梁灏
add Slider component
|
4
|
|
7fa943eb
梁灏
init
|
5
|
// Color
|
df64fd36
Aresn
update styles
|
6
|
@primary-color : #2d8cf0;
|
7fa943eb
梁灏
init
|
7
|
@info-color : #2db7f5;
|
df64fd36
Aresn
update styles
|
8
|
@success-color : #19be6b;
|
d2203972
梁灏
add gutter to Row...
|
9
|
@warning-color : #ff9900;
|
df64fd36
Aresn
update styles
|
10
11
|
@error-color : #ed3f14;
@link-color : #2D8cF0;
|
7fa943eb
梁灏
init
|
12
13
|
@link-hover-color : tint(@link-color, 20%);
@link-active-color : shade(@link-color, 5%);
|
e355dd49
梁灏
add Select Component
|
14
|
@selected-color : fade(@primary-color, 90%);
|
dce3e753
梁灏
add Tooltip compo...
|
15
|
@tooltip-color : #fff;
|
df64fd36
Aresn
update styles
|
16
|
@subsidiary-color : #80848f;
|
49d380cf
梁灏
init Rate component
|
17
|
@rate-star-color : #f5a623;
|
7fa943eb
梁灏
init
|
18
19
20
|
// Base
@body-background : #fff;
|
7fa943eb
梁灏
init
|
21
22
|
@font-family : "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
@code-family : Consolas,Menlo,Courier,monospace;
|
df64fd36
Aresn
update styles
|
23
24
|
@title-color : #1c2438;
@text-color : #495060;
|
7fa943eb
梁灏
init
|
25
|
@font-size-base : 14px;
|
dce3e753
梁灏
add Tooltip compo...
|
26
|
@font-size-small : 12px;
|
a0141266
梁灏
update Divider style
|
27
|
@font-size-large : 16px;
|
7fa943eb
梁灏
init
|
28
29
30
|
@line-height-base : 1.5;
@line-height-computed : floor((@font-size-base * @line-height-base));
@border-radius-base : 6px;
|
15bae144
梁灏
add Card component
|
31
|
@border-radius-small : 4px;
|
e1596b7e
梁灏
add Button UI
|
32
|
@cursor-disabled : not-allowed;
|
15bae144
梁灏
add Card component
|
33
34
|
// Border color
|
df64fd36
Aresn
update styles
|
35
36
|
@border-color-base : #dddee1; // outside
@border-color-split : #e9eaec; // inside
|
15bae144
梁灏
add Card component
|
37
38
|
// Background color
|
e355dd49
梁灏
add Select Component
|
39
40
|
@background-color-base : #f7f7f7; // base
@background-color-select-hover: @input-disabled-bg;
|
650ce7b8
梁灏
optimize Tooltip ...
|
41
|
@tooltip-bg : rgba(70, 76, 91, .9);
|
122e69ee
梁灏
update Transfer
|
42
|
@head-bg : #f9fafc;
|
df64fd36
Aresn
update styles
|
43
44
|
@table-thead-bg : #f8f8f9;
@table-td-stripe-bg : #f8f8f9;
|
0d136465
梁灏
update Table
|
45
46
|
@table-td-hover-bg : #ebf7ff;
@table-td-highlight-bg : #ebf7ff;
|
c0478e27
Aresn
update Menu style
|
47
48
49
50
|
@menu-dark-title : #495060;
@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
|
51
|
@date-picker-cell-hover-bg : #e1f0fe;
|
15bae144
梁灏
add Card component
|
52
53
|
// Shadow
|
3fa1c31e
梁灏
optimize Poptip s...
|
54
|
@shadow-color : rgba(0, 0, 0, .2);
|
15bae144
梁灏
add Card component
|
55
56
57
58
59
60
|
@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
|
61
|
|
e1596b7e
梁灏
add Button UI
|
62
|
// Button
|
3e855e34
梁灏
fixed #46
|
63
|
@btn-font-weight : normal;
|
3c01d81a
梁灏
fixed Modal bug,w...
|
64
|
@btn-padding-base : 6px 15px;
|
698e3b61
梁灏
iButton add some ...
|
65
66
|
@btn-padding-large : 6px 15px 7px 15px;
@btn-padding-small : 2px 7px;
|
e1596b7e
梁灏
add Button UI
|
67
68
69
70
71
72
|
@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%);
|
df64fd36
Aresn
update styles
|
73
|
@btn-disable-color : #bbbec4;
|
e1596b7e
梁灏
add Button UI
|
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
@btn-disable-bg : @background-color-base;
@btn-disable-border : @border-color-base;
@btn-default-color : @text-color;
@btn-default-bg : @background-color-base;
@btn-default-border : @border-color-base;
@btn-primary-color : #fff;
@btn-primary-bg : @primary-color;
@btn-ghost-color : @text-color;
@btn-ghost-bg : transparent;
@btn-ghost-border : @border-color-base;
|
3c01d81a
梁灏
fixed Modal bug,w...
|
88
|
@btn-circle-size : 32px;
|
f1b3ed30
梁灏
Button add circle...
|
89
90
|
@btn-circle-size-large : 36px;
@btn-circle-size-small : 24px;
|
e1596b7e
梁灏
add Button UI
|
91
|
|
7fa943eb
梁灏
init
|
92
|
// Layout and Grid
|
a2eb0287
zhigang.li
add layout compon...
|
93
94
95
96
97
98
99
100
101
102
103
104
105
|
@grid-columns : 24;
@grid-gutter-width : 0;
@layout-body-background : #f5f7f9;
@layout-header-background : #495060;
@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
|
106
|
|
9d69bab6
梁灏
add Alert component
|
107
108
109
|
// Legend
@legend-color : #999;
|
95436eeb
梁灏
add InputNumber UI
|
110
|
// Input
|
3c01d81a
梁灏
fixed Modal bug,w...
|
111
|
@input-height-base : 32px;
|
0f822c9b
梁灏
add Input component
|
112
113
|
@input-height-large : 36px;
@input-height-small : 24px;
|
95436eeb
梁灏
add InputNumber UI
|
114
115
116
117
118
119
|
@input-padding-horizontal : 7px;
@input-padding-vertical-base : 4px;
@input-padding-vertical-small: 1px;
@input-padding-vertical-large: 6px;
|
e96fa06d
梁灏
update Cascader s...
|
120
|
@input-placeholder-color : @btn-disable-color;
|
95436eeb
梁灏
add InputNumber UI
|
121
122
123
124
125
126
127
128
|
@input-color : @text-color;
@input-border-color : @border-color-base;
@input-bg : #fff;
@input-hover-border-color : @primary-color;
@input-focus-border-color : @primary-color;
@input-disabled-bg : #f3f3f3;
|
4ec205b6
梁灏
add Tag UI
|
129
130
131
|
// Tag
@tag-font-size : 12px;
|
84a351df
梁灏
Layout support re...
|
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
// 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
@screen-sm : 768px;
@screen-sm-min : @screen-sm;
@screen-sm-max : (@screen-sm-min - 1);
// Medium screen / desktop
@screen-md : 992px;
@screen-md-min : @screen-md;
@screen-md-max : (@screen-md-min - 1);
// Large screen / wide desktop
@screen-lg : 1200px;
@screen-lg-min : @screen-lg;
@screen-lg-max : (@screen-lg-min - 1);
|
7fa943eb
梁灏
init
|
153
|
// Z-index
|
be966e9f
梁灏
add Modal component
|
154
|
@zindex-spin : 8;
|
7fa943eb
梁灏
init
|
155
156
|
@zindex-affix : 10;
@zindex-back-top : 10;
|
e355dd49
梁灏
add Select Component
|
157
|
@zindex-select : 900;
|
be966e9f
梁灏
add Modal component
|
158
|
@zindex-modal : 1000;
|
7c15ac9e
梁灏
add Message compo...
|
159
|
@zindex-message : 1010;
|
40f8606f
梁灏
add Notice component
|
160
|
@zindex-notification : 1010;
|
dce3e753
梁灏
add Tooltip compo...
|
161
|
@zindex-tooltip : 1060;
|
595cfa72
梁灏
fixed #1187 #844 ...
|
162
|
@zindex-transfer : 1060;
|
9dde24b6
梁灏
add LoadingBar co...
|
163
|
@zindex-loading-bar : 2000;
|
297648f1
梁灏
fixed #1063
|
164
|
@zindex-spin-fullscreen : 2010;
|
7fa943eb
梁灏
init
|
165
166
|
// Animation
|
7c15ac9e
梁灏
add Message compo...
|
167
|
@animation-time : .3s;
|
7fa943eb
梁灏
init
|
168
|
@transition-time : .2s;
|
69576f47
梁灏
add Slider component
|
169
170
171
|
@ease-in-out : ease-in-out;
// Slider
|
41d90ccf
梁灏
Slider can show s...
|
172
|
@slider-color : tint(@primary-color, 20%);
|
69576f47
梁灏
add Slider component
|
173
174
175
|
@slider-height : 4px;
@slider-margin : 16px 0;
@slider-button-wrap-size : 18px;
|
ba3e34e0
梁灏
update some styles
|
176
|
@slider-button-wrap-offset : -4px;
|
a1530fac
梁灏
update Avatar
|
177
178
179
180
181
182
183
184
185
186
187
|
@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
|
188
189
190
191
|
@avatar-border-radius: @border-radius-small;
// Anchor
@anchor-border-width: 2px;
|