blob: a6df04fa0b7389815ea20bc97666a79db4c40ca8 (
plain)
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
|
// Base
*,
*::before,
*::after {
box-sizing: inherit;
}
html {
box-sizing: border-box;
font-size: @html-font-size;
line-height: @html-line-height;
-webkit-tap-highlight-color: transparent;
}
body {
background: @body-bg;
color: @body-font-color;
font-family: @body-font-family;
font-size: @body-font-size;
overflow-x: hidden;
text-rendering: optimizeLegibility;
}
a {
color: @core-link-color;
text-decoration: underline;
&:focus,
&:hover {
color: darken(@core-link-color, 25%);
}
}
// Focus state
:focus {
.control-shadow();
outline: 0;
}
// Disabled state
&[disabled],
.disabled {
cursor: default;
opacity: .5;
pointer-events: none;
}
// Icons
.btn,
.toast,
.menu {
.icon {
font-size: 1.3333em;
line-height: .8em;
margin-right: .2rem;
vertical-align: -20%;
}
}
// Caret
.icon-caret {
border-top: .4rem solid currentColor;
border-right: .4rem solid transparent;
border-left: .4rem solid transparent;
display: inline-block;
height: 0;
margin: 0 .2rem;
vertical-align: middle;
width: 0;
}
|