global.css 10.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* The contents of this file are subject to the Mozilla Public
  * License Version 1.1 (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.mozilla.org/MPL/
  *
  * Software distributed under the License is distributed on an "AS
  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  * implied. See the License for the specific language governing
  * rights and limitations under the License.
  *
  * The Original Code is the Bugzilla Bug Tracking System.
  *
  * The Initial Developer of the Original Code is Netscape Communications
  * Corporation. Portions created by Netscape are
  * Copyright (C) 1998 Netscape Communications Corporation. All
  * Rights Reserved.
  *
  * Contributor(s): Byron Jones <bugzilla@glob.com.au>
  *                 Christian Reis <kiko@async.com.br>
20 21
  *                 Vitaly Harisov <vitaly@rathedg.com>
  *                 Svetlana Harisova <light@rathedg.com>
22
  *                 Marc Schumann <wurblzap@gmail.com>
23
  *                 Pascal Held <paheld@gmail.com>
24 25
  */

26 27 28 29 30 31
/* global (begin) */
    body {
        font-family: sans-serif;
        color: #000;
        background: #fff url("global/body-back.gif") repeat-x;
    }
32 33 34
    body, td, th, input {
        font-family: Verdana, sans-serif;
        font-size: small;
35 36 37 38 39
    }
    /* monospace is much smaller than Verdana by default, so we make it a bit bigger. */
    pre, code, kbd {
        font-size: medium;
    }
40
/* global (end) */
41

42
/* header (begin) */
43
    #header {
44 45
        margin-bottom: 1em;
        padding-bottom: 2px;
46 47
    }

48 49 50 51
    #header form, #header form input,
    #footer form, #footer form input
    {
        font-size: 95%;
52
        display: inline;
53 54
    }

55
    #header .links {
56 57 58 59 60 61
        border-left: 1px solid silver;
        border-right: 1px solid silver;
        border-bottom: 1px solid silver;
        -moz-border-radius-bottomleft: 5px;
        -moz-border-radius-bottomright: 5px;
        padding: 0.5em;
62 63
    }

64 65 66 67 68 69 70 71 72 73 74 75
    #lang_links_container {
        float: right;
    }
    #lang_links_container .links {
        border: none;
        padding: .5em;
    }

    .lang_current {
        font-weight: bold;
    }

76
    #message {
77
        border: 1px solid red;
78
        margin: 0.3em 0em;
79 80
        padding: 0.3em;
        color: green;
81 82
    }

83 84 85 86 87 88 89 90 91 92 93 94 95
    form.mini_login input.bz_login  {
        width: 10em;
    }
    form.mini_login input.bz_password {
        width: 6em;
    }
    form.mini_login input.bz_remember {
        margin: 0;
    }
    .bz_mini_login_help {
        color: #777;
    }

96 97 98
/* header (end)   */

/* banner (begin) */
99
    #banner {
100 101
    }

102 103 104
/* banner (end) */

/* titles (begin) */
105
    #titles {
106 107 108
        width: 100%;
        background-color: #404D6C;
        color: #fff;
109 110
        -moz-border-radius-topleft: 5px;
        -moz-border-radius-topright: 5px;
111
        font-size: 110%;
112
        margin: 0;
113 114
        padding: 0.5em;
        vertical-align: bottom;
115 116
    }

117
    #titles a {
118 119 120
        color: #fff;
    }

121 122 123 124 125 126
    #titles p {
        margin: 0;
        padding: 0;
    }

    #titles #title {
127
        font-weight: bold;
128
        white-space: nowrap;
129 130
    }

131
    #titles #subtitle {
132
        font-weight: normal;
133 134
        width: 100%;
        text-align: center;
135 136
    }

137
    #titles #information {
138 139
        font-weight: normal;
        text-align: right;
140
        font-size: 90%;
141
        white-space: nowrap;
142 143
    }

144
/* titles (end) */
145

146 147 148 149
/* footer (begin)
 * See also the "header" section for styles that apply
 * to both the header and footer. 
 */
150
    #footer {
151
        clear: both;
152 153
        margin-top: 5px;
        width: 100%;
154 155 156
        background: #edf2f2;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
157 158
    }

159 160 161
    #footer #useful-links {
        padding-left: 1ex;
        padding-right: 1ex;
162 163
    }

164
    #footer ul {
165
        list-style-type: none;
166
    }
167 168 169 170 171 172
    #links-saved ul {
        display: inline;
    }
    #links-saved th {
        vertical-align: top;
    }
173

174 175 176
    #footer .label {
        white-space: nowrap;
        vertical-align: top;
