-
Notifications
You must be signed in to change notification settings - Fork 533
/
Copy pathtext.less
40 lines (29 loc) · 1021 Bytes
/
text.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
// Text
// -------------------
.text-smaller {
font-size: smaller;
}
.text-subtle { color: @text-color-subtle; }
.text-highlight { color: @text-color-highlight; }
.text-info { color: @text-color-info; }
.text-success { color: @text-color-success; }
.text-warning { color: @text-color-warning; }
.text-error { color: @text-color-error; }
// Highlights ---------------
.highlight { .highlight-mixin(@background-color-highlight); }
.highlight-info { .highlight-mixin(@background-color-info); }
.highlight-warning { .highlight-mixin(@background-color-warning); }
.highlight-error { .highlight-mixin(@background-color-error); }
.highlight-success { .highlight-mixin(@background-color-success); }
.highlight-mixin(@color) {
padding: 1px 4px;
color: @text-color-highlight;
border-radius: @component-border-radius;
background-color: @color;
}
// Background Message ---------------
// Shown when no tabs are open.
.background-message {
font-weight: bold;
color: @text-color-subtle;
}