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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
6fb7311e
Commit
6fb7311e
authored
Sep 02, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix home page for mobile devices
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
d0cfa465
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
2 deletions
+23
-2
app/assets/stylesheets/generic/common.scss
app/assets/stylesheets/generic/common.scss
+3
-0
app/assets/stylesheets/generic/header.scss
app/assets/stylesheets/generic/header.scss
+1
-0
app/assets/stylesheets/generic/mobile.scss
app/assets/stylesheets/generic/mobile.scss
+17
-0
app/views/dashboard/_projects_head.html.haml
app/views/dashboard/_projects_head.html.haml
+1
-1
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+1
-1
No files found.
app/assets/stylesheets/generic/common.scss
View file @
6fb7311e
...
...
@@ -371,6 +371,8 @@ table {
}
.center-top-menu
{
padding
:
0
;
margin
:
0
;
list-style
:
none
;
text-align
:
center
;
margin-top
:
5px
;
...
...
@@ -385,6 +387,7 @@ table {
a
{
padding
:
15px
;
font-size
:
20px
;
line-height
:
27px
;
color
:
#7f8fa4
;
border-bottom
:
2px
solid
transparent
;
...
...
app/assets/stylesheets/generic/header.scss
View file @
6fb7311e
...
...
@@ -55,6 +55,7 @@ header {
border-radius
:
0
;
position
:
absolute
;
right
:
2px
;
top
:
15px
;
&
:hover
{
background-color
:
#EEE
;
...
...
app/assets/stylesheets/generic/mobile.scss
View file @
6fb7311e
...
...
@@ -80,6 +80,23 @@
%ul
.notes
.note-role
,
.note-actions
{
display
:
none
;
}
.center-top-menu
{
height
:
45px
;
li
a
{
font-size
:
14px
;
padding
:
19px
10px
;
}
}
.projects-search-form
{
margin
:
0
-5px
!
important
;
.btn
{
display
:
none
;
}
}
}
@media
(
max-width
:
$screen-sm-max
)
{
...
...
app/views/dashboard/_projects_head.html.haml
View file @
6fb7311e
...
...
@@ -5,6 +5,6 @@
=
nav_link
(
page:
starred_dashboard_projects_path
)
do
=
link_to
starred_dashboard_projects_path
,
title:
'Starred Projects'
,
data:
{
placement:
'right'
}
do
Starred Projects
=
nav_link
(
page:
[
explore_root_path
,
trending_explore_projects_path
,
starred_explore_projects_path
,
explore_projects_path
])
do
=
nav_link
(
page:
[
explore_root_path
,
trending_explore_projects_path
,
starred_explore_projects_path
,
explore_projects_path
]
,
html_options:
{
class:
'hidden-xs'
}
)
do
=
link_to
explore_root_path
,
title:
'Explore'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
Explore Projects
app/views/layouts/header/_default.html.haml
View file @
6fb7311e
...
...
@@ -17,7 +17,7 @@
=
link_to
admin_root_path
,
title:
'Admin area'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
icon
(
'wrench fw'
)
-
if
current_user
.
can_create_project?
%li
.hidden-xs
%li
=
link_to
new_project_path
,
title:
'New project'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
icon
(
'plus fw'
)
%li
...
...
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