From: Andrew Dolgov Date: Sun, 21 Nov 2010 19:55:57 +0000 (+0300) Subject: small dialog tweaks to better center elements vertically X-Git-Tag: 1.5.0~75 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=bcf5ed46e304efad2da6dcb632d7b9d45df42cad;p=tt-rss.git small dialog tweaks to better center elements vertically --- diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index ec41ec4e..0a272d1a 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 859b11ee..d4bde489 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 168afb82..cf44c55f 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 e97ab963..d14e6f47 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 {