From 9af1f9d1efe433834ecf29a5648504582b753859 Mon Sep 17 00:00:00 2001 From: paidge <paidge_cs@hotmail.com> Date: Wed, 23 Feb 2022 00:48:50 +0100 Subject: [PATCH] v2.1.0 --- assets/css/style.scss | 8 ++++++++ components/badge/Danger.vue | 3 +-- components/btn/Sort.vue | 3 +-- components/btn/Theme.vue | 3 +-- components/member/Prop.vue | 3 +-- package.json | 2 +- 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/assets/css/style.scss b/assets/css/style.scss index daa286b..eb6eb00 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -157,3 +157,11 @@ a:hover { .icon { width: 1.3rem; } + +.help { + cursor: help; +} + +.pointer { + cursor: pointer; +} diff --git a/components/badge/Danger.vue b/components/badge/Danger.vue index 70154d9..080111e 100644 --- a/components/badge/Danger.vue +++ b/components/badge/Danger.vue @@ -1,9 +1,8 @@ <template> <span - class="d-inline-block" + class="d-inline-block help" :class="classBadge" :title="title" - style="cursor: help" v-if="!['NEWCOMER', 'REVOKED'].includes(memberStatus)" ><solid-shield-check-icon v-if="$options.filters.dateStatus(limitDate) == 'success'" /> diff --git a/components/btn/Sort.vue b/components/btn/Sort.vue index e9200fc..369e77d 100644 --- a/components/btn/Sort.vue +++ b/components/btn/Sort.vue @@ -1,5 +1,5 @@ <template> - <div class="btn-sort px-2" tabindex="0" :title="$t('tri.action')"> + <div class="btn-sort pointer px-2" tabindex="0" :title="$t('tri.action')"> <span class="text-truncate">{{ title }}</span> <solid-sort-ascending-icon aria-hidden="true" @@ -44,7 +44,6 @@ export default { justify-content: center; align-items: center; min-height: 50px; - cursor: pointer; background: var(--bg-secondary-color); color: var(--txt-secondary-color); diff --git a/components/btn/Theme.vue b/components/btn/Theme.vue index 4b39f5c..f1b14a8 100644 --- a/components/btn/Theme.vue +++ b/components/btn/Theme.vue @@ -7,7 +7,7 @@ class="switch-checkbox" /> <label for="checkbox" - class="switch-label d-flex align-items-center justify-content-between position-relative mb-0 form-control" + class="switch-label pointer d-flex align-items-center justify-content-between position-relative mb-0 form-control" tabindex="0"> <span class="visually-hidden"> {{ @@ -72,7 +72,6 @@ export default { --element-size: 4rem; background: var(--txt-primary-color); border-radius: var(--element-size); - cursor: pointer; font-size: calc(var(--element-size) * 0.3); height: calc(var(--element-size) * 0.35); padding: calc(var(--element-size) * 0.1); diff --git a/components/member/Prop.vue b/components/member/Prop.vue index 10cab61..8177998 100644 --- a/components/member/Prop.vue +++ b/components/member/Prop.vue @@ -1,5 +1,5 @@ <template> - <tr v-tooltip="{ title: tooltip, placement: 'right' }"> + <tr class="help" v-tooltip="{ title: tooltip, placement: 'right' }"> <th scope="row" class="fw-normal">{{ title }} :</th> <td :class="classClor"> <slot></slot> @@ -24,7 +24,6 @@ export default { tr { display: flex; flex-direction: column; - cursor: default; user-select: none; } diff --git a/package.json b/package.json index ba506dc..71f930b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wotwizard-ui", - "version": "2.0.0", + "version": "2.1.0", "private": true, "scripts": { "dev": "nuxt", -- GitLab