|
1 | | -.ftva.button-link { |
| 1 | +ftva.ftva.button-link { |
2 | 2 | --button-background-color: #{$accent-blue}; |
3 | 3 | --button-text-color: #{$pure-white}; |
4 | 4 | --button-border-color: #{$accent-blue}; |
|
7 | 7 | --button-icon-accent-color: #{$pure-white}; |
8 | 8 | @include ftva-button; |
9 | 9 |
|
10 | | - /* This is a hover class beacause we need to over-ride the swipe animation */ |
11 | | - &:hover, |
12 | | - .hover { |
13 | | - --button-background-color: #{$darker-blue}; |
14 | | - --button-border-color: #{$darker-blue}; |
15 | | - |
16 | | - --button-icon-single-color: #{$pure-white}; |
17 | | - --button-icon-withaccent-color: #{$pure-white}; |
18 | | - --button-icon-accent-color: #{$pure-white}; |
19 | | - @include ftva-button; |
20 | | - } |
21 | | - |
22 | 10 | &.is-secondary { |
23 | 11 | --button-background-color: #{$pure-white}; |
24 | 12 | --button-text-color: #{$accent-blue}; |
25 | 13 | --button-border-color: #{$accent-blue}; |
26 | 14 | --button-icon-single-color: #{$accent-blue}; |
27 | 15 | --button-icon-withaccent-color: #{$accent-blue}; |
28 | 16 | --button-icon-accent-color: #{$accent-blue}; |
29 | | - |
30 | | - &:hover, |
31 | | - .hover { |
32 | | - --button-background-color: #{$accent-blue}; |
33 | | - --button-text-color: #{$pure-white}; |
34 | | - --button-icon-single-color: #{$pure-white}; |
35 | | - --button-icon-withaccent-color: #{$pure-white}; |
36 | | - --button-icon-accent-color: #{$pure-white}; |
37 | | - } |
38 | | - } |
39 | | - |
40 | | - // General Styling |
41 | | - &:hover, |
42 | | - .hover { |
43 | | - transition-duration: unset; |
44 | | - transition-timing-function: unset; |
45 | | - } |
46 | | - |
47 | | - *:not(:only-child):first-child { |
48 | | - padding-left: 0px; |
49 | 17 | } |
50 | 18 |
|
51 | 19 | &.is-tertiary { |
|
55 | 23 | --button-icon-single-color: #{$accent-blue}; |
56 | 24 | --button-icon-withaccent-color: #{$accent-blue}; |
57 | 25 | --button-icon-accent-color: #{$accent-blue}; |
| 26 | + } |
58 | 27 |
|
59 | | - &:hover, |
60 | | - .hover { |
| 28 | + @media #{$has-hover} { |
| 29 | + &:hover { |
61 | 30 | --button-background-color: #{$darker-blue}; |
62 | | - --button-text-color: #{$pure-white}; |
| 31 | + --button-border-color: #{$darker-blue}; |
63 | 32 | --button-icon-single-color: #{$pure-white}; |
64 | 33 | --button-icon-withaccent-color: #{$pure-white}; |
65 | 34 | --button-icon-accent-color: #{$pure-white}; |
| 35 | + |
| 36 | + &.is-secondary { |
| 37 | + --button-background-color: #{$accent-blue}; |
| 38 | + --button-text-color: #{$pure-white}; |
| 39 | + --button-icon-single-color: #{$pure-white}; |
| 40 | + --button-icon-withaccent-color: #{$pure-white}; |
| 41 | + --button-icon-accent-color: #{$pure-white}; |
| 42 | + } |
| 43 | + |
| 44 | + &.is-tertiary { |
| 45 | + --button-background-color: #{$darker-blue}; |
| 46 | + --button-text-color: #{$pure-white}; |
| 47 | + --button-icon-single-color: #{$pure-white}; |
| 48 | + --button-icon-withaccent-color: #{$pure-white}; |
| 49 | + --button-icon-accent-color: #{$pure-white}; |
| 50 | + } |
| 51 | + |
| 52 | + transition-duration: unset; |
| 53 | + transition-timing-function: unset; |
66 | 54 | } |
67 | 55 | } |
| 56 | + |
| 57 | + *:not(:only-child):first-child { |
| 58 | + padding-left: 0px; |
| 59 | + } |
68 | 60 | } |
0 commit comments