-
Notifications
You must be signed in to change notification settings - Fork 51
/
ant-theme-vars.less
134 lines (105 loc) · 2.24 KB
/
ant-theme-vars.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
// ant-default-vars.less
// Available theme variables can be found in
// https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less
@primary-color: #546677;
@info-color: #03A6D7;
@success-color: #62c876;
@processing-color: #20718A;
@error-color: #ff3b3d;
@highlight-color: @info-color;
@warning-color: #ffa800;
@normal-color: #d9d9d9;
@neutral-color: #BDD4DC;
@muted-color: #A2B3BE;
@layout-body-background: #fff;
@btn-primary-bg: @primary-color;
// antd component overrides - tachyons not used because these apply globally to
// the antd components
.teaserHeader .ant-layout {
display: flex;
flex-direction: row;
align-items: baseline;
}
.ant-tag {
vertical-align: middle;
}
.ant-card {
color: @primary-color;
}
.ant-collapse-content > .ant-collapse-content-box {
padding-top: 0;
padding-bottom: 0;
}
.ant-collapse > .ant-collapse-item.ant-collapse-no-arrow > .ant-collapse-header {
padding-right: 12px;
}
.ant-input-search {
height: 2rem;
line-height: 2rem;
margin-top: 1rem;
margin-bottom: 1rem;
}
.checkbox, .checkbox svg {
vertical-align: sub;
}
.list-group-item {
position: relative;
display: block;
margin-bottom: 0;
padding: 0.62rem 1rem;
border: 1px solid @neutral-color;
background-color: @layout-body-background;
}
// Utility classes not included in Tachiyons
// https://github.com/tachyons-css/tachyons/blob/master/css/tachyons.css
// Most utility classes required for basic layouts and styling are found here:
// http://tachyons.io/#style
// Detailed documentation: http://tachyons.io/docs
.txt-primary {
color: @primary-color;
}
.txt-warn {
color: @warning-color;
}
.txt-newblue {
color: @processing-color;
}
.txt-error {
color: @error-color;
}
.txt-success {
color: @success-color;
}
.txt-info {
color: @info-color;
}
.txt-muted {
color: @muted-color;
}
.txt-neutral {
color: @neutral-color;
}
.bg-primary {
background-color: @primary-color;
}
.bg-warn {
background-color: @warning-color;
}
.bg-error {
background-color: @error-color;
}
.bg-success {
background-color: @success-color;
}
.bg-info {
background-color: @info-color;
}
.bg-muted {
background-color: #A2B3BE;
}
.bg-neutral {
background-color: #BDD4DC;
}
.d-inh {
display: inherit;
}