diff options
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/css/screen.css | 24 | ||||
-rw-r--r-- | themes/default/views/album.html.php | 4 | ||||
-rw-r--r-- | themes/default/views/photo.html.php | 14 | ||||
-rw-r--r-- | themes/default/views/tag.html.php | 4 |
4 files changed, 29 insertions, 17 deletions
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index a88ed91f..cd8cb288 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -181,6 +181,10 @@ table.gBlockContent td { padding-right: 10px; } +#gAlbumHeaderButtons { + float: right; +} + #gAlbumGrid { margin: 0; } @@ -215,6 +219,15 @@ table.gBlockContent td { float: right; } +#gItemHeader { + height: 40px; + position: relative; +} + +#gItemHeaderButtons { + float: right; +} + #gItem img { background-color: #e7e7e7; border: 1px solid #c0c0c0; @@ -301,16 +314,6 @@ table.gMetadata td.toggle { width: 100%; } -/* Slideshow button ~~~~~~~~~~~~~~~~~~~~~~ */ - -#gSlideshowLink { - float: right; -} - -#gItem #gSlideshowLink { - position: relative; -} - /* Breadcrumbs ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #gBreadcrumbs { @@ -544,6 +547,7 @@ form#gAddTag input[type=text] { .gButtonLink { border: 1px solid #d3d3d3; padding: 5px; + margin-left: 5px; } .gButtonLink:hover { diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index ea887225..e73c253d 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -1,8 +1,10 @@ <? defined("SYSPATH") or die("No direct script access."); ?> <div id="gAlbumHeader"> + <div id="gAlbumHeaderButtons"> + <?= $theme->album_top() ?> + </div> <h1><?= $item->title_edit ?></h1> <span class="gUnderState"><?= $item->description_edit ?></span> - <?= $theme->album_top() ?> </div> <ul id="gAlbumGrid"> diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 1229bc00..6ac30d86 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -1,10 +1,14 @@ <? defined("SYSPATH") or die("No direct script access."); ?> -<div id="gItem"> - <a href="" class="gButtonLink"> - <?= sprintf(_("Full size (%dx%d)"), $item->width, $item->height) ?> - </a> - <?= $theme->photo_top() ?> +<div id="gItemHeader"> + <div id="gItemHeaderButtons"> + <a href="" class="gButtonLink"> + <?= sprintf(_("Full size (%dx%d)"), $item->width, $item->height) ?> + </a> + <?= $theme->photo_top() ?> + </div> +</div> +<div id="gItem"> <img id="gPhotoID-<?= $item->id ?>" alt="photo" src="<?= $item->resize_url() ?>" width="<?= $item->resize_width ?>" height="<?= $item->resize_height ?>" /> diff --git a/themes/default/views/tag.html.php b/themes/default/views/tag.html.php index a4254e06..4c507d0d 100644 --- a/themes/default/views/tag.html.php +++ b/themes/default/views/tag.html.php @@ -1,7 +1,9 @@ <? defined("SYSPATH") or die("No direct script access."); ?> <div id="gAlbumHeader"> + <div id="gAlbumHeaderButtons"> + <?= $theme->tag_top() ?> + </div> <h1><?= $tag->name ?></h1> - <?= $theme->tag_top() ?> </div> <ul id="gAlbumGrid"> |