Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
ee85ca73
Commit
ee85ca73
authored
Dec 07, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mobile styles
parent
a1d5d49a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
18 deletions
+10
-18
app/assets/stylesheets/framework/contextual-sidebar.scss
app/assets/stylesheets/framework/contextual-sidebar.scss
+3
-10
app/views/shared/_sidebar_toggle_button.html.haml
app/views/shared/_sidebar_toggle_button.html.haml
+7
-8
No files found.
app/assets/stylesheets/framework/contextual-sidebar.scss
View file @
ee85ca73
...
...
@@ -313,16 +313,12 @@
// Collapsed nav
.toggle-button-container
{
.toggle-sidebar-button
,
.close-nav-button
{
width
:
$contextual-sidebar-width
-
2px
;
transition
:
width
,
$sidebar-transition-duration
;
position
:
fixed
;
bottom
:
0
;
left
:
0
;
}
.toggle-sidebar-button
,
.close-nav-button
{
padding
:
16px
;
background-color
:
$gray-light
;
border
:
0
;
...
...
@@ -386,12 +382,9 @@
margin-right
:
0
;
}
.toggle-button-container
{
width
:
$contextual-sidebar-collapsed-width
-
2px
;
}
.toggle-sidebar-button
{
padding
:
16px
;
width
:
$contextual-sidebar-collapsed-width
-
2px
;
.collapse-text
,
.icon-angle-double-left
{
...
...
app/views/shared/_sidebar_toggle_button.html.haml
View file @
ee85ca73
.toggle-button-container
%a
.toggle-sidebar-button.js-toggle-sidebar
{
role:
"button"
,
type:
"button"
,
title:
"Toggle sidebar"
}
%a
.toggle-sidebar-button.js-toggle-sidebar
{
role:
"button"
,
type:
"button"
,
title:
"Toggle sidebar"
}
=
sprite_icon
(
'angle-double-left'
,
css_class:
'icon-angle-double-left'
)
=
sprite_icon
(
'angle-double-right'
,
css_class:
'icon-angle-double-right'
)
.collapse-text
Collapse sidebar
%span
.collapse-text
Collapse sidebar
=
button_tag
class:
'close-nav-button'
,
type:
'button'
do
=
button_tag
class:
'close-nav-button'
,
type:
'button'
do
=
sprite_icon
(
'close'
,
size:
16
)
.collapse-text
Close sidebar
%span
.collapse-text
Close sidebar
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment