mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-20 07:49:57 +00:00
feat: update hover color and bg for action more button (#983)
This commit is contained in:
parent
2ddfdffa3d
commit
34aef0a55f
3 changed files with 5 additions and 5 deletions
|
@ -20,7 +20,7 @@ function close() {
|
||||||
<div>
|
<div>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
<button text-xl hover:text-primary bg-hover-overflow w="1.4em" h="1.4em" @click="close()">
|
<button text-xl hover:text-primary bg-hover-overflow w="1.2em" h="1.2em" @click="close()">
|
||||||
<div i-ri:close-line />
|
<div i-ri:close-line />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -121,9 +121,9 @@ const showFavoritedAndBoostedBy = () => {
|
||||||
<CommonDropdown flex-none ms3 placement="bottom" :eager-mount="command">
|
<CommonDropdown flex-none ms3 placement="bottom" :eager-mount="command">
|
||||||
<StatusActionButton
|
<StatusActionButton
|
||||||
:content="$t('action.more')"
|
:content="$t('action.more')"
|
||||||
color="text-purple"
|
color="text-primary"
|
||||||
hover="text-purple"
|
hover="text-primary"
|
||||||
group-hover="bg-purple/10"
|
group-hover="bg-primary-light"
|
||||||
icon="i-ri:more-line"
|
icon="i-ri:more-line"
|
||||||
my--2
|
my--2
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -57,7 +57,7 @@ export default defineConfig({
|
||||||
'flex-center': 'items-center justify-center',
|
'flex-center': 'items-center justify-center',
|
||||||
'flex-v-center': 'items-center',
|
'flex-v-center': 'items-center',
|
||||||
'flex-h-center': 'justify-center',
|
'flex-h-center': 'justify-center',
|
||||||
'bg-hover-overflow': 'relative z-0 transition-colors duration-250 after-content-empty after:(absolute inset--2px bg-transparent rounded-lg z--1 transition-colors duration-250) hover:after:(bg-active)',
|
'bg-hover-overflow': 'relative z-0 transition-colors duration-250 after-content-empty after:(absolute inset--4px bg-transparent rounded-full z--1 transition-colors duration-250) hover:after:(bg-active)',
|
||||||
|
|
||||||
'timeline-title-style': 'text-primary text-lg font-bold',
|
'timeline-title-style': 'text-primary text-lg font-bold',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue