From ad491d75a67574c1b76bfe7b269e6c22511eaede Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 12 Jan 2010 15:27:04 +0300 Subject: more button styles work --- images/button.png | Bin 270 -> 879 bytes modules/popup-dialog.php | 31 +++++++++---------------------- modules/pref-feeds.php | 10 ++++------ tt-rss.css | 35 +++++++++++++++++++++++++++++++++++ tt-rss.php | 8 +++----- 5 files changed, 51 insertions(+), 33 deletions(-) diff --git a/images/button.png b/images/button.png index e8e741613..db2278279 100644 Binary files a/images/button.png and b/images/button.png differ diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 12c912ea4..affb3e846 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -133,11 +133,7 @@ print "
"; - print ""; + print ""; print " " . __('match on')." "; @@ -185,13 +181,9 @@ print ""; print "
- -
"; + + +
"; print ""; @@ -238,9 +230,7 @@ print " "; print ""; + name=\"reg_exp\" size=\"30\" value=\"$reg_exp\">"; print ""; print " "; - print " "; + print " "; - print ""; + print ""; print ""; diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index f02ae6c4c..fb5a1ecae 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -403,13 +403,11 @@ print "
- +
- - + +
"; return; diff --git a/tt-rss.css b/tt-rss.css index 0172d6c30..300ddcac5 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -2257,3 +2257,38 @@ div#auxDlg { div#auxDlg a { color : #4684ff; } + +button, select { + background-color : transparent; + background-repeat : repeat-x; + background-position : top left; + background-image : url("images/button.png"); + border : 1px solid #bebebe; +/* border-top : 1px solid #f0f0f0; + border-left : 1px solid #f0f0f0; */ + font-family : "Lucida Grande", Tahoma, Arial, Verdana, sans-serif; + font-size : 100%; +/* line-height : 120%; */ + text-decoration : none; + font-weight : bold; + color : #565656; + cursor : pointer; + padding : 1px 3px 1px 3px; +} + +select { + background : #ffffff; + padding : 1px 0px 1px 3px; +} + +button:hover { + background-color : #f9faff; + border : 1px solid #88b0f0; + color : #336699; +} + +button[disabled] { + background : #f0f0f0; + color : #dedede; + border : 1px solid #dedede; +} diff --git a/tt-rss.php b/tt-rss.php index 6e40333ca..ccd4a4b9a 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -203,9 +203,9 @@
- +   @@ -219,8 +219,6 @@ -   -