From bcf5ed46e304efad2da6dcb632d7b9d45df42cad Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 21 Nov 2010 22:55:57 +0300 Subject: small dialog tweaks to better center elements vertically --- modules/popup-dialog.php | 10 +++++----- modules/pref-feeds.php | 18 ++++++++---------- modules/pref-filters.php | 6 +++--- tt-rss.css | 11 +++++++++-- 4 files changed, 25 insertions(+), 20 deletions(-) diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index ec41ec4ee..0a272d1a3 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -262,7 +262,7 @@ placeHolder=\"".__("Feed URL")."\" dojoType=\"dijit.form.ValidationTextBox\" required=\"1\" name=\"feed\" id=\"feedDlg_feedUrl\">"; - print "
"; + print "
"; if (get_pref($link, 'ENABLE_FEED_CATS')) { print __('Place in category:') . " "; @@ -399,7 +399,7 @@ } - print "
".__('Limit search to:')." "; + print "
".__('Limit search to:')." "; print " -
"; +
"; print " "; diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 859b11ee9..d4bde4892 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -274,7 +274,7 @@ $feed_url = htmlspecialchars(db_fetch_result($result, 0, "feed_url")); - print "
"; + print "
"; print __('URL:') . " "; print ""; + print "
"; print __('Place in category:') . " "; @@ -323,7 +323,7 @@ /* Purge intl */ - print "
"; + print "
"; print __('Article purging:') . " "; @@ -347,7 +347,7 @@ print "
"; + name=\"auth_login\" value=\"$auth_login\">
"; # print "" . __("Password:") . ""; @@ -384,7 +384,7 @@ $checked = ""; } - print "
 "; $include_in_digest = sql_bool_to_bool(db_fetch_result($result, 0, "include_in_digest")); @@ -395,7 +395,7 @@ $checked = ""; } - print "
 "; @@ -408,7 +408,7 @@ $checked = ""; } - print "
 "; @@ -421,7 +421,7 @@ $checked = ""; } - print "
 "; @@ -432,8 +432,6 @@ /* Icon */ - print "
"; - print "
".__("Icon")."
"; print "
"; diff --git a/modules/pref-filters.php b/modules/pref-filters.php index 168afb820..cf44c55f9 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -164,11 +164,11 @@ __('Check it').""; print ""; - print "
" . __("on field") . " "; + print "
" . __("on field") . " "; print_select_hash("filter_type", $filter_type, $filter_types, 'onchange="filterDlgCheckType(this)" dojoType="dijit.form.Select"'); - print "
"; + print "
"; print __("in") . " "; print_feed_select($link, "feed_id", $feed_id, @@ -228,7 +228,7 @@ } print " -
"; +
"; if ($inverse) { $checked = "checked=\"1\""; diff --git a/tt-rss.css b/tt-rss.css index e97ab9636..d14e6f473 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1273,9 +1273,16 @@ div.dlgSecCont { font-weight : normal; } +div.dlgSecCont hr { + height : 0px; + line-height : 0px; + border : 0px solid transparent; + margin : 2px; +} + div.dlgSecCont > * { - margin-top : 4px; - vertical-align : bottom; + position : relative; + top : -2px; } div.dlgButtons { -- cgit v1.2.3