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
Boxiang Sun
gitlab-ce
Commits
87f07f68
Commit
87f07f68
authored
Jan 15, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new layout
parent
e0fe17ee
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
60 deletions
+84
-60
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+16
-10
app/assets/stylesheets/style.scss
app/assets/stylesheets/style.scss
+22
-5
app/views/layouts/_head_panel.html.haml
app/views/layouts/_head_panel.html.haml
+46
-45
No files found.
app/assets/stylesheets/projects.css.scss
View file @
87f07f68
...
...
@@ -525,22 +525,28 @@ h4.dash-tabs {
}
}
body
header
,
h4
.middle-panel
{
body
header
{
position
:absolute
;
width
:
100%
;
padding
:
0
;
margin
:
0
;
top
:
0
;
left
:
0
;
background
:
#999
;
/* for non-css3 browsers */
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#FAFAFA'
,
endColorstr
=
'#EAEAEA'
);
/* for IE */
background
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#FAFAFA
)
,
to
(
#EAEAEA
));
/* for webkit browsers */
background
:
-moz-linear-gradient
(
top
,
#FAFAFA
,
#EAEAEA
);
/* for firefox 3.6+ */
margin
:
0
;
border-bottom
:
1px
solid
#ccc
;
padding
:
10px
20px
;
font-size
:
11px
;
//background: #F7F7F7;
height
:
30px
;
height
:
50px
;
.wrapper
{
margin
:auto
;
width
:
980px
;
padding
:
10px
0
;
font-size
:
11px
;
position
:relative
;
}
.project_name
{
float
:left
;
width
:
235px
;
...
...
app/assets/stylesheets/style.scss
View file @
87f07f68
...
...
@@ -74,7 +74,10 @@ $blue_link: "#2fa0bb";
/* eo Vars */
html
{
-webkit-font-smoothing
:antialiased
;
}
body
{
font-size
:
12px
;
background-color
:
#F5F5F5
;}
body
{
font-size
:
12px
;
background-color
:
#F7F7F7
;
}
a
{
text-decoration
:
none
;
font-weight
:
bold
;
color
:
#444
}
a
:hover
{
color
:
#555
}
/* Typography */
...
...
@@ -330,7 +333,12 @@ body.login-page{background-color: #f1f1f1; padding-top: 10%}
/* General */
#container
{
background-color
:
white
;
overflow
:
hidden
;
}
body
.collapsed
#container
{
margin
:
auto
;
width
:
980px
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,.
22
);
border-top
:
0
;
box-shadow
:
0
0
0px
4px
rgba
(
0
,
0
,
0
,.
04
)}
body
.collapsed
#container
{
margin
:
auto
;
margin-top
:
51px
;
width
:
980px
;
border-top
:
0
;
}
/* Header */
header
{
...
...
@@ -429,7 +437,16 @@ header{margin-bottom: 0; clear: both; position:relative;}
.right
{
float
:
right
;}
/* Account box */
header
.account-box
{
position
:
absolute
;
right
:
0
;
top
:
8px
;
z-index
:
10000
;
width
:
128px
;
font-size
:
11px
;
float
:
right
;
display
:
block
;
cursor
:
pointer
;}
header
.account-box
{
position
:
absolute
;
right
:
0
;
top
:
8px
;
z-index
:
10000
;
width
:
128px
;
font-size
:
11px
;
float
:
right
;
display
:
block
;
cursor
:
pointer
;}
header
.account-box
img
{
border-radius
:
4px
;
right
:
20px
;
position
:
absolute
;
width
:
38px
;
height
:
38px
;
display
:
block
;
box-shadow
:
0
1px
2px
black
;
top
:
-3px
;}
header
.account-box
img
:after
{
content
:
" "
;
...
...
@@ -625,7 +642,7 @@ body.project-page h2.icon .project-name i.arrow{float: right;
body
.project-page
h2
.icon
span
{
background-position
:
-78px
-68px
;
}
body
.project-page
.project-container
{
position
:
relative
;
float
:
left
;
width
:
100%
;
height
:
100%
;
padding-bottom
:
10px
;}
body
.project-page
.page-title
{
margin-bottom
:
0
}
body
.project-page
.project-sidebar
{
width
:
110px
;
left
:
0
;
top
:
0
;
height
:
100%
;
bottom
:
0
;
position
:
absolute
;
float
:
left
;
display
:
inline-block
;
background
:
#F7F7F7
;
padding
:
20px
0
20px
2%
;
margin
:
0
;
border-right
:
1px
solid
#ddd
;
}
body
.project-page
.project-sidebar
{
width
:
110px
;
left
:
0
;
top
:
0
;
height
:
100%
;
bottom
:
0
;
position
:
absolute
;
float
:
left
;
display
:
inline-block
;
background
:
#F7F7F7
;
padding
:
20px
0
20px
0
;
margin
:
0
;
border-right
:
1px
solid
#ddd
;
}
body
.projects-page
input
.text.git-url
{
font-size
:
12px
;
border-radius
:
5px
;
color
:
#666
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,.
2
)
inset
;
padding
:
8px
0
8px
30px
;
margin-bottom
:
20px
;
background
:
white
url('images.png')
no-repeat
8px
-40px
;
width
:
136px
}
body
.projects-page
input
.text.git-url
{
margin
:
10px
0
0
}
...
...
@@ -651,7 +668,7 @@ body.project-page .project-sidebar aside a.current {
border
:
1px
solid
#2FA0BB
;
border-radius
:
5px
;
}
body
.project-page
.project-content
{
padding
:
20px
;
display
:
block
;
margin-left
:
1
3
0px
;
min-height
:
600px
}
body
.project-page
.project-content
{
padding
:
20px
;
display
:
block
;
margin-left
:
1
1
0px
;
min-height
:
600px
}
body
.project-page
.project-content
h2
{
margin-top
:
6px
}
body
.project-page
.project-content
.button.right
{
margin-left
:
20px
}
body
.project-page
table
.commit
a
{
color
:
#{
$blue_link
}
}
...
...
app/views/layouts/_head_panel.html.haml
View file @
87f07f68
/ Page Header
%header
.top_panel_holder
.wrapper
%div
.top_links_holder
=
link_to
root_path
,
:class
=>
"top_link home"
,
:title
=>
"Home"
do
=
image_tag
"Home-UI.PNG"
,
:width
=>
26
...
...
@@ -37,7 +38,7 @@
-#.search
= text_field_tag "search", nil, :placeholder => "Search", :class => "search-input"
/ .login-top
-
if
current_user
-
if
current_user
=
javascript_tag
do
$(function(){
$("#search").autocomplete({
...
...
@@ -46,7 +47,7 @@
});
});
-
if
current_user
.
require_ssh_key?
-
if
current_user
.
require_ssh_key?
#no_ssh_key_defined
.big-message.error
%p
No SSH Key is defined. You won't be able to use any Git command!. Click
#{
link_to
(
'here'
,
keys_path
)
}
to add one!
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