Skip to content

Commit 3e0feeb

Browse files
committed
fix: enhance badge styles for row actions and improve pro badge hover effects
1 parent 6da6687 commit 3e0feeb

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

src/css/common/_badges.scss

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
@at-root .row-actions & {
2424
color: #8c8c8c;
2525
padding-inline: 0px;
26+
text-transform: capitalize;
27+
font-weight: 500;
2628
}
2729

2830
.dashicons {
@@ -85,6 +87,33 @@
8587
.inverted-badges .badge {
8688
color: #fff;
8789
background-color: #a7aaad;
90+
border-color: #fff !important;
91+
92+
.dashicons {
93+
color: #fff;
94+
}
95+
}
96+
97+
.nav-tab-inactive {
98+
$colors: map.get(theme.$badges, 'pro');
99+
$text-color: list.nth($colors, 2);
100+
$background-color: list.nth($colors, 1);
101+
102+
.badge.pro-badge {
103+
color: $text-color;
104+
background-color: $background-color;
105+
}
106+
107+
&:hover {
108+
&.button, .dashicons-external {
109+
color: #3c434a;
110+
}
111+
112+
.badge.pro-badge {
113+
color: $background-color;
114+
background-color: $text-color;
115+
}
116+
}
88117
}
89118

90119
.nav-tab-inactive {

0 commit comments

Comments
 (0)