From 577399e8294385343fdfc893c1436cf4ea00d49f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 12 Jan 2010 15:56:29 +0300 Subject: [PATCH] more button styles work --- modules/pref-feeds.php | 60 ++++++++++++++-------------------------- modules/pref-filters.php | 47 ++++++++++++------------------- modules/pref-labels.php | 23 ++++++--------- modules/pref-prefs.php | 22 ++++++--------- modules/pref-users.php | 41 +++++++++++++-------------- tt-rss.css | 15 ++++++---- 6 files changed, 82 insertions(+), 126 deletions(-) diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index fb5a1ecae..158c97c05 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -69,11 +69,6 @@ if ($subop == "browse") { - if (!ENABLE_FEED_BROWSER) { - print __("Feed browser is administratively disabled."); - return; - } - print "
".__('Feed Browser')."
"; print "
"; @@ -89,11 +84,8 @@ - + onchange=\"javascript:updateFeedBrowser()\" value=\"$browser_search\"> +
"; print " "; + print " "; - print " - "; - print "

"; $owner_uid = $_SESSION["uid"]; @@ -1117,33 +1105,29 @@ $feed_search = $_SESSION["prefs_feed_search"]; } - print "

+ print "
- +
"; - print " "; + print " "; - print " "; + print " "; if (get_pref($link, 'ENABLE_FEED_CATS')) { - print " "; + print " "; } - print " "; + print " "; /* print "  - +
"; print " "; - print ""; + print ""; print "

" . __("Firefox Integration") . "

"; @@ -1453,11 +1436,8 @@ print "

".__("Link to published articles feed.")."

"; - print "

"; - /* print " "; */ - print "

"; + print ""; } diff --git a/modules/pref-filters.php b/modules/pref-filters.php index a506ff1fa..98fc16ecd 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -60,8 +60,6 @@ print " "; print ""; print ""; @@ -151,19 +149,15 @@ $reg_exp = htmlspecialchars($reg_exp, ENT_QUOTES); // second escaping seems to be needed for javascript print "
"; - print " "; + print ""; print "
"; - print " "; + print " "; - print ""; + print ""; print ""; @@ -298,35 +292,28 @@ $filter_search = $_SESSION["prefs_filter_search"]; } - print "
+ print "
- +   -
"; +
"; + print " "; - print " "; + print " "; - print " "; - - print " "; - - print " "; + print " "; + print " "; if ($filter_search) { $filter_search = split(' ', db_escape_string($filter_search)); diff --git a/modules/pref-labels.php b/modules/pref-labels.php index af343cacd..a744b9f6a 100644 --- a/modules/pref-labels.php +++ b/modules/pref-labels.php @@ -123,31 +123,24 @@ $label_search = $_SESSION["prefs_label_search"]; } - print "
+ print "
- +
"; print "
"; - print" "; + print" "; - print ""; + print " "; - print " "; -/* print "  "; - print " "; */ - print ""; + print ""; print "
"; diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 3bb86e9e1..6fb5fb576 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -228,8 +228,8 @@ print ""; - print "

"; + print "

"; print "

"; @@ -267,9 +267,8 @@ print "
"; - print "

"; + print "

"; } @@ -303,8 +302,7 @@ print ""; print ""; print ""; - print "

"; + print "

"; print ""; } @@ -398,13 +396,11 @@ print ""; - print "

"; + print "

"; - print " 

"; + print "

"; print ""; diff --git a/modules/pref-users.php b/modules/pref-users.php index a19a594c1..a57178d6c 100644 --- a/modules/pref-users.php +++ b/modules/pref-users.php @@ -93,8 +93,8 @@ print ""; print "
-
"; +
"; print ""; @@ -175,12 +175,10 @@ print ""; print "
- -
"; + + "; print ""; @@ -354,13 +352,13 @@ $user_search = $_SESSION["prefs_user_search"]; } - print "
+ print "
- +
"; $sort = db_escape_string($_REQUEST["sort"]); @@ -369,18 +367,17 @@ $sort = "login"; } - print ""; + print ""; - print " - - - - "; + print " + + + + "; print "
"; diff --git a/tt-rss.css b/tt-rss.css index 300ddcac5..a79af4895 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -487,10 +487,6 @@ tr.title td a:hover { color : black; } -div.feedEditSearch { - float : right; -} - table.prefFeedList td.feedEditCat { font-weight : bold; border-width : 0px 0px 1px 0px; @@ -2270,8 +2266,8 @@ button, select { font-size : 100%; /* line-height : 120%; */ text-decoration : none; - font-weight : bold; - color : #565656; +/* font-weight : bold; */ + color : #303030; cursor : pointer; padding : 1px 3px 1px 3px; } @@ -2281,6 +2277,13 @@ select { padding : 1px 0px 1px 3px; } +input { + background : white; + border : 1px solid #bebebe; + font-size : 100%; + padding : 1px 3px 1px 3px; +} + button:hover { background-color : #f9faff; border : 1px solid #88b0f0;