blob: 680659b8b65e33624fb834904fe241f0b3352811 (
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
|
$v-link-font-color: $v-focus-color !default;
$v-link-text-decoration: underline !default;
$v-link-cursor: pointer !default;
@mixin valo-link ($primary-stylename: v-link, $include-additional-styles: contains($v-included-additional-styles, link)) {
.#{$primary-stylename} {
@include valo-link-style;
a {
cursor: inherit;
color: inherit;
text-decoration: inherit;
@if $v-animations-enabled {
@include transition(inherit);
}
}
.v-icon {
cursor: inherit;
}
}
@if $include-additional-styles {
.#{$primary-stylename}-small {
font-size: $v-font-size--small;
}
.#{$primary-stylename}-large {
font-size: $v-font-size--large;
}
}
}
@mixin valo-link-style {
cursor: $v-link-cursor;
color: $v-link-font-color;
text-decoration: $v-link-text-decoration;
font-weight: inherit;
@if $v-animations-enabled {
@include transition(color 140ms);
}
&:hover {
color: lighten($v-link-font-color, 10%);
}
}
|