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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
b95a56c1
Commit
b95a56c1
authored
Jan 26, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify white and solarized themes for hljs
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
c7966a42
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
134 deletions
+120
-134
app/assets/stylesheets/highlight/solarized_dark.scss
app/assets/stylesheets/highlight/solarized_dark.scss
+107
-73
app/assets/stylesheets/highlight/white.scss
app/assets/stylesheets/highlight/white.scss
+13
-61
No files found.
app/assets/stylesheets/highlight/solarized_dark.scss
View file @
b95a56c1
.solarized-dark
.highlight
{
.solarized-dark
{
background-color
:
#002B36
;
background-color
:
#002B36
;
.highlight
{
border-left
:
1px
solid
#113b46
;
}
pre
{
pre
{
background-color
:
#002B36
;
background-color
:
#002B36
;
color
:
#eee
;
color
:
#eee
;
}
}
.hll
{
background-color
:
#073642
}
.hljs
{
.c
{
color
:
#586E75
}
/* Comment */
display
:
block
;
.err
{
color
:
#93A1A1
}
/* Error */
padding
:
0
.5em
;
.g
{
color
:
#93A1A1
}
/* Generic */
background
:
#002b36
;
.k
{
color
:
#859900
}
/* Keyword */
color
:
#839496
;
.l
{
color
:
#93A1A1
}
/* Literal */
}
.n
{
color
:
#93A1A1
}
/* Name */
.o
{
color
:
#859900
}
/* Operator */
.hljs-comment
,
.x
{
color
:
#CB4B16
}
/* Other */
.hljs-template_comment
,
.p
{
color
:
#93A1A1
}
/* Punctuation */
.diff
.hljs-header
,
.cm
{
color
:
#586E75
}
/* Comment.Multiline */
.hljs-doctype
,
.cp
{
color
:
#859900
}
/* Comment.Preproc */
.hljs-pi
,
.c1
{
color
:
#586E75
}
/* Comment.Single */
.lisp
.hljs-string
,
.cs
{
color
:
#859900
}
/* Comment.Special */
.hljs-javadoc
{
.gd
{
color
:
#2AA198
}
/* Generic.Deleted */
color
:
#586e75
;
.ge
{
color
:
#93A1A1
;
font-style
:
italic
}
/* Generic.Emph */
}
.gr
{
color
:
#DC322F
}
/* Generic.Error */
.gh
{
color
:
#CB4B16
}
/* Generic.Heading */
/* Solarized Green */
.gi
{
color
:
#859900
}
/* Generic.Inserted */
.hljs-keyword
,
.go
{
color
:
#93A1A1
}
/* Generic.Output */
.hljs-winutils
,
.gp
{
color
:
#93A1A1
}
/* Generic.Prompt */
.method
,
.gs
{
color
:
#93A1A1
;
font-weight
:
bold
}
/* Generic.Strong */
.hljs-addition
,
.gu
{
color
:
#CB4B16
}
/* Generic.Subheading */
.css
.hljs-tag
,
.gt
{
color
:
#93A1A1
}
/* Generic.Traceback */
.hljs-request
,
.kc
{
color
:
#CB4B16
}
/* Keyword.Constant */
.hljs-status
,
.kd
{
color
:
#268BD2
}
/* Keyword.Declaration */
.nginx
.hljs-title
{
.kn
{
color
:
#859900
}
/* Keyword.Namespace */
color
:
#859900
;
.kp
{
color
:
#859900
}
/* Keyword.Pseudo */
}
.kr
{
color
:
#268BD2
}
/* Keyword.Reserved */
.kt
{
color
:
#DC322F
}
/* Keyword.Type */
.ld
{
color
:
#93A1A1
}
/* Literal.Date */
.m
{
color
:
#2AA198
}
/* Literal.Number */
.s
{
color
:
#2AA198
}
/* Literal.String */
.na
{
color
:
#93A1A1
}
/* Name.Attribute */
.nb
{
color
:
#B58900
}
/* Name.Builtin */
.nc
{
color
:
#268BD2
}
/* Name.Class */
.no
{
color
:
#CB4B16
}
/* Name.Constant */
.nd
{
color
:
#268BD2
}
/* Name.Decorator */
.ni
{
color
:
#CB4B16
}
/* Name.Entity */
.ne
{
color
:
#CB4B16
}
/* Name.Exception */
.nf
{
color
:
#268BD2
}
/* Name.Function */
.nl
{
color
:
#93A1A1
}
/* Name.Label */
.nn
{
color
:
#93A1A1
}
/* Name.Namespace */
.nx
{
color
:
#93A1A1
}
/* Name.Other */
.py
{
color
:
#93A1A1
}
/* Name.Property */
.nt
{
color
:
#268BD2
}
/* Name.Tag */
.nv
{
color
:
#268BD2
}
/* Name.Variable */
.ow
{
color
:
#859900
}
/* Operator.Word */
.w
{
color
:
#93A1A1
}
/* Text.Whitespace */
.mf
{
color
:
#2AA198
}
/* Literal.Number.Float */
.mh
{
color
:
#2AA198
}
/* Literal.Number.Hex */
.mi
{
color
:
#2AA198
}
/* Literal.Number.Integer */
.mo
{
color
:
#2AA198
}
/* Literal.Number.Oct */
.sb
{
color
:
#586E75
}
/* Literal.String.Backtick */
.sc
{
color
:
#2AA198
}
/* Literal.String.Char */
.sd
{
color
:
#93A1A1
}
/* Literal.String.Doc */
.s2
{
color
:
#2AA198
}
/* Literal.String.Double */
.se
{
color
:
#CB4B16
}
/* Literal.String.Escape */
.sh
{
color
:
#93A1A1
}
/* Literal.String.Heredoc */
.si
{
color
:
#2AA198
}
/* Literal.String.Interpol */
.sx
{
color
:
#2AA198
}
/* Literal.String.Other */
.sr
{
color
:
#DC322F
}
/* Literal.String.Regex */
.s1
{
color
:
#2AA198
}
/* Literal.String.Single */
.ss
{
color
:
#2AA198
}
/* Literal.String.Symbol */
.bp
{
color
:
#268BD2
}
/* Name.Builtin.Pseudo */
.vc
{
color
:
#268BD2
}
/* Name.Variable.Class */
.vg
{
color
:
#268BD2
}
/* Name.Variable.Global */
.vi
{
color
:
#268BD2
}
/* Name.Variable.Instance */
.il
{
color
:
#2AA198
}
/* Literal.Number.Integer.Long */
}
/* Solarized Cyan */
.hljs-number
,
.hljs-command
,
.hljs-string
,
.hljs-tag
.hljs-value
,
.hljs-rules
.hljs-value
,
.hljs-phpdoc
,
.tex
.hljs-formula
,
.hljs-regexp
,
.hljs-hexcolor
,
.hljs-link_url
{
color
:
#2aa198
;
}
/* Solarized Blue */
.hljs-title
,
.hljs-localvars
,
.hljs-chunk
,
.hljs-decorator
,
.hljs-built_in
,
.hljs-identifier
,
.vhdl
.hljs-literal
,
.hljs-id
,
.css
.hljs-function
{
color
:
#268bd2
;
}
/* Solarized Yellow */
.hljs-attribute
,
.hljs-variable
,
.lisp
.hljs-body
,
.smalltalk
.hljs-number
,
.hljs-constant
,
.hljs-class
.hljs-title
,
.hljs-parent
,
.haskell
.hljs-type
,
.hljs-link_reference
{
color
:
#b58900
;
}
/* Solarized Orange */
.hljs-preprocessor
,
.hljs-preprocessor
.hljs-keyword
,
.hljs-pragma
,
.hljs-shebang
,
.hljs-symbol
,
.hljs-symbol
.hljs-string
,
.diff
.hljs-change
,
.hljs-special
,
.hljs-attr_selector
,
.hljs-subst
,
.hljs-cdata
,
.clojure
.hljs-title
,
.css
.hljs-pseudo
,
.hljs-header
{
color
:
#cb4b16
;
}
/* Solarized Red */
.hljs-deletion
,
.hljs-important
{
color
:
#dc322f
;
}
/* Solarized Violet */
.hljs-link_label
{
color
:
#6c71c4
;
}
.tex
.hljs-formula
{
background
:
#073642
;
}
}
app/assets/stylesheets/highlight/white.scss
View file @
b95a56c1
.white
.highlight
{
.white
{
background-color
:
#fff
;
background-color
:
#fff
;
.highlight
{
border-left
:
1px
solid
#ddd
;
}
pre
{
pre
{
background-color
:
#fff
;
background-color
:
#fff
;
color
:
#333
;
color
:
#333
;
}
}
.hll
{
display
:
block
;
background-color
:
$hover
}
.hljs
{
.c
{
color
:
#888888
;
font-style
:
italic
}
/* Comment */
background
:
#FFF
;
.err
{
color
:
#a61717
;
background-color
:
#e3d2d2
}
/* Error */
}
.k
{
color
:
#000000
;
font-weight
:
bold
}
/* Keyword */
.cm
{
color
:
#888888
}
/* Comment.Multiline */
.line-numbers
a
{
.cp
{
color
:
#cc0000
;
font-weight
:
bold
}
/* Comment.Preproc */
color
:
#999
;
.c1
{
color
:
#888888
}
/* Comment.Single */
}
.cs
{
color
:
#cc0000
;
font-weight
:
bold
;
background-color
:
#fff0f0
}
/* Comment.Special */
.gd
{
color
:
#000000
;
background-color
:
#ffdddd
}
/* Generic.Deleted */
.ge
{
font-style
:
italic
}
/* Generic.Emph */
.gr
{
color
:
#aa0000
}
/* Generic.Error */
.gh
{
color
:
#303030
}
/* Generic.Heading */
.gi
{
color
:
#000000
;
background-color
:
#ddffdd
}
/* Generic.Inserted */
.go
{
color
:
#888888
}
/* Generic.Output */
.gp
{
color
:
#555555
}
/* Generic.Prompt */
.gs
{
font-weight
:
bold
}
/* Generic.Strong */
.gu
{
color
:
#606060
}
/* Generic.Subheading */
.gt
{
color
:
#aa0000
}
/* Generic.Traceback */
.kc
{
font-weight
:
bold
;}
/* Keyword.Constant */
.kd
{
font-weight
:
bold
;}
/* Keyword.Declaration */
.kn
{
font-weight
:
bold
;}
/* Keyword.Namespace */
.kp
{
font-weight
:
bold
;}
/* Keyword.Pseudo */
.kr
{
font-weight
:
bold
;}
/* Keyword.Reserved */
.kt
{
color
:
#458
;
font-weight
:
bold
;}
/* Keyword.Type */
.m
{
color
:
#0000DD
;
font-weight
:
bold
}
/* Literal.Number */
.s
{
color
:
#dd2200
;
background-color
:
#fff0f0
}
/* Literal.String */
.na
{
color
:
#008080
;}
/* Name.Attribute */
.nb
{
color
:
#0086B3
;}
/* Name.Builtin */
.nc
{
color
:
#458
;
font-weight
:
bold
;}
/* Name.Class */
.no
{
color
:
#008080
;}
/* Name.Constant */
.ni
{
color
:
#800080
;}
.ne
{
color
:
#900
;
font-weight
:
bold
;}
/* Name.Exception */
.nf
{
color
:
#900
;
font-weight
:
bold
;}
/* Name.Function */
.nn
{
color
:
#005
;
font-weight
:
bold
;}
/* Name.Namespace */
.nt
{
color
:
#000080
;}
/* Name.Tag */
.nv
{
color
:
#008080
;}
/* Name.Variable */
.py
{
color
:
#336699
;
font-weight
:
bold
}
/* Name.Property */
.ow
{
color
:
#008800
}
/* Operator.Word */
.w
{
color
:
#bbbbbb
}
/* Text.Whitespace */
.mf
{
color
:
#0000DD
;
font-weight
:
bold
}
/* Literal.Number.Float */
.mh
{
color
:
#0000DD
;
font-weight
:
bold
}
/* Literal.Number.Hex */
.mi
{
color
:
#099
;}
/* Literal.Number.Integer */
.mo
{
color
:
#0000DD
;
font-weight
:
bold
}
/* Literal.Number.Oct */
.sb
{
color
:
#dd2200
;
background-color
:
#fff0f0
}
/* Literal.String.Backtick */
.sc
{
color
:
#d14
;}
/* Literal.String.Char */
.sd
{
color
:
#dd2200
;
background-color
:
#fff0f0
}
/* Literal.String.Doc */
.s2
{
color
:
#d14
;}
/* Literal.String.Double */
.se
{
color
:
#d14
;}
/* Literal.String.Escape */
.sh
{
color
:
#d14
;}
/* Literal.String.Heredoc */
.si
{
color
:
#d14
;}
/* Literal.String.Interpol */
.sx
{
color
:
#d14
;}
/* Literal.String.Other */
.sr
{
color
:
#d14
;}
/* Literal.String.Regex */
.s1
{
color
:
#d14
;}
/* Literal.String.Single */
.ss
{
color
:
#d14
;}
/* Literal.String.Symbol */
.bp
{
color
:
#003388
}
/* Name.Builtin.Pseudo */
.vc
{
color
:
#336699
}
/* Name.Variable.Class */
.vg
{
color
:
#dd7700
}
/* Name.Variable.Global */
.vi
{
color
:
#3333bb
}
}
}
.shadow
{
.shadow
{
...
...
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