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
b08c5521
Commit
b08c5521
authored
Sep 10, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style blob show page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
df51b029
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
app/assets/stylesheets/generic/files.scss
app/assets/stylesheets/generic/files.scss
+4
-1
app/assets/stylesheets/pages/diff.scss
app/assets/stylesheets/pages/diff.scss
+3
-3
app/assets/stylesheets/pages/tree.scss
app/assets/stylesheets/pages/tree.scss
+2
-5
app/views/projects/blob/_blob.html.haml
app/views/projects/blob/_blob.html.haml
+1
-1
No files found.
app/assets/stylesheets/generic/files.scss
View file @
b08c5521
...
@@ -3,7 +3,10 @@
...
@@ -3,7 +3,10 @@
*
*
*/
*/
.file-holder
{
.file-holder
{
border
:
1px
solid
$border-color
;
margin-left
:
-
$gl-padding
;
margin-right
:
-
$gl-padding
;
border
:
none
;
border-top
:
1px
solid
#E7E9EE
;
margin-bottom
:
1em
;
margin-bottom
:
1em
;
table
{
table
{
...
...
app/assets/stylesheets/pages/diff.scss
View file @
b08c5521
.diff-file
{
.diff-file
{
margin-left
:
-
16px
;
margin-left
:
-
$gl-padding
;
margin-right
:
-
16px
;
margin-right
:
-
$gl-padding
;
border
:
none
;
border
:
none
;
border-bottom
:
1px
solid
#E7E9EE
;
border-bottom
:
1px
solid
#E7E9EE
;
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
position
:
relative
;
position
:
relative
;
background
:
$background-color
;
background
:
$background-color
;
border-bottom
:
1px
solid
$border-color
;
border-bottom
:
1px
solid
$border-color
;
padding
:
10px
1
5
px
;
padding
:
10px
1
6
px
;
color
:
#555
;
color
:
#555
;
z-index
:
10
;
z-index
:
10
;
...
...
app/assets/stylesheets/pages/tree.scss
View file @
b08c5521
...
@@ -132,17 +132,14 @@
...
@@ -132,17 +132,14 @@
list-style
:
none
;
list-style
:
none
;
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
margin-bottom
:
10
px
;
margin-bottom
:
5
px
;
.commit
{
.commit
{
padding
:
10px
15px
;
padding
:
$gl-padding
0
;
.commit-row-title
{
.commit-row-title
{
font-size
:
13px
;
.commit-row-message
{
.commit-row-message
{
font-weight
:
normal
;
font-weight
:
normal
;
color
:
#555
;
}
}
}
}
}
}
...
...
app/views/projects/blob/_blob.html.haml
View file @
b08c5521
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
-
else
-
else
=
link_to
title
,
'#'
=
link_to
title
,
'#'
%ul
.blob-commit-info.
well.
hidden-xs
%ul
.blob-commit-info.hidden-xs
-
blob_commit
=
@repository
.
last_commit_for_path
(
@commit
.
id
,
blob
.
path
)
-
blob_commit
=
@repository
.
last_commit_for_path
(
@commit
.
id
,
blob
.
path
)
=
render
blob_commit
,
project:
@project
=
render
blob_commit
,
project:
@project
...
...
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