Commit | Line | Data |
---|---|---|
6bcac19c RK |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
3 | * | |
4 | * The contents of this file are subject to the Mozilla Public License Version | |
5 | * 1.1 (the "License"); you may not use this file except in compliance with | |
6 | * the License. You may obtain a copy of the License at | |
7 | * http://www.mozilla.org/MPL/ | |
8 | * | |
9 | * Software distributed under the License is distributed on an "AS IS" basis, | |
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
11 | * for the specific language governing rights and limitations under the | |
12 | * License. | |
13 | * | |
14 | * The Original Code is aboutSupport.css. | |
15 | * | |
16 | * The Initial Developer of the Original Code is | |
17 | * Mozilla Foundation. | |
18 | * Portions created by the Initial Developer are Copyright (C) 2009 | |
19 | * the Initial Developer. All Rights Reserved. | |
20 | * | |
21 | * Contributor(s): | |
22 | * Curtis Bartley <cbartley@mozilla.com> | |
23 | * | |
24 | * Alternatively, the contents of this file may be used under the terms of | |
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or | |
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | |
27 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
28 | * of those above. If you wish to allow use of your version of this file only | |
29 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
30 | * use your version of this file under the terms of the MPL, indicate your | |
31 | * decision by deleting the provisions above and replace them with the notice | |
32 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
33 | * the provisions above, a recipient may use your version of this file under | |
34 | * the terms of any one of the MPL, the GPL or the LGPL. | |
35 | * | |
36 | * ***** END LICENSE BLOCK ***** */ | |
37 | ||
38 | html { | |
39 | background-color: #000000; | |
40 | color: #FF9F00; | |
41 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; | |
42 | } | |
43 | ||
44 | body { | |
45 | text-align: justify; | |
46 | width: 90%; | |
47 | margin-left: 5%; | |
48 | margin-right: 5%; | |
49 | } | |
50 | ||
42f50429 RK |
51 | a:link, a:visited, a:active { |
52 | border-radius: 3px; | |
53 | color: #FFCF00; | |
54 | background-color: #000000; | |
55 | text-decoration: none; | |
56 | -moz-padding-start: 1px; | |
57 | -moz-padding-end: 1px; | |
58 | } | |
59 | ||
60 | a:hover { | |
61 | color: #000000; | |
62 | background-color: #FFCF00; | |
63 | } | |
64 | ||
6bcac19c RK |
65 | .page-subtitle { |
66 | margin-bottom: 3em; | |
67 | } | |
68 | ||
69 | .major-section { | |
70 | margin-top: 2em; | |
71 | margin-bottom: 1em; | |
72 | font-size: large; | |
73 | text-align: start; | |
74 | font-weight: bold; | |
75 | } | |
76 | ||
77 | table { | |
78 | background-color: #000000; | |
79 | color: #E7ADE7; | |
80 | text-align: start; | |
81 | width: 100%; | |
42f50429 | 82 | border-radius: 10px; |
6bcac19c RK |
83 | border: 1px solid #9C9FFF; |
84 | border-spacing: 0px; | |
85 | } | |
86 | ||
f0eab82c RK |
87 | table + table { |
88 | margin-top: 1em; | |
89 | } | |
90 | ||
6bcac19c | 91 | th, td { |
6bcac19c RK |
92 | padding: 3px; |
93 | } | |
94 | ||
f0eab82c RK |
95 | th:not(:first-child), |
96 | td:not(:first-child) { | |
42f50429 RK |
97 | border-left: 1px dotted #9C9FFF; |
98 | } | |
99 | ||
f0eab82c RK |
100 | /* adjustments for not painting outside of table border */ |
101 | thead:first-child > th:first-child, /* prefs table misses a tr in thead */ | |
102 | thead:first-child > tr:first-child > th:first-child, | |
103 | thead:first-child > tr:first-child > td:first-child, | |
104 | tbody:first-child > tr:first-child > th:first-child, | |
105 | tbody:first-child > tr:first-child > td:first-child { | |
106 | border-top-left-radius: 9px; | |
107 | } | |
108 | ||
109 | thead:first-child > th:last-child, /* prefs table misses a tr in thead */ | |
110 | thead:first-child > tr:first-child > th:last-child, | |
111 | thead:first-child > tr:first-child > td:last-child, | |
112 | tbody:first-child > tr:first-child > th:last-child, | |
113 | tbody:first-child > tr:first-child > td:last-child { | |
114 | border-top-right-radius: 9px; | |
115 | } | |
116 | ||
117 | thead:last-child > tr:last-child > th:first-child, | |
118 | thead:last-child > tr:last-child > td:first-child, | |
119 | tbody:last-child > tr:last-child > th:first-child, | |
120 | tbody:last-child > tr:last-child > td:first-child { | |
121 | border-bottom-left-radius: 9px; | |
122 | } | |
123 | ||
124 | thead:last-child > tr:last-child > th:last-child, | |
125 | thead:last-child > tr:last-child > td:last-child, | |
126 | tbody:last-child > tr:last-child > th:last-child, | |
127 | tbody:last-child > tr:last-child > td:last-child { | |
128 | border-bottom-right-radius: 9px; | |
129 | } | |
130 | ||
6bcac19c RK |
131 | thead th { |
132 | text-align: center; | |
133 | } | |
134 | ||
135 | th { | |
136 | text-align: start; | |
137 | background-color: #008484; | |
138 | color: #FFCF00; | |
139 | } | |
140 | ||
141 | th.column { | |
142 | white-space: nowrap; | |
143 | width: 0px; | |
144 | } | |
145 | ||
f0eab82c RK |
146 | tr:not(:first-child) > td, |
147 | tr:not(:first-child) > th, | |
148 | tbody:not(:first-child) > tr > td, | |
149 | tbody:not(:first-child) > tr > th { | |
150 | border-top: 1px dotted #9C9FFF; | |
151 | } | |
152 | ||
6bcac19c RK |
153 | td { |
154 | text-align: start; | |
6bcac19c RK |
155 | } |
156 | ||
157 | .prefs-table { | |
158 | width: 100%; | |
159 | table-layout: fixed; | |
160 | } | |
161 | ||
162 | .pref-name { | |
163 | width: 70%; | |
164 | white-space: nowrap; | |
165 | overflow: hidden; | |
166 | } | |
167 | ||
168 | .pref-value { | |
169 | width: 30%; | |
170 | white-space: nowrap; | |
171 | overflow: hidden; | |
172 | } |