Replace public server verified badge classes

This commit is contained in:
FedeIlLeone 2022-10-18 23:08:01 +02:00
parent 2b2bdc88f2
commit 0af92b3fbb
2 changed files with 41 additions and 6 deletions

View File

@ -239,6 +239,42 @@
color: #FFFFFF;
}
.bd-server-verified-container {
display: flex;
align-items: center;
justify-content: center;
position: relative;
flex: 0 0 16px;
width: 16px;
height: 16px;
margin-right: 4px;
margin-left: -2px;
color: #43B581;
}
.bd-server-verified-badge {
width: 100%;
height: 100%;
}
.bd-server-verified {
position: absolute;
top: -.05px;
left: .05px;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
}
.bd-server-verified-icon {
width: 100%;
height: 100%;
color: #FFFFFF;
}
.bd-pagination {
display: flex;
justify-content: space-between;

View File

@ -1,15 +1,14 @@
import {React, Strings} from "modules";
const badge = <div className="flowerStarContainer-1QeD-L verified-1Jv_7P background-3Da2vZ guildBadge-U9DBt_"
style={{width: "16px", height: "16px"}}>
<svg aria-label="Verified &amp; Partnered" className="flowerStar-2tNFCR"
aria-hidden="false" width="16" height="16" viewBox="0 0 16 15.2">
const badge = <div className="bd-server-verified-container">
<svg aria-label="Verified &amp; Partnered" className="bd-server-verified-badge"
aria-hidden="false" viewBox="0 0 16 15.2">
<path fill="currentColor" fillRule="evenodd"
d="m16 7.6c0 .79-1.28 1.38-1.52 2.09s.44 2 0 2.59-1.84.35-2.46.8-.79 1.84-1.54 2.09-1.67-.8-2.47-.8-1.75 1-2.47.8-.92-1.64-1.54-2.09-2-.18-2.46-.8.23-1.84 0-2.59-1.54-1.3-1.54-2.09 1.28-1.38 1.52-2.09-.44-2 0-2.59 1.85-.35 2.48-.8.78-1.84 1.53-2.12 1.67.83 2.47.83 1.75-1 2.47-.8.91 1.64 1.53 2.09 2 .18 2.46.8-.23 1.84 0 2.59 1.54 1.3 1.54 2.09z">
</path>
</svg>
<div className="childContainer-U_a6Yh">
<svg className="icon-3BYlXK" aria-hidden="false" width="16" height="16" viewBox="0 0 16 15.2">
<div className="bd-server-verified">
<svg className="bd-server-verified-icon" aria-hidden="false" viewBox="0 0 16 15.2">
<path d="M7.4,11.17,4,8.62,5,7.26l2,1.53L10.64,4l1.36,1Z" fill="currentColor"></path>
</svg>
</div>