Merge branch 'QA_3_3'
[phpmyadmin/dkf.git] / setup / styles.css
blobd5a399d77c2101f835f8c1b708004657d44e18d3
1 /* global styles */
3 body {
4 padding-bottom: 1em;
7 img {
8 border: 0;
11 a {
12 color: #004C96;
15 a:hover, a:active {
16 color: #000;
19 h1 {
20 font-size: 1.5em;
21 font-family: Verdana, Arial, Helvetica, sans-serif;
24 /* language selection box */
26 #select_lang {
27 position: absolute;
28 right: 1em;
29 top: 1em;
32 /* menu */
34 #menu {
35 float: left;
36 width: 200px;
39 #menu ul {
40 margin: 1em 1em 1em 0.5em;
41 padding: 0 0.5em;
42 list-style: none;
45 #menu li a {
46 padding: 3px;
47 font-weight: bold;
48 display: block;
49 color: #669;
50 text-decoration: none;
51 zoom: 1; /* IE fix */
54 #menu li a:hover, #menu li a:active {
55 color: #C00;
58 /* page contents and footer layout */
60 #page {
61 margin-left: 200px;
64 #footer {
65 margin-top: 1em;
68 #footer a {
69 margin-right: 0.5em;
70 text-decoration: none;
71 font-size: small;
74 /* phpMyAdmin logo colors */
76 .blue {
77 color: #7584B3;
80 .orange {
81 color: #FFAD17;
84 .red {
85 color: #C00;
88 /* main page messages */
90 div.notice, div.warning, div.error {
91 margin: 0.5em 0;
92 padding: 10px 10px 10px 36px;
93 border: 1px solid #000;
94 background: #FFD url(../themes/original/img/b_tipp.png) no-repeat 10px 0.8em;
97 div.notice h4, div.warning h4, div.error h4 {
98 font-weight: bold;
99 font-size: large;
100 margin: 0 0 0.2em 0;
101 border-bottom: 1px solid #000;
104 div.notice {
105 border-color: #FFD700;
106 background-color: #FFD;
107 background-image: url(../themes/original/img/s_notice.png);
110 div.notice h4 {
111 border-color: #FFD700;
114 div.notice[id^=version_check] {
115 border-color: #002DFF;
116 background-color: #EEF;
119 div.notice[id^=version_check] h4 {
120 border-color: #002DFF;
123 div.warning {
124 border-color: #C00;
125 background-color: #FFC;
126 background-image: url(../themes/original/img/s_warn.png);
129 div.warning h4 {
130 color: #C00;
131 border-color: #C00;
134 div.error {
135 border-color: #D00;
136 background-color: #FFC;
137 background-image: url(../themes/original/img/s_error.png);
140 div.error h4 {
141 color: #D00;
142 border-color: #D00;
145 /* form tabs */
147 ul.tabs {
148 margin: 0;
149 padding: 0 0 7px 0;
150 list-style: none;
151 font-weight: bold;
154 ul.tabs li {
155 float: left;
158 ul.tabs li a {
159 display: block;
160 margin: 2px 2px 0;
161 padding: 2px 8px;
162 background: #DEE1FF;
163 white-space: nowrap;
164 text-decoration: none;
165 border: 1px #9AA4FF solid;
166 border-bottom: none;
169 ul.tabs li a:hover, ul.tabs li a:active, ul.tabs li a.active {
170 margin: 0;
171 padding: 2px 10px 4px;
172 background: #F7FBFF;
175 ul.tabs li a:hover, ul.tabs li a:active {
176 color: #C00;
179 .tabs_contents {
180 border-top: 2px #66B solid;
183 .tabs_contents fieldset {
184 margin-top: 0;
185 border-top: none;
188 .tabs_contents legend {
189 display: none;
192 /* "restore default value" and "set value: foo" buttons */
194 .restore-default img, .set-value img {
195 margin-bottom: -3px;
198 /* forms */
200 fieldset {
201 padding: 0;
202 margin-top: 1em;
203 border: 2px #DEE1FF solid;
204 background: #DEE1FF;
207 .form {
208 border: 2px #DEE1FF solid;
211 fieldset legend {
212 margin-left: 1em;
213 padding: 2px 8px;
214 font-weight: bold;
215 background: #F7FBFF;
216 border: 1px #9AA4FF solid;
219 fieldset p {
220 margin: 0;
221 padding: 0.5em;
222 background: #DEE1FF;
225 fieldset .errors { /* form error list */
226 margin: 0 -2px 1em -2px;
227 padding: 0.5em 1.5em;
228 background: #FBEAD9;
229 border: 1px #C83838 solid;
230 border-width: 1px 0;
231 list-style: none;
232 font-family: sans-serif;
233 font-size: small;
236 fieldset .inline_errors { /* field error list */
237 margin: 0.3em 0.3em 0.3em 0;
238 padding: 0;
239 list-style: none;
240 color: #9A0000;
241 font-size: small;
244 fieldset table {
245 background: #FFF;
248 fieldset th {
249 width: 40%;
250 min-width: 350px;
251 padding: 0.3em 0.3em 0.3em 0.5em;
252 text-align: left;
253 vertical-align: top;
256 fieldset th small {
257 display: block;
260 fieldset .doc {
261 margin-left: 1em;
264 fieldset td {
265 padding-top: 0.3em;
266 vertical-align: top;
269 fieldset th small {
270 font-weight: normal;
271 font-family: sans-serif;
272 font-size: x-small;
273 color: #666;
276 fieldset th, fieldset td {
277 border-top: 1px #555 dotted;
280 fieldset .lastrow, .form .lastrow {
281 background: #F7FBFF;
282 padding: 0.5em;
283 text-align: center;
286 .form .lastrow {
287 border-top: 1px #555 dotted;
290 fieldset .lastrow input, .form .lastrow input {
291 font-weight: bold;
294 /* simple form, without header and legend */
296 fieldset.simple {
297 border-top-color: #DEE1FF;
300 fieldset.simple legend {
301 display: none;
304 fieldset.simple th, fieldset.simple td {
305 border-top: none;
306 border-bottom: 1px #555 dotted;
309 fieldset.simple .lastrow {
310 border: 0;
313 /* form elements */
315 span.checkbox {
316 padding: 2px;
319 .custom { /* customized field */
320 background: #FFC;
323 span.checkbox.custom {
324 padding: 1px;
325 border: 1px #EDEC90 solid;
326 background: #FFC;
329 input[type="text"], select, textarea {
330 border: 1px #A7A6AA solid;
333 input[type="text"]:focus, select:focus, textarea:focus {
334 border: 1px #6676FF solid;
335 background: #F7FBFF;
338 .green { /* default form button */
339 color: #080;
342 table.datatable {
343 margin: 0.5em 0 1em;
346 table.datatable th {
347 padding: 0 1em 0 0.5em;
348 border-bottom: 2px #66F solid;
349 text-align: left;
352 table.datatable td {
353 padding: 1px 0.5em;
354 border-bottom: 1px #DEE1FF solid;
357 /* textarea with config file's contents */
359 #textconfig {
360 width: 100%;
361 border: 0;
364 /* error list */
366 dd {
367 margin-left: 0.5em;
370 dd:before {
371 content: "\25B8 ";
374 /* links on failed validation page, when saving a form */
376 a.btn {
377 padding: 1px 5px;
378 text-decoration: none;
379 background: #E2E8FF;
380 border: 1px #A6C8FF solid;
381 border-top-color: #AFD0FF;
382 border-left-color: #AFD0FF;
383 font-weight: bold;
386 a.btn:hover, a.btn:active {
387 background: #E6F5FF;
388 color: #004C96;