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
1c6ea479
Commit
1c6ea479
authored
Feb 17, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move tanuki to left of title; increase max-width of title
parent
60db4d3a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
25 deletions
+6
-25
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+4
-22
app/assets/stylesheets/framework/nav.scss
app/assets/stylesheets/framework/nav.scss
+0
-1
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+2
-2
No files found.
app/assets/stylesheets/framework/header.scss
View file @
1c6ea479
...
...
@@ -150,16 +150,11 @@ header {
}
.header-logo
{
position
:
absolute
;
left
:
50%
;
display
:
inline-block
;
margin
:
0
8px
0
3px
;
position
:
relative
;
top
:
7px
;
transition-duration
:
.3s
;
z-index
:
999
;
#logo
{
position
:
relative
;
left
:
-50%
;
}
svg
,
img
{
...
...
@@ -169,15 +164,6 @@ header {
&
:hover
{
cursor
:
pointer
;
}
@media
(
max-width
:
$screen-xs-max
)
{
right
:
20px
;
left
:
auto
;
#logo
{
left
:
auto
;
}
}
}
.title
{
...
...
@@ -185,7 +171,7 @@ header {
padding-right
:
20px
;
margin
:
0
;
font-size
:
18px
;
max-width
:
385
px
;
max-width
:
450
px
;
display
:
inline-block
;
line-height
:
$header-height
;
font-weight
:
normal
;
...
...
@@ -195,10 +181,6 @@ header {
vertical-align
:
top
;
white-space
:
nowrap
;
@media
(
min-width
:
$screen-sm-min
)
and
(
max-width
:
$screen-sm-max
)
{
max-width
:
300px
;
}
@media
(
max-width
:
$screen-xs-max
)
{
max-width
:
190px
;
}
...
...
app/assets/stylesheets/framework/nav.scss
View file @
1c6ea479
...
...
@@ -79,7 +79,6 @@
}
&
.sub-nav
{
text-align
:
center
;
background-color
:
$gray-normal
;
.container-fluid
{
...
...
app/views/layouts/header/_default.html.haml
View file @
1c6ea479
...
...
@@ -61,12 +61,12 @@
%div
=
link_to
"Sign in"
,
new_session_path
(
:user
,
redirect_to_referer:
'yes'
),
class:
'btn btn-sign-in btn-success'
%h1
.title
=
title
.header-logo
=
link_to
root_path
,
class:
'home'
,
title:
'Dashboard'
,
id:
'logo'
do
=
brand_header_logo
%h1
.title
=
title
=
yield
:header_content
=
render
'shared/outdated_browser'
...
...
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