@@ -12,29 +12,16 @@ $button-secondary-border-color: $button-primary-border-color;
1212 padding : .5rem 1.5rem ;
1313 border-color : transparent !important ;
1414 // box-shadow: 1px 1px 8px 0 bulmaLighten($primary-invert, 50);
15- color : $primary ;
16- background-color : $primary-invert ;
1715 font-family : $family-primary ;
1816
17+ & ,
1918 & :hover ,
2019 & .is-hovered ,
2120 & :focus ,
22- & .is-focused {
23- box-shadow : 0 .125rem .375rem rgba (0 , 0 , 0 , .15 );
24- background-color : $primary !important ;
25- color : $primary-invert !important ;
26- border-color : $primary-invert !important ;
27-
28- & :active {
29- background-color : $primary-invert !important ;
30- color : $primary !important ;
31- text-decoration : underline !important ;
32- outline : none !important ;
33-
34- .icon {
35- fill : currentColor !important ;
36- }
37- }
21+ & .is-focused ,
22+ & :active {
23+ color : $primary ;
24+ background-color : $primary-invert ;
3825 }
3926
4027 .icon {
@@ -56,19 +43,12 @@ $button-secondary-border-color: $button-primary-border-color;
5643
5744 & :hover ,
5845 & :focus {
59- color : $primary !important ;
60- background-color : $primary-invert !important ;
46+ color : $primary-invert !important ;
47+ background-color : $primary !important ;
6148 border-color : $primary-invert !important ;
6249
6350 .icon {
64- fill : $primary !important ;
65- }
66- }
67-
68- & .is-outlined {
69- & :hover ,
70- & :focus {
71- border-color : $primary-invert !important ;
51+ fill : $primary-invert !important ;
7252 }
7353 }
7454
@@ -87,23 +67,6 @@ $button-secondary-border-color: $button-primary-border-color;
8767 fill : currentColor !important ;
8868 color : inherit ;
8969 }
90-
91- & :hover ,
92- & :focus {
93- background-color : $link-hover !important ;
94-
95- .icon {
96- fill : currentColor !important ;
97- color : inherit ;
98- }
99- }
100-
101- & :active ,
102- & .is-active {
103- background-color : $primary !important ;
104- color : $primary-invert !important ;
105- border-color : $primary-invert !important ;
106- }
10770 }
10871
10972 & .is-secondary {
@@ -113,30 +76,11 @@ $button-secondary-border-color: $button-primary-border-color;
11376 .icon {
11477 fill : currentColor !important ;
11578 }
116-
117- & :hover ,
118- & .is-hovered ,
119- & :focus ,
120- & .is-focused {
121- border-color : $primary-invert !important ;
122- background-color : $primary !important ;
123- color : $primary-invert !important ;
124-
125- .icon {
126- fill : currentColor !important ;
127- }
128- }
12979 }
13080
13181 & .is-outlined {
13282 border-color : $primary-invert !important ;
13383 background-color : transparent !important ;
13484 color : $primary-invert !important ;
135-
136- & :hover ,
137- & :focus {
138- background-color : $primary-invert !important ;
139- color : $primary !important ;
140- }
14185 }
14286}
0 commit comments