Edgewall Software

TracDev/Proposals/ThemePlugins: theming.3.patch

File theming.3.patch, 72.9 KB (added by Armin Ronacher, 20 months ago)

another version of the patch, this time with "TracTheme?", "JinjaTheme?" and "CustomTheme?". Not all areas are themed since i truncated all css files before in order to clean them up

  • setup.py

     
    8585        trac.web.auth = trac.web.auth 
    8686        trac.wiki.macros = trac.wiki.macros 
    8787        trac.wiki.web_ui = trac.wiki.web_ui 
     88        trac.themes = trac.web.theming 
    8889    """, 
    8990) 
  • trac/htdocs/css/admin.css

     
    1 #content.admin h1 { float: left; } 
    2  
    3 #tabs { background: #f7f7f0; border: 1px solid black; 
    4   border-color: #ccc #666 #666 #ccc; clear: left; 
    5   margin: 1em 0 2em; padding: .5em 0 0; float: left; width: 12em; 
    6 } 
    7 #tabs ul { list-style: none; margin: 0 0 .5em; padding: 0; } 
    8 #tabs li { color: #999; font-size: 90%; font-weight: bold; margin: 0; 
    9   padding: 0.1em 5px; 
    10 } 
    11 #tabs li li { color: #000; font-size: 110%; font-weight: normal; 
    12   margin: 0 -3px; padding: 1px 0 1px 10px; 
    13 } 
    14 #tabs li li.active { background: #ddc; border: 1px solid; 
    15   border-color: #ccc #000 #666 #ccc; padding: 0 0 0 9px; 
    16 } 
    17 #tabs :link, #tabs :visited { border: none; display: block } 
    18 #tabs :link:hover, #tabs :visited:hover { background: transparent; 
    19   color: #000; 
    20 } 
    21  
    22 #tabcontent { padding: 0.4em 2em; margin-left: 12em; min-height: 300px; } 
    23 #tabcontent h2 { color: #333; margin-top: 0; } 
    24 p.help { color: #666; font-size: 90%; margin: 1em .5em .5em; } 
    25  
    26 #enumlist tbody td { vertical-align: middle; } 
    27  
    28 form.addnew { clear: right; float: right; margin: -2em 0 4em; width: 33% } 
    29 form.mod { margin-top: 1em; } 
    30 form.mod .field { margin: .5em 0; } 
    31 form .field em { color: #888; font-size: smaller } 
    32 form .field .disabled em { color: #d7d7d7 } 
    33  
    34 table.listing { clear: none; width: 64% } 
    35 table.listing .sel, table.listing .default { text-align: center; width: 1% } 
    36  
    37 /* Plugins panel */ 
    38 form#addplug { width: 35% } 
    39 .plugin { background: #f7f7f7; border: 1px solid #d7d7d7; margin: 0 0 2em; 
    40   padding: 2px .5em; text-align: left; width: 60%; 
    41 } 
    42 .plugin h3 { background: url(../expanded.png) 0 50% no-repeat; 
    43   margin: .5em 0 0; padding-left: 16px; 
    44 } 
    45 .collapsed h3 { background-image: url(../collapsed.png); } 
    46 .plugin .buttons { margin-top: 0; text-align: right } 
    47 .plugin .uninstall { margin-top: -2em; padding: 0 } 
    48 .plugin .summary, .plugin .info { color: #999; font-size: 80%; 
    49   padding-left: 16px; 
    50 } 
    51 .plugin .summary { margin: -.5em 0 .5em } 
    52 .plugin .info { margin: 1em 0 .5em; } 
    53 .plugin .info dt { float: left; width: 7em; } 
    54 .plugin .info dd { padding: 0; margin: 0; } 
    55 .plugin .listing { width: 100% } 
    56 .collapsed .info, .collapsed .listing, .collapsed .update { display: none } 
    57 .plugin .listing td { background: #fff } 
    58 .plugin .listing .name p { color: #999; font-size: 80%; margin: 0 } 
    59  
    60 /* Perm Panel */ 
    61 #permlist div { width: 13em; float: left; } 
    62 fieldset tr.field th { text-align: right; } 
  • trac/htdocs/css/trac.css

     
    1 body { background: #fff; color: #000; margin: 10px; padding: 0; } 
    2 body, th, td { 
    3  font: normal 13px Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif; 
     1/* anchor links */ 
     2#x-trac .anchor:link, #x-trac .anchor:visited { 
     3    border: none; 
     4    font-size: .8em; 
     5    vertical-align: text-top; 
    46} 
    5 h1, h2, h3, h4 { 
    6  font-family: Arial,Verdana,'Bitstream Vera Sans',Helvetica,sans-serif; 
    7  font-weight: bold; 
    8  letter-spacing: -0.018em; 
    9  page-break-after: avoid; 
     7#x-trac * > .anchor:link, * > #x-trac .anchor:visited { 
     8    visibility: hidden; 
    109} 
    11 h1 { font-size: 19px; margin: .15em 1em 0.5em 0 } 
    12 h2 { font-size: 16px } 
    13 h3 { font-size: 14px } 
    14 hr { border: none;  border-top: 1px solid #ccb; margin: 2em 0 } 
    15 address { font-style: normal } 
    16 img { border: none } 
    17 tt { white-space: pre } 
    18  
    19 .underline { text-decoration: underline } 
    20 ol.loweralpha { list-style-type: lower-alpha } 
    21 ol.upperalpha { list-style-type: upper-alpha } 
    22 ol.lowerroman { list-style-type: lower-roman } 
    23 ol.upperroman { list-style-type: upper-roman } 
    24 ol.arabic     { list-style-type: decimal } 
    25  
    26 /* Link styles */ 
    27 :link, :visited { 
    28  text-decoration: none; 
    29  color: #b00; 
    30  border-bottom: 1px dotted #bbb; 
     10#x-trac h1:hover .anchor, #x-trac h2:hover .anchor, #x-trac h3:hover .anchor, 
     11#x-trac h4:hover .anchor, #x-trac h5:hover .anchor, #x-trac h6:hover .anchor { 
     12    visibility: visible; 
    3113} 
    32 :link:hover, :visited:hover { background-color: #eee; color: #555 } 
    33 h1 :link, h1 :visited ,h2 :link, h2 :visited, h3 :link, h3 :visited, 
    34 h4 :link, h4 :visited, h5 :link, h5 :visited, h6 :link, h6 :visited { 
    35  color: inherit; 
    36 } 
    3714 
    38 /* Heading anchors */ 
    39 .anchor:link, .anchor:visited { 
    40  border: none; 
    41  color: #d7d7d7; 
    42  font-size: .8em; 
    43  vertical-align: text-top; 
    44 } 
    45 * > .anchor:link, * > .anchor:visited { 
    46  visibility: hidden; 
    47 } 
    48 h1:hover .anchor, h2:hover .anchor, h3:hover .anchor, 
    49 h4:hover .anchor, h5:hover .anchor, h6:hover .anchor { 
    50  visibility: visible; 
    51 } 
    52  
    53 @media screen { 
    54  a.ext-link .icon { 
    55   background: url(../extlink.gif) left center no-repeat; 
    56   padding-left: 16px; 
    57  } 
    58  * html a.ext-link .icon { display: inline-block; } 
    59 } 
    60  
    61 /* Forms */ 
    62 input, textarea, select { margin: 2px } 
    63 input, select { vertical-align: middle } 
    64 input[type=button], input[type=submit], input[type=reset] { 
    65  background: #eee; 
    66  color: #222; 
    67  border: 1px outset #ccc; 
    68  padding: .1em .5em; 
    69 } 
    70 input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover { 
    71  background: #ccb; 
    72 } 
    73 input[type=button][disabled], input[type=submit][disabled], 
    74 input[type=reset][disabled] { 
    75  background: #f6f6f6; 
    76  border-style: solid; 
    77  color: #999; 
    78 } 
    79 input[type=text], input.textwidget, textarea { border: 1px solid #d7d7d7 } 
    80 input[type=text], input.textwidget { padding: .25em .5em } 
    81 input[type=text]:focus, input.textwidget:focus, textarea:focus { 
    82  border: 1px solid #886; 
    83 } 
    84 option { border-bottom: 1px dotted #d7d7d7 } 
    85 fieldset { border: 1px solid #d7d7d7; padding: .5em; margin: 1em 0 } 
    86 form p.hint { color: #666; font-size: 85%; font-style: italic; margin: .5em 0; 
    87   padding-left: 1em; 
    88 } 
    89 fieldset.iefix { 
    90   background: transparent; 
    91   border: none; 
    92   padding: 0; 
    93   margin: 0; 
    94 } 
    95 * html fieldset.iefix { width: 98% } 
    96 fieldset.iefix p { margin: 0 } 
    97 legend { color: #999; padding: 0 .25em; font-size: 90%; font-weight: bold } 
    98 label.disabled { color: #d7d7d7 } 
    99 .buttons { margin: .5em .5em .5em 0 } 
    100 .buttons form, .buttons form div { display: inline } 
    101 .buttons input { margin: 1em .5em .1em 0 } 
    102 .inlinebuttons input {  
    103  font-size: 70%; 
    104  border-width: 1px; 
    105  border-style: dotted; 
    106  margin: 0; 
    107  padding: 0.1em; 
    108  background: none; 
    109 } 
    110  
    111 /* Header */ 
    112 #header hr { display: none } 
    113 #header h1 { margin: 1.5em 0 -1.5em; } 
    114 #header img { border: none; margin: 0 0 -3em } 
    115 #header :link, #header :visited, #header :link:hover, #header :visited:hover { 
    116  background: transparent; 
    117  color: #555; 
    118  margin-bottom: 2px; 
    119  border: none; 
    120 } 
    121 #header h1 :link:hover, #header h1 :visited:hover { color: #000 } 
    122  
    123 /* Quick search */ 
    124 #search { 
    125  clear: both; 
    126  font-size: 10px; 
    127  height: 2.2em; 
    128  margin: 0 0 1em; 
    129  text-align: right; 
    130 } 
    131 #search input { font-size: 10px } 
    132 #search label { display: none } 
    133  
    134 /* Navigation */ 
    135 .nav h2, .nav hr { display: none } 
    136 .nav ul { font-size: 10px; list-style: none; margin: 0; text-align: right } 
    137 .nav li { 
    138  border-right: 1px solid #d7d7d7; 
    139  display: inline; 
    140  padding: 0 .75em; 
    141  white-space: nowrap; 
    142 } 
    143 .nav li.last { border-right: none } 
    144  
    145 /* Main navigation bar */ 
    146 #mainnav { 
    147  background: #f7f7f7 url(../topbar_gradient.png) 0 0; 
    148  border: 1px solid #000; 
    149  font: normal 10px verdana,'Bitstream Vera Sans',helvetica,arial,sans-serif; 
    150  margin: .66em 0 .33em; 
    151  padding: .2em 0; 
    152 } 
    153 #mainnav li { border-right: none; padding: .25em 0 } 
    154 #mainnav :link, #mainnav :visited { 
    155  background: url(../dots.gif) 0 0 no-repeat; 
    156  border-right: 1px solid #fff; 
    157  border-bottom: none; 
    158  border-left: 1px solid #555; 
    159  color: #000; 
    160  padding: .2em 20px; 
    161 } 
    162 * html #mainnav :link, * html #mainnav :visited { background-position: 1px 0 } 
    163 #mainnav :link:hover, #mainnav :visited:hover { 
    164  background-color: #ccc; 
    165  border-right: 1px solid #ddd; 
    166 } 
    167 #mainnav .active :link, #mainnav .active :visited { 
    168  background: #333 url(../topbar_gradient2.png) 0 0 repeat-x; 
    169  border-top: none; 
    170  border-right: 1px solid #000; 
    171  color: #eee; 
    172  font-weight: bold; 
    173 } 
    174 #mainnav .active :link:hover, #mainnav .active :visited:hover { 
    175  border-right: 1px solid #000; 
    176 } 
    177  
    178 /* Context-dependent navigation links */ 
    179 #ctxtnav { height: 1em } 
    180 #ctxtnav li ul { 
    181  background: #f7f7f7; 
    182  color: #ccc; 
    183  border: 1px solid; 
    184  padding: 0; 
    185  display: inline; 
    186  margin: 0; 
    187 } 
    188 #ctxtnav li li { padding: 0; } 
    189 #ctxtnav li li :link, #ctxtnav li li :visited { padding: 0 1em } 
    190 #ctxtnav li li :link:hover, #ctxtnav li li :visited:hover { 
    191  background: #bba; 
    192  color: #fff; 
    193 } 
    194  
    195 /* Alternate links */ 
    196 #altlinks { clear: both; text-align: center } 
    197 #altlinks h3 { font-size: 12px; letter-spacing: normal; margin: 0 } 
    198 #altlinks ul { list-style: none; margin: 0; padding: 0 0 1em } 
    199 #altlinks li { 
    200  border-right: 1px solid #d7d7d7; 
    201  display: inline; 
    202  font-size: 11px; 
    203  line-height: 1.5; 
    204  padding: 0 1em; 
    205  white-space: nowrap; 
    206 } 
    207 #altlinks li.last { border-right: none } 
    208 #altlinks li :link, #altlinks li :visited { 
    209  background-repeat: no-repeat; 
    210  color: #666; 
    211  border: none; 
    212  padding: 0 0 2px; 
    213 } 
    214 #altlinks li a.ics { background-image: url(../ics.png); padding-left: 22px } 
    215 #altlinks li a.rss { background-image: url(../feed.png); padding-left: 20px } 
    216  
    217 /* Footer */ 
    218 #footer { 
    219   clear: both; 
    220   color: #bbb; 
    221   font-size: 10px; 
    222   border-top: 1px solid; 
    223   height: 31px; 
    224   padding: .25em 0; 
    225 } 
    226 #footer :link, #footer :visited { color: #bbb; } 
    227 #footer hr { display: none } 
    228 #footer #tracpowered { border: 0; float: left } 
    229 #footer #tracpowered:hover { background: transparent } 
    230 #footer p { margin: 0 } 
    231 #footer p.left { 
    232   float: left; 
    233   margin-left: 1em; 
    234   padding: 0 1em; 
    235   border-left: 1px solid #d7d7d7; 
    236   border-right: 1px solid #d7d7d7; 
    237 } 
    238 #footer p.right { 
    239   float: right; 
    240   text-align: right; 
    241 } 
    242  
    243 #content { padding-bottom: 2em; position: relative } 
    244  
    245 #help { 
    246  clear: both; 
    247  color: #999; 
    248  font-size: 90%; 
    249  margin: 1em; 
    250  text-align: right; 
    251 } 
    252 #help :link, #help :visited { cursor: help } 
    253 #help hr { display: none } 
    254  
    255 /* Page preferences form */ 
    256 #prefs { 
    257  background: #f7f7f0; 
    258  border: 1px outset #998; 
    259  float: right; 
    260  font-size: 9px; 
    261  padding: .8em; 
    262  position: relative; 
    263  margin: 0 1em 1em; 
    264 } 
    265 * html #prefs { width: 26em } /* Set width only for IE */ 
    266 #prefs input, #prefs select { font-size: 9px; vertical-align: middle } 
    267 #prefs fieldset { 
    268  background: transparent; 
    269  border: none; 
    270  margin: .5em; 
    271  padding: 0; 
    272 } 
    273 #prefs fieldset legend { 
    274  background: transparent; 
    275  color: #000; 
    276  font-size: 9px; 
    277  font-weight: normal; 
    278  margin: 0 0 0 -1.5em; 
    279  padding: 0; 
    280 } 
    281 #prefs .buttons { text-align: right } 
    282  
    283 /* Version information (browser, wiki, attachments) */ 
    284 #info { 
    285  margin: 1em 0 0 0; 
    286  background: #f7f7f0; 
    287  border: 1px solid #d7d7d7; 
    288  border-collapse: collapse; 
    289  border-spacing: 0; 
    290  clear: both; 
    291  width: 100%; 
    292 } 
    293 #info th, #info td { font-size: 85%; padding: 2px .5em; vertical-align: top } 
    294 #info th { font-weight: bold; text-align: left; white-space: nowrap } 
    295 #info td.message { width: 100% } 
    296 #info .message ul { padding: 0; margin: 0 2em } 
    297 #info .message p { margin: 0; padding: 0 } 
    298  
    299 /* Wiki */ 
    300 .wikipage { padding-left: 18px } 
    301 .wikipage h1, .wikipage h2, .wikipage h3 { margin-left: -18px } 
    302  
    303 a.missing:link, a.missing:visited, span.missing { color: #998 } 
    304 a.missing:link, a.missing:visited { background: #fafaf0 } 
    305 a.missing:hover { color: #000 } 
    306 a.closed:link, a.closed:visited { text-decoration: line-through } 
    307 span.closed { text-decoration: line-through } 
    308  
    309 dl.wiki dt { font-weight: bold } 
    310 dl.compact dt { float: left; padding-right: .5em } 
    311 dl.compact dd { margin: 0; padding: 0 } 
    312  
    313 pre.wiki, pre.literal-block { 
    314  background: #f7f7f7; 
    315  border: 1px solid #d7d7d7; 
    316  margin: 1em 1.75em; 
    317  padding: .25em; 
    318  overflow: auto; 
    319 } 
    320  
    321 blockquote.citation {  
    322  margin: -0.6em 0; 
    323  border-style: solid;  
    324  border-width: 0 0 0 2px;  
    325  padding-left: .5em; 
    326  border-color: #b44;  
    327 } 
    328 .citation blockquote.citation { border-color: #4b4; } 
    329 .citation .citation blockquote.citation { border-color: #44b; } 
    330 .citation .citation .citation blockquote.citation { border-color: #c55; } 
    331  
    332 table.wiki { 
    333  border: 2px solid #ccc; 
    334  border-collapse: collapse; 
    335  border-spacing: 0; 
    336 } 
    337 table.wiki td { border: 1px solid #ccc;  padding: .1em .25em; } 
    338  
    339 .wikitoolbar { 
    340  border: solid #d7d7d7; 
    341  border-width: 1px 1px 1px 0; 
    342  height: 18px; 
    343  width: 234px; 
    344 } 
    345 .wikitoolbar :link, .wikitoolbar :visited { 
    346  background: transparent url(../edit_toolbar.png) no-repeat; 
    347  border: 1px solid #fff; 
    348  border-left-color: #d7d7d7; 
    349  cursor: default; 
    350  display: block; 
    351  float: left; 
    352  width: 24px; 
    353  height: 16px; 
    354 } 
    355 .wikitoolbar :link:hover, .wikitoolbar :visited:hover { 
    356  background-color: transparent; 
    357  border: 1px solid #fb2; 
    358 } 
    359 .wikitoolbar a#em { background-position: 0 0 } 
    360 .wikitoolbar a#strong { background-position: 0 -16px } 
    361 .wikitoolbar a#heading { background-position: 0 -32px } 
    362 .wikitoolbar a#link { background-position: 0 -48px } 
    363 .wikitoolbar a#code { background-position: 0 -64px } 
    364 .wikitoolbar a#hr { background-position: 0 -80px } 
    365 .wikitoolbar a#np { background-position: 0 -96px } 
    366 .wikitoolbar a#br { background-position: 0 -112px } 
    367 .wikitoolbar a#img { background-position: 0 -128px } 
    368  
    369 /* Styles for the form for adding attachments. */ 
    370 #attachment .field { margin-top: 1.3em } 
    371 #attachment label { padding-left: .2em } 
    372 #attachment fieldset { margin-top: 2em } 
    373 #attachment fieldset .field { float: left; margin: 0 1em .5em 0 } 
    374 #attachment .options { float: left; padding: 0 0 1em 1em } 
    375 #attachment br { clear: left } 
    376 .attachment #preview { margin-top: 1em } 
    377  
    378 /* Styles for the list of attachments. */ 
    379 #attachments { border: 1px outset #996; padding: 1em } 
    380 #attachments .attachments { margin-left: 2em; padding: 0 } 
    381 #attachments dt { display: list-item; list-style: square; } 
    382 #attachments dd { font-style: italic; margin-left: 0; padding-left: 0; } 
    383  
    384 /* Styles for tabular listings such as those used for displaying directory 
    385    contents and report results. */ 
    386 table.listing { 
    387  clear: both; 
    388  border-bottom: 1px solid #d7d7d7; 
    389  border-collapse: collapse; 
    390  border-spacing: 0; 
    391  margin-top: 1em; 
    392  width: 100%; 
    393 } 
    394 table.listing th { text-align: left; padding: 0 1em .1em 0; font-size: 12px } 
    395 table.listing thead { background: #f7f7f0 } 
    396 table.listing thead th { 
    397  border: 1px solid #d7d7d7; 
    398  border-bottom-color: #999; 
    399  font-size: 11px; 
    400  font-weight: bold; 
    401  padding: 2px .5em; 
    402  vertical-align: bottom; 
    403 } 
    404 table.listing thead th :link:hover, table.listing thead th :visited:hover { 
    405  background-color: transparent; 
    406 } 
    407 table.listing thead th a { border: none; padding-right: 12px } 
    408 table.listing th.asc a, table.listing th.desc a { font-weight: bold } 
    409 table.listing th.asc a, table.listing th.desc a { 
    410  background-position: 100% 50%; 
    411  background-repeat: no-repeat; 
    412 } 
    413 table.listing th.asc a { background-image: url(../asc.png) } 
    414 table.listing th.desc a { background-image: url(../desc.png) } 
    415 table.listing tbody td, table.listing tbody th { 
    416  border: 1px dotted #ddd; 
    417  padding: .33em .5em; 
    418  vertical-align: top; 
    419 } 
    420 table.listing tbody td a:hover, table.listing tbody th a:hover { 
    421  background-color: transparent; 
    422 } 
    423 table.listing tbody tr { border-top: 1px solid #ddd } 
    424 table.listing tbody tr.even { background-color: #fcfcfc } 
    425 table.listing tbody tr.odd { background-color: #f7f7f7 } 
    426 table.listing tbody tr:hover { background: #eed !important } 
    427  
    428 /* Styles for the page history table 
    429    (extends the styles for "table.listing") */ 
    430 #fieldhist td { padding: 0 .5em } 
    431 #fieldhist td.date, #fieldhist td.diff, #fieldhist td.version, 
    432 #fieldhist td.author { 
    433  white-space: nowrap; 
    434 } 
    435 #fieldhist td.version { text-align: center } 
    436 #fieldhist td.comment { width: 100% } 
    437  
    438 /* Auto-completion interface */ 
    439 .suggestions { background: #fff; border: 1px solid #886; color: #222; } 
    440 .suggestions ul { 
    441   font-family: sans-serif; 
    442   max-height: 20em; 
    443   min-height: 3em; 
    444   list-style: none; 
    445   margin: 0; 
    446   overflow: auto; 
    447   padding: 0; 
    448   width: 440px; 
    449 } 
    450 * html .suggestions ul { height: 10em; } 
    451 .suggestions li { background: #fff; cursor: pointer; padding: 2px 5px } 
    452 .suggestions li.selected { background: #b9b9b9 } 
    453  
    454 /* Styles for the error page (and rst errors) */ 
    455 #content.error .message, div.system-message { 
    456  background: #fdc; 
    457  border: 2px solid #d00; 
    458  color: #500; 
    459  padding: .5em; 
    460  margin: 1em 0; 
    461 } 
    462 #content.error pre, div.system-message pre { 
    463   margin-left: 1em; 
    464   overflow: auto; 
    465 } 
    466 div.system-message p { margin: 0; } 
    467 div.system-message p.system-message-title { font-weight: bold; } 
    468  
    469 #content.error #newticket form { display: inline; } 
    470 #content.error #newticket textarea { display: none; } 
    471  
    472 #content.error #systeminfo { margin: 1em; width: auto; } 
    473 #content.error #systeminfo th { font-weight: bold; text-align: right; } 
    474  
    475 #content.error #traceback { margin-left: 1em; } 
    476 #content.error #traceback :link, #content.error #traceback :visited { 
    477   border: none; 
    478 } 
    479 #content.error #tbtoggle { font-size: 80%; } 
    480 #content.error #traceback div { margin-left: 1em; } 
    481 #content.error #traceback h3 { font-size: 95%; margin: .5em 0 0; } 
    482 #content.error #traceback :link var, #content.error #traceback :visited var { 
    483   font-family: monospace; 
    484   font-style: normal; 
    485   font-weight: bold; 
    486 } 
    487 #content.error #traceback span.file { color: #666; font-size: 85%; } 
    488 #content.error #traceback ul { list-style: none; margin: .5em 0; padding: 0; } 
    489 #content.error #traceback ol { 
    490   border: 1px dotted #d7d7d7; 
    491   color: #999; 
    492   font-size: 85%; 
    493   line-height: 1; 
    494   margin: .5em 0; 
    495 } 
    496 #content.error #traceback ol li { white-space: pre; } 
    497 #content.error #traceback ol li.current { background: #e6e6e6; color: #333; } 
    498 #content.error #traceback ol li code { color: #666; } 
    499 #content.error #traceback ol li.current code { color: #000; } 
    500 #content.error #traceback table { margin: .5em 0 1em;  } 
    501 #content.error #traceback th, #content.error #traceback td { 
    502   font-size: 85%; padding: 1px; 
    503 } 
    504 #content.error #traceback th var { 
    505   font-family: monospace; 
    506   font-style: normal; 
    507 } 
    508 #content.error #traceback td code { white-space: pre; } 
    509 #content.error #traceback pre { font-size: 95%; } 
    510  
    511 /* Styles for search word highlighting */ 
    512 @media screen { 
    513  .searchword0 { background: #ff9 } 
    514  .searchword1 { background: #cfc } 
    515  .searchword2 { background: #cff } 
    516  .searchword3 { background: #ccf } 
    517  .searchword4 { background: #fcf } 
    518 } 
    519  
    520 @media print { 
    521  #header, #altlinks, #footer, #help { display: none } 
    522  .nav, form, .buttons form, form .buttons, form .inlinebuttons { 
    523    display: none; 
    524  } 
    525  form.printableform { display: block } 
    526 } 
     15/* alternative link icons */ 
     16#x-trac #altlinks li a.ics { background-image: url(../ics.png); padding-left: 22px } 
     17#x-trac #altlinks li a.rss { background-image: url(../feed.png); padding-left: 20px } 
  • trac/htdocs/css/changeset.css

     
    1 /* Changeset overview */ 
    2 #overview .files { padding-top: 1em } 
    3 #overview .files ul { margin: 0; padding: 0 } 
    4 #overview .files li { list-style-type: none } 
    5 #overview .files li .comment { display: none } 
    6 #overview .files li div { 
    7  border: 1px solid #999; 
    8  float: left; 
    9  margin: .2em .5em 0 0; 
    10  overflow: hidden; 
    11  width: .8em; height: .8em; 
    12 } 
    13 #overview div.add div, #overview div.cp div, #overview div.mv div { 
    14  border: 0; 
    15  margin: 0; 
    16  float: right; 
    17  width: .35em;  
    18 } 
    19  
    20 #overview .changeset { padding: 0 0 1px } 
    21 #overview dd.changeset p { 
    22  margin-bottom: 0; 
    23  margin-top: 0; 
    24 } 
    25 #overview .files { padding: 1px 0 } 
    26  
    27 .diff ul.props { 
    28  font-size: 90%; 
    29  list-style: disc; 
    30  margin: .5em 0 0; 
    31  padding: 0 .5em 1em 2em; 
    32 } 
    33 .diff ul.props li { margin: 0; padding: 0 } 
    34  
    35 #title dl { display: inline; font-size: 110% } 
    36 #title dt {  
    37  display: inline;  
    38  font-size: 110%; 
    39  font-weight: bold; 
    40  margin-left: 3em; 
    41 } 
    42 #title dd { display: inline; margin-left: 0.4em } 
  • trac/htdocs/css/wiki.css

     
    1 @import url(code.css); 
    2  
    3 /* Styles for the page editing form */ 
    4 #edit #rows { float: right; font-size: 80% } 
    5 #edit #rows select { font-size: 90% } 
    6 #edit #text { clear: both; width: 100% } 
    7 #edit .wikitoolbar { float: left; } 
    8 #changeinfo { padding: .5em } 
    9 #changeinfo .field { float: left; margin: 0 1em .5em 0 } 
    10 #changeinfo br { clear: left } 
    11 #changeinfo .options { padding: 0 0 1em 1em } 
    12 #changeinfo .options, #changeinfo .buttons { clear: left } 
    13 #delete, #save { margin-left: 6em } 
    14 #preview { 
    15  background: #f4f4f4 url(../draft.png); 
    16  margin: 1em 0 2em; 
    17  overflow: auto; 
    18 } 
    19 #template { vertical-align: middle; padding-top: 1em; } 
    20  
    21 /* Diff view */ 
    22 #overview .multi { color: #999 } 
    23 #overview .ipnr { color: #999; font-size: 80% } 
    24 #overview .comment { padding: 1em 0 0 } 
    25  
    26 @media print {  
    27  th.diff, td.diff { display: none } 
    28 } 
    29  
    30 /* Styles for the TracGuideToc wikimacro */ 
    31 .wiki-toc { 
    32  padding: .5em 1em; 
    33  margin: 0 0 2em 1em; 
    34  float: right; 
    35  border: 1px outset #ddc; 
    36  background: #ffd; 
    37  font-size: 85%; 
    38  position: relative; 
    39 } 
    40 .wiki-toc h4 { font-size: 12px; margin: 0 } 
    41 .wiki-toc ul, .wiki-toc ol { list-style: none; padding: 0; margin: 0 } 
    42 .wiki-toc ul ul, .wiki-toc ol ol { padding-left: 1.2em } 
    43 .wiki-toc li { margin: 0; padding: 0 } 
    44 .wiki-toc .active { background: #ff9; position: relative; } 
  • trac/htdocs/css/search.css

     
    1 #content.search .filters { color: #333; font-size: 85%; } 
    2  
    3 #content.search form { margin: 1em 0 0 } 
    4 #content.search form p { margin: .5em 0 } 
    5 #content.search hr { clear: left; margin-bottom: 0 } 
    6 #content.search #notfound { margin: 2em; font-size: 110% } 
    7  
    8 #content.search h2 .numresults { color: #666; font-size: 90%; } 
    9 #content.search #results { margin-right: 3em } 
    10 #content.search #results dt { margin: 1.5em 0 0 } 
    11 #content.search #results dt a { color: #33c } 
    12 #content.search #results dd { font-size: 80%; margin: 0; padding: 0 } 
    13 #content.search #results .author, #results .date { color: #090; } 
    14  
    15 #content.search #quickjump { font-style: italic; font-weight: bold; } 
    16  
    17 #content.search .paging { margin: 0 0 2em; padding: .5em 0 0; 
    18   font-size: 85%; line-height: 2em; text-align: center; 
    19 } 
    20 #content.search .paging span { color: #666; padding: 0; } 
    21 #content.search .paging :link, #content.search .paging :visited { 
    22   background: #999; border: 1px solid #666; color: #fff; padding: .1em .3em; 
    23 } 
    24 #content.search .paging :link:hover, #content.search .paging :visited:hover { 
    25   background: #666; border-color: #333; 
    26 } 
    27 #content.search .paging .previous :link, 
    28 #content.search .paging .previous :visited, 
    29 #content.search .paging .next :link, 
    30 #content.search .paging .next :visited { 
    31   background: transparent; border: none; color: #666; font-size: 150%; 
    32   font-weight: bold; 
    33 } 
    34 #content.search .paging .previous :link:hover, 
    35 #content.search .paging .previous :visited:hover, 
    36 #content.search .paging .next :link:hover, 
    37 #content.search .paging .next :visited:hover { 
    38   background: transparent; color: #000; 
    39 } 
  • trac/htdocs/css/timeline.css

     
    1 /* Timeline */ 
    2  
    3 * html #prefs { width: 34em } /* Set width only for IE */ 
    4 #prefs fieldset label { display: block } 
    5 #prefs .buttons { margin-top: -1.6em } 
    6  
    7 h2 { 
    8  background: #f7f7f7; 
    9  border-bottom: 1px solid #d7d7d7; 
    10  font-size: 105%; 
    11  margin: 2em 0 .5em; 
    12 } 
    13 dl { line-height: 1.3em; margin-left: 1em } 
    14 dt { background: 3px 4px no-repeat; padding: 0 } 
    15 dt :link, dt :visited { 
    16  background: 3px 3px no-repeat; 
    17  border: none; 
    18  color: #000; 
    19  padding: 0 4px 2px 22px; 
    20 } 
    21 dt>:link, dt>:visited { 
    22  /* Hide from IE/Win */ 
    23  background-position: 3px 4px; 
    24  display: block; 
    25 } 
    26 dt :link:hover, dt :visited:hover { background-color: #eed; color: #000 } 
    27 dt em { 
    28  border-bottom: 1px dotted #bbb; 
    29  color: #b00; 
    30  font-style: normal; 
    31  text-decoration: none; 
    32 } 
    33 dt .time { color: #999; font-size: 80%; } 
    34 dt .author { color: #666; } 
    35 dt.highlight { background-color: #ffa; }  
    36 dd {  
    37  font-size: 80%; 
    38  margin: 0 0 .75em 5.5em; 
    39  padding: 0; 
    40  color: #776; 
    41 } 
    42  
    43 /* Apply icon background-image twice to avoid hover-flicker in IE/Win */ 
    44 dt.changeset, dt.changeset a { background-image: url(../changeset.png) !important } 
    45 dt.newticket, dt.newticket a { background-image: url(../newticket.png) !important } 
    46 dt.editedticket, dt.editedticket a { background-image: url(../editedticket.png) !important } 
    47 dt.closedticket, dt.closedticket a { background-image: url(../closedticket.png) !important } 
    48 dt.wiki, dt.wiki a { background-image: url(../wiki.png) !important } 
    49 dt.milestone, dt.milestone a { background-image: url(../milestone.png) !important } 
    50 dt.attachment, dt.attachment a { background-image: url(../attachment.png) !important } 
    51  
    52 /* styles for the 'changeset_long_messages' option */ 
    53 dd.changeset p { margin: 0; padding: 0 } 
    54 dd.changeset ul { padding-left: 15px; } 
    55  
    56 /* Styles for the 'changeset_show_files' option */ 
    57 dd.changeset .changes { color: #aaa; font-size: 90%; } 
    58 dd.changeset ul.changes {  
    59  padding-left: 0; 
    60  list-style-type: none; 
    61 } 
    62 dd.changeset .changes li div { 
    63  border: 1px solid #999; 
    64  float: left; 
    65  margin: .5em .5em 0 0; 
    66  overflow: hidden; 
    67  width: .8em; height: .8em; 
    68 } 
    69 dd.changeset .changes li span {  
    70  float: left; 
    71  margin-right: .8em; 
    72 } 
    73 dd.changeset .changes .add     { background: #bfb } 
    74 dd.changeset .changes .delete  { background: #f88 } 
    75 dd.changeset .changes .edit    { background: #fd8 } 
    76 dd.changeset .changes .copy    { background: #88f } 
    77 dd.changeset .changes .move    { background: #ccc } 
  • trac/htdocs/css/diff.css

     
    1 /* Diff preferences */ 
    2 #prefs fieldset { margin: 1em .5em .5em; padding: .5em 1em 0 } 
    3  
    4 /* Diff/change overview */ 
    5 #overview { line-height: 130%; margin-top: 1em; padding: .5em } 
    6 #overview dt.property { 
    7  font-weight: bold; 
    8  padding-right: .25em; 
    9  position: absolute; 
    10  left: 0; 
    11  text-align: right; 
    12  width: 7.75em; 
    13 } 
    14 #overview dd { margin-left: 8em } 
    15  
    16 #overview .message { padding: 1em 0 1px } 
    17