7fa943eb
梁灏
init
|
1
2
|
// Prefix
@css-prefix : ivu-;
|
e1596b7e
梁灏
add Button UI
|
3
|
@css-prefix-iconfont : ivu-icon;
|
7fa943eb
梁灏
init
|
4
|
// Color
|
d2203972
梁灏
add gutter to Row...
|
5
|
@primary-color : #3399ff;
|
7fa943eb
梁灏
init
|
6
|
@info-color : #2db7f5;
|
d2203972
梁灏
add gutter to Row...
|
7
8
|
@success-color : #00cc66;
@warning-color : #ff9900;
|
7fa943eb
梁灏
init
|
9
|
@error-color : #ff5500;
|
d2203972
梁灏
add gutter to Row...
|
10
|
@link-color : #3399ff;
|
7fa943eb
梁灏
init
|
11
12
|
@link-hover-color : tint(@link-color, 20%);
@link-active-color : shade(@link-color, 5%);
|
e355dd49
梁灏
add Select Component
|
13
|
@selected-color : fade(@primary-color, 90%);
|
dce3e753
梁灏
add Tooltip compo...
|
14
|
@tooltip-color : #fff;
|
7fa943eb
梁灏
init
|
15
16
17
|
// Base
@body-background : #fff;
|
7fa943eb
梁灏
init
|
18
19
|
@font-family : "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
@code-family : Consolas,Menlo,Courier,monospace;
|
a901da64
梁灏
optimize Alert style
|
20
|
@title-color : #464c5b;
|
d2203972
梁灏
add gutter to Row...
|
21
|
@text-color : #657180;
|
7fa943eb
梁灏
init
|
22
|
@font-size-base : 14px;
|
dce3e753
梁灏
add Tooltip compo...
|
23
|
@font-size-small : 12px;
|
7fa943eb
梁灏
init
|
24
25
26
|
@line-height-base : 1.5;
@line-height-computed : floor((@font-size-base * @line-height-base));
@border-radius-base : 6px;
|
15bae144
梁灏
add Card component
|
27
|
@border-radius-small : 4px;
|
e1596b7e
梁灏
add Button UI
|
28
|
@cursor-disabled : not-allowed;
|
15bae144
梁灏
add Card component
|
29
30
|
// Border color
|
d2203972
梁灏
add gutter to Row...
|
31
32
|
@border-color-base : #d7dde4; // outside
@border-color-split : #e3e8ee; // inside
|
15bae144
梁灏
add Card component
|
33
34
|
// Background color
|
e355dd49
梁灏
add Select Component
|
35
36
|
@background-color-base : #f7f7f7; // base
@background-color-select-hover: @input-disabled-bg;
|
dce3e753
梁灏
add Tooltip compo...
|
37
|
@tooltip-bg : #373737;
|
15bae144
梁灏
add Card component
|
38
39
40
41
42
43
44
45
46
|
// Shadow
@shadow-color : rgba(100, 100, 100, .2);
@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
|
47
|
|
e1596b7e
梁灏
add Button UI
|
48
|
// Button
|
3e855e34
梁灏
fixed #46
|
49
|
@btn-font-weight : normal;
|
e1596b7e
梁灏
add Button UI
|
50
|
@btn-padding-base : 4px 15px;
|
698e3b61
梁灏
iButton add some ...
|
51
52
|
@btn-padding-large : 6px 15px 7px 15px;
@btn-padding-small : 2px 7px;
|
e1596b7e
梁灏
add Button UI
|
53
54
55
56
57
58
|
@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%);
|
d2203972
梁灏
add gutter to Row...
|
59
|
@btn-disable-color : #c3cbd6;
|
e1596b7e
梁灏
add Button UI
|
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
@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;
@btn-circle-size : 28px;
|
f1b3ed30
梁灏
Button add circle...
|
75
76
|
@btn-circle-size-large : 36px;
@btn-circle-size-small : 24px;
|
e1596b7e
梁灏
add Button UI
|
77
|
|
7fa943eb
梁灏
init
|
78
79
80
81
|
// Layout and Grid
@grid-columns : 24;
@grid-gutter-width : 0;
|
9d69bab6
梁灏
add Alert component
|
82
83
84
|
// Legend
@legend-color : #999;
|
95436eeb
梁灏
add InputNumber UI
|
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
// Input
@input-height-base : 28px;
@input-height-large : 32px;
@input-height-small : 22px;
@input-padding-horizontal : 7px;
@input-padding-vertical-base : 4px;
@input-padding-vertical-small: 1px;
@input-padding-vertical-large: 6px;
@input-placeholder-color : #ccc;
@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
|
104
105
106
|
// Tag
@tag-font-size : 12px;
|
7fa943eb
梁灏
init
|
107
|
// Z-index
|
be966e9f
梁灏
add Modal component
|
108
|
@zindex-spin : 8;
|
7fa943eb
梁灏
init
|
109
110
|
@zindex-affix : 10;
@zindex-back-top : 10;
|
e355dd49
梁灏
add Select Component
|
111
|
@zindex-select : 900;
|
be966e9f
梁灏
add Modal component
|
112
|
@zindex-modal : 1000;
|
7c15ac9e
梁灏
add Message compo...
|
113
|
@zindex-message : 1010;
|
40f8606f
梁灏
add Notice component
|
114
|
@zindex-notification : 1010;
|
dce3e753
梁灏
add Tooltip compo...
|
115
|
@zindex-tooltip : 1060;
|
9dde24b6
梁灏
add LoadingBar co...
|
116
|
@zindex-loading-bar : 2000;
|
7fa943eb
梁灏
init
|
117
118
|
// Animation
|
7c15ac9e
梁灏
add Message compo...
|
119
|
@animation-time : .3s;
|
7fa943eb
梁灏
init
|
120
|
@transition-time : .2s;
|
7c15ac9e
梁灏
add Message compo...
|
121
|
@ease-in-out : ease-in-out;
|