Author: rjollos Date: Tue Oct 22 04:06:13 2013 New Revision: 1534486 URL: http://svn.apache.org/r1534486 Log: 0.8dev: Added `browser.css`, copied from Trac with minor modifications. Refs #584.
Patch by Olemis Lang. Added: bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/css/ bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/css/browser.css (with props) Added: bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/css/browser.css URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/css/browser.css?rev=1534486&view=auto ============================================================================== --- bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/css/browser.css (added) +++ bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/css/browser.css Tue Oct 22 04:06:13 2013 @@ -0,0 +1,246 @@ +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +*/ + +#prefs { margin-top: -0.6em } +* html #prefs { width: 34em } /* Set width only for IE */ +#prefs fieldset { margin: 0; } +#prefs fieldset label { display: block } +#prefs .buttons { margin-top: -2.3em } +#prefs .choice { + float: left; + margin: 0 .6em 0 .3em; + border-right: 1px dotted #d7d7d7; +} + +#file-legend { margin-top: 3em; } + +/* Browser */ +#diffrev, #jumprev, #jumploc { float: right; font-size: 10px; margin: 0 0 0.6em 2em; } +#diffrev form, #jumprev form, #jumploc form { margin: 0 } +#diffrev input, #jumprev input, #jumploc select, #jumploc input { + font-size: 10px; + margin: 0; +} +#jumploc div.buttons { margin: 0; } + +/* Browser file annotations */ +table.code th.blame { width: 5em; } +table.code th.blame a { color: #ddd; } + +div.message { + background: #f7f7f0; + border: 3px double #d7d7d7; + margin: 0; + padding: 8px; + /* Note: border width and padding must be compensated for in the placement */ +} + +div.message div.inlinebuttons { float: right; } + +/* Styles for the directory entries table + (extends the styles for "table.listing") */ +table.dirlist { margin-top: 0 } +table.dirlist td.rev, table.dirlist td.age, table.dirlist td.author, table.dirlist td.change { + color: #888; + white-space: nowrap; + vertical-align: middle; +} +table.dirlist td.rev { + font-family: monospace; + letter-spacing: -0.08em; + font-size: 90%; + text-align: right; +} +table.dirlist td.size { + color: #888; + white-space: nowrap; + text-align: right; + vertical-align: middle; + font-size: 70%; +} +table.dirlist td.size a.trac-rawlink, table.dirlist td.size a.trac-ziplink { + margin-left: .3em; +} +table.dirlist td.age { + border-width: 0 2px 0 0; + border-style: solid; + font-size: 85%; +} +table.dirlist td.name { width: 100%; white-space: nowrap } +table.dirlist td.name a.parent { + background: url(../../common/parent.png) 0 50% no-repeat; + padding-left: 20px; +} +table.dirlist tr span.expander { + background: url(../../common/expander_normal.png) 0 50% no-repeat; + cursor: pointer; + padding-left: 8px; + margin-left: 4px; +} +table.dirlist tr span.expander:hover { + background: url(../../common/expander_normal_hover.png) 0 50% no-repeat; +} +table.dirlist tr.expanded span.expander { + background: url(../../common/expander_open.png) 0 50% no-repeat; + padding-left: 12px; + margin-left: 0; +} +table.dirlist tr.expanded span.expander:hover { + background: url(../../common/expander_open_hover.png) 0 50% no-repeat; +} +table.dirlist td.name a.dir { + background: url(../../common/folder.png) 0 50% no-repeat; + padding-left: 20px; +} +table.dirlist td.name a.file { + background: url(../../common/file.png) 0 50% no-repeat; + padding-left: 20px; +} +table.dirlist td.name a, table.dirlist td.rev a { border-bottom: none } +table.dirlist td.author, table.dirlist td.change { font-size: 85% } +table.dirlist td.rev a.chgset { + background: url(../../common/changeset.png) 100% 50% no-repeat; + padding: 0 0 0 5px; + margin: 0 5px 0 0; +} +table.dirlist td.description { padding-left: 2em } +table.dirlist td.description > :first-child { margin-top: 0 } +table.dirlist td.description > :last-child { margin-bottom: 0 } +table.dirlist td span.loading { + background: url(../../common/loading.gif) 0 50% no-repeat; + padding-left: 20px; + font-style: italic +} + +#content.browser div.description { padding: 0 0.5em } + +/* Style for the ''View Changes'' button and the diff preparation form */ +#anydiff { margin-top: 1em; } +#anydiff form, #anydiff div, #anydiff h2 { display: inline } +#anydiff form th { text-align: right } +#anydiff input { vertical-align: baseline; margin: 0 -0.5em 0 1em } +@media print { + #anydiff form { display: none } +} + +/* Log */ +tr.diff input { padding: 0 1em; margin: 0 } +table.trac-graph tbody tr { height: 2em; } +table.trac-graph tbody tr td.trac-graph { padding: 0; background-color: #fcfcfc; } +table.trac-graph th.trac-graph, table.trac-graph td.trac-graph { display: none; } +table.trac-graph td.summary { white-space: nowrap; } + +@media print { + th.diff, td.diff { display: none } +} + +/* Styles for the revision log table (extends the styles for "table.listing") */ +table.chglist { margin-top: 0 } +.chglist td.diff, .chglist td.rev, .chglist td.age, +.chglist td.author, .chglist td.change { + white-space: nowrap; + vertical-align: middle; +} +.chglist td.author { color: #888 } +.chglist td.change span.edit { + border: 1px solid #999; + float: left; + margin: .2em .5em 0 0; + width: .8em; height: .8em; +} +.chglist td.diff { padding: 1px } +.chglist td.change .comment { display: none } +.chglist td.age { font-size: 85% } +.chglist td.author { font-size: 85% } +.chglist td.rev { + font-family: monospace; + letter-spacing: -0.08em; + font-size: 90%; + text-align: right; +} +.chglist td.rev a { border-bottom: none } +.chglist td.rev a.chgset { + background-repeat: no-repeat; + background-image: url(../../common/changeset.png); + background-position: 100% 50%; + padding: 0 0 0 5px; + margin: 0 5px 0 0; +} +.chglist td.summary, .chglist td.log { + width: 100%; + font-size: 85%; + vertical-align: middle; +} +.chglist td.summary *, .chglist td.log * { margin-top: 0 } +/* verbose mode */ +.chglist tr.verbose { border-top: none } +.chglist tr.verbose td.filler, .chglist tr.verbose td.log { + border: none; + border-bottom: 1px solid #ddd; + color: #333; +} +.chglist tr.verbose td { border: none; } +.chglist tr.verbose td.diff, .chglist tr.verbose td.filler { + border-left: 1px solid #ddd; +} +.chglist tr.verbose td.summary, .chglist tr.verbose td.log { + border-right: 1px solid #ddd; +} + +#paging { margin: 1em 0 } + +/* Styles for the revision info in the file view (see also trac.css) */ +#info { margin: 0; } +#info .props { + color: #666; + list-style: square; + margin: 0 0 .4em 1.6em; + padding: 0; +} +#info .props > li { padding: 2px 0; overflow: auto; } +.trac-toggledeleted { + display: none; + margin-left: 3em; + white-space: nowrap; +} + +/* Styles for the HTML preview */ +#preview { background: #fff; clear: both; margin: 0 } +#preview .code-block { border-top: 1px solid #999; margin: 0 } +#preview .image-file { overflow: hidden } +#preview .image-file img { max-width: 100% } + +/* Branch and tag labels */ +.chglist td.summary .branch, .chglist td.summary .tag, +.browser .trac-tags .branch, .browser .trac-tags .tag { + color: #777; + font-size: 80%; + background: #f6f6f6; + border: 1px solid #ddd; + margin: 0 0 0 .5em; + padding: 0 .2em; +} +.chglist td.summary .head, .browser .trac-tags .head { + background: #d0ffd0; + border: 1px solid #9d9; +} +.chglist td.summary .tag, .browser .trac-tags .tag { + background: #ffa; + border: 1px solid #fe0; +} Propchange: bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/css/browser.css ------------------------------------------------------------------------------ svn:eol-style = native