Moves colors around on "informational" messages such as warnings, info, successes, errors.

This commit is contained in:
Mike Hommé
2011-04-18 22:56:33 -04:00
parent 62acfa73d7
commit 4520c809f3

View File

@@ -88,6 +88,9 @@ a:hover {
-webkit-border-radius:5px; -webkit-border-radius:5px;
border-radius:5px; border-radius:5px;
} }
#initials_table td{padding:8px !important}
#initials_table a { #initials_table a {
border:1px solid #aaa; border:1px solid #aaa;
background:#fff; background:#fff;
@@ -570,13 +573,22 @@ div.footnotes {
<?php } else { ?> <?php } else { ?>
padding: 0.3em; padding: 0.3em;
<?php } ?> <?php } ?>
-moz-border-radius:5px; -moz-border-radius:5px;
-webkit-border-radius:5px; -webkit-border-radius:5px;
border-radius:5px; border-radius:5px;
-moz-box-shadow: 0px 1px 2px #fff inset;
-webkit-box-shadow: 0px 1px 2px #fff inset; -moz-box-shadow: 0 1px 1px #fff inset;
-webkit-box-shadow: 0 1px 1px #fff inset;
box-shadow: 0 1px 1px #fff inset;
} }
.success a{text-decoration:underline;}
.notice a{text-decoration:underline;}
.warning a{text-decoration:underline;}
.error a{text-decoration:underline;}
.footnotes a{text-decoration:underline;}
.success { .success {
color: #000000; color: #000000;
background-color: #ebf8a4; background-color: #ebf8a4;
@@ -599,13 +611,13 @@ div.success {
} }
.notice, .footnotes { .notice, .footnotes {
color: #000000; color: #3a6c7e;
background-color: #ffeda4; background-color: #e8eef1;
} }
h1.notice, h1.notice,
div.notice, div.notice,
div.footnotes { div.footnotes {
border-color: #eccf5b; border-color: #3a6c7e;
<?php if ($GLOBALS['cfg']['ErrorIconic']) { ?> <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_notice.png); background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_notice.png);
background-repeat: no-repeat; background-repeat: no-repeat;
@@ -646,8 +658,8 @@ div.warning {
.error { .error {
border:1px solid maroon !important; border:1px solid maroon !important;
color: #fff; color: #000;
background:url(./themes/pmahomme/img/tab_warning_bg.png) 50% 0% #e97777; background:pink;
} }
h1.error, h1.error,
@@ -667,6 +679,8 @@ div.error h1 {
border-color: #ff0000; border-color: #ff0000;
} }
.confirmation { .confirmation {
color: #000000; color: #000000;
background-color: pink; background-color: pink;