7fa943eb
梁灏
init
|
1
2
|
// Prefix
@css-prefix : ivu-;
|
e1596b7e
梁灏
add Button UI
|
3
|
@css-prefix-iconfont : ivu-icon;
|
7fa943eb
梁灏
init
|
4
5
6
7
8
9
10
11
12
13
14
15
|
// Color
@primary-color : #0099e5;
@info-color : #2db7f5;
@success-color : #5cb85c;
@error-color : #ff5500;
@warning-color : #f0ad4e;
@link-color : #0099e5;
@link-hover-color : tint(@link-color, 20%);
@link-active-color : shade(@link-color, 5%);
// Base
@body-background : #fff;
|
7fa943eb
梁灏
init
|
16
17
18
19
20
21
22
|
@font-family : "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
@code-family : Consolas,Menlo,Courier,monospace;
@text-color : #525558;
@font-size-base : 14px;
@line-height-base : 1.5;
@line-height-computed : floor((@font-size-base * @line-height-base));
@border-radius-base : 6px;
|
15bae144
梁灏
add Card component
|
23
|
@border-radius-small : 4px;
|
e1596b7e
梁灏
add Button UI
|
24
|
@cursor-disabled : not-allowed;
|
15bae144
梁灏
add Card component
|
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// Border color
@border-color-base : #d9d9d9; // outside
@border-color-split : #e9e9e9; // inside
// Background color
@background-color-base : #f7f7f7; // base
// 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
|
41
|
|
e1596b7e
梁灏
add Button UI
|
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
|
// Button
@btn-font-weight : 400;
@btn-padding-base : 4px 15px;
@btn-padding-large : 4px 15px 5px 15px;
@btn-padding-small : 1px 7px;
@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%);
@btn-disable-color : #ccc;
@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;
@btn-circle-size-large : 32px;
@btn-circle-size-small : 22px;
|
7fa943eb
梁灏
init
|
72
73
74
75
|
// Layout and Grid
@grid-columns : 24;
@grid-gutter-width : 0;
|
9d69bab6
梁灏
add Alert component
|
76
77
78
|
// Legend
@legend-color : #999;
|
7fa943eb
梁灏
init
|
79
80
81
82
|
// Z-index
@zindex-affix : 10;
@zindex-back-top : 10;
@zindex-spin : 8;
|
7c15ac9e
梁灏
add Message compo...
|
83
|
@zindex-message : 1010;
|
40f8606f
梁灏
add Notice component
|
84
|
@zindex-notification : 1010;
|
7fa943eb
梁灏
init
|
85
86
|
// Animation
|
7c15ac9e
梁灏
add Message compo...
|
87
|
@animation-time : .3s;
|
7fa943eb
梁灏
init
|
88
|
@transition-time : .2s;
|
7c15ac9e
梁灏
add Message compo...
|
89
|
@ease-in-out : ease-in-out;
|