Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion static/benchmarks/css/components/left-sidebar.sass
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@

.dropdown-content
transform: translateX(80px)
// Invisible bridge to make dropdown easier to click when collapsed
&::before
content: ''
position: absolute
left: -80px
top: 0
width: 80px
height: 100%
min-height: 50px
background: transparent
pointer-events: auto
z-index: 1002

a
display: block
Expand Down Expand Up @@ -94,6 +106,18 @@

.dropdown-content
transform: translateX(80px)
// Invisible bridge to make dropdown easier to click when collapsed
&::before
content: ''
position: absolute
left: -80px
top: 0
width: 80px
height: 100%
min-height: 50px
background: transparent
pointer-events: auto
z-index: 1002

// Sidebar toggle button
.sidebar-toggle
Expand Down Expand Up @@ -142,7 +166,8 @@
text-decoration: none
display: block

.left-sidebar .dropdown:hover > .dropdown-content
.left-sidebar .dropdown:hover > .dropdown-content,
.left-sidebar .dropdown-content:hover
display: block

// Change color on hover
Expand Down