Skip to content

Commit

Permalink
style:set disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
fifthThirteen committed Dec 7, 2023
1 parent c433d95 commit aaa508d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/assets/css/nav_v4.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@
justify-content: center;
.r(5px);
cursor: pointer;
&:hover {
&:not(.is-disabled):hover {
background-color: rgba(#fff, 0.3);
}
&.is-disabled {
cursor: not-allowed;
}
}
svg {
.db;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Nav_v4.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<a v-if="navStatus === 2" class="u-home" href="/pvx">
<img :src="require(`@/assets/img/nav/home${active === 'pvx' ? '' : '1'}.svg`)" svg-inline />
</a>
<span class="u-setting" v-if="navStatus === 2">
<span class="u-setting is-disabled" v-if="navStatus === 2">
<img src="@/assets/img/nav/setting.svg" svg-inline />
</span>
</div>
Expand Down

0 comments on commit aaa508d

Please sign in to comment.