Skip to content

Commit fefdaf2

Browse files
committed
Add hover state to badge on conditions modal button.
1 parent db8daf6 commit fefdaf2

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/css/common/_upsell.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
line-height: inherit;
126126
margin-block: 16px 24px;
127127
margin-inline: auto;
128+
border-color: currentcolor;
128129

129130
&:hover {
130131
background-color: color.adjust(#d46f4d, $lightness: -10%);

src/css/edit/_form.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,19 @@ $sidebar-gap: 30px;
3535
border-color: #ccc;
3636
padding-block: 6px;
3737
padding-inline: 12px;
38-
39-
.pro-badge {
40-
margin-inline-start: auto;
41-
}
4238
}
4339

4440
&.no-condition .cond-badge {
4541
background: transparent;
4642
color: inherit;
4743
border: 1px solid currentcolor;
4844
}
45+
46+
&.no-condition:hover .cond-badge {
47+
color: #fff;
48+
background: theme.$accent;
49+
border-color: theme.$accent;
50+
}
4951
}
5052

5153
.snippet-form {

0 commit comments

Comments
 (0)