volantis-x / hexo-theme-volantis

A Wonderful Theme for Hexo.
https://volantis.js.org
MIT License
1.98k stars 596 forks source link

【反馈】:自定义鼠标,悬浮在自定义右键菜单的导航栏项目上时,自定义鼠标不生效 #916

Closed ulua3809 closed 3 months ago

ulua3809 commented 3 months ago

检查清单

复现地址

https://volantis.js.org/v5/page-settings/

复现步骤

使用自定义鼠标,悬浮在自定义右键菜单的导航栏项目上时,自定义鼠标不生效

异常情况

Snipaste_2024-03-19_20-55-00

正常情况

Snipaste_2024-03-19_20-53-36

问题定位

Snipaste_2024-03-19_20-57-53

修复方法

blog\themes\volantis\source\css\_style\_plugins\_rightmenu\rightmenu.styl
line 6 - 16
ul.list-v.rightmenu
  display: block
  max-width: 240px
  overflow: hidden
  &.left
    right: 0
  &.top
    bottom: 0
  $cellH = 32px
  a
  // 删除下面这行,修复自定义光标在自定义菜单导航按钮失效
  //  cursor: default

配置文件

站点配置文件

```yml 在这里粘贴替换 `blog/_config.yml` 中修改过的部分 ```

主题配置文件

```yml 在这里粘贴替换 `themes/volantis/_config.yml` 中修改过的部分 ```

环境信息

node.js & npm

``` 在这里粘贴替换 `node -v && npm -v` 输出的信息 PS C:\Users\ulua> node -v ;; npm -v v20.11.1 10.2.4 ```

package.json

``` 在这里粘贴替换 `npm ls --depth 0` 输出的信息 hexo-site@0.0.0 xxxxxx\xxxxxx +-- hexo-generator-archive@2.0.0 +-- hexo-generator-category@2.0.0 +-- hexo-generator-index@3.0.0 +-- hexo-generator-json-content@4.2.3 +-- hexo-generator-tag@2.0.0 +-- hexo-renderer-ejs@2.0.0 +-- hexo-renderer-marked@6.2.0 +-- hexo-renderer-stylus@3.0.1 +-- hexo-server@3.0.0 +-- hexo-theme-landscape@1.0.0 +-- hexo-wordcount@6.0.1 `-- hexo@7.1.1 hexo-theme-volantis@5.8.0 xxxxx\themes\volantis +-- hexo-generator-json-content@4.2.3 +-- hexo-renderer-ejs@2.0.0 +-- hexo-renderer-stylus@2.1.0 +-- hexo-wordcount@6.0.1 `-- hexo@6.3.0 ```