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
Tatuya Kamada
gitlab-ce
Commits
050e4848
Commit
050e4848
authored
Jul 12, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduced diff email CSS
parent
850bb6db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
48 deletions
+19
-48
app/assets/stylesheets/mailers/repository_push_email.scss
app/assets/stylesheets/mailers/repository_push_email.scss
+19
-48
No files found.
app/assets/stylesheets/mailers/repository_push_email.scss
View file @
050e4848
...
@@ -11,41 +11,28 @@
...
@@ -11,41 +11,28 @@
// explicit child selectors.
// explicit child selectors.
table
.code
{
table
.code
{
width
:
100%
;
font-family
:
monospace
;
font-family
:
monospace
;
border
:
none
;
font-size
:
$code_font_size
;
border-collapse
:
separate
;
margin
:
0
;
padding
:
0
;
-premailer-cellpadding
:
0
;
-premailer-cellpadding
:
0
;
-premailer-cellspacing
:
0
;
-premailer-cellspacing
:
0
;
-premailer-width
:
100%
;
-premailer-width
:
100%
;
>
tr
>
td
{
tr
{
line-height
:
$code_line_height
;
line-height
:
$code_line_height
;
font-family
:
monospace
;
}
font-size
:
$code_font_size
;
&
.diff-line-num
{
.diff-line-num
{
margin
:
0
;
padding
:
0
;
border
:
none
;
padding
:
0
5px
;
padding
:
0
5px
;
border-right
:
1px
solid
;
text-align
:
right
;
text-align
:
right
;
min-width
:
35px
;
max-width
:
50px
;
max-width
:
50px
;
width
:
35px
;
width
:
35px
;
border-right-width
:
1px
;
border-right-style
:
solid
;
}
}
&
.line_content
{
.line_content
{
display
:
block
;
margin
:
0
;
padding
:
0
0
.5em
;
border
:
none
;
white-space
:
pre
;
white-space
:
pre
;
}
}
}
}
}
.line-numbers
,
.diff-line-num
{
.line-numbers
,
.diff-line-num
{
...
@@ -57,32 +44,24 @@ table.code {
...
@@ -57,32 +44,24 @@ table.code {
}
}
pre
.code
,
.diff-line-num
{
pre
.code
,
.diff-line-num
{
border-color
:
$table-border-gray
;
border-right
:
1px
solid
$table-border-gray
;
}
.code.white
,
pre
.code
,
.line_content
{
background-color
:
#fff
;
color
:
#333
;
}
}
.diff-line-num
{
.diff-line-num
{
&
.old
{
&
.old
{
background-color
:
$line-number-old
;
background-color
:
$line-number-old
;
border-color
:
$line-removed-dark
;
border-
right-
color
:
$line-removed-dark
;
}
}
&
.new
{
&
.new
{
background-color
:
$line-number-new
;
background-color
:
$line-number-new
;
border-color
:
$line-added-dark
;
border-right-color
:
$line-added-dark
;
}
&
.hll
:not
(
.empty-cell
)
{
background-color
:
$line-number-select
;
border-color
:
$line-select-yellow-dark
;
}
}
}
}
.line_content
{
.line_content
{
background-color
:
#fff
;
&
.old
{
&
.old
{
background-color
:
$line-removed
;
background-color
:
$line-removed
;
...
@@ -103,14 +82,6 @@ pre.code, .diff-line-num {
...
@@ -103,14 +82,6 @@ pre.code, .diff-line-num {
color
:
$black-transparent
;
color
:
$black-transparent
;
background-color
:
$match-line
;
background-color
:
$match-line
;
}
}
&
.hll
:not
(
.empty-cell
)
{
background-color
:
$line-select-yellow
;
}
}
pre
>
.hll
{
background-color
:
#f8eec7
!
important
;
}
}
span
.highlight_word
{
span
.highlight_word
{
...
...
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