diff --git a/themes/darkblue_orange/css/theme_right.css.php b/themes/darkblue_orange/css/theme_right.css.php index ffc25d989..f21f80a3a 100644 --- a/themes/darkblue_orange/css/theme_right.css.php +++ b/themes/darkblue_orange/css/theme_right.css.php @@ -370,17 +370,24 @@ td .icon { } /* message boxes: warning, error, confirmation */ -.notice { - color: #000000; - background-color: #FFFFDD; +.success h1, +.notice h1, +.warning h1, +div.error h1 { + border-bottom: 2px solid; + font-weight: bold; + text-align: ; + margin: 0 0 0.2em 0; } -h1.notice, -div.notice { - margin: 0.5em 0 0.5em 0; - border: 0.1em solid #FFD700; + +div.success, +div.notice, +div.warning, +div.error { + margin: 0.3em 0 0.3em 0; + border: 2px solid; width: 90%; - background-image: url(getImgPath(); ?>s_notice.png); background-repeat: no-repeat; background-position: 10px 50%; @@ -393,11 +400,35 @@ div.notice { padding: 0.5em; } + +.success { + color: #000000; + background-color: #f0fff0; +} +h1.success, +div.success { + border-color: #00FF00; + + background-image: url(getImgPath(); ?>s_success.png); + +} +.success h1 { + border-color: #00FF00; +} + +.notice { + color: #000000; + background-color: #FFFFDD; +} +h1.notice, +div.notice { + border-color: #FFD700; + + background-image: url(getImgPath(); ?>s_notice.png); + +} .notice h1 { - border-bottom: 0.1em solid #FFD700; - font-weight: bold; - text-align: ; - margin: 0 0 0.2em 0; + border-color: #FFD700; } .warning { @@ -407,28 +438,13 @@ div.notice { p.warning, h1.warning, div.warning { - margin: 0.5em 0 0.5em 0; - border: 0.1em solid #CC0000; - width: 90%; + border-color: #CC0000; background-image: url(getImgPath(); ?>s_warn.png); - background-repeat: no-repeat; - - background-position: 10px 50%; - padding: 10px 10px 10px 36px; - - background-position: 99% 50%; - padding: 10px 5% 10px 10px; - - - padding: 0.5em; } .warning h1 { - border-bottom: 0.1em solid #cc0000; - font-weight: bold; - text-align: ; - margin: 0 0 0.2em 0; + border-color: #cc0000; } .error { @@ -438,28 +454,13 @@ div.warning { h1.error, div.error { - margin: 0.5em 0 0.5em 0; - border: 0.1em solid #ff0000; - width: 90%; + border-color: #ff0000; background-image: url(getImgPath(); ?>s_error.png); - background-repeat: no-repeat; - - background-position: 10px 50%; - padding: 10px 10px 10px 36px; - - background-position: 99% 50%; - padding: 10px 5% 10px 10px; - - - padding: 0.5em; } div.error h1 { - border-bottom: 0.1em solid #ff0000; - font-weight: bold; - text-align: ; - margin: 0 0 0.2em 0; + border-color: #ff0000; } .confirmation { diff --git a/themes/darkblue_orange/img/s_success.png b/themes/darkblue_orange/img/s_success.png new file mode 100644 index 000000000..2f86f0ae6 Binary files /dev/null and b/themes/darkblue_orange/img/s_success.png differ diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php index fd4cbf990..ae1500885 100644 --- a/themes/original/css/theme_right.css.php +++ b/themes/original/css/theme_right.css.php @@ -348,16 +348,23 @@ td .icon { } /* message boxes: warning, error, confirmation */ -.notice { - color: #000000; - background-color: #FFFFDD; +.success h1, +.notice h1, +.warning h1, +div.error h1 { + border-bottom: 2px solid; + font-weight: bold; + text-align: ; + margin: 0 0 0.2em 0; } -h1.notice, -div.notice { - margin: 0.5em 0 0.5em 0; - border: 0.1em solid #FFD700; + +div.success, +div.notice, +div.warning, +div.error { + margin: 0.3em 0 0.3em 0; + border: 2px solid; - background-image: url(getImgPath(); ?>s_notice.png); background-repeat: no-repeat; background-position: 10px 50%; @@ -370,11 +377,35 @@ div.notice { padding: 0.5em; } + +.success { + color: #000000; + background-color: #f0fff0; +} +h1.success, +div.success { + border-color: #00FF00; + + background-image: url(getImgPath(); ?>s_success.png); + +} +.success h1 { + border-color: #00FF00; +} + +.notice { + color: #000000; + background-color: #FFFFDD; +} +h1.notice, +div.notice { + border-color: #FFD700; + + background-image: url(getImgPath(); ?>s_notice.png); + +} .notice h1 { - border-bottom: 0.1em solid #FFD700; - font-weight: bold; - text-align: ; - margin: 0 0 0.2em 0; + border-color: #FFD700; } .warning { @@ -384,27 +415,13 @@ div.notice { p.warning, h1.warning, div.warning { - margin: 0.5em 0 0.5em 0; - border: 0.1em solid #CC0000; + border-color: #CC0000; background-image: url(getImgPath(); ?>s_warn.png); - background-repeat: no-repeat; - - background-position: 10px 50%; - padding: 10px 10px 10px 36px; - - background-position: 99% 50%; - padding: 10px 5% 10px 10px; - - - padding: 0.5em; } .warning h1 { - border-bottom: 0.1em solid #cc0000; - font-weight: bold; - text-align: ; - margin: 0 0 0.2em 0; + border-color: #cc0000; } .error { @@ -414,27 +431,13 @@ div.warning { h1.error, div.error { - margin: 0.5em 0 0.5em 0; - border: 0.1em solid #ff0000; + border-color: #ff0000; background-image: url(getImgPath(); ?>s_error.png); - background-repeat: no-repeat; - - background-position: 10px 50%; - padding: 10px 10px 10px 36px; - - background-position: 99% 50%; - padding: 10px 5% 10px 10px; - - - padding: 0.5em; } div.error h1 { - border-bottom: 0.1em solid #ff0000; - font-weight: bold; - text-align: ; - margin: 0 0 0.2em 0; + border-color: #ff0000; } .confirmation { diff --git a/themes/original/img/s_success.png b/themes/original/img/s_success.png new file mode 100644 index 000000000..2f86f0ae6 Binary files /dev/null and b/themes/original/img/s_success.png differ