global.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  1. /* The contents of this file are subject to the Mozilla Public
  2. * License Version 1.1 (the "License"); you may not use this file
  3. * except in compliance with the License. You may obtain a copy of
  4. * the License at http://www.mozilla.org/MPL/
  5. *
  6. * Software distributed under the License is distributed on an "AS
  7. * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  8. * implied. See the License for the specific language governing
  9. * rights and limitations under the License.
  10. *
  11. * The Original Code is the Bugzilla Bug Tracking System.
  12. *
  13. * The Initial Developer of the Original Code is Netscape Communications
  14. * Corporation. Portions created by Netscape are
  15. * Copyright (C) 1998 Netscape Communications Corporation. All
  16. * Rights Reserved.
  17. *
  18. * Contributor(s): Byron Jones <bugzilla@glob.com.au>
  19. * Christian Reis <kiko@async.com.br>
  20. * Vitaly Harisov <vitaly@rathedg.com>
  21. * Svetlana Harisova <light@rathedg.com>
  22. * Marc Schumann <wurblzap@gmail.com>
  23. */
  24. /* global (begin) */
  25. body {
  26. font-family: sans-serif;
  27. color: #000;
  28. background: #fff url("global/body-back.gif") repeat-x;
  29. }
  30. body, td, th, input {
  31. font-family: Verdana, sans-serif;
  32. font-size: small;
  33. }
  34. /* monospace is much smaller than Verdana by default, so we make it a bit bigger. */
  35. pre, code, kbd {
  36. font-size: medium;
  37. }
  38. /* global (end) */
  39. /* header (begin) */
  40. #header {
  41. margin-bottom: 1em;
  42. padding-bottom: 2px;
  43. }
  44. #header form {
  45. font-size: 85%;
  46. display: inline;
  47. }
  48. #header .links {
  49. font-size: 85%;
  50. border-left: 1px solid silver;
  51. border-right: 1px solid silver;
  52. border-bottom: 1px solid silver;
  53. -moz-border-radius-bottomleft: 5px;
  54. -moz-border-radius-bottomright: 5px;
  55. padding: 0.5em;
  56. }
  57. #message {
  58. border: 1px solid red;
  59. margin: 0.3em 0em;
  60. padding: 0.3em;
  61. color: green;
  62. }
  63. /* header (end) */
  64. /* banner (begin) */
  65. #banner {
  66. }
  67. /* banner (end) */
  68. /* titles (begin) */
  69. #titles {
  70. width: 100%;
  71. background-color: #404D6C;
  72. color: #fff;
  73. -moz-border-radius-topleft: 5px;
  74. -moz-border-radius-topright: 5px;
  75. font-size: 110%;
  76. margin: 0;
  77. padding: 0.5em;
  78. vertical-align: bottom;
  79. }
  80. #titles a {
  81. color: #fff;
  82. }
  83. #titles p {
  84. margin: 0;
  85. padding: 0;
  86. }
  87. #titles #title {
  88. font-weight: bold;
  89. white-space: nowrap;
  90. }
  91. #titles #subtitle {
  92. font-weight: normal;
  93. width: 100%;
  94. text-align: center;
  95. }
  96. #titles #information {
  97. font-weight: normal;
  98. text-align: right;
  99. font-size: 90%;
  100. white-space: nowrap;
  101. }
  102. /* titles (end) */
  103. /* footer (begin) */
  104. #footer {
  105. clear: both;
  106. margin-top: 5px;
  107. width: 100%;
  108. background: #edf2f2;
  109. border-top: 1px solid #ddd;
  110. border-bottom: 1px solid #ddd;
  111. }
  112. #footer form {
  113. display: inline;
  114. }
  115. #footer .btn,
  116. #footer .txt {
  117. font-size: 80%;
  118. }
  119. #footer #useful-links {
  120. display: table;
  121. padding-left: 1ex;
  122. padding-right: 1ex;
  123. }
  124. #footer #links-actions,
  125. #footer #links-saved,
  126. #footer #links-special {
  127. display: table-row;
  128. list-style-type: none;
  129. }
  130. #footer .label {
  131. display: table-cell;
  132. white-space: nowrap;
  133. vertical-align: top;
  134. }
  135. #footer .links {
  136. display: table-cell;
  137. vertical-align: top;
  138. }
  139. /* footer (end) */
  140. /* link lists (begin) */
  141. ul.links {
  142. margin: 0;
  143. padding: 0;
  144. list-style-type: none;
  145. }
  146. ul.links li {
  147. display: inline;
  148. white-space: nowrap;
  149. }
  150. /* link lists (end) */
  151. /* tabs (begin) */
  152. .tabs td {
  153. background: #eee;
  154. text-align: center;
  155. border-style: solid;
  156. border-color: black;
  157. border-width: 0px 0px 2px 0px;
  158. }
  159. .tabs td.selected {
  160. background: white;
  161. border-width: 2px 2px 0px 2px;
  162. }
  163. .tabs td.spacer {
  164. background: white;
  165. }
  166. /* tabs (end) */
  167. /* generic (begin) */
  168. :link {
  169. color: #039;
  170. }
  171. :visited {
  172. color: #636;
  173. }
  174. :link:hover, :visited:hover {
  175. color: #333;
  176. }
  177. :link:active, :link:active {
  178. color: #000;
  179. }
  180. .clickable_area {
  181. cursor: pointer;
  182. }
  183. /* generic (end) */
  184. div#docslinks {
  185. float: right;
  186. border: 1px solid black;
  187. padding: 1ex;
  188. font-size: 80%;
  189. }
  190. #docslinks h2 {
  191. margin: 0;
  192. }
  193. .bz_obsolete {
  194. text-decoration: line-through;
  195. }
  196. .bz_inactive {
  197. text-decoration: line-through;
  198. }
  199. .bz_closed,
  200. .bz_CLOSED td {
  201. text-decoration: line-through;
  202. }
  203. .bz_private {
  204. color: darkred;
  205. background: #f3eeee;
  206. }
  207. .bz_disabled {
  208. color: #a0a0a0;
  209. }
  210. .bz_comment {
  211. margin-bottom: 2em;
  212. }
  213. /* The rules for these classes make international text wrap correctly,
  214. even for languages like Japanese that have no spaces. */
  215. .bz_comment_text, .uneditable_textarea {
  216. font-family: monospace;
  217. /* Note that these must all be on separate lines or they stop
  218. working in Konqueror. */
  219. white-space: pre-wrap; /* CSS 3 & 2.1 */
  220. white-space: -moz-pre-wrap; /* Gecko */
  221. white-space: -pre-wrap; /* Opera 4-6 */
  222. white-space: -o-pre-wrap; /* Opera 7 */
  223. }
  224. .bz_comment_text {
  225. width: 50em;
  226. }
  227. .bz_first_comment {
  228. }
  229. .bz_comment_head, .bz_first_comment_head {
  230. background-color: #e0e0e0;
  231. }
  232. .bz_comment_hilite pre {
  233. background-color: lightgreen;
  234. margin: 0;
  235. padding: 1em 0;
  236. }
  237. span.quote {
  238. color: #65379c;
  239. /* Make quoted text not wrap. */
  240. white-space: pre;
  241. }
  242. table#flags th,
  243. table#flags td {
  244. vertical-align: middle;
  245. text-align: left;
  246. }
  247. .flag_select {
  248. min-width: 3em;
  249. }
  250. #error_msg {
  251. font-size: x-large;
  252. }
  253. .throw_error {
  254. background-color: #ff0000;
  255. color: black;
  256. font-size: 120%;
  257. margin: 1em;
  258. padding: 0.5em 1em;
  259. }
  260. dt {
  261. font-weight: bolder;
  262. }
  263. body > dl > dt {
  264. border-top: dotted gray thin;
  265. }
  266. dl dl > dt {
  267. border-top: none;
  268. }
  269. #admin_table th {
  270. white-space: normal !important;
  271. }
  272. /* Style of the attachment table and time tracking table */
  273. #attachment_table {
  274. border-collapse: collapse;
  275. width: 40em;
  276. border: 1px solid #333333;
  277. }
  278. #attachment_table th, .bz_attach_footer, .bz_time_tracking_table th {
  279. background-color: #E0E0E0;
  280. color: black;
  281. }
  282. #attachment_table td, .bz_time_tracking_table th, .bz_time_tracking_table td {
  283. border: 1px solid #333333;
  284. }
  285. .bz_attach_extra_info {
  286. font-size: smaller;
  287. }
  288. .bz_attach_flags, .bz_attach_footer {
  289. white-space: nowrap;
  290. }
  291. .bz_attach_view_hide {
  292. float: right;
  293. padding-left: 1em;
  294. }
  295. table.attachment_info th {
  296. text-align: right;
  297. vertical-align: top;
  298. }
  299. table.attachment_info td {
  300. text-align: left;
  301. vertical-align: top;
  302. }
  303. /* Text displayed when the attachment is not viewable by the web browser */
  304. #noview {
  305. text-align: left;
  306. vertical-align: middle;
  307. }
  308. /* For bug fields */
  309. .uneditable_textarea {
  310. width: 30em;
  311. font-size: medium;
  312. }
  313. div.user_match {
  314. margin-bottom: 1em;
  315. }
  316. .box {
  317. border: 1px solid black;
  318. color: black;
  319. background-color: #ffc;
  320. margin: 1em;
  321. padding: 0.5em 1em;
  322. }
  323. .collapsed {
  324. display: none;
  325. }
  326. /* Rules specific for printing */
  327. @media print {
  328. #header, #footer {
  329. display: none;
  330. }
  331. body {
  332. background-image: none;
  333. background-color: #fff;
  334. }
  335. }
  336. .field_label {
  337. text-align: right;
  338. vertical-align: top;
  339. font-weight: bold;
  340. }
  341. .field_value, form#Create th, form#Create td {
  342. vertical-align: top;
  343. }
  344. .calendar_button {
  345. background: transparent url("global/calendar.png") no-repeat;
  346. width: 20px;
  347. height: 20px;
  348. vertical-align: middle;
  349. }
  350. .calendar_button span { display: none }
  351. /* These classes are set by YUI. */
  352. .yui-calcontainer {
  353. display: none;
  354. background-color: white;
  355. padding: 10px;
  356. border: 1px solid #404D6C;
  357. }
  358. form#Create th {
  359. text-align: right;
  360. }
  361. form#Create .comment {
  362. vertical-align: top;
  363. overflow: auto;
  364. color: green;
  365. margin: 0 0.5em;
  366. padding: 0.3em;
  367. height: 8ex;
  368. }