177 178
    }

179 180
    #footer .links {
        vertical-align: top;
181
    }
182
/* footer (end) */
183

184 185 186 187 188 189
/* link lists (begin) */
    ul.links {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }
190

191 192 193
    ul.links li {
        display: inline;
        white-space: nowrap;
194
    }
195
/* link lists (end) */
196

197 198 199 200 201 202 203 204
/* tabs (begin) */
    .tabs td {
        background: #eee;
        text-align: center;
        border-style: solid;
        border-color: black;
        border-width: 0px 0px 2px 0px;
    }
205
        
206 207 208
    .tabs td.selected {
        background: white;
        border-width: 2px 2px 0px 2px;
209 210
    }

211 212
    .tabs td.spacer {
        background: white;
213
    }
214
/* tabs (end) */
215

216
/* generic (begin) */
217
    a {
218 219 220
        color: #039;
    }

221
    a:visited {
222 223 224
        color: #636;
    }

225
    a:hover {
226 227 228
        color: #333;
    }

229
    a:active {
230 231
        color: #000;
    }
232 233 234 235

    .clickable_area {
        cursor: pointer;
    }
236 237
/* generic (end) */

238 239 240 241 242
/* Links that control whether or not something is visible. */
a.controller {
    font-size: 115%;
}

243 244 245 246 247 248 249 250 251 252 253
div#docslinks {
    float: right;
    border: 1px solid black;
    padding: 1ex;
    font-size: 80%;
}

#docslinks h2 {
    margin: 0;
}

254 255 256 257 258 259
.bz_obsolete {
    text-decoration: line-through;
}
.bz_inactive {
    text-decoration: line-through;
}
260 261 262 263
.bz_closed,
.bz_CLOSED td {
    text-decoration: line-through;
}
264 265 266 267 268 269
.bz_private {
    color: darkred;
    background: #f3eeee;
}
.bz_disabled {
    color: #a0a0a0;
270 271
}

272 273 274 275
/************/
/* Comments */
/************/

276 277 278 279
.bz_comment_table td {
    vertical-align: top;
}

280 281
.bz_comment {
    margin-bottom: 2em;
282 283
}

284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
/* The rules for these classes make international text wrap correctly,
   even for languages like Japanese that have no spaces. */
.bz_comment_text, .uneditable_textarea {
     font-family: monospace;
    /* Note that these must all be on separate lines or they stop
       working in Konqueror. */
     white-space: pre-wrap;      /* CSS 3 & 2.1 */
     white-space: -moz-pre-wrap; /* Gecko */
     white-space: -pre-wrap;     /* Opera 4-6 */
     white-space: -o-pre-wrap;   /* Opera 7 */
}

.bz_comment_text {
     width: 50em;
}

300 301 302 303 304 305 306 307 308 309
.bz_comment_user, .bz_comment_time, .bz_comment_number, 
.bz_private_checkbox, .bz_comment_actions
{
    margin: 0 .5em;
}

.bz_comment_actions, .bz_comment_number, .bz_private_checkbox {
    float: right;
}

310 311 312 313 314 315 316 317
.bz_collapse_expand_comments {
    padding: 0;
    margin: 0 0 0 1em;
    list-style-type: none;
}
.bz_collapse_expand_comments li {
    margin-bottom: .5em;
}
318 319 320 321 322 323 324
.bz_collapse_comment {
    text-decoration: none;
}

.bz_private_checkbox input { 
    margin: 0;
    vertical-align: middle;
325 326 327
}

.bz_comment_head, .bz_first_comment_head {
328 329 330
    padding-top: .1em;
    padding-bottom: .1em;
    padding-left: .5em;
331 332
    background-color: #e0e0e0;
}
333 334 335 336 337

.bz_comment_user_images img {
    vertical-align: bottom;
}

338
.bz_comment_hilite pre {
339 340 341 342
    background-color: lightgreen;
    margin: 0;
    padding: 1em 0;
}
343

344 345
/** End Comments **/

346
.bz_default_hidden, .bz_tui_hidden, .bz_hidden_field, .bz_hidden_option {
347 348 349 350
    /* We have !important because we want elements with these classes to always
     * be hidden, even if there is some CSS that overrides it (we use these
     * classes inside JavaScript to hide things). */
    display: none !important;
351 352
}

353 354
span.quote {
    color: #65379c;
355 356
    /* Make quoted text not wrap. */
    white-space: pre;
357 358
}

359 360
table#flags th,
table#flags td {
361
    vertical-align: middle;
362 363
    text-align: left;
}
364

365 366 367 368
.flag_select {
    min-width: 3em;
}

