From 467a1f8635ca93a48024fb80b4b44b4f979a2505 Mon Sep 17 00:00:00 2001 From: raylu Date: Sun, 17 Jul 2011 18:35:17 -0700 Subject: minor style fixes --- webroot/css/search.css | 1 + webroot/css/view.css | 1 + 2 files changed, 2 insertions(+) (limited to 'webroot') diff --git a/webroot/css/search.css b/webroot/css/search.css index 20ea164..6ac8596 100644 --- a/webroot/css/search.css +++ b/webroot/css/search.css @@ -19,6 +19,7 @@ p.more a { background: -webkit-linear-gradient(top, #ddd, #bbb); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dddddd', endColorstr='#bbbbbb'); color: #111; + outline: none; } p.more a:hover { background: #eee; diff --git a/webroot/css/view.css b/webroot/css/view.css index 7d10164..d5734a1 100644 --- a/webroot/css/view.css +++ b/webroot/css/view.css @@ -26,6 +26,7 @@ section#cast a { background: -webkit-linear-gradient(top, #ddd, #bbb); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dddddd', endColorstr='#bbbbbb'); color: #111; + outline: none; } section#cast a:hover { background: #eee; -- cgit v1.2.3 From db1e0926ca3055f49234dacb168b2122c1da9191 Mon Sep 17 00:00:00 2001 From: raylu Date: Sun, 24 Jul 2011 20:05:13 -0700 Subject: add sweet cast table animations --- webroot/js/functions.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'webroot') diff --git a/webroot/js/functions.js b/webroot/js/functions.js index 5f7d7ae..19cef9b 100644 --- a/webroot/js/functions.js +++ b/webroot/js/functions.js @@ -18,14 +18,14 @@ jQuery(document).ready(function($) { function toggleCast() { var table = $('#cast table'); - if (table.css('display') == 'block') { - table.css('display', 'none'); - $('#cast > p > a').text('Cast ↓'); - $('#castlink').css('display', 'none'); - } else { - table.css('display', 'block'); + if (table.css('display') == 'none') { + table.show(500); $('#cast > p > a').text('Cast ↑'); $('#castlink').css('display', 'block'); + } else { + table.hide(500); + $('#cast > p > a').text('Cast ↓'); + $('#castlink').css('display', 'none'); } return false; } -- cgit v1.2.3 From bb06d45da99d1a551979f6f694a5bed4d02673c4 Mon Sep 17 00:00:00 2001 From: raylu Date: Sun, 24 Jul 2011 20:35:59 -0700 Subject: add 'add' button on anime view page logged out users will be redirected anyway --- views/anime/view.html.php | 23 ++++++++++++++--------- webroot/css/view.css | 4 ++-- 2 files changed, 16 insertions(+), 11 deletions(-) (limited to 'webroot') diff --git a/views/anime/view.html.php b/views/anime/view.html.php index f51e863..11a1f75 100644 --- a/views/anime/view.html.php +++ b/views/anime/view.html.php @@ -56,18 +56,10 @@ for ($i = 0; $i < count($keys); $i++) { $str .= ' ' . $keys[$i] . ''; } ?>

- - cast) > 1): // why is this 1? ?>
@@ -99,6 +91,19 @@ for ($i = 0; $i < count($keys); $i++) {
+ + + +

Synopsis

diff --git a/webroot/css/view.css b/webroot/css/view.css index d5734a1..5d5db7d 100644 --- a/webroot/css/view.css +++ b/webroot/css/view.css @@ -15,7 +15,7 @@ section#cast { float: left; width: 620px; } -section#cast a { +section#cast a, #add { padding: 4px 7px; border: 1px solid #aaa; -moz-border-radius: 3px; @@ -28,7 +28,7 @@ section#cast a { color: #111; outline: none; } -section#cast a:hover { +section#cast a:hover, #add:hover { background: #eee; background: -moz-linear-gradient(top, #eee, #ccc); background: -webkit-linear-gradient(top, #eee, #ccc); -- cgit v1.2.3