diff --git a/assets/css/style.scss b/assets/css/style.scss index daa286bb700a5bb2a03e2b4c8537b4385e20f015..eb6eb00f86617d56c3252fbbbd11387e9720e608 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 70154d9833651ded227db4c9f9909bded33857da..080111ef957885d3aef2fa24e8258ec08615ae73 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 e9200fca5e1814c013089a0d69f66db79aaa7e02..369e77dfdbd86eacb72ed3f32b4b043edce7771b 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 4b39f5cd9778bd211f78589d962d7664e8c020dc..f1b14a8adb76f93302dae65872bc9d0f7fef1046 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 10cab613bb058a5021b496c35e042fef01515fc0..8177998a28b7518427c0faa377c9fa8746933d42 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 ba506dcc9b5a3d531eb854b4e9294cede9c232d3..71f930b4186b5f4f7e5737607923d095c530ec20 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",