1
0

Style fix and support for login/erauthenticate pages.

This commit is contained in:
Fredrik Erlandsson 2011-05-27 08:20:07 +02:00
parent 23ec0ea7b6
commit 5dcc04d19b
3 changed files with 19 additions and 12 deletions

View File

@ -31,9 +31,9 @@ th, td {
margin-right: 0px;
text-align: left;
}
body {
.pear {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 62.5%;
font-size: 10px;
color: #999 !important;
background-color: #000;
}

View File

@ -196,7 +196,6 @@ background: transparent url('pear_logo_sml.png') no-repeat center left;
/************************ SLIDER VIEW **************************/
.sliderView {
padding: 7px 37px 7px 3%;
position: relative;
color: #FFFFFF;
@ -205,7 +204,6 @@ height: 3px;
width: 154px;
float: right;
z-index: 10000;
}
.sliderView .smaller {
@ -255,6 +253,7 @@ width: 137px;
height: 15px;
background: transparent url(track_fill_left.png) scroll top left no-repeat;
position: relative;
border: 0px;
}
.sliderView .ui-slider-handle {
@ -266,6 +265,7 @@ height: 16px;
cursor: pointer; /* hand-shaped cursor */
cursor: hand; /* for IE 5.x */
margin-left: -7px;
border: 0px;
}
.disabled-with-sliderView {

View File

@ -87,17 +87,23 @@
<?= new View("hoverView.html") ?>
<?= $theme->page_top() ?>
<?= $theme->site_status() ?>
<? if (($theme->page_subtype == "login") or ($theme->page_subtype == "reauthenticate")): ?>
<?= $content ?>
<? else: /*not login | reauthenticate */ ?>
<div class="pear">
<div id="gsNavBar" class="gcBorder1">
<div class="lNavBar">
<? if ($theme->item() && !empty($parents)): ?>
<? if ($theme->item()): ?>
<? if(!empty($parents)): ?>
<? $parent = end($parents) ?>
<button class="large push large-with-push" onclick="window.location='<?= $parent->url($parent->id == $theme->item()->parent_id ? "show={$theme->item()->id}" : null) ?>';// + '#viewMode=' + viewMode;"> <div class="outer"> <div class="label"> <?= html::purify(text::limit_chars($parent->title, module::get_var("gallery", "visible_title_length"))) ?></div> </div></button>
<? endif ?>
</div>
<div class="pearTitle" title="<?= $theme->item()->description ?>"> <?= html::purify(text::limit_chars($theme->item()->title, 40)) ?> &nbsp;
<span class="count">(<?= count($theme->item()->children())?>)</span>
<span class="count">(<?= $theme->item()->children() ?>)</span>
</div>
<? endif ?>
<div class="rNavBar">
<button class="large push large-with-push" onclick="$('#g-header').slideToggle('normal', function(){$('#g-header').is(':hidden') ? $('#sidebarButton').text('Show Options') : $('#sidebarButton').text('Hide Options')});//);toggleSidebar('ContentAlbum','sidebar'); return false;"> <div class="outer"> <div class="label" id="sidebarButton">Show Options</div></div></button>
</div>
@ -157,6 +163,7 @@
</div>
<button id="logoButton"></button>
</div>
</div> <? /*class="pear"*/ ?>
<? endif ?>
</body>
</html>