From 73fbf5118fb3ffd2737b25dd37ad4ec41fb1286c Mon Sep 17 00:00:00 2001 From: Romain LE DISEZ Date: Wed, 17 Nov 2010 05:37:05 +0800 Subject: [PATCH] Some cleanup Some bugfixes : - x-repeat -> repeat-x (thanks plasticgoat) - display the frame around image, even when fullsize is not allowed Re-enable show_full_size (it will probably need some theming) Add a style for header text: configure in G3
Blah
(thanks plasticgoat) --- 3.0/themes/sobriety/css/screen.css | 29 ++++++++++--------------- 3.0/themes/sobriety/views/page.html.php | 2 +- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/3.0/themes/sobriety/css/screen.css b/3.0/themes/sobriety/css/screen.css index 09097d56..198c0625 100644 --- a/3.0/themes/sobriety/css/screen.css +++ b/3.0/themes/sobriety/css/screen.css @@ -64,6 +64,15 @@ a#g-logo, form#g-quick-search-form, div#g-site-menu { display: none; } +#g-header-text{ + color: #fff; + font: oblique small-caps bold 1em Georgia,serif; + position: absolute; + left: 15px; + height: 1.5em; + line-height: 1.5em; +} + ul#g-login-menu { list-style-type: none; @@ -108,7 +117,6 @@ ul#g-login-menu > li:hover, ul#g-login-menu > li:hover > a { } ul#g-login-menu:hover { - /*height: auto;*/ background-color: #5266f3; } @@ -503,7 +511,7 @@ span.ui-icon-key { background-position: -112px -128px; } border: none; } -#g-item #g-photo a img { +#g-item #g-photo img { border: 10px solid #fff; -webkit-box-shadow: 3px 3px 0px #b7b7a7; -moz-box-shadow: 3px 3px 0px #b7b7a7; @@ -642,21 +650,6 @@ span.ui-icon-key { background-position: -112px -128px; } -/*#g-login-menu { - position: absolute; - right: 0; - padding: 0; - margin: 0; -} -#g-login-menu li { - display: inline; -} -#g-login-menu li:first-child { - display: none; -} -#g-logo, #g-quick-search-form, #g-site-menu { - display: none; -}*/ @@ -863,7 +856,7 @@ div#g-action-status { height: 22px; width: 0%; background-image: url("../images/backgrounds/pbar-ani.gif"); - background-repeat: x-repeat; + background-repeat: repeat-x; } #g-add-photos-progressbar.stop { background-image: url("../images/backgrounds/pbar-ani-stop.gif"); diff --git a/3.0/themes/sobriety/views/page.html.php b/3.0/themes/sobriety/views/page.html.php index a4610460..7458820f 100644 --- a/3.0/themes/sobriety/views/page.html.php +++ b/3.0/themes/sobriety/views/page.html.php @@ -50,7 +50,7 @@ head() they get combined */ ?> page_subtype == "photo"): ?> script("_DISABLED_jquery.scrollTo.js") ?> - script("_DISABLED_gallery.show_full_size.js") ?> + script("gallery.show_full_size.js") ?> page_subtype == "movie"): ?> script("flowplayer.js") ?>