Changeset 196


Ignore:
Timestamp:
Dec 4, 2009, 12:58:15 AM (10 years ago)
Author:
carmie
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • web/trunk/trac/htdocs/main.css

    r195 r196  
    8282
    8383***************************************/
     84.diff table.inline tbody.mod td.l, .diff table.inline tbody.rem td.l {
     85    background: #550000;
     86    border-color: #cc0000;
     87    color: #cc0000;
    8488
    85 div.code {
    86  background: #333;
    87  border: 1px solid #666;
    88  margin: 1em 1.75em;
    89  padding: .25em;
    90  overflow: auto
     89]
     90
     91.diff table.inline tbody.mod td.r, .diff table.inline tbody.add td.r {
     92    background: #3A7222;
     93    border-color: #1F3D12;
     94    color: #1F3D12;
    9195}
    9296
    93 div.code pre { margin: 0; }
    9497
    95 table.code {
    96  border: 1px solid #999;
    97  border-spacing: 0;
    98  border-top: 0;
    99  border-collapse: collapse;
    100  empty-cells: show;
    101  font-size: 12px;
    102  line-height: 130%;
    103  padding: 0;
    104  margin: 0 auto;
    105  table-layout: fixed;
    106  width: 100%;
    107 }
    108 table.code th {
    109  border-right: 1px solid #666;
    110  border-bottom: 1px solid #998;
    111  font-size: 11px;
    112 }
    113 table.code th.lineno { width: 4em }
    114 table.code thead th {
    115  background: #eee;
    116  border-top: 1px solid #666;
    117  color: #999;
    118  padding: 0 .25em;
    119  text-align: center;
    120  white-space: nowrap;
    121 }
    122 table.code tbody th {
    123  background: #eed;
    124  color: #886;
    125  font-weight: normal;
    126  padding: 0 .5em;
    127  text-align: right;
    128  vertical-align: top;
    129 }
    130 table.code tbody th :link, table.code tbody th :visited {
    131  border: none;
    132  color: #886;
    133  text-decoration: none;
    134 }
    135 table.code tbody th :link:hover, table.code tbody th :visited:hover {
    136  color: #fff;
    137 }
    138 table.code td {
    139  font: normal 11px monospace;
    140  overflow: hidden;
    141  padding: 1px 2px;
    142  vertical-align: top;
    143 }
    144 table.code tr.hilite th {
    145  background: #ccf;
    146 }
    147 table.code tr.hilite td {
    148  background: #ddf;
    149 }
    150 .image-file { background: #eee; padding: .3em }
    151 .image-file img { background: url(../imggrid.png) }
    152 
    153 /* Default */
    154 .code-block span { font-family: monospace; }
    155 
    156 /* Comments */
    157 .code-comment, .css_comment, .c_comment, .c_commentdoc, .c_commentline,
    158 .c_commentlinedoc, .h_comment,.pl_commentline, .p_commentblock,
    159 .p_commentline, .hphp_comment, .hphp_commentblock, .hphp_commentline,
    160 .yaml_comment {
    161  color: #998;
    162  font-style: italic;
    163 }
    164 
    165 /* Language keyword */
    166 .code-keyword, .pl_word  { color: #789; font-weight: bold }
    167 
    168 /* Type */
    169 .code-type, .c_word, .c_word2, .p_classname, .hphp_classname{
    170  color: #468;
    171  font-weight: bold;
    172 }
    173 
    174 /* Function */
    175 .code-func, .p_defname {
    176  color: #900;
    177  font-weight: bold;
    178  border-bottom: none;
    179 }
    180 
    181 /* Pre-processor */
    182 .code-prep, .c_preprocessor, .pl_preprocessor, .yaml_identifier {
    183  color: #999;
    184  font-weight: bold;
    185 }
    186 
    187 /* Language construct */
    188 .code-lang, .p_word { color: #fff; font-weight: bold }
    189 
    190 /* String */
    191 .code-string, .c_string, .c_stringeol, .css_doublestring, .css_singlestring,
    192 .h_singlestring, .h_doublestring, .pl_string, .pl_string_q, .pl_string_qq,
    193 .pl_string_qr, .pl_string_qw, .pl_string_qx, .pl_backticks, .pl_character,
    194 .p_string, .p_stringeol, .hphp_string, .hphp_stringeol, .hphp_triple,
    195 .hphp_tripledouble, .p_character, .p_triple, .p_tripledouble {
    196  color: #b84;
    197  font-weight: normal;
    198 }
    199 
    200 /* Variable name */
    201 .code-var { color: #f9f }
    202 
    203 /* SilverCity-specific styles */
    204 .css_id, .css_class, .css_pseudoclass, .css_tag { color: #900000 }
    205 .css_directive { color: #009000; font-weight: bold }
    206 .css_important { color: blue }
    207 .css_operator { color: #fff090; font-weight: bold }
    208 .css_tag { font-weight: bold }
    209 .css_unknown_identifier, .css_unknown_pseudoclass { color: red }
    210 .css_value { color: navy }
    211 .c_commentdockeyword { color: navy; font-weight: bold }
    212 .c_commentdockeyworderror { color: red; font-weight: bold }
    213 .c_character, .c_regex, .c_uuid, .c_verbatim { color: olive }
    214 .c_number { color: #099 }
    215 .h_asp { color: #ff0 }
    216 .h_aspat { color: #ffdf00 }
    217 .h_attribute { color: teal }
    218 .h_attributeunknown { color: red }
    219 .h_cdata { color: #green }
    220 .h_entity { color: purple }
    221 .h_number { color: #099 }
    222 .h_other { color: purple }
    223 .h_script, .h_tag, .h_tagend { color: navy }
    224 .h_tagunknown { color: red }
    225 .h_xmlend, .h_xmlstart { color: blue }
    226 .pl_datasection { color: olive }
    227 .pl_error { color: red; font-weight: bold }
    228 .pl_hash { color: #fff }
    229 .pl_here_delim, .pl_here_q, .pl_here_qq, .pl_here_qx, .pl_longquote { color: olive }
    230 .pl_number { color: #099 }
    231 .pl_pod { font-style: italic }
    232 .pl_regex, .pl_regsubst { color: olive }
    233 .p_number { color: #099 }
    234 .hphp_character { color: olive }
    235 .hphp_defname { color: #099; font-weight: bold }
    236 .hphp_number { color: #099 }
    237 .hphp_word { color: navy; font-weight: bold }
    238 .yaml_document { color: gray; font-style: italic }
    239 .yaml_keyword { color: purple}
    240 .yaml_number { color: red }
    241 .yaml_reference { color: #088 }
    242 .v_comment { color: gray; font-style: italic }
    243 .v_commentline, .v_commentlinebang { color: red; font-style: italic }
    244 .v_number, .v_preprocessor { color: #099 }
    245 .v_string, .v_stringeol { color: olive }
    246 .v_user{ color: blue; font-weight: bold }
    247 .v_word, .v_word3 { color: navy; font-weight: bold }
    248 .v_word2 { color: green; font-weight: bold }
Note: See TracChangeset for help on using the changeset viewer.