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
c298cd9c
Commit
c298cd9c
authored
Dec 09, 2016
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update file hader styles; remove and relocate more commits css
parent
f2bf9443
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
119 additions
and
172 deletions
+119
-172
app/assets/stylesheets/framework/files.scss
app/assets/stylesheets/framework/files.scss
+49
-0
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+0
-1
app/assets/stylesheets/notify.scss
app/assets/stylesheets/notify.scss
+0
-12
app/assets/stylesheets/pages/branches.scss
app/assets/stylesheets/pages/branches.scss
+55
-0
app/assets/stylesheets/pages/commits.scss
app/assets/stylesheets/pages/commits.scss
+1
-143
app/assets/stylesheets/pages/merge_requests.scss
app/assets/stylesheets/pages/merge_requests.scss
+0
-4
app/assets/stylesheets/pages/status.scss
app/assets/stylesheets/pages/status.scss
+6
-0
app/assets/stylesheets/pages/tree.scss
app/assets/stylesheets/pages/tree.scss
+6
-9
app/views/projects/blob/_blob.html.haml
app/views/projects/blob/_blob.html.haml
+1
-1
app/views/projects/compare/_form.html.haml
app/views/projects/compare/_form.html.haml
+1
-1
app/views/projects/diffs/_stats.html.haml
app/views/projects/diffs/_stats.html.haml
+0
-1
No files found.
app/assets/stylesheets/framework/files.scss
View file @
c298cd9c
...
@@ -182,3 +182,52 @@ span.idiff {
...
@@ -182,3 +182,52 @@ span.idiff {
border-bottom-right-radius
:
2px
;
border-bottom-right-radius
:
2px
;
}
}
}
}
.file-stats
{
ul
{
list-style
:
none
;
margin
:
0
;
padding
:
10px
0
;
li
{
padding
:
3px
0
;
line-height
:
20px
;
}
}
.new-file
{
a
{
color
:
$gl-text-green
;
}
}
.renamed-file
{
a
{
color
:
$gl-text-orange
;
}
}
.deleted-file
{
a
{
color
:
$gl-text-red
;
}
}
.edit-file
{
a
{
color
:
$gl-text-color
;
}
}
a
{
text-decoration
:
none
;
.new-file
{
color
:
$notify-new-file
;
}
.deleted-file
{
color
:
$notify-deleted-file
;
}
}
}
app/assets/stylesheets/framework/variables.scss
View file @
c298cd9c
...
@@ -376,7 +376,6 @@ $callout-success-color: #3c763d;
...
@@ -376,7 +376,6 @@ $callout-success-color: #3c763d;
/*
/*
* Commit Page
* Commit Page
*/
*/
$commit-committer-color
:
#999
;
$commit-max-width-marker-color
:
rgba
(
0
,
0
,
0
,
0
.0
);
$commit-max-width-marker-color
:
rgba
(
0
,
0
,
0
,
0
.0
);
$commit-message-text-area-bg
:
rgba
(
0
,
0
,
0
,
0
.0
);
$commit-message-text-area-bg
:
rgba
(
0
,
0
,
0
,
0
.0
);
...
...
app/assets/stylesheets/notify.scss
View file @
c298cd9c
...
@@ -18,15 +18,3 @@ p.details {
...
@@ -18,15 +18,3 @@ p.details {
pre
.commit-message
{
pre
.commit-message
{
white-space
:
pre-wrap
;
white-space
:
pre-wrap
;
}
}
.file-stats
>
a
{
text-decoration
:
none
;
>
.new-file
{
color
:
$notify-new-file
;
}
>
.deleted-file
{
color
:
$notify-deleted-file
;
}
}
app/assets/stylesheets/pages/branches.scss
0 → 100644
View file @
c298cd9c
.divergence-graph
{
padding
:
12px
12px
0
0
;
float
:
right
;
.graph-side
{
position
:
relative
;
width
:
80px
;
height
:
22px
;
padding
:
5px
0
13px
;
float
:
left
;
.bar
{
position
:
absolute
;
height
:
4px
;
background-color
:
$divergence-graph-bar-bg
;
}
.bar-behind
{
right
:
0
;
border-radius
:
3px
0
0
3px
;
}
.bar-ahead
{
left
:
0
;
border-radius
:
0
3px
3px
0
;
}
.count
{
padding-top
:
6px
;
padding-bottom
:
0
;
font-size
:
12px
;
color
:
$gl-title-color
;
display
:
block
;
}
.count-behind
{
padding-right
:
4px
;
text-align
:
right
;
}
.count-ahead
{
padding-left
:
4px
;
text-align
:
left
;
}
}
.graph-separator
{
position
:
relative
;
width
:
1px
;
height
:
18px
;
margin
:
5px
0
0
;
float
:
left
;
background-color
:
$divergence-graph-separator-bg
;
}
}
app/assets/stylesheets/pages/commits.scss
View file @
c298cd9c
.commit-title
{
display
:
block
;
}
.commit-author
,
.commit-committer
{
display
:
block
;
color
:
$commit-committer-color
;
font-weight
:
normal
;
font-style
:
italic
;
}
.commit-author
strong
,
.commit-committer
strong
{
font-weight
:
bold
;
font-style
:
normal
;
}
.commit-description
{
.commit-description
{
background
:
none
;
background
:
none
;
border
:
none
;
border
:
none
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
margin-top
:
10px
;
margin-top
:
10px
;
word-break
:
normal
;
word-break
:
normal
;
...
@@ -32,19 +13,12 @@
...
@@ -32,19 +13,12 @@
}
}
}
}
.ci-status-link
{
svg
{
overflow
:
visible
;
}
}
.commit-box
{
.commit-box
{
border-top
:
1px
solid
$border-color
;
border-top
:
1px
solid
$border-color
;
padding
:
$gl-padding
0
;
padding
:
$gl-padding
0
;
.commit-title
{
.commit-title
{
margin
:
0
;
margin
:
0
;
font-size
:
23px
;
color
:
$gl-gray-dark
;
color
:
$gl-gray-dark
;
}
}
...
@@ -64,43 +38,6 @@
...
@@ -64,43 +38,6 @@
}
}
}
}
.file-stats
{
ul
{
list-style
:
none
;
margin
:
0
;
padding
:
10px
0
;
li
{
padding
:
3px
0
;
line-height
:
20px
;
}
}
.new-file
{
a
{
color
:
$gl-text-green
;
}
}
.renamed-file
{
a
{
color
:
$gl-text-orange
;
}
}
.deleted-file
{
a
{
color
:
$gl-text-red
;
}
}
.edit-file
{
a
{
color
:
$gl-text-color
;
}
}
}
/*
/*
* Commit message textarea for web editor and
* Commit message textarea for web editor and
* custom merge request message
* custom merge request message
...
@@ -122,7 +59,7 @@
...
@@ -122,7 +59,7 @@
z-index
:
1
;
z-index
:
1
;
}
}
>
textarea
{
textarea
{
background-color
:
$commit-message-text-area-bg
;
background-color
:
$commit-message-text-area-bg
;
font-family
:
inherit
;
font-family
:
inherit
;
padding-left
:
$left
;
padding-left
:
$left
;
...
@@ -133,8 +70,6 @@
...
@@ -133,8 +70,6 @@
.commits-compare-switch
{
.commits-compare-switch
{
@include
btn-default
;
@include
btn-white
;
float
:
left
;
float
:
left
;
margin-right
:
9px
;
margin-right
:
9px
;
}
}
...
@@ -151,7 +86,6 @@
...
@@ -151,7 +86,6 @@
}
}
.commit-row-title
{
.commit-row-title
{
.notes_count
{
.notes_count
{
float
:
right
;
float
:
right
;
margin-right
:
10px
;
margin-right
:
10px
;
...
@@ -164,7 +98,6 @@
...
@@ -164,7 +98,6 @@
.commit-row-message
{
.commit-row-message
{
color
:
$gl-dark-link-color
;
color
:
$gl-dark-link-color
;
}
}
}
}
.text-expander
{
.text-expander
{
...
@@ -217,12 +150,6 @@
...
@@ -217,12 +150,6 @@
.commit
,
.commit
,
.generic_commit_status
{
.generic_commit_status
{
padding
:
10px
0
;
position
:
relative
;
@media
(
min-width
:
$screen-sm-min
)
{
padding-left
:
46px
;
}
a
,
a
,
button
{
button
{
...
@@ -253,19 +180,6 @@
...
@@ -253,19 +180,6 @@
}
}
}
}
.commit-row-info
{
color
:
$gl-gray
;
line-height
:
1
.35
;
a
{
color
:
$gl-gray
;
}
.avatar
{
margin-right
:
8px
;
}
}
&
.inline-commit
{
&
.inline-commit
{
.commit-row-title
{
.commit-row-title
{
font-size
:
13px
;
font-size
:
13px
;
...
@@ -301,59 +215,3 @@
...
@@ -301,59 +215,3 @@
color
:
$gl-gray
;
color
:
$gl-gray
;
}
}
}
}
.divergence-graph
{
padding
:
12px
12px
0
0
;
float
:
right
;
.graph-side
{
position
:
relative
;
width
:
80px
;
height
:
22px
;
padding
:
5px
0
13px
;
float
:
left
;
.bar
{
position
:
absolute
;
height
:
4px
;
background-color
:
$divergence-graph-bar-bg
;
}
.bar-behind
{
right
:
0
;
border-radius
:
3px
0
0
3px
;
}
.bar-ahead
{
left
:
0
;
border-radius
:
0
3px
3px
0
;
}
.count
{
padding-top
:
6px
;
padding-bottom
:
0
;
font-size
:
12px
;
color
:
$gl-title-color
;
display
:
block
;
}
.count-behind
{
padding-right
:
4px
;
text-align
:
right
;
}
.count-ahead
{
padding-left
:
4px
;
text-align
:
left
;
}
}
.graph-separator
{
position
:
relative
;
width
:
1px
;
height
:
18px
;
margin
:
5px
0
0
;
float
:
left
;
background-color
:
$divergence-graph-separator-bg
;
}
}
app/assets/stylesheets/pages/merge_requests.scss
View file @
c298cd9c
...
@@ -310,10 +310,6 @@
...
@@ -310,10 +310,6 @@
left
:
0
;
left
:
0
;
top
:
2px
;
top
:
2px
;
}
}
.commit-row-info
{
line-height
:
20px
;
}
}
}
.btn-clipboard
{
.btn-clipboard
{
...
...
app/assets/stylesheets/pages/status.scss
View file @
c298cd9c
...
@@ -135,3 +135,9 @@
...
@@ -135,3 +135,9 @@
left
:
5px
;
left
:
5px
;
}
}
}
}
.ci-status-link
{
svg
{
overflow
:
visible
;
}
}
app/assets/stylesheets/pages/tree.scss
View file @
c298cd9c
...
@@ -134,21 +134,18 @@
...
@@ -134,21 +134,18 @@
.blob-commit-info
{
.blob-commit-info
{
list-style
:
none
;
list-style
:
none
;
padding
:
$gl-padding
;
background
:
$gray-light
;
background
:
$gray-light
;
padding
:
6px
0
;
border
:
1px
solid
$border-color
;
border
:
1px
solid
$border-color
;
border-bottom
:
none
;
border-bottom
:
none
;
margin
:
0
;
margin
:
0
;
.
commit
{
.
table-list-cell
{
padding-top
:
0
;
border-bottom
:
none
;
padding-bottom
:
0
;
}
.commit-row-title
{
.commit-actions
{
.commit-row-message
{
width
:
200px
;
font-weight
:
normal
;
}
}
}
}
}
}
...
...
app/views/projects/blob/_blob.html.haml
View file @
c298cd9c
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
-
else
-
else
=
link_to
title
,
'#'
=
link_to
title
,
'#'
%ul
.blob-commit-info.hidden-xs
%ul
.blob-commit-info.
table-list.
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
,
ref:
@ref
=
render
blob_commit
,
project:
@project
,
ref:
@ref
...
...
app/views/projects/compare/_form.html.haml
View file @
c298cd9c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.clearfix
.clearfix
-
if
params
[
:to
]
&&
params
[
:from
]
-
if
params
[
:to
]
&&
params
[
:from
]
.compare-switch-container
.compare-switch-container
=
link_to
icon
(
'exchange'
),
{
from:
params
[
:to
],
to:
params
[
:from
]},
{
class:
'commits-compare-switch has-tooltip'
,
title:
'Switch base of comparison'
}
=
link_to
icon
(
'exchange'
),
{
from:
params
[
:to
],
to:
params
[
:from
]},
{
class:
'commits-compare-switch has-tooltip
btn btn-white
'
,
title:
'Switch base of comparison'
}
.form-group.dropdown.compare-form-group.from.js-compare-from-dropdown
.form-group.dropdown.compare-form-group.from.js-compare-from-dropdown
.input-group.inline-input-group
.input-group.inline-input-group
%span
.input-group-addon
from
%span
.input-group-addon
from
...
...
app/views/projects/diffs/_stats.html.haml
View file @
c298cd9c
...
@@ -34,4 +34,3 @@
...
@@ -34,4 +34,3 @@
%a
{
href:
"##{file_hash}"
}
%a
{
href:
"##{file_hash}"
}
%i
.fa.fa-adjust
%i
.fa.fa-adjust
=
diff_file
.
new_path
=
diff_file
.
new_path
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