mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-26 21:16:06 +10:00
Toggle sidebar button more obvious
The toggle is now at the top of the sidebar because it is not noticeable near the bottom. By placing it at the top, users will immediately know that they can have more space if they desire versus on the bottom, they will have to search for it and that's not desired. Fixes #2044
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
width: $sidebar_width;
|
||||
|
||||
.nav-sidebar {
|
||||
margin-top: 20px;
|
||||
margin-top: 29px;
|
||||
position: fixed;
|
||||
top: 45px;
|
||||
width: $sidebar_width;
|
||||
@@ -127,7 +127,7 @@
|
||||
width: 52px;
|
||||
|
||||
.nav-sidebar {
|
||||
margin-top: 20px;
|
||||
margin-top: 29px;
|
||||
position: fixed;
|
||||
top: 45px;
|
||||
width: 52px;
|
||||
@@ -144,14 +144,22 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.collapse-nav a {
|
||||
left: 0px;
|
||||
padding: 5px 23px 3px 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.collapse-nav a {
|
||||
position: fixed;
|
||||
bottom: 15px;
|
||||
padding: 10px;
|
||||
background: #DDD;
|
||||
top: 47px;
|
||||
padding: 5px 13px 3px 13px;
|
||||
left: 197px;
|
||||
background: #EEE;
|
||||
color: black;
|
||||
border: 1px solid rgba(0,0,0,0.035);
|
||||
}
|
||||
|
||||
@media (max-width: $screen-md-max) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
- if nav_menu_collapsed?
|
||||
= link_to icon('angle-right'), '#', class: 'toggle-nav-collapse'
|
||||
= link_to icon('angle-right'), '#', class: 'toggle-nav-collapse', title: "Open/Close"
|
||||
- else
|
||||
= link_to icon('angle-left'), '#', class: 'toggle-nav-collapse'
|
||||
= link_to icon('angle-left'), '#', class: 'toggle-nav-collapse', title: "Open/Close"
|
||||
|
||||
Reference in New Issue
Block a user