369 370 371 372
input.requestee {
    width: 15em;
}

373 374 375 376
#error_msg {
    font-size: x-large;
}

377 378 379 380 381 382 383
.throw_error {
    background-color: #ff0000;
    color: black;
    font-size: 120%;
    margin: 1em;
    padding: 0.5em 1em;
}
384 385

dt {
386
    font-weight: bold;
387 388 389 390 391 392 393
}
body > dl > dt {
    border-top: dotted gray thin;
}
dl dl > dt {
    border-top: none;
}
394

395 396 397 398
#admin_table th {
    white-space: normal !important;
}

399
/* Style of the attachment table and time tracking table */
400 401 402 403 404
#attachment_table {
    border-collapse: collapse;
    border: 1px solid #333333;
}

405
#attachment_table th, .bz_attach_footer, .bz_time_tracking_table th {
406 407 408 409
    background-color: #E0E0E0;
    color: black;
}

410
#attachment_table td, .bz_time_tracking_table th, .bz_time_tracking_table td {
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426
    border: 1px solid #333333;
}

.bz_attach_extra_info {
    font-size: smaller;
}

.bz_attach_flags, .bz_attach_footer {
    white-space: nowrap;
}

.bz_attach_view_hide {
    float: right;
    padding-left: 1em;
}

427 428 429 430
div.user_match {
    margin-bottom: 1em;
}

431 432 433 434 435 436 437 438
.box {
    border: 1px solid black;
    color: black;
    background-color: #ffc;
    margin: 1em;
    padding: 0.5em 1em;
}

439 440 441 442
.collapsed {
    display: none;
}

443 444 445 446 447 448
/* Rules specific for printing */
@media print {
    #header, #footer {
        display: none;
    }

449 450 451 452
    div.bz_query_buttons {
        display: none;
    }

453 454 455 456 457
    body {
        background-image: none;
        background-color: #fff;
    }
}
458

459 460 461 462
/**************/
/* Bug Fields */
/**************/

463 464 465 466 467
.field_label {
    text-align: right;
    vertical-align: top;
    font-weight: bold;
}
468 469 470
.field_help_link {
    cursor: help;
}
471
.field_value, form#Create th, form#Create td {
472 473
    vertical-align: top;
}
474 475 476 477 478 479 480 481 482 483
.field_value .text_input {
  width: 100%;
  min-width: 25em;
}

.uneditable_textarea {
    width: 30em;
    font-size: medium;
}

484 485 486 487 488 489 490 491 492
th.required:before {
    content: "* ";
}
th.required:before, span.required_star {
    color: red;
}
input.required, select.required, span.required_explanation {
    background-color: #fff7cd;
}
493

494 495 496 497 498 499 500 501 502 503 504 505 506 507 508
.calendar_button {
    background: transparent url("global/calendar.png") no-repeat;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.calendar_button span { display: none }
/* These classes are set by YUI. */
.yui-calcontainer {
    display: none; 
    background-color: white; 
    padding: 10px;
    border: 1px solid #404D6C;
}

509 510 511 512 513 514
.bug_urls {
    margin: 0 0 1em 0;
    padding: 0;
    list-style-type: none;
}

515
/* custom styles for inline instances of autocomplete input fields */
516
.yui-skin-sam .yui-ac-input { position:static !important; 
517 518 519 520
                              vertical-align:middle !important;
                              width:auto !important; }
.yui-skin-sam .yui-ac-container { left:0px !important; }
.yui-skin-sam .yui-ac { display: inline-block; }
521 522 523 524 525
#bugzilla-body .yui-ac-content {
    max-height: 19em;
    overflow: auto;
    overflow-x: hidden;
}
526 527 528 529 530 531

#keyword_container {
    padding-bottom: 2em;
    padding-top: .2em;
}

532

533 534 535
#keyword_container .yui-ac-content {
    margin-left: -1px;
}
536 537 538 539 540 541 542 543 544 545 546 547 548 549

/*******************/
/* Form Validation */
/*******************/

.validation_error_text {
    font-size: 120%;
    color: #152446;
    font-weight: bold;
}

.validation_error_field {
    border: 2px solid #152446;
}
550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576

/*****************/
/* colchange.cgi */
/*****************/

.image_button {
    background-repeat: no-repeat;
    background-position: center center;
    width: 30px;
    height: 20px;
}

#select_button {
    background-image: url(global/right.png);
}

#deselect_button {
    background-image: url(global/left.png);
}

#up_button {
    background-image: url(global/up.png);
}

#down_button {
    background-image: url(global/down.png);
}