fix support level indicator

This commit is contained in:
Tamius Han 2025-01-05 00:06:59 +01:00
parent 3736a55bad
commit a5d0c0b6b7

View File

@ -8,7 +8,7 @@
</div> </div>
</div> </div>
<div v-if="siteSupportLevel === 'community'" class="site-support community"> <div v-if="siteSupportLevel === 'community'" class="site-support community">
<mdicon name="handshake" /> <mdicon name="account-group" />
<div v-if="!small">Community</div> <div v-if="!small">Community</div>
<div class="tooltip"> <div class="tooltip">
<template v-if="small">Community&nbsp;&nbsp;</template> <template v-if="small">Community&nbsp;&nbsp;</template>
@ -35,7 +35,7 @@
You have manually changed settings for this site. The extension is doing what you told it to do. You have manually changed settings for this site. The extension is doing what you told it to do.
</div> </div>
</div> </div>
<div v-if="siteSupportLevel === 'community'"> <div v-if="siteSupportLevel === 'officially-disabled'" class="site-support officially-disabled">
<mdicon class="site-support no-support" name="checkbox-marked-circle" /> <mdicon class="site-support no-support" name="checkbox-marked-circle" />
<div v-if="!small">Not supported</div> <div v-if="!small">Not supported</div>
<div class="tooltip"> <div class="tooltip">
@ -113,7 +113,7 @@ export default {
} }
} }
&.no-support { &.officially-disabled {
background-color: rgb(132, 24, 40); background-color: rgb(132, 24, 40);
color: #eee; color: #eee;
@ -122,6 +122,15 @@ export default {
} }
} }
&.no-support {
background-color: rgb(83, 76, 77);
color: #eee;
.mdi {
fill: #eee !important;
}
}
&.user-added { &.user-added {
border: 1px solid #ff0; border: 1px solid #ff0;