summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/highlight
diff options
context:
space:
mode:
authorKoen Punt <koen@koenpunt.nl>2012-11-23 17:51:38 +0100
committerKoen Punt <koen@koenpunt.nl>2012-11-29 12:18:44 +0100
commitb825582eb16d7983798f3a35746a8352675d3f23 (patch)
treedabca93077a37f790e32781c6700eeef28d3b8e6 /app/assets/stylesheets/highlight
parent84de1b71d1547cc92e0f22a5e00b1f8e90f35a67 (diff)
downloadgitlab-ce-b825582eb16d7983798f3a35746a8352675d3f23.tar.gz
replaced redundant -*-border-radius box-shadows and others with corresponding mixins
Diffstat (limited to 'app/assets/stylesheets/highlight')
-rw-r--r--app/assets/stylesheets/highlight/dark.scss24
-rw-r--r--app/assets/stylesheets/highlight/white.scss46
2 files changed, 34 insertions, 36 deletions
diff --git a/app/assets/stylesheets/highlight/dark.scss b/app/assets/stylesheets/highlight/dark.scss
index c4153bf3f8c..4196ea7ad29 100644
--- a/app/assets/stylesheets/highlight/dark.scss
+++ b/app/assets/stylesheets/highlight/dark.scss
@@ -28,29 +28,29 @@
.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 */
+ .kt{color: #458;font-weight: bold;} /* Keyword.Type */
.m { color: #0000DD; font-weight: bold } /* Literal.Number */
.p { color: #eee; }
.s { color: #0AD; background-color: transparent } /* Literal.String */
- .na{color:#008080;} /* Name.Attribute */
- .nb{color:#0086B3;} /* Name.Builtin */
- .nc{color:#ccc;font-weight: bold;} /* Name.Class */
+ .na{color: #008080;} /* Name.Attribute */
+ .nb{color: #0086B3;} /* Name.Builtin */
+ .nc{color: #ccc;font-weight: bold;} /* Name.Class */
.no{color: turquoise;} /* Name.Constant */
- .ni{color:#800080;}
- .ne{color:#900;font-weight: bold;} /* Name.Exception */
- .nf{color:#ccc;font-weight: bold;} /* Name.Function */
- .nn{color:#79C3E0;font-weight: bold;} /* Name.Namespace */
- .nt{color:#fc5;} /* Name.Tag */
- .nv{color:#FA4;} /* Name.Variable */
+ .ni{color: #800080;}
+ .ne{color: #900;font-weight: bold;} /* Name.Exception */
+ .nf{color: #ccc;font-weight: bold;} /* Name.Function */
+ .nn{color: #79C3E0;font-weight: bold;} /* Name.Namespace */
+ .nt{color: #fc5;} /* Name.Tag */
+ .nv{color: #FA4;} /* Name.Variable */
.py { color: #336699; font-weight: bold } /* Name.Property */
.ow { color: #008800 } /* Operator.Word */
.w { color: #bbbbbb } /* Text.Whitespace */
.mf { color: #7AC; font-weight: bold } /* Literal.Number.Float */
.mh { color: #7AC; font-weight: bold } /* Literal.Number.Hex */
- .mi {color:#099;} /* Literal.Number.Integer */
+ .mi {color: #099;} /* Literal.Number.Integer */
.mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.sb { color: #dd2200; background-color: transparent; } /* Literal.String.Backtick */
- .sc{color:#d14;} /* Literal.String.Char */
+ .sc{color: #d14;} /* Literal.String.Char */
.sd { color: #dd2200; background-color: transparent; } /* Literal.String.Doc */
.s2{color: orange;} /* Literal.String.Double */
.se{color: orange;} /* Literal.String.Escape */
diff --git a/app/assets/stylesheets/highlight/white.scss b/app/assets/stylesheets/highlight/white.scss
index 6f937538921..f200e1d7b60 100644
--- a/app/assets/stylesheets/highlight/white.scss
+++ b/app/assets/stylesheets/highlight/white.scss
@@ -27,37 +27,37 @@
.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 */
+ .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 */
+ .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 */
+ .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 */
+ .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 */
+ .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 */
@@ -65,7 +65,5 @@
}
.shadow {
- -webkit-box-shadow:0 5px 15px #000;
- -moz-box-shadow:0 5px 15px #000;
- box-shadow:0 5px 15px #000;
+ @include box-shadow(0 5px 15px #000);
}