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
Léo-Paul Géneau
gitlab-ce
Commits
737854e6
Commit
737854e6
authored
Apr 10, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] Convert navbar-toggle to navbar-toggler
parent
46031d63
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
app/assets/javascripts/main.js
app/assets/javascripts/main.js
+1
-1
app/assets/stylesheets/framework/gitlab_theme.scss
app/assets/stylesheets/framework/gitlab_theme.scss
+3
-3
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+1
-1
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+1
-1
No files found.
app/assets/javascripts/main.js
View file @
737854e6
...
...
@@ -189,7 +189,7 @@ document.addEventListener('DOMContentLoaded', () => {
$container
.
remove
();
});
$
(
'
.navbar-toggle
'
).
on
(
'
click
'
,
()
=>
{
$
(
'
.navbar-toggle
r
'
).
on
(
'
click
'
,
()
=>
{
$
(
'
.header-content
'
).
toggleClass
(
'
menu-expanded
'
);
gl
.
lazyLoader
.
loadCheck
();
});
...
...
app/assets/stylesheets/framework/gitlab_theme.scss
View file @
737854e6
...
...
@@ -21,7 +21,7 @@
}
.container-fluid
{
.navbar-toggle
{
.navbar-toggle
r
{
border-left
:
1px
solid
lighten
(
$color-700
,
10%
);
}
}
...
...
@@ -289,8 +289,8 @@ body {
}
.container-fluid
{
.navbar-toggle
,
.navbar-toggle
:hover
{
.navbar-toggle
r
,
.navbar-toggle
r
:hover
{
color
:
$theme-gray-700
;
border-left
:
1px
solid
$theme-gray-200
;
}
...
...
app/assets/stylesheets/framework/header.scss
View file @
737854e6
...
...
@@ -156,7 +156,7 @@
}
}
.navbar-toggle
{
.navbar-toggle
r
{
right
:
-10px
;
border-radius
:
0
;
min-width
:
45px
;
...
...
app/views/layouts/header/_default.html.haml
View file @
737854e6
...
...
@@ -78,7 +78,7 @@
%div
=
link_to
"Sign in / Register"
,
new_session_path
(
:user
,
redirect_to_referer:
'yes'
),
class:
'btn btn-sign-in'
%button
.navbar-toggle.d-block.d-sm-none
{
type:
'button'
}
%button
.navbar-toggle
r
.d-block.d-sm-none
{
type:
'button'
}
%span
.sr-only
Toggle navigation
=
sprite_icon
(
'more'
,
size:
12
,
css_class:
'more-icon js-navbar-toggle-right'
)
=
sprite_icon
(
'close'
,
size:
12
,
css_class:
'close-icon js-navbar-toggle-left'
)
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