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
iv
gitlab-ce
Commits
265750c8
Commit
265750c8
authored
Dec 23, 2015
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adds css for `left-top-menu`. Also hides buttons in certain for factors.
parent
48ecb614
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
6 deletions
+17
-6
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+6
-2
app/assets/stylesheets/framework/mobile.scss
app/assets/stylesheets/framework/mobile.scss
+1
-1
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+8
-1
app/views/dashboard/_projects_head.html.haml
app/views/dashboard/_projects_head.html.haml
+2
-2
No files found.
app/assets/stylesheets/framework/common.scss
View file @
265750c8
...
...
@@ -374,9 +374,9 @@ table {
}
}
.center-top-menu
{
.center-top-menu
,
.left-top-menu
{
@include
nav-menu
;
text-align
:
left
;
text-align
:
center
;
margin-top
:
5px
;
margin-bottom
:
$gl-padding
;
height
:
auto
;
...
...
@@ -409,6 +409,10 @@ table {
}
}
.left-top-menu
{
text-align
:
left
;
}
.center-middle-menu
{
@include
nav-menu
;
padding
:
0
;
...
...
app/assets/stylesheets/framework/mobile.scss
View file @
265750c8
...
...
@@ -81,7 +81,7 @@
display
:
none
;
}
.center-top-menu
{
.center-top-menu
,
.left-top-menu
{
li
a
{
font-size
:
14px
;
padding
:
19px
10px
;
...
...
app/assets/stylesheets/pages/projects.scss
View file @
265750c8
...
...
@@ -338,7 +338,7 @@ ul.nav.nav-projects-tabs {
.top-area
{
border-bottom
:
1px
solid
#EEE
;
ul
.
center
-top-menu
{
ul
.
left
-top-menu
{
display
:
inline-block
;
width
:
50%
;
margin-bottom
:
0px
;
...
...
@@ -350,12 +350,19 @@ ul.nav.nav-projects-tabs {
display
:
inline-block
;
float
:
right
;
padding-top
:
7px
;
text-align
:
right
;
.btn-green
{
margin-top
:
-2px
;
margin-left
:
10px
;
}
}
@media
(
max-width
:
$screen-xs-max
)
{
.projects-search-form
{
padding-top
:
15px
;
}
}
}
.fork-namespaces
{
...
...
app/views/dashboard/_projects_head.html.haml
View file @
265750c8
=
content_for
:flash_message
do
=
render
'shared/project_limit'
.top-area
%ul
.
center
-top-menu
%ul
.
left
-top-menu
=
nav_link
(
page:
[
dashboard_projects_path
,
root_path
])
do
=
link_to
dashboard_projects_path
,
title:
'Home'
,
class:
'shortcuts-activity'
,
data:
{
placement:
'right'
}
do
Your Projects
...
...
@@ -13,7 +13,7 @@
Explore Projects
.projects-search-form
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name...'
,
class:
'projects-list-filter form-control'
,
spellcheck:
false
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name...'
,
class:
'projects-list-filter form-control
hidden-xs
'
,
spellcheck:
false
-
if
current_user
.
can_create_project?
=
link_to
new_project_path
,
class:
'btn btn-green'
do
%i
.fa.fa-plus
...
...
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