Skip to content

Commit eba5baf

Browse files
committed
fix: darken card action btn hover state
1 parent 78f01d2 commit eba5baf

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

src/generic/block-type-utils/index.scss

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
.pgn__icon {
55
color: white;
66
}
7+
8+
.btn-icon {
9+
&:hover, &:active, &:focus {
10+
background-color: darken(#005C9E, 15%);
11+
}
12+
}
713
}
814

915
.component-style-html {
@@ -12,6 +18,12 @@
1218
.pgn__icon {
1319
color: white;
1420
}
21+
22+
.btn-icon {
23+
&:hover, &:active, &:focus {
24+
background-color: darken(#9747FF, 15%);
25+
}
26+
}
1527
}
1628

1729
.component-style-collection {
@@ -20,6 +32,12 @@
2032
.pgn__icon {
2133
color: black;
2234
}
35+
36+
.btn-icon {
37+
&:hover, &:active, &:focus {
38+
background-color: darken(#FFCD29, 15%);
39+
}
40+
}
2341
}
2442

2543
.component-style-video {
@@ -28,6 +46,12 @@
2846
.pgn__icon {
2947
color: white;
3048
}
49+
50+
.btn-icon {
51+
&:hover, &:active, &:focus {
52+
background-color: darken(#358F0A, 15%);
53+
}
54+
}
3155
}
3256

3357
.component-style-vertical {
@@ -36,6 +60,12 @@
3660
.pgn__icon {
3761
color: white;
3862
}
63+
64+
.btn-icon {
65+
&:hover, &:active, &:focus {
66+
background-color: darken(#0B8E77, 15%);
67+
}
68+
}
3969
}
4070

4171
.component-style-other {
@@ -44,4 +74,10 @@
4474
.pgn__icon {
4575
color: white;
4676
}
77+
78+
.btn-icon {
79+
&:hover, &:active, &:focus {
80+
background-color: darken(#646464, 15%);
81+
}
82+
}
4783
}

0 commit comments

Comments
 (0)