Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
fb6d4511
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,发现更多精彩内容 >>
提交
fb6d4511
编写于
4月 12, 2012
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
restored dark theme
上级
0e62b1cb
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
14 addition
and
56 deletion
+14
-56
app/assets/images/logo_basic.png
app/assets/images/logo_basic.png
+0
-0
app/assets/images/logo_mars.png
app/assets/images/logo_mars.png
+0
-0
app/assets/images/logo_wh.png
app/assets/images/logo_wh.png
+0
-0
app/assets/stylesheets/ui_basic.scss
app/assets/stylesheets/ui_basic.scss
+1
-1
app/assets/stylesheets/ui_mars.scss
app/assets/stylesheets/ui_mars.scss
+11
-53
app/helpers/application_helper.rb
app/helpers/application_helper.rb
+1
-1
app/views/profile/design.html.haml
app/views/profile/design.html.haml
+1
-1
未找到文件。
app/assets/images/logo_
tr
.png
→
app/assets/images/logo_
basic
.png
浏览文件 @
fb6d4511
文件已移动
app/assets/images/logo_mars.png
0 → 100644
浏览文件 @
fb6d4511
2.2 KB
app/assets/images/logo_wh.png
已删除
100644 → 0
浏览文件 @
0e62b1cb
2.0 KB
app/assets/stylesheets/ui_basic.scss
浏览文件 @
fb6d4511
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
float
:left
;
float
:left
;
h1
{
h1
{
background
:
url('logo_
tr
.png')
no-repeat
-3px
-4px
;
background
:
url('logo_
basic
.png')
no-repeat
-3px
-4px
;
float
:left
;
float
:left
;
margin-left
:
5px
;
margin-left
:
5px
;
font-size
:
20px
;
font-size
:
20px
;
...
...
app/assets/stylesheets/ui_mars.scss
浏览文件 @
fb6d4511
...
@@ -9,41 +9,6 @@
...
@@ -9,41 +9,6 @@
*
*
*/
*/
.ui_mars
{
.ui_mars
{
background
:
#eee
;
.container
{
border
:
1px
solid
rgba
(
0
,
0
,
0
,.
22
);
box-shadow
:
0
0
0px
4px
rgba
(
0
,
0
,
0
,.
04
);
background
:white
;
margin-top
:
20px
;
min-height
:
500px
;
nav
.main_menu
{
margin
:
0
;
margin-bottom
:
20px
;
border
:none
;
border-bottom
:
1px
solid
#bbb
;
border-radius
:
0
;
a
{
border-radius
:
0
;
}
}
}
/*
* Common styles
*
*/
a
{
color
:
$link_color
;
&
:hover
{
text-decoration
:none
;
color
:
$style_color
;
}
}
/*
/*
* Application Header
* Application Header
...
@@ -55,10 +20,7 @@
...
@@ -55,10 +20,7 @@
margin
:
0
;
margin
:
0
;
top
:
1px
;
top
:
1px
;
left
:
0
;
left
:
0
;
background
:
#474D57
url('bg-header.png')
repeat-x
bottom
;
background
:
#474D57
url('bg-header.png')
repeat-x
bottom
;
z-index
:
10
;
z-index
:
10
;
height
:
60px
;
height
:
60px
;
...
@@ -99,31 +61,19 @@
...
@@ -99,31 +61,19 @@
float
:left
;
float
:left
;
h1
{
h1
{
background
:
url('logo_
wh
.png')
no-repeat
-3px
-4px
;
background
:
url('logo_
mars
.png')
no-repeat
-3px
-4px
;
float
:left
;
float
:left
;
margin-left
:
5px
;
margin-left
:
5px
;
font-size
:
20px
;
font-size
:
20px
;
line-height
:
36px
;
line-height
:
36px
;
font-weight
:
bold
;
font-weight
:
normal
;
color
:
#
ccc
;
color
:
#
a1a8ae
;
text-shadow
:
0
1px
1px
#111
;
text-shadow
:
0
1px
1px
#111
;
padding-left
:
50px
;
padding-left
:
50px
;
padding-top
:
5px
;
padding-top
:
5px
;
}
}
}
}
}
}
.wrapper
{
margin
:auto
;
min-width
:
$min_app_width
;
max-width
:
$max_app_width
;
position
:relative
;
padding
:
15px
0
;
.account-box
img
{
right
:
0
;
}
}
.project_name
{
.project_name
{
float
:left
;
float
:left
;
width
:
360px
;
width
:
360px
;
...
@@ -136,6 +86,14 @@
...
@@ -136,6 +86,14 @@
text-shadow
:
0
1px
1px
#111
;
text-shadow
:
0
1px
1px
#111
;
}
}
.container
{
.top_panel_content
{
margin
:auto
;
position
:relative
;
padding
:
15px
0
;
}
}
.admin_link
{
.admin_link
{
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
...
...
app/helpers/application_helper.rb
浏览文件 @
fb6d4511
...
@@ -123,7 +123,7 @@ module ApplicationHelper
...
@@ -123,7 +123,7 @@ module ApplicationHelper
end
end
def
app_theme
def
app_theme
if
true
#
current_user && current_user.theme_id == 1
if
current_user
&&
current_user
.
theme_id
==
1
"ui_basic"
"ui_basic"
else
else
"ui_mars"
"ui_mars"
...
...
app/views/profile/design.html.haml
浏览文件 @
fb6d4511
=
form_for
@user
,
:url
=>
profile_update_path
,
:remote
=>
true
,
:method
=>
:put
do
|
f
|
=
form_for
@user
,
:url
=>
profile_update_path
,
:remote
=>
true
,
:method
=>
:put
do
|
f
|
-#
%div
%div
%h3
Application theme
%h3
Application theme
%hr
%hr
.clearfix
.clearfix
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录