1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

darken hover bg

This commit is contained in:
pat-s 2024-12-22 11:02:19 +01:00
parent d23f5385bb
commit 220f5d77b3
No known key found for this signature in database
GPG Key ID: 3C6318841EF78925
3 changed files with 4 additions and 4 deletions

View File

@ -27,8 +27,8 @@ repos:
rev: v2.13.1-beta rev: v2.13.1-beta
hooks: hooks:
- id: hadolint - id: hadolint
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com//rbubley/mirrors-prettier
rev: v4.0.0-alpha.8 rev: v3.4.2
hooks: hooks:
- id: prettier - id: prettier
- repo: https://github.com/adrienverge/yamllint.git - repo: https://github.com/adrienverge/yamllint.git

View File

@ -4,7 +4,7 @@
:to="to" :to="to"
class="flex border-wp-background-400 bg-wp-background-100 dark:bg-wp-background-400 p-4 border rounded-md w-full overflow-hidden" class="flex border-wp-background-400 bg-wp-background-100 dark:bg-wp-background-400 p-4 border rounded-md w-full overflow-hidden"
:class="{ :class="{
'cursor-pointer hover:shadow-md hover:bg-wp-background-300 dark:hover:bg-wp-background-300': clickable || to, 'cursor-pointer hover:shadow-md hover:bg-wp-background-300 dark:hover:bg-wp-background-500': clickable || to,
}" }"
> >
<slot /> <slot />

View File

@ -16,7 +16,7 @@
/> />
<Icon v-else name="blank" class="md:hidden" /> <Icon v-else name="blank" class="md:hidden" />
<span <span
class="flex flex-row md:justify-center items-center gap-2 dark:hover:bg-wp-background-300 hover:bg-wp-background-300 px-2 py-1 rounded-md w-full min-w-20" class="flex flex-row md:justify-center items-center gap-2 dark:hover:bg-wp-background-500 hover:bg-wp-background-300 px-2 py-1 rounded-md w-full min-w-20"
> >
<Icon v-if="tab.icon" :name="tab.icon" :class="tab.iconClass" class="flex-shrink-0" /> <Icon v-if="tab.icon" :name="tab.icon" :class="tab.iconClass" class="flex-shrink-0" />
<span>{{ tab.title }}</span> <span>{{ tab.title }}</span>