Slight changes to syntax highlightment styles.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10132 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-07-29 15:30:47 +00:00
parent e4518af32a
commit 42570c4426
2 changed files with 21 additions and 29 deletions

View File

@ -827,9 +827,9 @@ div.wiki ul, div.wiki ol {margin-bottom:1em;}
div.wiki pre { div.wiki pre {
margin: 1em 1em 1em 1.6em; margin: 1em 1em 1em 1.6em;
padding: 2px 2px 2px 0; padding: 8px;
background-color: #fafafa; background-color: #fafafa;
border: 1px solid #dadada; border: 1px solid #e2e2e2;
width:auto; width:auto;
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;
@ -1081,14 +1081,7 @@ h2 img { vertical-align:middle; }
/************* CodeRay styles *************/ /************* CodeRay styles *************/
.syntaxhl div {display: inline;} .syntaxhl div {display: inline;}
.syntaxhl .line-numbers { .syntaxhl .line-numbers {padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px;}
padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px;
user-select: none;
-moz-user-select: none;
-o-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
}
.syntaxhl .code pre { overflow: auto } .syntaxhl .code pre { overflow: auto }
.syntaxhl .debug { color: white !important; background: blue !important; } .syntaxhl .debug { color: white !important; background: blue !important; }
@ -1099,14 +1092,14 @@ h2 img { vertical-align:middle; }
.syntaxhl .char .content { color:#D20 } .syntaxhl .char .content { color:#D20 }
.syntaxhl .char .delimiter { color:#710 } .syntaxhl .char .delimiter { color:#710 }
.syntaxhl .char { color:#D20 } .syntaxhl .char { color:#D20 }
.syntaxhl .class { color:#B06; font-weight:bold } .syntaxhl .class { color:#258; font-weight:bold }
.syntaxhl .class-variable { color:#369 } .syntaxhl .class-variable { color:#369 }
.syntaxhl .color { color:#0A0 } .syntaxhl .color { color:#0A0 }
.syntaxhl .comment { color:#777 } .syntaxhl .comment { color:#385 }
.syntaxhl .comment .char { color:#444 } .syntaxhl .comment .char { color:#385 }
.syntaxhl .comment .delimiter { color:#444 } .syntaxhl .comment .delimiter { color:#385 }
.syntaxhl .complex { color:#A08 } .syntaxhl .complex { color:#A08 }
.syntaxhl .constant { color:#036; font-weight:bold } .syntaxhl .constant { color:#258; font-weight:bold }
.syntaxhl .decorator { color:#B0B } .syntaxhl .decorator { color:#B0B }
.syntaxhl .definition { color:#099; font-weight:bold } .syntaxhl .definition { color:#099; font-weight:bold }
.syntaxhl .delimiter { color:black } .syntaxhl .delimiter { color:black }
@ -1118,7 +1111,7 @@ h2 img { vertical-align:middle; }
.syntaxhl .error { color:#F00; background-color:#FAA } .syntaxhl .error { color:#F00; background-color:#FAA }
.syntaxhl .escape { color:#666 } .syntaxhl .escape { color:#666 }
.syntaxhl .exception { color:#C00; font-weight:bold } .syntaxhl .exception { color:#C00; font-weight:bold }
.syntaxhl .float { color:#60E } .syntaxhl .float { color:#06D }
.syntaxhl .function { color:#06B; font-weight:bold } .syntaxhl .function { color:#06B; font-weight:bold }
.syntaxhl .global-variable { color:#d70 } .syntaxhl .global-variable { color:#d70 }
.syntaxhl .hex { color:#02b } .syntaxhl .hex { color:#02b }
@ -1127,11 +1120,11 @@ h2 img { vertical-align:middle; }
.syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black } .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black }
.syntaxhl .inline-delimiter { font-weight: bold; color: #666 } .syntaxhl .inline-delimiter { font-weight: bold; color: #666 }
.syntaxhl .instance-variable { color:#33B } .syntaxhl .instance-variable { color:#33B }
.syntaxhl .integer { color:#00D } .syntaxhl .integer { color:#06D }
.syntaxhl .key .char { color: #60f } .syntaxhl .key .char { color: #60f }
.syntaxhl .key .delimiter { color: #404 } .syntaxhl .key .delimiter { color: #404 }
.syntaxhl .key { color: #606 } .syntaxhl .key { color: #606 }
.syntaxhl .keyword { color:#080; font-weight:bold } .syntaxhl .keyword { color:#939; font-weight:bold }
.syntaxhl .label { color:#970; font-weight:bold } .syntaxhl .label { color:#970; font-weight:bold }
.syntaxhl .local-variable { color:#963 } .syntaxhl .local-variable { color:#963 }
.syntaxhl .namespace { color:#707; font-weight:bold } .syntaxhl .namespace { color:#707; font-weight:bold }
@ -1150,14 +1143,13 @@ h2 img { vertical-align:middle; }
.syntaxhl .shell .content { color:#2B2 } .syntaxhl .shell .content { color:#2B2 }
.syntaxhl .shell .delimiter { color:#161 } .syntaxhl .shell .delimiter { color:#161 }
.syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); } .syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); }
.syntaxhl .string .char { color: #b0b } .syntaxhl .string .char { color: #46a }
.syntaxhl .string .content { color: #D20 } .syntaxhl .string .content { color: #46a }
.syntaxhl .string .delimiter { color: #710 } .syntaxhl .string .delimiter { color: #46a }
.syntaxhl .string .modifier { color: #E40 } .syntaxhl .string .modifier { color: #46a }
.syntaxhl .string { background-color:hsla(0,100%,50%,0.05); } .syntaxhl .symbol .content { color:#d33 }
.syntaxhl .symbol .content { color:#A60 } .syntaxhl .symbol .delimiter { color:#d33 }
.syntaxhl .symbol .delimiter { color:#630 } .syntaxhl .symbol { color:#d33 }
.syntaxhl .symbol { color:#A60 }
.syntaxhl .tag { color:#070 } .syntaxhl .tag { color:#070 }
.syntaxhl .type { color:#339; font-weight:bold } .syntaxhl .type { color:#339; font-weight:bold }
.syntaxhl .value { color: #088; } .syntaxhl .value { color: #088; }

View File

@ -34,13 +34,13 @@ li.change .copied-from:before { content: " - "}
#changes-legend { float: right; font-size: 0.8em; margin: 0; } #changes-legend { float: right; font-size: 0.8em; margin: 0; }
#changes-legend li { float: left; background-position: 5px 0; } #changes-legend li { float: left; background-position: 5px 0; }
table.filecontent { border: 1px solid #ccc; border-collapse: collapse; width:98%; background-color: #fafafa; } table.filecontent { border: 1px solid #e2e2e2; border-collapse: collapse; width:98%; background-color: #fafafa; }
table.filecontent th { border: 1px solid #ccc; background-color: #eee; } table.filecontent th { border: 1px solid #e2e2e2; background-color: #eee; }
table.filecontent th.filename { background-color: #e4e4d4; text-align: left; padding: 0.2em;} table.filecontent th.filename { background-color: #e4e4d4; text-align: left; padding: 0.2em;}
table.filecontent tr.spacing th { text-align:center; } table.filecontent tr.spacing th { text-align:center; }
table.filecontent tr.spacing td { height: 0.4em; background: #EAF2F5;} table.filecontent tr.spacing td { height: 0.4em; background: #EAF2F5;}
table.filecontent th.line-num { table.filecontent th.line-num {
border: 1px solid #d7d7d7; border: 1px solid #e2e2e2;
font-size: 0.8em; font-size: 0.8em;
text-align: right; text-align: right;
width: 2%; width: 2%;