Skip to content

Commit ee2329d

Browse files
committed
make scrollbars bigger on hoverover
1 parent 66f80b2 commit ee2329d

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

‎src/skins/vector/css/common.css‎

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,27 @@ input[type=text]:focus, textarea:focus {
8484
position: absolute;
8585
}
8686

87-
/* hack to avoid accidental click-throughs if you miss the narrow scrollbar */
87+
/* Expand thumbs on hoverover */
88+
.gm-scrollbar {
89+
border-radius: 5px ! important;
90+
}
8891
.gm-scrollbar.-vertical {
89-
border-left: 6px solid transparent;
92+
width: 6px;
93+
transition: width 120ms ease-out ! important;
94+
}
95+
.gm-scrollbar.-vertical:hover,
96+
.gm-scrollbar.-vertical:active {
97+
width: 8px;
98+
transition: width 120ms ease-out ! important;
99+
}
100+
.gm-scrollbar.-horizontal {
101+
height: 6px;
102+
transition: height 120ms ease-out ! important;
103+
}
104+
.gm-scrollbar.-horizontal:hover,
105+
.gm-scrollbar.-horizontal:active {
106+
height: 8px;
107+
transition: height 120ms ease-out ! important;
90108
}
91109

92110
.mx_Dialog_wrapper {

0 commit comments

Comments
 (0)