diff options
Diffstat (limited to 'view/theme/diabook')
20 files changed, 131 insertions, 24 deletions
diff --git a/view/theme/diabook/diabook-aerith/style-wide.css b/view/theme/diabook/diabook-aerith/style-wide.css index 388a05b46..b8ff1fe25 100644 --- a/view/theme/diabook/diabook-aerith/style-wide.css +++ b/view/theme/diabook/diabook-aerith/style-wide.css @@ -1243,7 +1243,14 @@ aside #likes a:hover{ margin-right: 20px; } #login-submit-wrapper{ -margin-bottom: 15px; + padding-top: 120px; + margin-bottom: 12px; + } +aside #login-submit-button{ + margin-left: 0px!important; + } +aside #login-extra-links{ + padding-top: 0px!important; } .group_selected { background: url("../../../view/theme/diabook/icons/selected.png") no-repeat left center; diff --git a/view/theme/diabook/diabook-aerith/style.css b/view/theme/diabook/diabook-aerith/style.css index 1f3e65cca..01d35b754 100644 --- a/view/theme/diabook/diabook-aerith/style.css +++ b/view/theme/diabook/diabook-aerith/style.css @@ -1241,7 +1241,14 @@ aside #likes a:hover{ margin-right: 20px; } #login-submit-wrapper{ -margin-bottom: 15px; + padding-top: 120px; + margin-bottom: 12px; + } +aside #login-submit-button{ + margin-left: 0px!important; + } +aside #login-extra-links{ + padding-top: 0px!important; } .group_selected { background: url("../../../view/theme/diabook/icons/selected.png") no-repeat left center; diff --git a/view/theme/diabook/diabook-blue/style-wide.css b/view/theme/diabook/diabook-blue/style-wide.css index 7745e7e2d..c8c203347 100644 --- a/view/theme/diabook/diabook-blue/style-wide.css +++ b/view/theme/diabook/diabook-blue/style-wide.css @@ -1203,7 +1203,14 @@ aside #side-peoplefind-url { margin-right: 20px; } #login-submit-wrapper{ -margin-bottom: 15px; + padding-top: 120px; + margin-bottom: 12px; + } +aside #login-submit-button{ + margin-left: 0px!important; + } +aside #login-extra-links{ + padding-top: 0px!important; } .group_selected { background: url("../../../view/theme/diabook/icons/selected.png") no-repeat left center; diff --git a/view/theme/diabook/diabook-blue/style.css b/view/theme/diabook/diabook-blue/style.css index 12648bffb..7bf7e8eaa 100644 --- a/view/theme/diabook/diabook-blue/style.css +++ b/view/theme/diabook/diabook-blue/style.css @@ -1201,7 +1201,14 @@ aside #side-peoplefind-url { margin-right: 20px; } #login-submit-wrapper{ -margin-bottom: 15px; + padding-top: 120px; + margin-bottom: 12px; + } +aside #login-submit-button{ + margin-left: 0px!important; + } +aside #login-extra-links{ + padding-top: 0px!important; } .group_selected { background: url("../../../view/theme/diabook/icons/selected.png") no-repeat left center; diff --git a/view/theme/diabook/diabook-dark/icons/pencil.png b/view/theme/diabook/diabook-dark/icons/pencil.png Binary files differindex 772e49b17..cc316a7de 100644 --- a/view/theme/diabook/diabook-dark/icons/pencil.png +++ b/view/theme/diabook/diabook-dark/icons/pencil.png diff --git a/view/theme/diabook/diabook-dark/icons/pencil2.png b/view/theme/diabook/diabook-dark/icons/pencil2.png Binary files differindex 3b47d1864..791433db7 100644 --- a/view/theme/diabook/diabook-dark/icons/pencil2.png +++ b/view/theme/diabook/diabook-dark/icons/pencil2.png diff --git a/view/theme/diabook/diabook-dark/icons/scroll_top.png b/view/theme/diabook/diabook-dark/icons/scroll_top.png Binary files differindex 0e7f7ae6a..fe20d1c4c 100644 --- a/view/theme/diabook/diabook-dark/icons/scroll_top.png +++ b/view/theme/diabook/diabook-dark/icons/scroll_top.png diff --git a/view/theme/diabook/diabook-dark/style-network.css b/view/theme/diabook/diabook-dark/style-network.css index d236297b7..7ddedb320 100644 --- a/view/theme/diabook/diabook-dark/style-network.css +++ b/view/theme/diabook/diabook-dark/style-network.css @@ -493,7 +493,7 @@ code { float: right; } .tool a { - color: #3465a4; + color: #88a9d2; } .tool a:hover { text-decoration: none; diff --git a/view/theme/diabook/diabook-dark/style-profile.css b/view/theme/diabook/diabook-dark/style-profile.css index 8824d18fe..b052b77ff 100644 --- a/view/theme/diabook/diabook-dark/style-profile.css +++ b/view/theme/diabook/diabook-dark/style-profile.css @@ -440,7 +440,7 @@ a:hover { clear: both; } .fakelink { - color: #1872A2; + color: #88a9d2; /* color: #3e3e8c; */ text-decoration: none; cursor: pointer; @@ -493,7 +493,7 @@ code { float: right; } .tool a { - color: ##3F8FBA; + color: ##3465a4; } .tool a:hover { text-decoration: none; @@ -1261,7 +1261,7 @@ transition: all 0.2s ease-in-out; padding-top: 10px; } .tread-wrapper a{ - color: #1872A2; + color: #88a9d2; } .wall-item-decor { diff --git a/view/theme/diabook/diabook-green/style-wide.css b/view/theme/diabook/diabook-green/style-wide.css index e07af7c69..d85ea23a6 100644 --- a/view/theme/diabook/diabook-green/style-wide.css +++ b/view/theme/diabook/diabook-green/style-wide.css @@ -1220,7 +1220,14 @@ aside #likes a:hover{ margin-right: 20px; } #login-submit-wrapper{ -margin-bottom: 15px; + padding-top: 120px; + margin-bottom: 12px; + } +aside #login-submit-button{ + margin-left: 0px!important; + } +aside #login-extra-links{ + padding-top: 0px!important; } .group_selected { background: url("../diabook/icons/selected.png") no-repeat left center; diff --git a/view/theme/diabook/diabook-green/style.css b/view/theme/diabook/diabook-green/style.css index d4e2052a7..c83ddd397 100644 --- a/view/theme/diabook/diabook-green/style.css +++ b/view/theme/diabook/diabook-green/style.css @@ -1224,7 +1224,14 @@ aside #likes a:hover{ margin-right: 20px; } #login-submit-wrapper{ -margin-bottom: 15px; + padding-top: 120px; + margin-bottom: 12px; + } +aside #login-submit-button{ + margin-left: 0px!important; + } +aside #login-extra-links{ + padding-top: 0px!important; } .group_selected { background: url("../diabook/icons/selected.png") no-repeat left center; diff --git a/view/theme/diabook/diabook-pink/style-wide.css b/view/theme/diabook/diabook-pink/style-wide.css index 65e22aa90..a51ca49cc 100644 --- a/view/theme/diabook/diabook-pink/style-wide.css +++ b/view/theme/diabook/diabook-pink/style-wide.css @@ -1220,7 +1220,14 @@ aside #likes a:hover{ margin-right: 20px; } #login-submit-wrapper{ -margin-bottom: 15px; + padding-top: 120px; + margin-bottom: 12px; + } +aside #login-submit-button{ + margin-left: 0px!important; + } +aside #login-extra-links{ + padding-top: 0px!important; } .group_selected { background: url("../diabook/icons/selected.png") no-repeat left center; diff --git a/view/theme/diabook/diabook-pink/style.css b/view/theme/diabook/diabook-pink/style.css index c223e6439..833e81a5f 100644 --- a/view/theme/diabook/diabook-pink/style.css +++ b/view/theme/diabook/diabook-pink/style.css @@ -1224,7 +1224,14 @@ aside #likes a:hover{ margin-right: 20px; } #login-submit-wrapper{ -margin-bottom: 15px; + padding-top: 120px; + margin-bottom: 12px; + } +aside #login-submit-button{ + margin-left: 0px!important; + } +aside #login-extra-links{ + padding-top: 0px!important; } .group_selected { background: url("../diabook/icons/selected.png") no-repeat left center; diff --git a/view/theme/diabook/diabook-red/style-wide.css b/view/theme/diabook/diabook-red/style-wide.css index 1df0d56bc..79c5fb1cb 100644 --- a/view/theme/diabook/diabook-red/style-wide.css +++ b/view/theme/diabook/diabook-red/style-wide.css @@ -1232,7 +1232,14 @@ aside #side-peoplefind-url { margin-right: 20px; } #login-submit-wrapper{ -margin-bottom: 15px; + padding-top: 120px; + margin-bottom: 12px; + } +aside #login-submit-button{ + margin-left: 0px!important; + } +aside #login-extra-links{ + padding-top: 0px!important; } .group_selected { background: url("../../../view/theme/diabook/icons/selected.png") no-repeat left center; diff --git a/view/theme/diabook/diabook-red/style.css b/view/theme/diabook/diabook-red/style.css index 856a5d08a..c7cb1586d 100644 --- a/view/theme/diabook/diabook-red/style.css +++ b/view/theme/diabook/diabook-red/style.css @@ -1230,7 +1230,14 @@ aside #side-peoplefind-url { margin-right: 20px; } #login-submit-wrapper{ -margin-bottom: 15px; + padding-top: 120px; + margin-bottom: 12px; + } +aside #login-submit-button{ + margin-left: 0px!important; + } +aside #login-extra-links{ + padding-top: 0px!important; } .group_selected { background: url("../../../view/theme/diabook/icons/selected.png") no-repeat left center; diff --git a/view/theme/diabook/icons/scroll_bottom.png b/view/theme/diabook/icons/scroll_bottom.png Binary files differnew file mode 100644 index 000000000..eba301b34 --- /dev/null +++ b/view/theme/diabook/icons/scroll_bottom.png diff --git a/view/theme/diabook/nav.tpl b/view/theme/diabook/nav.tpl index e0ffa4f7b..ce27400f6 100644 --- a/view/theme/diabook/nav.tpl +++ b/view/theme/diabook/nav.tpl @@ -136,7 +136,7 @@ </nav> -<div id="scrollup" style="position: fixed; bottom: 5px; right: 10px;"><a href="#top"><img src="view/theme/diabook/icons/scroll_top.png" alt="back to top" title="Back to top"></a></div> +<div id="scrollup" style="position: fixed; bottom: 5px; right: 10px;"><a id="down" onclick="scrolldown()" ><img id="scroll_top_bottom" src="view/theme/diabook/icons/scroll_bottom.png" style="display:cursor !important;" alt="back to top" title="Back to top"></a></div> <div style="position: fixed; bottom: 3px; left: 25px;">$langselector</div> <div style="position: fixed; bottom: 23px; left: 5px;"><a href="http://pad.toktan.org/p/diabook" target="blank" ><img src="view/theme/diabook/icons/bluebug.png" title="report bugs for the theme diabook"/></a></div> diff --git a/view/theme/diabook/style-wide.css b/view/theme/diabook/style-wide.css index abd10476a..f8dced3e6 100644 --- a/view/theme/diabook/style-wide.css +++ b/view/theme/diabook/style-wide.css @@ -1195,7 +1195,14 @@ aside #side-peoplefind-url { margin-right: 20px; } #login-submit-wrapper{ - margin-bottom: 15px; + padding-top: 120px; + margin-bottom: 12px; + } +aside #login-submit-button{ + margin-left: 0px!important; + } +aside #login-extra-links{ + padding-top: 0px!important; } /* widget */ .widget { diff --git a/view/theme/diabook/style.css b/view/theme/diabook/style.css index 23f8ac465..9150ea8cf 100644 --- a/view/theme/diabook/style.css +++ b/view/theme/diabook/style.css @@ -1198,7 +1198,14 @@ aside #side-peoplefind-url { margin-right: 20px; } #login-submit-wrapper{ - margin-bottom: 15px; + padding-top: 120px; + margin-bottom: 12px; + } +aside #login-submit-button{ + margin-left: 0px!important; + } +aside #login-extra-links{ + padding-top: 0px!important; } /* widget */ .widget { diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 269015d0a..073e270ef 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -356,25 +356,48 @@ $(document).ready(function() { $(this).attr("src",newString+"?"+wmode+"&"+oldString); } else $(this).attr("src",ifr_source+"?"+wmode); + }); - - $("a[href=#top]").click(function() { - $("html, body").animate({scrollTop:0}, "slow"); - return false; - }); - }); function yt_iframe() { - $("iframe").load(function() { var ifr_src = $(this).contents().find("body iframe").attr("src"); $("iframe").contents().find("body iframe").attr("src", ifr_src+"&wmode=transparent"); }); }; + +function scrolldown(){ + $("html, body").animate({scrollTop:$(document).height()}, "slow"); + return false; + }; + +function scrolltop(){ + $("html, body").animate({scrollTop:0}, "slow"); + return false; + }; + +$(window).scroll(function () { + + + var scrollInfo = $(window).scrollTop(); + + if (scrollInfo <= "900"){ + $("a#top").attr("id","down"); + $("a#down").attr("onclick","scrolldown()"); + $("img#scroll_top_bottom").attr("src","view/theme/diabook/icons/scroll_bottom.png"); + } + + if (scrollInfo > "900"){ + $("a#down").attr("id","top"); + $("a#top").attr("onclick","scrolltop()"); + $("img#scroll_top_bottom").attr("src","view/theme/diabook/icons/scroll_top.png"); + } + + }); </script>'; |