Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
18489218
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 搜索 >>
提交
18489218
编写于
12月 07, 2016
作者:
A
Annabel Dunstone Gray
提交者:
Jacob Schatz
12月 14, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove pages/snippets css
上级
f1d30769
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
11 addition
and
31 deletion
+11
-31
app/assets/stylesheets/framework.scss
app/assets/stylesheets/framework.scss
+1
-0
app/assets/stylesheets/framework/emojis.scss
app/assets/stylesheets/framework/emojis.scss
+1
-1
app/assets/stylesheets/framework/snippets.scss
app/assets/stylesheets/framework/snippets.scss
+0
-10
app/assets/stylesheets/framework/tw_bootstrap.scss
app/assets/stylesheets/framework/tw_bootstrap.scss
+3
-3
app/assets/stylesheets/pages/notifications.scss
app/assets/stylesheets/pages/notifications.scss
+1
-13
app/views/projects/snippets/show.html.haml
app/views/projects/snippets/show.html.haml
+3
-2
app/views/snippets/show.html.haml
app/views/snippets/show.html.haml
+2
-2
未找到文件。
app/assets/stylesheets/framework.scss
浏览文件 @
18489218
...
...
@@ -46,3 +46,4 @@
@import
"framework/broadcast-messages"
;
@import
"framework/emojis.scss"
;
@import
"framework/icons.scss"
;
@import
"framework/snippets.scss"
;
app/assets/stylesheets/framework/emojis.scss
浏览文件 @
18489218
.emoji-0023-20E3
{
background-position
:
0
0
px
;
}
.emoji-0023-20E3
{
background-position
:
0
0
;
}
.emoji-002A-20E3
{
background-position
:
-20px
0
;
}
.emoji-0030-20E3
{
background-position
:
0
-20px
;
}
.emoji-0031-20E3
{
background-position
:
-20px
-20px
;
}
...
...
app/assets/stylesheets/
pages
/snippets.scss
→
app/assets/stylesheets/
framework
/snippets.scss
浏览文件 @
18489218
...
...
@@ -22,16 +22,6 @@
.snippet-file-content
{
border-radius
:
3px
;
margin-bottom
:
$gl-padding
;
.btn-clipboard
{
@extend
.btn
;
}
}
.project-snippets
.awards
{
border-bottom
:
1px
solid
$white-normal
;
padding-bottom
:
$gl-padding
;
}
.snippet-header
{
...
...
app/assets/stylesheets/framework/tw_bootstrap.scss
浏览文件 @
18489218
...
...
@@ -21,7 +21,7 @@
@import
"bootstrap/buttons"
;
// Components
//
@import "bootstrap/component-animations";
@import
"bootstrap/component-animations"
;
// @import "bootstrap/dropdowns";
@import
"bootstrap/button-groups"
;
@import
"bootstrap/input-groups"
;
...
...
@@ -36,8 +36,8 @@
// @import "bootstrap/progress-bars";
@import
"bootstrap/list-group"
;
// @import "bootstrap/wells";
//
@import "bootstrap/close";
//
@import "bootstrap/panels";
@import
"bootstrap/close"
;
@import
"bootstrap/panels"
;
// Components w/ JavaScript
@import
"bootstrap/modals"
;
...
...
app/assets/stylesheets/pages/notifications.scss
浏览文件 @
18489218
...
...
@@ -10,19 +10,7 @@
position
:
relative
;
top
:
1px
;
>
.fa
{
.fa
{
font-size
:
18px
;
}
}
.ns-part
{
color
:
$gl-text-green
;
}
.ns-watch
{
color
:
$gl-success
;
}
.ns-mute
{
color
:
$gl-danger
;
}
app/views/projects/snippets/show.html.haml
浏览文件 @
18489218
...
...
@@ -8,10 +8,11 @@
=
blob_icon
0
,
@snippet
.
file_name
=
@snippet
.
file_name
.file-actions
=
clipboard_button
(
clipboard_target:
".blob-content[data-blob-id='
#{
@snippet
.
id
}
']"
)
=
clipboard_button
(
clipboard_target:
".blob-content[data-blob-id='
#{
@snippet
.
id
}
']"
,
class:
"btn btn-sm"
)
=
link_to
'Raw'
,
raw_namespace_project_snippet_path
(
@project
.
namespace
,
@project
,
@snippet
),
class:
"btn btn-sm"
,
target:
"_blank"
=
render
'shared/snippets/blob'
=
render
'award_emoji/awards_block'
,
awardable:
@snippet
,
inline:
true
.row-content-block.top-block.content-component-block
=
render
'award_emoji/awards_block'
,
awardable:
@snippet
,
inline:
true
%div
#notes
=
render
"projects/notes/notes_with_form"
app/views/snippets/show.html.haml
浏览文件 @
18489218
...
...
@@ -7,9 +7,9 @@
=
blob_icon
0
,
@snippet
.
file_name
=
@snippet
.
file_name
.file-actions
=
clipboard_button
(
clipboard_target:
".blob-content[data-blob-id='
#{
@snippet
.
id
}
']"
)
=
clipboard_button
(
clipboard_target:
".blob-content[data-blob-id='
#{
@snippet
.
id
}
']"
,
class:
"btn btn-sm"
)
=
link_to
'Raw'
,
raw_snippet_path
(
@snippet
),
class:
"btn btn-sm"
,
target:
"_blank"
=
link_to
'Download'
,
download_snippet_path
(
@snippet
),
class:
"btn btn-sm"
=
render
'shared/snippets/blob'
=
render
'award_emoji/awards_block'
,
awardable:
@snippet
,
inline:
true
\ No newline at end of file
=
render
'award_emoji/awards_block'
,
awardable:
@snippet
,
inline:
true
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录