Add P option for LBF layouts to default to previous value. Fixed data save bug.
[openemr.git] / phpmyadmin / setup / styles.css
blobe9e51bda6d17819f818c79cf41f712124027cee2
1 /* global styles */
3 body {
4 margin-right: auto;
5 min-width: 960px;
6 padding-bottom: 1em;
7 color: #444;
8 font: .8em sans-serif;
9 background: url(../themes/pmahomme/img/left_nav_bg.png) repeat-y 80px 0 #f3f3f3;
12 input,
13 button,
14 select,
15 textarea,
16 th,
17 td {
18 font: 1em sans-serif;
21 img {
22 border: 0;
26 a:link,
27 a:visited,
28 a:active {
29 text-decoration: none;
30 color: #235a81;
31 cursor: pointer;
32 outline: none;
36 a:hover {
37 text-decoration: underline;
38 color: #235a81;
41 h1 {
42 font-size: 1.5em;
45 /* language selection box */
47 #select_lang {
48 position: absolute;
49 right: 1em;
50 top: 1em;
53 /* menu */
55 #menu {
56 float: left;
57 width: 220px;
58 font-size: 1.1em;
61 #menu ul {
62 margin: 1em 1em 1em .5em;
63 padding: 0;
64 list-style: none;
67 #menu li a {
68 padding: .5em .6em;
69 margin-right: .6em;
70 display: block;
71 color: #333;
72 text-decoration: none;
73 zoom: 1; /* IE fix */
76 #menu li a:hover, #menu li a:active, #menu li a.active {
77 background-color: #e4e4e4;
80 /* page contents and footer layout */
82 #page {
83 margin-left: 220px;
84 margin-right: 25px;
87 #footer {
88 margin-top: 1em;
91 #footer a {
92 margin-right: 0.5em;
93 text-decoration: none;
94 font-size: small;
97 /* phpMyAdmin logo colors */
99 .blue {
100 color: #666699;
103 .orange {
104 color: #FF9900;
107 .red {
108 color: #C00;
111 /* main page messages */
113 /* message boxes: error, confirmation */
114 .success h4,
115 .notice h4,
116 div.error h4 {
117 border-bottom: 1px solid;
118 font-weight: bold;
119 margin: 0 0 .2em 0;
122 div.success,
123 div.notice,
124 div.error {
125 margin: .5em 0 1.3em 0;
126 border: 1px solid;
127 background-repeat: no-repeat;
128 background-position: 10px 10px;
129 padding: 10px 10px 10px 25px;
131 -moz-border-radius: 5px;
132 -webkit-border-radius: 5px;
133 border-radius: 5px;
135 -moz-box-shadow: 0 1px 1px #fff inset;
136 -webkit-box-shadow: 0 1px 1px #fff inset;
137 box-shadow: 0 1px 1px #fff inset;
140 .success a,
141 .notice a,
142 .error a {
143 text-decoration: underline;
146 .success {
147 color: #000;
148 background-color: #ebf8a4;
151 h1.success,
152 div.success {
153 border-color: #a2d246;
154 background-image: url(../themes/pmahomme/img/s_success.png);
155 background-repeat: no-repeat;
156 background-position: 5px 10px;
158 .success h4 {
159 border-color: #00FF00;
162 .notice {
163 color: #000;
164 background-color: #e8eef1;
167 h1.notice,
168 div.notice {
169 border-color: #3a6c7e;
170 background-image: url(../themes/pmahomme/img/s_notice.png);
171 background-repeat: no-repeat;
172 background-position: 5px 10px;
175 .notice h4 {
176 border-color: #ffb10a;
179 .error {
180 border: 1px solid maroon !important;
181 color: #000;
182 background: pink;
185 h1.error,
186 div.error {
187 border-color: #333;
188 background-image: url(../themes/pmahomme/img/s_error.png);
189 background-repeat: no-repeat;
190 background-position: 5px 10px;
193 div.error h4 {
194 border-color: #ff0000;
197 div.notice[id^=version_check] {
198 border-color: #002DFF;
199 background-color: #EEF;
202 div.notice[id^=version_check] h4 {
203 border-color: #002DFF;
208 /* form tabs */
210 ul.tabs {
211 margin: 1.1em 2px 0;
212 padding: 0 0 3px 0;
213 list-style: none;
214 font-weight: bold;
217 ul.tabs li {
218 float: left;
219 margin-bottom: -1px;
222 ul.tabs li a {
223 display: block;
224 margin: 1px .2em 0;
225 white-space: nowrap;
226 text-decoration: none;
227 border: 1px solid #D5D5D5;
228 border-bottom: 1px solid #aaa;
231 ul.tabs li a {
232 padding: 7px 10px;
233 -webkit-border-radius: 5px 5px 0 0;
234 -moz-border-radius: 5px 5px 0 0;
235 border-radius: 5px 5px 0 0;
236 background: #f2f2f2;
237 color: #555;
238 text-shadow: 0 1px 0 #fff;
241 ul.tabs li a:hover,
242 ul.tabs li a:active {
243 background: #e5e5e5;
246 ul.tabs li.active a {
247 background-color: #fff;
248 margin-top: 1px;
249 color: #000;
250 text-shadow: none;
251 border-color: #aaa;
252 border-bottom: 1px solid #fff;
255 .tabs_contents {
256 margin-top: 13px;
259 .tabs_contents fieldset {
260 margin-top: 0;
263 .tabs_contents legend {
264 display: none;
267 /* "restore default value" and "set value: foo" buttons */
269 .restore-default img, .set-value img {
270 margin-bottom: -3px;
273 .userprefs-comment {
274 cursor: help;
275 float: right;
278 /* forms */
280 fieldset {
281 margin-top: 1em;
282 border-radius: 4px 4px 0 0;
283 -moz-border-radius: 4px 4px 0 0;
284 -webkit-border-radius: 4px 4px 0 0;
285 border: #aaa solid 1px;
286 padding: 1.5em;
287 background: #eee;
288 text-shadow: 0 1px 0 #fff;
289 -moz-box-shadow: 1px 1px 2px #fff inset;
290 -webkit-box-shadow: 1px 1px 2px #fff inset;
291 box-shadow: 1px 1px 2px #fff inset;
294 fieldset.optbox {
295 padding: 0;
298 fieldset fieldset {
299 margin: .8em;
300 background: #fff;
301 border: 1px solid #aaa;
302 background: #E8E8E8;
306 fieldset legend {
307 font-weight: bold;
308 color: #444;
309 padding: 5px 10px;
310 border-radius: 2px;
311 -moz-border-radius: 2px;
312 -webkit-border-radius: 2px;
313 border: 1px solid #aaa;
314 background-color: #fff;
315 -moz-box-shadow: 3px 3px 15px #bbb;
316 -webkit-box-shadow: 3px 3px 15px #bbb;
317 box-shadow: 3px 3px 15px #bbb;
320 .form {
321 border: 2px #DEE1FF solid;
324 fieldset p {
325 margin: 0;
326 padding: .5em;
327 background: #fff;
328 border-top: 0;
331 fieldset .errors { /* form error list */
332 margin: 0 -2px 1em -2px;
333 padding: 0.5em 1.5em;
334 background: #FBEAD9;
335 border: 1px #C83838 solid;
336 border-width: 1px 0;
337 list-style: none;
338 font-family: sans-serif;
339 font-size: small;
342 fieldset .inline_errors { /* field error list */
343 margin: 0.3em 0.3em 0.3em 0;
344 padding: 0;
345 list-style: none;
346 color: #9A0000;
347 font-size: small;
350 table caption, table th, table td {
351 text-shadow: 0 1px 0 #FFFFFF;
354 fieldset th {
355 width: 40%;
356 min-width: 350px;
357 padding: 0.3em 0.3em 0.3em 0.5em;
358 text-align: left;
359 font-weight: bold;
360 vertical-align: top;
363 fieldset.simple th {
364 width: auto;
365 min-width: 0;
368 fieldset .doc {
369 margin-left: 1em;
372 fieldset td {
373 padding-top: 0.3em;
374 vertical-align: top;
377 fieldset td.userprefs-allow {
378 padding: 0;
379 vertical-align: middle;
380 text-align: center;
381 width: 3em;
384 fieldset td.userprefs-allow:hover {
385 cursor: pointer;
386 background-color: #EEE;
389 fieldset th small {
390 display: block;
391 font-weight: normal;
392 font-family: sans-serif;
393 font-size: x-small;
394 color: #666;
397 fieldset th, fieldset td, .form .lastrow {
398 border-top: 1px solid #D5D5D5;
401 fieldset .group-header th {
402 background: #EAEDFF;
403 border: none;
406 fieldset .group-field-1 th, fieldset .group-header-2 th {
407 padding-left: 1em;
410 fieldset .group-field-2 th, fieldset .group-header-3 th {
411 padding-left: 2em;
414 fieldset .group-field-3 th {
415 padding-left: 3em;
418 fieldset .lastrow, .form .lastrow {
419 border-top: 1px #000 solid;
420 background: #D3DCE3;
421 padding: .5em;
422 text-align: center;
425 input[type=text],
426 input[type=password],
427 input[type=number] {
428 border-radius: 2px;
429 -moz-border-radius: 2px;
430 -webkit-border-radius: 2px;
432 box-shadow: 0 1px 2px #ddd;
433 -moz-box-shadow: 0 1px 2px #ddd;
434 -webkit-box-shadow: 0 1px 2px #ddd;
436 background: white;
437 border: 1px solid #aaa;
438 color: #555;
439 padding: 4px;
440 margin: 6px;
443 input[type=submit],
444 button[type=submit]:not(.mult_submit) {
445 font-weight: bold !important;
448 input[type=submit],
449 button[type=submit]:not(.mult_submit),
450 input[type=reset],
451 input[name=submit_reset],
452 input.button {
453 margin-left: 14px;
454 border: 1px solid #aaa;
455 padding: 3px 7px;
456 color: #111;
457 text-decoration: none;
458 background: #ddd;
460 border-radius: 12px;
461 -webkit-border-radius: 12px;
462 -moz-border-radius: 12px;
464 text-shadow: 0 1px 0 #fff;
466 background-image: url(../themes/svg_gradient.php?from=ffffff&to=cccccc);
467 background-size: 100% 100%;
468 background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
469 background: -webkit-linear-gradient(top, #ffffff, #cccccc);
470 background: -moz-linear-gradient(top, #ffffff, #cccccc);
471 background: -ms-linear-gradient(top, #ffffff, #cccccc);
472 background: -o-linear-gradient(top, #ffffff, #cccccc);
475 input[type=submit]:hover,
476 button[type=submit]:not(.mult_submit):hover,
477 input[type=reset]:hover,
478 input[name=submit_reset]:hover,
479 input.button:hover {
480 position: relative;
481 background-image: url(../themes/svg_gradient.php?from=cccccc&to=dddddd);
482 background-size: 100% 100%;
483 background: -webkit-gradient(linear, left top, left bottom, from(#cccccc), to(#dddddd));
484 background: -webkit-linear-gradient(top, #cccccc, #dddddd);
485 background: -moz-linear-gradient(top, #cccccc, #dddddd);
486 background: -ms-linear-gradient(top, #cccccc, #dddddd);
487 background: -o-linear-gradient(top, #cccccc, #dddddd);
488 cursor: pointer;
491 input[type=submit]:active,
492 button[type=submit]:not(.mult_submit):active,
493 input[type=reset]:active,
494 input[name=submit_reset]:active,
495 input.button:active {
496 position: relative;
497 top: 1px;
498 left: 1px;
501 input[type="checkbox"],
502 input[type="radio"] {
503 vertical-align: -11%;
507 select {
508 -moz-border-radius: 2px;
509 -webkit-border-radius: 2px;
510 border-radius: 2px;
512 -moz-box-shadow: 0 1px 2px #ddd;
513 -webkit-box-shadow: 0 1px 2px #ddd;
514 box-shadow: 0 1px 2px #ddd;
516 border: 1px solid #aaa;
517 color: #333;
518 padding: 3px;
519 background: white;
522 fieldset.simple th, fieldset.simple td {
523 border-top: none;
524 border-bottom: 1px #555 dotted;
527 fieldset.simple .lastrow {
528 border: 0;
531 /* form elements */
533 span.checkbox {
534 padding: 2px;
535 display: inline-block;
538 .custom { /* customized field */
539 background: #FFC;
542 .checkbox.custom {
543 padding: 1px;
544 border: 1px #EDEC90 solid;
547 .field-error {
548 border-color: #C11 !important;
551 .field-comment {
553 position: relative;
556 .field-comment-mark {
557 cursor: help;
558 padding: 0 0.2em;
559 font-weight: bold;
560 font-style: italic;
563 .field-comment-warning {
564 color: #A00;
567 .green { /* default form button */
568 color: #080 !important;
571 table.datatable {
572 margin: 0.5em 0 1em;
575 table.datatable th {
576 padding: 0 1em 0 0.5em;
577 border-bottom: 1px #999 solid;
578 text-align: left;
581 table.datatable td {
582 padding: 1px 0.5em;
583 border-bottom: 1px #DEE1FF solid;
586 /* textarea with config file's contents */
588 #textconfig {
589 width: 100%;
590 border: 0;
593 /* error list */
595 dd {
596 margin-left: 0.5em;
599 dd:before {
600 content: "\25B8 ";
603 /* links on failed validation page, when saving a form */
605 a.btn {
606 padding: 1px 5px;
607 text-decoration: none;
608 background: #E2E8FF;
609 border: 1px #A6C8FF solid;
610 border-top-color: #AFD0FF;
611 border-left-color: #AFD0FF;
612 font-weight: bold;
615 a.btn:hover, a.btn:active {
616 background: #E6F5FF;
617 color: #004C96;