Skip to content

Commit 7cefc84

Browse files
Copilotkarpikpl
andauthored
Fix hover styles for tabs and buttons after v2.0.5 regression (#230)
* Initial plan * Fix hover styles for tabs and buttons - restore pre-v2.0.5 behavior Co-authored-by: karpikpl <[email protected]> * Fix button and tab hover styles by disabling Vuetify overlay system Co-authored-by: karpikpl <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: karpikpl <[email protected]>
1 parent eb878e5 commit 7cefc84

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

app/assets/global.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,22 @@
2020

2121
.spacing-25 {
2222
margin-bottom: 25px;
23+
}
24+
25+
/* Fix tab hover styles - light blue background */
26+
.v-tab:hover {
27+
background-color: rgba(63, 81, 181, 0.1) !important;
28+
}
29+
30+
.v-tab:hover .v-tab__overlay {
31+
display: none !important;
32+
}
33+
34+
/* Fix button hover styles - light gray background */
35+
.v-btn:hover {
36+
background-color: rgba(0, 0, 0, 0.04) !important;
37+
}
38+
39+
.v-btn:hover .v-btn__overlay {
40+
display: none !important;
2341
}

vuetify.config.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,22 @@ export default defineVuetifyConfiguration({
44
// your Vuetify options here
55
theme: {
66
defaultTheme: 'light',
7+
themes: {
8+
light: {
9+
colors: {
10+
// Keep existing Vuetify colors but add custom hover states
11+
primary: '#1976D2',
12+
secondary: '#424242',
13+
accent: '#82B1FF',
14+
error: '#FF5252',
15+
info: '#2196F3',
16+
success: '#4CAF50',
17+
warning: '#FFC107',
18+
// Custom surface colors for better hover effects
19+
surface: '#FFFFFF',
20+
'surface-variant': '#F5F5F5',
21+
},
22+
},
23+
},
724
},
825
})

0 commit comments

Comments
 (0)