diff options
author | Andrew Dolgov <[email protected]> | 2010-11-25 14:39:06 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-25 14:39:06 +0300 |
commit | 29a5b4aae0496c9ba07a567d3b8fcfe565fb9184 (patch) | |
tree | 43608d30157a184411bdeb45c36302662e1a1a79 | |
parent | 126cb7657f1f407d9cef828ad0c95614194ad9f7 (diff) |
misc css/linking updates
-rw-r--r-- | digest.css | 3 | ||||
-rw-r--r-- | digest.js | 4 | ||||
-rw-r--r-- | digest.php | 5 | ||||
-rw-r--r-- | prefs.php | 2 | ||||
-rw-r--r-- | tt-rss.php | 8 |
5 files changed, 9 insertions, 13 deletions
diff --git a/digest.css b/digest.css index a31680325..cfff99184 100644 --- a/digest.css +++ b/digest.css @@ -308,3 +308,6 @@ div.fatalError textarea { height : 100px; } +div.insensitive { + color : gray; +} @@ -486,7 +486,9 @@ function redraw_feedlist(feeds) { } if (feeds.length == 0) { - $('feeds-content').innerHTML = __("No unread feeds."); + $('feeds-content').innerHTML = + "<div class='insensitive' style='text-align : center'>" + + __("No unread feeds.") + "</div>"; } } catch (e) { diff --git a/digest.php b/digest.php index 913cd10ae..366be994e 100644 --- a/digest.php +++ b/digest.php @@ -29,10 +29,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> - <?php $user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?> - <?php if ($user_css_url) { ?> - <link rel="stylesheet" type="text/css" href="<?php echo $user_css_url ?>"/> - <?php } ?> + <?php print_user_stylesheet($link) ?> <link rel="shortcut icon" type="image/png" href="images/favicon.png"/> @@ -24,8 +24,8 @@ <html> <head> <title>Tiny Tiny RSS : Preferences</title> - <link rel="stylesheet" type="text/css" href="tt-rss.css?<?php echo $dt_add ?>"/> <link rel="stylesheet" type="text/css" href="lib/dijit/themes/claro/claro.css"/> + <link rel="stylesheet" type="text/css" href="tt-rss.css?<?php echo $dt_add ?>"/> <?php print_theme_includes($link) ?> <?php print_user_stylesheet($link) ?> diff --git a/tt-rss.php b/tt-rss.php index b3dcd6a8d..d26035b90 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -24,21 +24,15 @@ <html> <head> <title>Tiny Tiny RSS</title> - + <link rel="stylesheet" type="text/css" href="lib/dijit/themes/claro/claro.css"/> <link rel="stylesheet" type="text/css" href="tt-rss.css?<?php echo $dt_add ?>"/> <link rel="stylesheet" type="text/css" href="cdm.css?<?php echo $dt_add ?>"/> - <link rel="stylesheet" type="text/css" href="lib/dijit/themes/claro/claro.css"/> - <?php print_theme_includes($link) ?> <?php print_user_stylesheet($link) ?> <link rel="shortcut icon" type="image/png" href="images/favicon.png"/> - <?php if (ENABLE_TWEET_BUTTON) { ?> - <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> - <?php } ?> - <script type="text/javascript" src="lib/prototype.js"></script> <script type="text/javascript" src="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script> <script type="text/javascript" src="lib/dojo/dojo.js" djConfig="parseOnLoad: true"></script> |