Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
8cc25ef9
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8cc25ef9
编写于
1月 15, 2012
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cleaning UI
上级
87f07f68
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
35 addition
and
18 deletion
+35
-18
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+5
-0
app/assets/stylesheets/style.scss
app/assets/stylesheets/style.scss
+26
-14
app/views/dashboard/_sidebar.html.haml
app/views/dashboard/_sidebar.html.haml
+1
-1
app/views/layouts/project.html.haml
app/views/layouts/project.html.haml
+1
-1
app/views/projects/_team.html.haml
app/views/projects/_team.html.haml
+1
-1
app/views/refs/_tree.html.haml
app/views/refs/_tree.html.haml
+1
-1
未找到文件。
app/assets/stylesheets/projects.css.scss
浏览文件 @
8cc25ef9
...
...
@@ -439,6 +439,11 @@ body.project-page .team_member_new .span-6, .team_member_edit .span-6{ padding:1
body
.projects-page
input
.text.git-url.project_list_url
{
width
:
165px
;
}
body
.project-page
table
.no-borders
th
{
background
:none
;
border-bottom
:
1px
solid
#CCC
;
color
:
#333
;
}
body
.project-page
table
.no-borders
tr
,
body
.project-page
table
.no-borders
td
{
...
...
app/assets/stylesheets/style.scss
浏览文件 @
8cc25ef9
...
...
@@ -76,7 +76,7 @@ $blue_link: "#2fa0bb";
html
{
-webkit-font-smoothing
:antialiased
;
}
body
{
font-size
:
12px
;
background-color
:
#F
7F7F7
;
background-color
:
#F
FFFFF
;
}
a
{
text-decoration
:
none
;
font-weight
:
bold
;
color
:
#444
}
a
:hover
{
color
:
#555
}
...
...
@@ -190,12 +190,14 @@ input.button{margin-bottom: 1.5em}
/* eo Buttons */
/* UI Box */
.ui-box
{
border
:
1px
solid
#DEDFE1
;
float
:
left
;
border-radius
:
5px
}
//.ui-box{border: 1px solid #DEDFE1; float: left; border-radius: 5px}
.ui-box
{
float
:
left
;}
.ui-box
h3
{
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
26
,
color-stop
(
0
.076
,
#fefefe
)
,
to
(
#F6F7F8
));
background-image
:
-webkit-linear-gradient
(
#fefefe
7
.6%
,
#F6F7F8
);
background-image
:
-moz-linear-gradient
(
#fefefe
7
.6%
,
#F6F7F8
);
background-image
:
-o-linear-gradient
(
#fefefe
7
.6%
,
#F6F7F8
);
background
:none
;
margin
:
0
;
padding
:
1em
;
font-size
:
12px
;
...
...
@@ -406,7 +408,7 @@ header nav a.last_elem{
border-bottom-right-radius
:
4px
;
}
header
.search
{
display
:
inline-block
;
float
:
right
;
margin-right
:
46
px
}
header
.search
{
display
:
inline-block
;
float
:
right
;
margin-right
:
90
px
}
header
nav
a
span
{
width
:
20px
;
height
:
20px
;
display
:
inline-block
;
background
:
red
;
position
:
absolute
;
left
:
8px
;
top
:
6px
;}
...
...
@@ -600,22 +602,22 @@ html, body { height: 100%; }
body
.dashboard-page
h2
.icon
span
{
background-position
:
9px
-69px
;
}
body
.dashboard-page
header
{
margin-bottom
:
0
}
body
.dashboard-page
.news-feed
{
padding-left
:
1em
;
margin-right
:
450px
;
min-height
:
600px
;
margin-left
:
1%
;
margin-top
:
20
px
;}
body
.dashboard-page
.news-feed
{
margin-left
:
290px
;
min-height
:
600px
;
margin-top
:
20px
;
margin-right
:
2
px
;}
body
.dashboard-page
.dashboard-content
{
position
:
relative
;
float
:
left
;
width
:
100%
;
height
:
100%
;
}
body
.dashboard-page
.news-feed
h2
{
float
:
left
;}
body
.dashboard-page
aside
{
min-height
:
820px
;
position
:
relative
;
top
:
0
;
bottom
:
0
;
right
:
0
;
width
:
420px
;
float
:
right
;
background-color
:
#f7f7f7
;
border-lef
t
:
1px
solid
#ccc
}
body
.dashboard-page
aside
h4
{
margin
:
0
;
border-bottom
:
1px
solid
#ccc
;
padding
:
10px
1
0px
;
font-size
:
11px
;
font-weight
:
bold
;
text-transform
:
uppercase
;}
body
.dashboard-page
aside
{
min-height
:
820px
;
position
:
relative
;
top
:
0
;
bottom
:
0
;
right
:
0
;
width
:
260px
;
float
:
left
;
border-righ
t
:
1px
solid
#ccc
}
body
.dashboard-page
aside
h4
{
margin
:
0
;
border-bottom
:
1px
solid
#ccc
;
padding
:
20px
20px
20px
0px
;
font-size
:
11px
;
font-weight
:
bold
;
text-transform
:
uppercase
;}
body
.dashboard-page
aside
h4
a
.button-small
{
float
:
right
;
text-transform
:
none
;
border-radius
:
4px
;
margin-right
:
2%
;
margin-top
:
-4px
;
display
:
block
;}
body
.dashboard-page
aside
.project-list
{
list-style
:
none
;
margin
:
0
;
padding
:
0
;}
body
.dashboard-page
aside
.project-list
li
a
{
background
:
white
;
color
:
#{
$blue_link
}
;
display
:
block
;
border-bottom
:
1px
solid
#eee
;
padding
:
14px
6%
14px
14
px
;}
body
.dashboard-page
aside
.project-list
li
a
:hover
{
background
:
#f1f1f1
}
body
.dashboard-page
aside
.project-list
li
a
:hover
span
.arrow
{
background-color
:
#E3E5EA
;}
body
.dashboard-page
aside
.project-list
li
a
{
background
:
white
;
color
:
#{
$blue_link
}
;
display
:
block
;
border-bottom
:
1px
solid
#eee
;
padding
:
14px
6%
14px
0
px
;}
//
body.dashboard-page aside .project-list li a:hover {background: #f1f1f1}
//
body.dashboard-page aside .project-list li a:hover span.arrow{background-color: #E3E5EA;}
body
.dashboard-page
aside
.project-list
li
a
span
.project-name
{
font-size
:
14px
;
display
:
block
;
margin-bottom
:
8px
}
body
.dashboard-page
aside
.project-list
li
a
span
.time
{
color
:
#666
;
font-weight
:
normal
;
font-size
:
11px
}
body
.dashboard-page
aside
.project-list
li
a
span
.arrow
{
float
:
right
;
background
:
#E3E5EA
;
padding
:
10px
;
border-radius
:
5px
;
margin-top
:
2px
;
text-shadow
:
none
;
color
:
#999
}
body
.dashboard-page
.news-feed
.project-updates
{
margin-bottom
:
20px
;
display
:
block
;
width
:
100%
;}
body
.dashboard-page
.news-feed
.project-updates
.data
{
padding
:
0
}
body
.dashboard-page
.news-feed
.project-updates
a
.project-update
{
padding
:
10px
;
border-bottom
:
1px
solid
#eee
;
overflow
:
hidden
;
display
:
block
;}
body
.dashboard-page
.news-feed
.project-updates
a
.project-update
{
padding
:
10px
;
overflow
:
hidden
;
display
:
block
;}
body
.dashboard-page
.news-feed
.project-updates
a
.project-update
:last-child
{
border-bottom
:
0
}
body
.dashboard-page
.news-feed
.project-updates
a
.project-update
img
{
float
:
left
;
margin-right
:
10px
;}
body
.dashboard-page
.news-feed
.project-updates
a
.project-update
span
.update-title
,
.dashboard-page
.news-feed
.project-updates
li
a
span
.update-author
{
display
:
block
;}
...
...
@@ -642,7 +644,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
:
#F
7F7F7
;
padding
:
20px
0
20px
0
;
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
:
#F
FF
;
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
}
...
...
@@ -657,8 +659,10 @@ body.project-page .project-sidebar aside a{
//background: #FFF;
padding
:
15px
10px
;
//border: 1px solid #ccc;
margin
:
10px
20px
0
0
;
margin
:
10px
0
0
0
;
//border-radius:5px;
}
//body.project-page .project-sidebar aside a:hover{background-color: #FFFFFF;}
body
.project-page
.project-sidebar
aside
a
span
.number
{
float
:
right
;
border-radius
:
5px
;
text-shadow
:
none
;
background
:
rgba
(
0
,
0
,
0
,.
12
);
text-align
:
center
;
padding
:
5px
8px
;
position
:
absolute
;
top
:
10px
;
right
:
10px
}
...
...
@@ -667,6 +671,15 @@ body.project-page .project-sidebar aside a.current {
background
:
#79C3E0
;
border
:
1px
solid
#2FA0BB
;
border-radius
:
5px
;
-webkit-border-top-right-radius
:
0
;
-webkit-border-bottom-right-radius
:
0
;
-moz-border-radius-topright
:
0px
;
-moz-border-radius-bottomright
:
0px
;
border-top-right-radius
:
0
;
border-bottom-right-radius
:
0
;
margin-right
:
-1px
;
}
body
.project-page
.project-content
{
padding
:
20px
;
display
:
block
;
margin-left
:
110px
;
min-height
:
600px
}
body
.project-page
.project-content
h2
{
margin-top
:
6px
}
...
...
@@ -676,7 +689,6 @@ body.project-page table th, body.project-page table td{ border-bottom: 1px soli
body
.project-page
.fixed
{
position
:
fixed
;
}
/* New project Page */
.new-project-page
.container
{
margin
:
20px
}
.new-project-page
.container
table
{
background
:
white
}
/* eo New Project Page */
...
...
@@ -712,7 +724,7 @@ body.project-page.commits-page .commit-button i{
body
.project-page.commits-page
.commits-date
{
display
:
block
;
width
:
100%
;
margin-bottom
:
20px
}
body
.project-page.commits-page
.commits-date
.data
{
padding
:
0
}
body
.project-page.commits-page
a
.commit
{
padding
:
10px
;
border-bottom
:
1px
solid
#eee
;
overflow
:
hidden
;
display
:
block
;}
body
.project-page.commits-page
.commits-date
a
.commit
{
padding
:
10px
;
border-bottom
:
1px
solid
#ee
e
;
overflow
:
hidden
;
display
:
block
;}
body
.project-page.commits-page
.commits-date
a
.commit
{
padding
:
10px
;
border-bottom
:
non
e
;
overflow
:
hidden
;
display
:
block
;}
body
.project-page.commits-page
.commits-date
a
.commit
:last-child
{
border-bottom
:
0
}
body
.project-page.commits-page
.commits-date
a
.commit
img
{
float
:
left
;
margin-right
:
10px
;}
body
.project-page.commits-page
.commits-date
a
.commit
span
.commit-title
{
display
:
block
;}
...
...
app/views/dashboard/_sidebar.html.haml
浏览文件 @
8cc25ef9
...
...
@@ -7,7 +7,7 @@
-
@projects
.
each
do
|
project
|
%li
%a
{
:href
=>
project_path
(
project
)}
%span
.arrow
→
-#
%span.arrow →
%span
.project-name
=
project
.
name
%span
.time
%strong
Last activity:
...
...
app/views/layouts/project.html.haml
浏览文件 @
8cc25ef9
...
...
@@ -28,7 +28,7 @@
=
link_to
"Repository"
,
project_repository_path
(
@project
),
:class
=>
repository_tab_class
=
link_to
"Tree"
,
tree_project_ref_path
(
@project
,
@project
.
root_ref
),
:class
=>
tree_tab_class
=
link_to
"Commits"
,
project_commits_path
(
@project
),
:class
=>
current_page?
(
:controller
=>
"commits"
,
:action
=>
"index"
,
:project_id
=>
@project
)
?
"current"
:
nil
=
link_to
"Commits"
,
project_commits_path
(
@project
),
:class
=>
(
controller
.
controller_name
==
"commits"
)
?
"current"
:
nil
=
link_to
"Network"
,
graph_project_path
(
@project
),
:class
=>
current_page?
(
:controller
=>
"projects"
,
:action
=>
"graph"
,
:id
=>
@project
)
?
"current"
:
nil
=
link_to
project_issues_filter_path
(
@project
),
:class
=>
(
controller
.
controller_name
==
"issues"
)
?
"current"
:
nil
do
Issues
...
...
app/views/projects/_team.html.haml
浏览文件 @
8cc25ef9
%table
.
round
-borders
#team-table
%table
.
no
-borders
#team-table
%thead
%th
Name
%th
Project
...
...
app/views/refs/_tree.html.haml
浏览文件 @
8cc25ef9
...
...
@@ -13,7 +13,7 @@
=
render
:partial
=>
"refs/tree_file"
,
:locals
=>
{
:name
=>
tree
.
name
,
:content
=>
tree
.
data
,
:file
=>
tree
}
-
else
-
contents
=
tree
.
contents
%table
#tree-slider
.
round
-borders
%table
#tree-slider
.
no
-borders
%thead
%th
Name
%th
Last Update
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录