-
Notifications
You must be signed in to change notification settings - Fork 125
/
link.less
61 lines (48 loc) · 1.19 KB
/
link.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
@import "./lib.less";
._veui-link {
cursor: pointer;
color: @dls-link-font-color-normal;
text-decoration: @dls-link-text-decoration;
outline: none;
.veui-transition(color);
&:hover {
color: @dls-link-font-color-normal-hover;
text-decoration: @dls-link-text-decoration-hover;
}
&[data-focus-visible-added] {
color: @dls-link-font-color-normal-focus;
text-decoration: @dls-link-text-decoration-focus;
}
&:active {
color: @dls-link-font-color-normal-active;
text-decoration: @dls-link-text-decoration-active;
}
&.@{veui-prefix}-disabled {
text-decoration: @dls-link-text-decoration;
&,
&:hover {
color: @dls-link-font-color-normal-disabled;
}
}
&[ui~="s"] {
font-size: @dls-link-font-size-s;
}
&[ui~="m"] {
font-size: @dls-link-font-size-m;
}
&[ui~="strong"] {
color: @dls-link-font-color-strong;
&:hover {
color: @dls-link-font-color-strong-hover;
}
&[data-focus-visible-added] {
color: @dls-link-font-color-strong-focus;
}
&:active {
color: @dls-link-font-color-strong-active;
}
&.@{veui-prefix}-disabled {
color: @dls-link-font-color-strong-disabled;
}
}
}