From 3c200461f81250f7e112149bf9b55245943b42c1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 18 Apr 2013 22:27:05 +0400 Subject: [PATCH] more notice css tweaks --- classes/handler/public.php | 2 +- include/functions.php | 6 +++--- install/index.php | 5 +++-- tt-rss.css | 5 +++++ utility.css | 4 ++++ 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/classes/handler/public.php b/classes/handler/public.php index 79ed9d0a..3b373edf 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -929,7 +929,7 @@ class Handler_Public extends Handler { } else { - print "

" . "Tiny Tiny RSS database is up to date." . "

"; + print_notice("Tiny Tiny RSS database is up to date."); print "

diff --git a/include/functions.php b/include/functions.php index e0c102b3..0908bf8d 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2925,19 +2925,19 @@ function format_warning($msg, $id = "") { global $link; return "
- $msg
"; + $msg"; } function format_notice($msg, $id = "") { global $link; return "
- $msg
"; + $msg"; } function format_error($msg, $id = "") { global $link; return "
- $msg
"; + $msg"; } function print_notice($msg) { diff --git a/install/index.php b/install/index.php index 9cbab20f..416765e8 100644 --- a/install/index.php +++ b/install/index.php @@ -80,12 +80,13 @@ } function print_error($msg) { - print "
$msg
"; + print "
+ $msg
"; } function print_notice($msg) { print "
- $msg
"; + $msg"; } function db_connect($host, $user, $pass, $db, $type, $port) { diff --git a/tt-rss.css b/tt-rss.css index 8bf59132..454e2ffd 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -288,7 +288,12 @@ div.error { div.warning img, div.notice img, div.error img { margin-right : 4px; vertical-align : middle; +} + +div.warning span, div.notice span, div.error span { display : table-cell; + vertical-align : middle; + } ul.nomarks { diff --git a/utility.css b/utility.css index d4b6d0a0..50a54e15 100644 --- a/utility.css +++ b/utility.css @@ -73,6 +73,10 @@ div.error { div.warning img, div.notice img, div.error img { margin-right : 4px; + vertical-align : middle; +} + +div.warning span, div.notice span, div.error span { display : table-cell; vertical-align : middle; } -- 2.39.2