リアクション戻した

This commit is contained in:
nullnyat 2022-02-07 22:49:30 +09:00
parent 8f85675275
commit ed727aac78
No known key found for this signature in database
GPG Key ID: 5EDC2816C3AE007A
2 changed files with 3 additions and 11 deletions

View File

@ -121,15 +121,12 @@ export default defineComponent({
margin: 2px; margin: 2px;
padding: 0 6px; padding: 0 6px;
border-radius: 4px; border-radius: 4px;
box-shadow: 0px 0px 4px 2px var(--bg) inset;
background-color: var(--accent);
&.canToggle { &.canToggle {
box-shadow: 0px 0px 4px 0px var(--accent) inset; background: rgba(0, 0, 0, 0.05);
background-color: var(--bg);
&:hover { &:hover {
background: var(--bg); background: rgba(0, 0, 0, 0.1);
} }
} }
@ -140,11 +137,6 @@ export default defineComponent({
&.reacted { &.reacted {
background: var(--accent); background: var(--accent);
&.canToggle {
box-shadow: 0px 0px 4px 0px var(--accent) inset;
background-color: var(--bg);
}
&:hover { &:hover {
background: var(--accent); background: var(--accent);
} }

View File

@ -14,7 +14,7 @@
:stroke-dashoffset="strokeDashoffset" :stroke-dashoffset="strokeDashoffset"
fill="none" fill="none"
stroke-width="0.1" stroke-width="0.1"
stroke="#CECEFF" stroke="#96CCE7"
/> />
<text x="50%" y="50%" dy="0.05" text-anchor="middle">{{ (value * 100).toFixed(0) }}%</text> <text x="50%" y="50%" dy="0.05" text-anchor="middle">{{ (value * 100).toFixed(0) }}%</text>
</svg> </svg>