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
059b8828
Commit
059b8828
authored
Sep 10, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style syntax highlight area for white theme
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
b08c5521
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
34 deletions
+36
-34
app/assets/stylesheets/generic/files.scss
app/assets/stylesheets/generic/files.scss
+30
-2
app/assets/stylesheets/highlight/white.scss
app/assets/stylesheets/highlight/white.scss
+6
-2
app/assets/stylesheets/pages/tree.scss
app/assets/stylesheets/pages/tree.scss
+0
-30
No files found.
app/assets/stylesheets/generic/files.scss
View file @
059b8828
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
margin-right
:
-
$gl-padding
;
margin-right
:
-
$gl-padding
;
border
:
none
;
border
:
none
;
border-top
:
1px
solid
#E7E9EE
;
border-top
:
1px
solid
#E7E9EE
;
border-bottom
:
1px
solid
#E7E9EE
;
margin-bottom
:
1em
;
margin-bottom
:
1em
;
table
{
table
{
...
@@ -52,7 +53,7 @@
...
@@ -52,7 +53,7 @@
}
}
&
.wiki
{
&
.wiki
{
padding
:
25px
;
padding
:
$gl-padding
;
.highlight
{
.highlight
{
margin-bottom
:
9px
;
margin-bottom
:
9px
;
...
@@ -93,7 +94,7 @@
...
@@ -93,7 +94,7 @@
border-right
:
none
;
border-right
:
none
;
}
}
background
:
#fff
;
background
:
#fff
;
padding
:
8px
;
padding
:
10px
$gl-padding
;
}
}
.lines
{
.lines
{
pre
{
pre
{
...
@@ -103,6 +104,33 @@
...
@@ -103,6 +104,33 @@
border
:
none
;
border
:
none
;
}
}
}
}
img
.avatar
{
border
:
0
none
;
float
:
none
;
margin
:
0
;
padding
:
0
;
}
td
.blame-commit
{
background
:
#f9f9f9
;
min-width
:
350px
;
.commit-author-link
{
color
:
#888
;
}
}
td
.blame-numbers
{
pre
{
color
:
#AAA
;
white-space
:
pre
;
}
background
:
#f1f1f1
;
border-left
:
1px
solid
#DDD
;
}
td
.lines
{
code
{
font-family
:
$monospace_font
;
}
}
}
}
&
.logs
{
&
.logs
{
...
...
app/assets/stylesheets/highlight/white.scss
View file @
059b8828
...
@@ -5,15 +5,19 @@ pre.code.highlight.white,
...
@@ -5,15 +5,19 @@ pre.code.highlight.white,
background-color
:
#fff
;
background-color
:
#fff
;
color
:
#333
;
color
:
#333
;
pre
.highlight
,
.line-numbers
,
.line-numbers
,
.line-numbers
a
{
.line-numbers
a
{
background-color
:
$background-color
!
important
;
color
:
$gl-gray
!
important
;
}
pre
.highlight
{
background-color
:
#fff
!
important
;
background-color
:
#fff
!
important
;
color
:
#333
!
important
;
color
:
#333
!
important
;
}
}
pre
.code
{
pre
.code
{
border-left
:
1px
solid
#bbb
;
border-left
:
1px
solid
$border-color
;
}
}
// highlight line via anchor
// highlight line via anchor
...
...
app/assets/stylesheets/pages/tree.scss
View file @
059b8828
...
@@ -78,36 +78,6 @@
...
@@ -78,36 +78,6 @@
}
}
}
}
}
}
.blame
{
img
.avatar
{
border
:
0
none
;
float
:
none
;
margin
:
0
;
padding
:
0
;
}
td
.blame-commit
{
background
:
#f9f9f9
;
min-width
:
350px
;
.commit-author-link
{
color
:
#888
;
}
}
td
.blame-numbers
{
pre
{
color
:
#AAA
;
white-space
:
pre
;
}
background
:
#f1f1f1
;
border-left
:
1px
solid
#DDD
;
}
td
.lines
{
code
{
font-family
:
$monospace_font
;
}
}
}
}
}
.tree-ref-holder
{
.tree-ref-holder
{
...
...
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