annotate .svn/pristine/a1/a1b6cd426ff4438995b01b95b9d9cc2d93c15fb8.svn-base @ 1082:997f6d7738f7 bug_531

In repo controller entry action, show the page for the file even if it's binary (so user still has access to history etc links). This makes it possible to use the entry action as the default when a file is clicked on
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 22 Nov 2012 18:04:17 +0000
parents cbb26bc654de
children
rev   line source
Chris@909 1
Chris@909 2 table.revision-info td {
Chris@909 3 margin: 0px;
Chris@909 4 padding: 0px;
Chris@909 5 }
Chris@909 6
Chris@909 7 div.changeset-changes ul { margin: 0; padding: 0; }
Chris@909 8 div.changeset-changes ul > ul { margin-left: 18px; padding: 0; }
Chris@909 9
Chris@909 10 li.change {
Chris@909 11 list-style-type:none;
Chris@909 12 background-image: url(../images/bullet_black.png);
Chris@909 13 background-position: 1px 1px;
Chris@909 14 background-repeat: no-repeat;
Chris@909 15 padding-top: 1px;
Chris@909 16 padding-bottom: 1px;
Chris@909 17 padding-left: 20px;
Chris@909 18 margin: 0;
Chris@909 19 }
Chris@909 20 li.change.folder { background-image: url(../images/folder_open.png); }
Chris@909 21 li.change.folder.change-A { background-image: url(../images/folder_open_add.png); }
Chris@909 22 li.change.folder.change-M { background-image: url(../images/folder_open_orange.png); }
Chris@909 23 li.change.change-A { background-image: url(../images/bullet_add.png); }
Chris@909 24 li.change.change-M { background-image: url(../images/bullet_orange.png); }
Chris@909 25 li.change.change-C { background-image: url(../images/bullet_blue.png); }
Chris@909 26 li.change.change-R { background-image: url(../images/bullet_purple.png); }
Chris@909 27 li.change.change-D { background-image: url(../images/bullet_delete.png); }
Chris@909 28
Chris@909 29 li.change .copied-from { font-style: italic; color: #999; font-size: 0.9em; }
Chris@909 30 li.change .copied-from:before { content: " - "}
Chris@909 31
Chris@909 32 #changes-legend { float: right; font-size: 0.8em; margin: 0; }
Chris@909 33 #changes-legend li { float: left; background-position: 5px 0; }
Chris@909 34
Chris@909 35 table.filecontent { border: 1px solid #ccc; border-collapse: collapse; width:98%; background-color: #fafafa; }
Chris@909 36 table.filecontent th { border: 1px solid #ccc; background-color: #eee; }
Chris@909 37 table.filecontent th.filename { background-color: #e4e4d4; text-align: left; padding: 0.2em;}
Chris@909 38 table.filecontent tr.spacing th { text-align:center; }
Chris@909 39 table.filecontent tr.spacing td { height: 0.4em; background: #EAF2F5;}
Chris@909 40 table.filecontent th.line-num {
Chris@909 41 border: 1px solid #d7d7d7;
Chris@909 42 font-size: 0.8em;
Chris@909 43 text-align: right;
Chris@909 44 width: 2%;
Chris@909 45 padding-right: 3px;
Chris@909 46 color: #999;
Chris@909 47 }
Chris@909 48 table.filecontent th.line-num a {
Chris@909 49 text-decoration: none;
Chris@909 50 color: inherit;
Chris@909 51 }
Chris@909 52 table.filecontent td.line-code pre {
Chris@909 53 margin: 0px;
Chris@909 54 white-space: pre-wrap;
Chris@909 55 }
Chris@909 56
Chris@909 57 /* 12 different colors for the annonate view */
Chris@909 58 table.annotate tr.bloc-0 {background: #FFFFBF;}
Chris@909 59 table.annotate tr.bloc-1 {background: #EABFFF;}
Chris@909 60 table.annotate tr.bloc-2 {background: #BFFFFF;}
Chris@909 61 table.annotate tr.bloc-3 {background: #FFD9BF;}
Chris@909 62 table.annotate tr.bloc-4 {background: #E6FFBF;}
Chris@909 63 table.annotate tr.bloc-5 {background: #BFCFFF;}
Chris@909 64 table.annotate tr.bloc-6 {background: #FFBFEF;}
Chris@909 65 table.annotate tr.bloc-7 {background: #FFE6BF;}
Chris@909 66 table.annotate tr.bloc-8 {background: #FFE680;}
Chris@909 67 table.annotate tr.bloc-9 {background: #AA80FF;}
Chris@909 68 table.annotate tr.bloc-10 {background: #FFBFDC;}
Chris@909 69 table.annotate tr.bloc-11 {background: #BFE4FF;}
Chris@909 70
Chris@909 71 table.annotate td.revision {
Chris@909 72 text-align: center;
Chris@909 73 width: 2%;
Chris@909 74 padding-left: 1em;
Chris@909 75 background: inherit;
Chris@909 76 }
Chris@909 77
Chris@909 78 table.annotate td.author {
Chris@909 79 text-align: center;
Chris@909 80 border-right: 1px solid #d7d7d7;
Chris@909 81 white-space: nowrap;
Chris@909 82 padding-left: 1em;
Chris@909 83 padding-right: 1em;
Chris@909 84 width: 3%;
Chris@909 85 background: inherit;
Chris@909 86 font-size: 90%;
Chris@909 87 }
Chris@909 88
Chris@909 89 table.annotate td.line-code { background-color: #fafafa; }
Chris@909 90
Chris@909 91 div.action_M { background: #fd8 }
Chris@909 92 div.action_D { background: #f88 }
Chris@909 93 div.action_A { background: #bfb }
Chris@909 94
Chris@909 95 /************* CodeRay styles *************/
Chris@909 96 .syntaxhl div {display: inline;}
Chris@909 97 .syntaxhl .line-numbers { padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px; }
Chris@909 98 .syntaxhl .code pre { overflow: auto }
Chris@909 99 .syntaxhl .debug { color:white ! important; background:blue ! important; }
Chris@909 100
Chris@909 101 .syntaxhl .attribute-name { color:#b48 }
Chris@909 102 .syntaxhl .annotation { color:#007 }
Chris@909 103 .syntaxhl .attribute-value { color:#700 }
Chris@909 104 .syntaxhl .binary { color:#509 }
Chris@909 105
Chris@909 106 .syntaxhl .comment { color:#777 }
Chris@909 107 .syntaxhl .comment .char { color:#444 }
Chris@909 108 .syntaxhl .comment .delimiter { color:#444 }
Chris@909 109
Chris@909 110 .syntaxhl .char { color:#D20 }
Chris@909 111 .syntaxhl .char .content { color:#D20 }
Chris@909 112 .syntaxhl .char .delimiter { color:#710 }
Chris@909 113
Chris@909 114 .syntaxhl .class { color:#B06; font-weight:bold }
Chris@909 115 .syntaxhl .complex { color:#A08 }
Chris@909 116 .syntaxhl .constant { color:#036; font-weight:bold }
Chris@909 117 .syntaxhl .color { color:#0A0 }
Chris@909 118 .syntaxhl .class-variable { color:#369 }
Chris@909 119 .syntaxhl .decorator { color:#B0B }
Chris@909 120 .syntaxhl .definition { color:#099; font-weight:bold }
Chris@909 121 .syntaxhl .directive { color:#088; font-weight:bold }
Chris@909 122 .syntaxhl .delimiter { color:black }
Chris@909 123 .syntaxhl .doc { color:#970 }
Chris@909 124 .syntaxhl .doctype { color:#34b }
Chris@909 125 .syntaxhl .doc-string { color:#D42; font-weight:bold }
Chris@909 126 .syntaxhl .escape { color:#666 }
Chris@909 127 .syntaxhl .entity { color:#800; font-weight:bold }
Chris@909 128 .syntaxhl .error { color:#F00; background-color:#FAA }
Chris@909 129 .syntaxhl .exception { color:#C00; font-weight:bold }
Chris@909 130 .syntaxhl .float { color:#60E }
Chris@909 131 .syntaxhl .function { color:#06B; font-weight:bold }
Chris@909 132 .syntaxhl .global-variable { color:#d70 }
Chris@909 133 .syntaxhl .hex { color:#02b }
Chris@909 134 .syntaxhl .integer { color:#00D }
Chris@909 135 .syntaxhl .include { color:#B44; font-weight:bold }
Chris@909 136 .syntaxhl .imaginary { color:#f00 }
Chris@909 137
Chris@909 138 .syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black }
Chris@909 139 .syntaxhl .inline-delimiter { font-weight: bold; color: #666 }
Chris@909 140
Chris@909 141 .syntaxhl .instance-variable { color:#33B }
Chris@909 142 .syntaxhl .label { color:#970; font-weight:bold }
Chris@909 143 .syntaxhl .local-variable { color:#963 }
Chris@909 144 .syntaxhl .namespace { color:#707; font-weight:bold }
Chris@909 145 .syntaxhl .octal { color:#40E }
Chris@909 146 .syntaxhl .operator { }
Chris@909 147 .syntaxhl .predefined-constant { color:#069 }
Chris@909 148 .syntaxhl .predefined { color:#369; font-weight:bold }
Chris@909 149 .syntaxhl .predefined-type { color:#0a5; font-weight:bold }
Chris@909 150 .syntaxhl .preprocessor { color:#579 }
Chris@909 151 .syntaxhl .pseudo-class { color:#00C; font-weight:bold }
Chris@909 152 .syntaxhl .reserved { color:#080; font-weight:bold }
Chris@909 153
Chris@909 154 .syntaxhl .key .char { color: #60f }
Chris@909 155 .syntaxhl .key .delimiter { color: #404 }
Chris@909 156 .syntaxhl .key { color: #606 }
Chris@909 157 .syntaxhl .keyword { color:#080; font-weight:bold }
Chris@909 158
Chris@909 159 .syntaxhl .regexp { background-color:hsla(300,100%,50%,0.06); }
Chris@909 160 .syntaxhl .regexp .content { color:#808 }
Chris@909 161 .syntaxhl .regexp .delimiter { color:#404 }
Chris@909 162 .syntaxhl .regexp .modifier { color:#C2C }
Chris@909 163
Chris@909 164 .syntaxhl .string { background-color:hsla(0,100%,50%,0.05); }
Chris@909 165 .syntaxhl .string .content { color: #D20 }
Chris@909 166 .syntaxhl .string .char { color: #b0b }
Chris@909 167 .syntaxhl .string .delimiter { color: #710 }
Chris@909 168 .syntaxhl .string .modifier { color: #E40 }
Chris@909 169
Chris@909 170 .syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); }
Chris@909 171 .syntaxhl .shell .content { color:#2B2 }
Chris@909 172 .syntaxhl .shell .delimiter { color:#161 }
Chris@909 173
Chris@909 174 .syntaxhl .symbol { color:#A60 }
Chris@909 175 .syntaxhl .symbol .content { color:#A60 }
Chris@909 176 .syntaxhl .symbol .delimiter { color:#630 }
Chris@909 177
Chris@909 178 .syntaxhl .tag { color:#070 }
Chris@909 179 .syntaxhl .type { color:#339; font-weight:bold }
Chris@909 180 .syntaxhl .value { color: #088; }
Chris@909 181 .syntaxhl .variable { color:#037 }
Chris@909 182
Chris@909 183 .syntaxhl .insert { background: hsla(120,100%,50%,0.12) }
Chris@909 184 .syntaxhl .delete { background: hsla(0,100%,50%,0.12) }
Chris@909 185 .syntaxhl .change { color: #bbf; background: #007; }
Chris@909 186 .syntaxhl .head { color: #f8f; background: #505 }
Chris@909 187 .syntaxhl .head .filename { color: white; }