Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
c0dbebb1
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,体验更适合开发者的 AI 搜索 >>
提交
c0dbebb1
编写于
11月 17, 2011
作者:
R
Ricardo Rauch
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixing error messages
上级
07b7ddde
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
52 addition
and
12 deletion
+52
-12
app/assets/stylesheets/style.scss
app/assets/stylesheets/style.scss
+50
-8
app/views/layouts/_head_panel.html.erb
app/views/layouts/_head_panel.html.erb
+2
-4
未找到文件。
app/assets/stylesheets/style.scss
浏览文件 @
c0dbebb1
...
...
@@ -74,7 +74,6 @@ $blue_link: "#2fa0bb";
/* eo Vars */
html
{
-webkit-font-smoothing
:antialiased
;
}
*
{
text-shadow
:
0
1px
0
white
}
body
{
font-size
:
12px
;
background-color
:
#eee
;}
a
{
text-decoration
:
none
;
font-weight
:
bold
;
color
:
#666
}
a
:hover
{
color
:
#333
}
...
...
@@ -481,15 +480,58 @@ header .account-links a:last-child{
border-bottom
:
0
;
}
#no_ssh_key_defined
{
border
:
1px
solid
#ee8801
;
margin
:
20px
;
padding
:
20px
;
background
:
#ffe3f0
;
h2
{
margin
:
0
;}
p
{
margin
:
10px
0
0
;}
.big-message
{
background-image
:
-webkit-gradient
(
linear
,
0
48
,
0
0
,
color-stop
(
0
.041
,
#eccb40
)
,
to
(
#ffee4d
));
background-image
:
-webkit-linear-gradient
(
90deg
,
#eccb40
4
.1%
,
#ffee4d
);
background-image
:
-moz-linear-gradient
(
90deg
,
#eccb40
4
.1%
,
#ffee4d
);
background-image
:
-o-linear-gradient
(
90deg
,
#eccb40
4
.1%
,
#ffee4d
);
text-align
:
center
;
font-weight
:
bold
;
padding
:
10px
20px
;
text-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,.
3
);
color
:
#333
;
color
:
rgba
(
0
,
0
,
0
,.
7
);
font-size
:
14px
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,.
7
);
z-index
:
100000
;
margin-bottom
:
2px
;
}
.big-message
a
{
color
:
#000
;
text-decoration
:
underline
;}
.big-message.error
{
background-color
:
#722523
;
background-image
:
-webkit-gradient
(
linear
,
0
49
,
0
0
,
color-stop
(
0
.04
,
#722523
)
,
to
(
#ad4846
));
background-image
:
-webkit-linear-gradient
(
90deg
,
#9b403f
4%
,
#c16765
);
background-image
:
-moz-linear-gradient
(
90deg
,
#722523
4%
,
#ad4846
);
background-image
:
-o-linear-gradient
(
90deg
,
#722523
4%
,
#ad4846
);
color
:
#2E0D0C
;
}
.big-message.success
{
background-color
:
#7a9339
;
background-image
:
-webkit-gradient
(
linear
,
0
48
,
0
0
,
color-stop
(
0
.062
,
#7a9339
)
,
to
(
#93ae46
));
background-image
:
-webkit-linear-gradient
(
90deg
,
#7a9339
6
.2%
,
#93ae46
);
background-image
:
-moz-linear-gradient
(
90deg
,
#7a9339
6
.2%
,
#93ae46
);
background-image
:
-o-linear-gradient
(
90deg
,
#7a9339
6
.2%
,
#93ae46
)
}
.big-message.success
{
background-color
:
#7a9339
;
background-image
:
-webkit-gradient
(
linear
,
0
48
,
0
0
,
color-stop
(
0
.062
,
#7a9339
)
,
to
(
#93ae46
));
background-image
:
-webkit-linear-gradient
(
90deg
,
#7a9339
6
.2%
,
#93ae46
);
background-image
:
-moz-linear-gradient
(
90deg
,
#7a9339
6
.2%
,
#93ae46
);
background-image
:
-o-linear-gradient
(
90deg
,
#7a9339
6
.2%
,
#93ae46
)
}
.big-message.notice
{
background-image
:
-webkit-gradient
(
linear
,
0
49
,
0
0
,
color-stop
(
0
.061
,
#447790
)
,
color-stop
(
0
.897
,
#5da2bf
));
background-image
:
-webkit-linear-gradient
(
90deg
,
#447790
6
.1%
,
#5da2bf
89
.7%
);
background-image
:
-moz-linear-gradient
(
90deg
,
#447790
6
.1%
,
#5da2bf
89
.7%
);
background-image
:
-o-linear-gradient
(
90deg
,
#447790
6
.1%
,
#5da2bf
89
.7%
)
}
/* eo Account Box */
input
.search-input
{
float
:
left
;
text-shadow
:
none
;
width
:
116px
;
background-image
:
url('icon-search.png')
;
background-repeat
:
no-repeat
;
background-position
:
10px
;
border-radius
:
100px
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,.
7
);
box-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,.
2
)
,
0
2px
2px
rgba
(
0
,
0
,
0
,.
4
)
inset
;
background-color
:
#D2D5DA
;
background-color
:
rgba
(
255
,
255
,
255
,.
5
);
padding
:
5px
;
padding-left
:
26px
;
margin-top
:
4px
;
margin-right
:
10px
}
input
.search-input
:focus
{
background-color
:
white
;
width
:
216px
;}
...
...
app/views/layouts/_head_panel.html.erb
浏览文件 @
c0dbebb1
...
...
@@ -48,9 +48,7 @@
<%
end
%>
<%
if
current_user
.
keys
.
all
.
empty?
%>
<div
id=
"no_ssh_key_defined"
>
<h2>
ATTENTION!
</h2>
<p>
No SSH Key is defined. You won't be able to use any Git command!
<p>
Click
<%=
link_to
(
'here'
,
keys_path
)
%>
to add one!
<div
id=
"no_ssh_key_defined"
class=
"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!
</div>
<%
end
%>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录