Commit 0486f43b93
Unsigned
Layout: unified · split
docs/.vitepress/theme/components/extrepo/SettingsMenu.vue +18 −7
| @@ -141,23 +141,34 @@ onUnmounted(() => { | ||
| 141 | 141 | width: 30px; |
| 142 | 142 | height: 30px; |
| 143 | 143 | padding: 0; |
| 144 | border-radius: 8px; | |
| 145 | border: 1px solid transparent; | |
| 146 | background-color: transparent; | |
| 144 | border: none; | |
| 145 | border-radius: 0; | |
| 146 | background: transparent; | |
| 147 | 147 | color: var(--vp-c-text-1); |
| 148 | opacity: 0.55; | |
| 148 | 149 | cursor: pointer; |
| 149 | transition: border-color 0.15s, color 0.15s; | |
| 150 | transition: opacity 0.25s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1); | |
| 150 | 151 | } |
| 151 | 152 | |
| 152 | .ext-settings-btn:hover { | |
| 153 | border-color: var(--vp-c-brand-1); | |
| 154 | color: var(--vp-c-brand-1); | |
| 153 | .ext-settings-btn:hover, | |
| 154 | .ext-settings-btn[aria-expanded="true"] { | |
| 155 | color: var(--vp-c-text-1); | |
| 156 | opacity: 1; | |
| 157 | background: transparent; | |
| 158 | } | |
| 159 | ||
| 160 | .ext-settings-btn:active { | |
| 161 | transform: scale(0.94); | |
| 155 | 162 | } |
| 156 | 163 | |
| 157 | 164 | .ext-settings-btn span { |
| 158 | 165 | font-size: 15px; |
| 159 | 166 | } |
| 160 | 167 | |
| 168 | html.effects-disabled .ext-settings-btn { | |
| 169 | transition: none; | |
| 170 | } | |
| 171 | ||
| 161 | 172 | .ext-settings-menu { |
| 162 | 173 | --vp-nolebase-enhanced-readabilities-menu-background-color: var(--wk-c-menu-bg); |
| 163 | 174 | --vp-nolebase-enhanced-readabilities-menu-text-color: var(--vp-c-text-1); |