Repo re-org
This commit is contained in:
parent
fdcbfc212b
commit
694f7891b3
8 changed files with 0 additions and 645 deletions
120
deps/codeformats/monokai.css
vendored
120
deps/codeformats/monokai.css
vendored
|
|
@ -1,120 +0,0 @@
|
|||
body .hll { background-color: #49483e }
|
||||
body { background: #272822; color: #f8f8f2 }
|
||||
body .c { color: #75715e } /* Comment */
|
||||
body .err { color: #960050; background-color: #1e0010 } /* Error */
|
||||
body .k { color: #66d9ef } /* Keyword */
|
||||
body .l { color: #ae81ff } /* Literal */
|
||||
body .n { color: #f8f8f2 } /* Name */
|
||||
body .o { color: #f92672 } /* Operator */
|
||||
body .p { color: #f8f8f2 } /* Punctuation */
|
||||
body .cm { color: #75715e } /* Comment.Multiline */
|
||||
body .cp { color: #75715e } /* Comment.Preproc */
|
||||
body .c1 { color: #75715e } /* Comment.Single */
|
||||
body .cs { color: #75715e } /* Comment.Special */
|
||||
body .gd { color: #f92672 } /* Generic.Deleted */
|
||||
body .ge { font-style: italic } /* Generic.Emph */
|
||||
body .gi { color: #a6e22e } /* Generic.Inserted */
|
||||
body .gs { font-weight: bold } /* Generic.Strong */
|
||||
body .gu { color: #75715e } /* Generic.Subheading */
|
||||
body .kc { color: #66d9ef } /* Keyword.Constant */
|
||||
body .kd { color: #66d9ef } /* Keyword.Declaration */
|
||||
body .kn { color: #f92672 } /* Keyword.Namespace */
|
||||
body .kp { color: #66d9ef } /* Keyword.Pseudo */
|
||||
body .kr { color: #66d9ef } /* Keyword.Reserved */
|
||||
body .kt { color: #66d9ef } /* Keyword.Type */
|
||||
body .ld { color: #e6db74 } /* Literal.Date */
|
||||
body .m { color: #ae81ff } /* Literal.Number */
|
||||
body .s { color: #e6db74 } /* Literal.String */
|
||||
body .na { color: #a6e22e } /* Name.Attribute */
|
||||
body .nb { color: #f8f8f2 } /* Name.Builtin */
|
||||
body .nc { color: #a6e22e } /* Name.Class */
|
||||
body .no { color: #66d9ef } /* Name.Constant */
|
||||
body .nd { color: #a6e22e } /* Name.Decorator */
|
||||
body .ni { color: #f8f8f2 } /* Name.Entity */
|
||||
body .ne { color: #a6e22e } /* Name.Exception */
|
||||
body .nf { color: #a6e22e } /* Name.Function */
|
||||
body .nl { color: #f8f8f2 } /* Name.Label */
|
||||
body .nn { color: #f8f8f2 } /* Name.Namespace */
|
||||
body .nx { color: #a6e22e } /* Name.Other */
|
||||
body .py { color: #f8f8f2 } /* Name.Property */
|
||||
body .nt { color: #f92672 } /* Name.Tag */
|
||||
body .nv { color: #f8f8f2 } /* Name.Variable */
|
||||
body .ow { color: #f92672 } /* Operator.Word */
|
||||
body .w { color: #f8f8f2 } /* Text.Whitespace */
|
||||
body .mb { color: #ae81ff } /* Literal.Number.Bin */
|
||||
body .mf { color: #ae81ff } /* Literal.Number.Float */
|
||||
body .mh { color: #ae81ff } /* Literal.Number.Hex */
|
||||
body .mi { color: #ae81ff } /* Literal.Number.Integer */
|
||||
body .mo { color: #ae81ff } /* Literal.Number.Oct */
|
||||
body .sb { color: #e6db74 } /* Literal.String.Backtick */
|
||||
body .sc { color: #e6db74 } /* Literal.String.Char */
|
||||
body .sd { color: #e6db74 } /* Literal.String.Doc */
|
||||
body .s2 { color: #e6db74 } /* Literal.String.Double */
|
||||
body .se { color: #ae81ff } /* Literal.String.Escape */
|
||||
body .sh { color: #e6db74 } /* Literal.String.Heredoc */
|
||||
body .si { color: #e6db74 } /* Literal.String.Interpol */
|
||||
body .sx { color: #e6db74 } /* Literal.String.Other */
|
||||
body .sr { color: #e6db74 } /* Literal.String.Regex */
|
||||
body .s1 { color: #e6db74 } /* Literal.String.Single */
|
||||
body .ss { color: #e6db74 } /* Literal.String.Symbol */
|
||||
body .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
|
||||
body .vc { color: #f8f8f2 } /* Name.Variable.Class */
|
||||
body .vg { color: #f8f8f2 } /* Name.Variable.Global */
|
||||
body .vi { color: #f8f8f2 } /* Name.Variable.Instance */
|
||||
body .il { color: #ae81ff } /* Literal.Number.Integer.Long */
|
||||
|
||||
/* Override the surrounding theme to match a dark theme*/
|
||||
|
||||
#topbar {
|
||||
background: #272822;
|
||||
color: #f8f8f2
|
||||
}
|
||||
td.linenos {
|
||||
background: #272822;
|
||||
padding: 0 5px 0 5px;
|
||||
border-right: 1px solid #272822;
|
||||
border-left: 1px solid #272822;
|
||||
border-top: 1px solid #272822;
|
||||
}
|
||||
|
||||
div.codebox table {
|
||||
border-right: 0px solid #272822;
|
||||
border-left: 0px solid #272822;
|
||||
border-top: 0px solid #272822;
|
||||
border-bottom: 0px solid #272822;
|
||||
}
|
||||
|
||||
/*
|
||||
These styles are used to highlight each diff line.
|
||||
Note: for partial like highlight change to "display:block-inline"
|
||||
*/
|
||||
span.left_diff_change {
|
||||
background-color: #FFCF74;
|
||||
display: block
|
||||
}
|
||||
span.left_diff_add {
|
||||
background-color: #B1B1B1;
|
||||
display: block
|
||||
}
|
||||
span.left_diff_del {
|
||||
background-color: #FF6B6B;
|
||||
display: block
|
||||
}
|
||||
span.lineno_q {
|
||||
display: block;
|
||||
}
|
||||
span.right_diff_change {
|
||||
background-color: #FFCF74;
|
||||
display: block
|
||||
}
|
||||
span.right_diff_add {
|
||||
background-color: #83FF83;
|
||||
display: block
|
||||
}
|
||||
span.right_diff_del {
|
||||
background-color: #B1B1B1;
|
||||
display: block
|
||||
}
|
||||
span.clearbg {
|
||||
background-color: transparent;
|
||||
}
|
||||
69
deps/codeformats/vs.css
vendored
69
deps/codeformats/vs.css
vendored
|
|
@ -1,69 +0,0 @@
|
|||
body .hll { background-color: #ffffcc }
|
||||
body { background: #ffffff; }
|
||||
body .c { color: #008000 } /* Comment */
|
||||
body .err { border: 1px solid #FF0000 } /* Error */
|
||||
body .k { color: #0000ff } /* Keyword */
|
||||
body .cm { color: #008000 } /* Comment.Multiline */
|
||||
body .cp { color: #0000ff } /* Comment.Preproc */
|
||||
body .c1 { color: #008000 } /* Comment.Single */
|
||||
body .cs { color: #008000 } /* Comment.Special */
|
||||
body .ge { font-style: italic } /* Generic.Emph */
|
||||
body .gh { font-weight: bold } /* Generic.Heading */
|
||||
body .gp { font-weight: bold } /* Generic.Prompt */
|
||||
body .gs { font-weight: bold } /* Generic.Strong */
|
||||
body .gu { font-weight: bold } /* Generic.Subheading */
|
||||
body .kc { color: #0000ff } /* Keyword.Constant */
|
||||
body .kd { color: #0000ff } /* Keyword.Declaration */
|
||||
body .kn { color: #0000ff } /* Keyword.Namespace */
|
||||
body .kp { color: #0000ff } /* Keyword.Pseudo */
|
||||
body .kr { color: #0000ff } /* Keyword.Reserved */
|
||||
body .kt { color: #2b91af } /* Keyword.Type */
|
||||
body .s { color: #a31515 } /* Literal.String */
|
||||
body .nc { color: #2b91af } /* Name.Class */
|
||||
body .ow { color: #0000ff } /* Operator.Word */
|
||||
body .sb { color: #a31515 } /* Literal.String.Backtick */
|
||||
body .sc { color: #a31515 } /* Literal.String.Char */
|
||||
body .sd { color: #a31515 } /* Literal.String.Doc */
|
||||
body .s2 { color: #a31515 } /* Literal.String.Double */
|
||||
body .se { color: #a31515 } /* Literal.String.Escape */
|
||||
body .sh { color: #a31515 } /* Literal.String.Heredoc */
|
||||
body .si { color: #a31515 } /* Literal.String.Interpol */
|
||||
body .sx { color: #a31515 } /* Literal.String.Other */
|
||||
body .sr { color: #a31515 } /* Literal.String.Regex */
|
||||
body .s1 { color: #a31515 } /* Literal.String.Single */
|
||||
body .ss { color: #a31515 } /* Literal.String.Symbol
|
||||
|
||||
/*
|
||||
These styles are used to highlight each diff line.
|
||||
Note: for partial like highlight change to "display:block-inline"
|
||||
*/
|
||||
span.left_diff_change {
|
||||
background-color: #FFE5B5;
|
||||
display: block
|
||||
}
|
||||
span.left_diff_add {
|
||||
background-color: #eeeeee;
|
||||
display: block
|
||||
}
|
||||
span.left_diff_del {
|
||||
background-color: #ffdddd;
|
||||
display: block
|
||||
}
|
||||
span.lineno_q {
|
||||
display: block;
|
||||
}
|
||||
span.right_diff_change {
|
||||
background-color: #FFE5B5;
|
||||
display: block
|
||||
}
|
||||
span.right_diff_add {
|
||||
background-color: #ddffdd;
|
||||
display: block
|
||||
}
|
||||
span.right_diff_del {
|
||||
background-color: #eeeeee;
|
||||
display: block
|
||||
}
|
||||
span.clearbg {
|
||||
background-color: transparent;
|
||||
}
|
||||
92
deps/codeformats/xcode.css
vendored
92
deps/codeformats/xcode.css
vendored
|
|
@ -1,92 +0,0 @@
|
|||
body .hll { background-color: #ffffcc }
|
||||
body { background: #ffffff; }
|
||||
body .c { color: #177500 } /* Comment */
|
||||
body .err { color: #000000 } /* Error */
|
||||
body .k { color: #A90D91 } /* Keyword */
|
||||
body .l { color: #1C01CE } /* Literal */
|
||||
body .n { color: #000000 } /* Name */
|
||||
body .o { color: #000000 } /* Operator */
|
||||
body .cm { color: #177500 } /* Comment.Multiline */
|
||||
body .cp { color: #633820 } /* Comment.Preproc */
|
||||
body .c1 { color: #177500 } /* Comment.Single */
|
||||
body .cs { color: #177500 } /* Comment.Special */
|
||||
body .kc { color: #A90D91 } /* Keyword.Constant */
|
||||
body .kd { color: #A90D91 } /* Keyword.Declaration */
|
||||
body .kn { color: #A90D91 } /* Keyword.Namespace */
|
||||
body .kp { color: #A90D91 } /* Keyword.Pseudo */
|
||||
body .kr { color: #A90D91 } /* Keyword.Reserved */
|
||||
body .kt { color: #A90D91 } /* Keyword.Type */
|
||||
body .ld { color: #1C01CE } /* Literal.Date */
|
||||
body .m { color: #1C01CE } /* Literal.Number */
|
||||
body .s { color: #C41A16 } /* Literal.String */
|
||||
body .na { color: #836C28 } /* Name.Attribute */
|
||||
body .nb { color: #A90D91 } /* Name.Builtin */
|
||||
body .nc { color: #3F6E75 } /* Name.Class */
|
||||
body .no { color: #000000 } /* Name.Constant */
|
||||
body .nd { color: #000000 } /* Name.Decorator */
|
||||
body .ni { color: #000000 } /* Name.Entity */
|
||||
body .ne { color: #000000 } /* Name.Exception */
|
||||
body .nf { color: #000000 } /* Name.Function */
|
||||
body .nl { color: #000000 } /* Name.Label */
|
||||
body .nn { color: #000000 } /* Name.Namespace */
|
||||
body .nx { color: #000000 } /* Name.Other */
|
||||
body .py { color: #000000 } /* Name.Property */
|
||||
body .nt { color: #000000 } /* Name.Tag */
|
||||
body .nv { color: #000000 } /* Name.Variable */
|
||||
body .ow { color: #000000 } /* Operator.Word */
|
||||
body .mb { color: #1C01CE } /* Literal.Number.Bin */
|
||||
body .mf { color: #1C01CE } /* Literal.Number.Float */
|
||||
body .mh { color: #1C01CE } /* Literal.Number.Hex */
|
||||
body .mi { color: #1C01CE } /* Literal.Number.Integer */
|
||||
body .mo { color: #1C01CE } /* Literal.Number.Oct */
|
||||
body .sb { color: #C41A16 } /* Literal.String.Backtick */
|
||||
body .sc { color: #2300CE } /* Literal.String.Char */
|
||||
body .sd { color: #C41A16 } /* Literal.String.Doc */
|
||||
body .s2 { color: #C41A16 } /* Literal.String.Double */
|
||||
body .se { color: #C41A16 } /* Literal.String.Escape */
|
||||
body .sh { color: #C41A16 } /* Literal.String.Heredoc */
|
||||
body .si { color: #C41A16 } /* Literal.String.Interpol */
|
||||
body .sx { color: #C41A16 } /* Literal.String.Other */
|
||||
body .sr { color: #C41A16 } /* Literal.String.Regex */
|
||||
body .s1 { color: #C41A16 } /* Literal.String.Single */
|
||||
body .ss { color: #C41A16 } /* Literal.String.Symbol */
|
||||
body .bp { color: #5B269A } /* Name.Builtin.Pseudo */
|
||||
body .vc { color: #000000 } /* Name.Variable.Class */
|
||||
body .vg { color: #000000 } /* Name.Variable.Global */
|
||||
body .vi { color: #000000 } /* Name.Variable.Instance */
|
||||
body .il { color: #1C01CE } /* Literal.Number.Integer.Long */
|
||||
|
||||
/*
|
||||
These styles are used to highlight each diff line.
|
||||
Note: for partial like highlight change to "display:block-inline"
|
||||
*/
|
||||
span.left_diff_change {
|
||||
background-color: #FFE5B5;
|
||||
display: block
|
||||
}
|
||||
span.left_diff_add {
|
||||
background-color: #eeeeee;
|
||||
display: block
|
||||
}
|
||||
span.left_diff_del {
|
||||
background-color: #ffdddd;
|
||||
display: block
|
||||
}
|
||||
span.lineno_q {
|
||||
display: block;
|
||||
}
|
||||
span.right_diff_change {
|
||||
background-color: #FFE5B5;
|
||||
display: block
|
||||
}
|
||||
span.right_diff_add {
|
||||
background-color: #ddffdd;
|
||||
display: block
|
||||
}
|
||||
span.right_diff_del {
|
||||
background-color: #eeeeee;
|
||||
display: block
|
||||
}
|
||||
span.clearbg {
|
||||
background-color: transparent;
|
||||
}
|
||||
214
deps/diff.css
vendored
214
deps/diff.css
vendored
|
|
@ -1,214 +0,0 @@
|
|||
body {
|
||||
font-size: 100%;
|
||||
font-family: monospace;
|
||||
}
|
||||
.left-inner-shadow {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.left-inner-shadow:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
width: 10px;
|
||||
top: 5%;
|
||||
height: 90%;
|
||||
left: -10px;
|
||||
border-radius: 5px / 100px;
|
||||
box-shadow: 0 0 13px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.divider-outside-bottom {
|
||||
box-shadow: 0px 10px 5px -5px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
/*
|
||||
These styles are used to modify the containing area is placed/displayed.
|
||||
*/
|
||||
.printmargin {
|
||||
display: block;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
margin: 0 0 0 35px;
|
||||
color: transparent;
|
||||
border: 0;
|
||||
}
|
||||
.printmargin:after {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 47px;
|
||||
bottom: 0;
|
||||
border-right: 1px dashed #777;
|
||||
}
|
||||
|
||||
#topbar {
|
||||
font-family: calibri, "Trebuchet MS", Helvetica, sans-serif;
|
||||
background-color: #555;
|
||||
border-bottom: 0px solid #999;
|
||||
padding: 0;
|
||||
position:fixed;
|
||||
top:0;
|
||||
height: 30px;
|
||||
width:100%;
|
||||
z-index:100;
|
||||
}
|
||||
|
||||
#filetitle {
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
color: #eee;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
padding: 0 50px 0 10px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/*Toggle buttons*/
|
||||
.switches {
|
||||
float: right;
|
||||
}
|
||||
.switch {
|
||||
display: inline-block;
|
||||
|
||||
}
|
||||
|
||||
.toggle {
|
||||
position: absolute;
|
||||
margin-left: -9999px;
|
||||
visibility: hidden;
|
||||
}
|
||||
.toggle + label {
|
||||
display: block;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
input.toggle-yes-no + label {
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
}
|
||||
input.toggle-yes-no + label:before, input.toggle-yes-no + label:after {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
}
|
||||
input.toggle-yes-no + label:before {
|
||||
background-color: rgba(180, 180, 180, 0.5); /*#dddddd;*/
|
||||
color: #ccc;
|
||||
content: attr(data-off);
|
||||
-webkit-transition: -webkit-transform 0.5s;
|
||||
-moz-transition: -moz-transform 0.5s;
|
||||
-o-transition: -o-transform 0.5s;
|
||||
transition: transform 0.5s;
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
-ms-backface-visibility: hidden;
|
||||
-o-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
input.toggle-yes-no + label:after {
|
||||
background-color: rgba(180, 180, 180, 0.3);/*#8ce196;*/
|
||||
color: #FFDD1C;
|
||||
content: attr(data-on);
|
||||
-webkit-transition: -webkit-transform 0.5s;
|
||||
-moz-transition: -moz-transform 0.5s;
|
||||
-o-transition: -o-transform 0.5s;
|
||||
transition: transform 0.5s;
|
||||
-webkit-transform: rotateX(180deg);
|
||||
-moz-transform: rotateX(180deg);
|
||||
-ms-transform: rotateX(180deg);
|
||||
-o-transform: rotateX(180deg);
|
||||
transform: rotateX(180deg);
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
-ms-backface-visibility: hidden;
|
||||
-o-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
input.toggle-yes-no:checked + label:before {
|
||||
-webkit-transform: rotateX(180deg);
|
||||
-moz-transform: rotateX(180deg);
|
||||
-ms-transform: rotateX(180deg);
|
||||
-o-transform: rotateX(180deg);
|
||||
transform: rotateX(180deg);
|
||||
}
|
||||
input.toggle-yes-no:checked + label:after {
|
||||
-webkit-transform: rotateX(0);
|
||||
-moz-transform: rotateX(0);
|
||||
-ms-transform: rotateX(0);
|
||||
-o-transform: rotateX(0);
|
||||
transform: rotateX(0);
|
||||
}
|
||||
/*end Toggle buttons*/
|
||||
|
||||
|
||||
div#maincontainer {
|
||||
overflow-x: auto;
|
||||
margin: 20px 0 0 15px;
|
||||
}
|
||||
.page-80-width {
|
||||
width: 106em;
|
||||
}
|
||||
.page-full-width {
|
||||
width: auto;
|
||||
}
|
||||
.codefiletab {
|
||||
font-family: calibri, "Trebuchet MS", Helvetica, sans-serif;
|
||||
background-color: transparent;
|
||||
font-size: 16px;
|
||||
padding: 0 0 10px 5px;
|
||||
width:100%;
|
||||
font-weight: bold;
|
||||
}
|
||||
div#leftcode {
|
||||
width: 50%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
div#rightcode {
|
||||
width: 50%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
div.codebox {
|
||||
float: left;
|
||||
display: block;
|
||||
padding-top: 20px;
|
||||
}
|
||||
div.codebox table {
|
||||
border-right: 1px solid #ddd;
|
||||
border-left: 1px solid #ddd;
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
div.linenodiv {
|
||||
text-align: right
|
||||
}
|
||||
td.linenos {
|
||||
background: #ddd;
|
||||
padding: 0 5px 0 5px;
|
||||
border-right: 1px solid #ddd;
|
||||
border-left: 1px solid #ddd;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
td.code {
|
||||
width: 80em;
|
||||
}
|
||||
span.lineno {
|
||||
background-color: transparent;
|
||||
padding: 0;
|
||||
}
|
||||
103
deps/diff.js
vendored
103
deps/diff.js
vendored
|
|
@ -1,103 +0,0 @@
|
|||
$( document ).ready(function() {
|
||||
|
||||
|
||||
|
||||
// selector cache
|
||||
var
|
||||
$showoriginal = $('.menuoption#showoriginal'),
|
||||
$showmodified = $('.menuoption#showmodified'),
|
||||
$codeprintmargin = $('.menuoption#codeprintmargin'),
|
||||
$highlight = $('.menuoption#highlight'),
|
||||
$dosyntaxhighlight = $('.menuoption#dosyntaxhighlight');
|
||||
|
||||
$showoriginal.state = true
|
||||
$showoriginal.on("click", function(){
|
||||
switch ($showoriginal.state) {
|
||||
case false:
|
||||
$('#leftcode').show()
|
||||
$('.right_diff_del').show()
|
||||
$('.lineno_rightdel').show()
|
||||
$showoriginal.state = true
|
||||
break;
|
||||
case true:
|
||||
$('#leftcode').hide()
|
||||
$('.right_diff_del').hide()
|
||||
$('.lineno_rightdel').hide()
|
||||
$showoriginal.state = false
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
$showmodified.state = true
|
||||
$showmodified.on("click", function(){
|
||||
switch ($showmodified.state) {
|
||||
case false:
|
||||
$('#rightcode').show()
|
||||
$('.left_diff_add').show()
|
||||
$('.lineno_leftadd').show()
|
||||
$showmodified.state = true
|
||||
break;
|
||||
case true:
|
||||
$('#rightcode').hide()
|
||||
$('.left_diff_add').hide()
|
||||
$('.lineno_leftadd').hide()
|
||||
$showmodified.state = false
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$codeprintmargin.state = true
|
||||
$codeprintmargin.on("click", function(){
|
||||
switch ($codeprintmargin.state) {
|
||||
case false:
|
||||
$('.printmargin').show()
|
||||
$codeprintmargin.state = true
|
||||
break;
|
||||
case true:
|
||||
$('.printmargin').hide()
|
||||
$codeprintmargin.state = false
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$highlight.state = true
|
||||
$highlight.on("click", function(){
|
||||
switch ($highlight.state) {
|
||||
case false:
|
||||
$('.left_diff_change').removeClass('clearbg');
|
||||
$('.left_diff_del').removeClass('clearbg');
|
||||
|
||||
$('.right_diff_add').removeClass('clearbg');
|
||||
$('.right_diff_change').removeClass('clearbg');
|
||||
$highlight.state = true
|
||||
break;
|
||||
case true:
|
||||
$('.left_diff_change').addClass('clearbg');
|
||||
$('.left_diff_del').addClass('clearbg');
|
||||
|
||||
$('.right_diff_add').addClass('clearbg');
|
||||
$('.right_diff_change').addClass('clearbg');
|
||||
$highlight.state = false
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
var originalStyle = $("link.syntaxdef").attr("href")
|
||||
$dosyntaxhighlight.state = true
|
||||
$dosyntaxhighlight.on("click", function(){
|
||||
switch ($dosyntaxhighlight.state) {
|
||||
case false:
|
||||
$("link.syntaxdef").attr("href", originalStyle);
|
||||
$dosyntaxhighlight.state = true
|
||||
break;
|
||||
case true:
|
||||
$("link.syntaxdef").attr("href","/deps/codeformats/bw.css");
|
||||
$dosyntaxhighlight.state = false
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
4
deps/jquery.min.js
vendored
4
deps/jquery.min.js
vendored
File diff suppressed because one or more lines are too long
43
deps/reset.css
vendored
43
deps/reset.css
vendored
|
|
@ -1,43 +0,0 @@
|
|||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue