summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/admin_wind/css/screen.css32
-rw-r--r--themes/admin_wind/views/pager.html.php2
-rw-r--r--themes/night_wind/css/fix-ie.css2
-rw-r--r--themes/night_wind/views/movie.html.php2
-rw-r--r--themes/night_wind/views/pager.html.php2
-rw-r--r--themes/night_wind/views/photo.html.php2
-rw-r--r--themes/wind/css/fix-ie.css2
-rw-r--r--themes/wind/css/screen.css20
-rw-r--r--themes/wind/js/ui.init.js6
-rw-r--r--themes/wind/views/movie.html.php15
-rw-r--r--themes/wind/views/pager.html.php2
-rw-r--r--themes/wind/views/photo.html.php2
12 files changed, 44 insertions, 45 deletions
diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css
index 4aa02023..73ec8ac5 100644
--- a/themes/admin_wind/css/screen.css
+++ b/themes/admin_wind/css/screen.css
@@ -12,8 +12,7 @@
* 6) jQuery and jQuery UI
* 7) Right-to-left language styles
*
- * @todo Consider moving g-panel to gallery.common
- * @todo Review g-actions along with g-buttonset-vertical
+ * @todo Review g-buttonset-vertical
*/
/** *******************************************************************
@@ -92,6 +91,10 @@ fieldset {
margin-bottom: 1em;
}
+#g-content form ul li {
+ padding: .4em 0;
+}
+
#g-dialog form {
width: 270px;
}
@@ -124,6 +127,7 @@ td {
}
th {
+ vertical-align: bottom;
white-space: nowrap;
}
@@ -156,6 +160,12 @@ th {
padding: 0;
}
+#g-content .g-selected,
+#g-content .g-available .g-block {
+ border: 1px solid #ccc;
+ padding: .8em;
+}
+
.g-selected img,
.g-available .g-block img {
float: left;
@@ -358,11 +368,6 @@ th {
margin-right: 1em;
}
-.g-actions a,
-.g-actions span {
- margin-right: 3em;
-}
-
/* Block admin ~~~~~~~~~~~~~~~~~~~~~~~~~ */
.g-admin-blocks-list {
@@ -427,19 +432,6 @@ th {
/* jQuery UI Dialog ~~~~~~~~~~~~~~~~~~~~~~ */
-#g-panel {
- display: none;
- padding: 1em;
-}
-
-#g-panel legend {
- display: none;
-}
-
-#g-panel fieldset {
- border: none;
-}
-
#g-admin-dashboard .ui-state-highlight,
#g-sidebar .ui-state-highlight {
height: 2em;
diff --git a/themes/admin_wind/views/pager.html.php b/themes/admin_wind/views/pager.html.php
index e4fbd5d5..7870ef3f 100644
--- a/themes/admin_wind/views/pager.html.php
+++ b/themes/admin_wind/views/pager.html.php
@@ -25,7 +25,7 @@
<? endif ?>
</li>
<li class="g-info"><?= $from_to_msg ?></li>
- <li class="g-txt-right">
+ <li class="g-text-right">
<? if ($next_page): ?>
<a href="<?= str_replace('{page}', $next_page, $url) ?>" class="g-button ui-icon-right ui-state-default ui-corner-all">
<span class="ui-icon ui-icon-seek-next"></span><?= t("Next") ?></a>
diff --git a/themes/night_wind/css/fix-ie.css b/themes/night_wind/css/fix-ie.css
index cb51f349..fcebeea8 100644
--- a/themes/night_wind/css/fix-ie.css
+++ b/themes/night_wind/css/fix-ie.css
@@ -20,7 +20,7 @@ input.submit {
float: none !important;
}
-.g-pager .g-txt-right {
+.g-pager .g-text-right {
width: 29%;
}
diff --git a/themes/night_wind/views/movie.html.php b/themes/night_wind/views/movie.html.php
index 9254c7fe..a791f2d8 100644
--- a/themes/night_wind/views/movie.html.php
+++ b/themes/night_wind/views/movie.html.php
@@ -13,7 +13,7 @@
<? endif; ?>
</li>
<li class="g-info"><?= t("%position of %total", array("position" => $position, "total" => $sibling_count)) ?></li>
- <li class="g-txt-right">
+ <li class="g-text-right">
<? if ($next_item): ?>
<a href="<?= $next_item->url() ?>" class="g-button ui-icon-right ui-state-default ui-corner-all">
<span class="ui-icon ui-icon-triangle-1-e"></span><?= t("Next") ?></a>
diff --git a/themes/night_wind/views/pager.html.php b/themes/night_wind/views/pager.html.php
index ba325d03..af82b835 100644
--- a/themes/night_wind/views/pager.html.php
+++ b/themes/night_wind/views/pager.html.php
@@ -25,7 +25,7 @@
<? endif ?>
</li>
<li class="g-info"><?= $from_to_msg ?></li>
- <li class="g-txt-right">
+ <li class="g-text-right">
<? if ($next_page): ?>
<a href="<?= str_replace('{page}', $next_page, $url) ?>" class="g-button ui-icon-right ui-state-default ui-corner-all">
<span class="ui-icon ui-icon-seek-next"></span><?= t("Next") ?></a>
diff --git a/themes/night_wind/views/photo.html.php b/themes/night_wind/views/photo.html.php
index e1231f65..a748daf2 100644
--- a/themes/night_wind/views/photo.html.php
+++ b/themes/night_wind/views/photo.html.php
@@ -26,7 +26,7 @@
<? endif; ?>
</li>
<li class="g-info"><?= t("%position of %total", array("position" => $position, "total" => $sibling_count)) ?></li>
- <li class="g-txt-right">
+ <li class="g-text-right">
<? if ($next_item): ?>
<a href="<?= $next_item->url() ?>" class="g-button ui-icon-right ui-state-default ui-corner-all">
<span class="ui-icon ui-icon-triangle-1-e"></span><?= t("next") ?></a>
diff --git a/themes/wind/css/fix-ie.css b/themes/wind/css/fix-ie.css
index cb51f349..fcebeea8 100644
--- a/themes/wind/css/fix-ie.css
+++ b/themes/wind/css/fix-ie.css
@@ -20,7 +20,7 @@ input.submit {
float: none !important;
}
-.g-pager .g-txt-right {
+.g-pager .g-text-right {
width: 29%;
}
diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css
index 74771e07..e46ba8e6 100644
--- a/themes/wind/css/screen.css
+++ b/themes/wind/css/screen.css
@@ -11,8 +11,6 @@
* 5) Navigation and menus
* 6) jQuery and jQuery UI
* 7) Right-to-left language styles
- *
- * @todo Review g-buttonset and it's usage here and admin_wind
*/
/** *******************************************************************
@@ -73,7 +71,9 @@ h3 {
font-size: .8em;
}
-#g-content #g-album-grid .g-item {
+#g-album-grid .g-item,
+#g-item #g-photo,
+#g-item #g-movie {
font-size: .7em;
}
@@ -129,6 +129,9 @@ td {
border: none;
border-bottom: 1px solid #ccc;
padding: .5em;
+}
+
+td {
vertical-align: top;
}
@@ -274,18 +277,21 @@ td {
/* Individual photo content ~~~~~~~~~~~~~~ */
-#g-content #g-item {
+#g-item {
position: relative;
width: 100%;
}
-#g-content #g-photo {
+#g-item #g-photo,
+#g-item #g-movie {
+ padding: 2.2em 0;
position: relative;
}
-#g-content #g-item .g-fullsize-link img {
+#g-item img.g-resize,
+#g-item a.g-movie object {
display: block;
- margin: 1em auto;
+ margin: 0 auto;
}
/* Footer content ~~~~~~~~~~~~~~~~~~~~~~~~ */
diff --git a/themes/wind/js/ui.init.js b/themes/wind/js/ui.init.js
index 0126c36b..be03b6a8 100644
--- a/themes/wind/js/ui.init.js
+++ b/themes/wind/js/ui.init.js
@@ -87,12 +87,12 @@ $(document).ready(function() {
}
// Photo/Item item view
- if ($("#g-item").length) {
+ if ($("#g-photo").length) {
// Ensure the resized image fits within its container
- $("#g-item").gallery_fit_photo();
+ $("#g-photo").gallery_fit_photo();
// Initialize context menus
- var resize = $("#g-item").gallery_get_photo();
+ var resize = $("#g-photo").gallery_get_photo();
$(resize).hover(function(){
$(this).gallery_context_menu();
});
diff --git a/themes/wind/views/movie.html.php b/themes/wind/views/movie.html.php
index 9254c7fe..d91ffbc5 100644
--- a/themes/wind/views/movie.html.php
+++ b/themes/wind/views/movie.html.php
@@ -2,7 +2,7 @@
<div id="g-item">
<?= $theme->photo_top() ?>
- <ul class="g-pager">
+ <ul class="g-pager ui-helper-clearfix">
<li>
<? if ($previous_item): ?>
<a href="<?= $previous_item->url() ?>" class="g-button ui-icon-left ui-state-default ui-corner-all">
@@ -13,7 +13,7 @@
<? endif; ?>
</li>
<li class="g-info"><?= t("%position of %total", array("position" => $position, "total" => $sibling_count)) ?></li>
- <li class="g-txt-right">
+ <li class="g-text-right">
<? if ($next_item): ?>
<a href="<?= $next_item->url() ?>" class="g-button ui-icon-right ui-state-default ui-corner-all">
<span class="ui-icon ui-icon-triangle-1-e"></span><?= t("Next") ?></a>
@@ -24,14 +24,15 @@
</li>
</ul>
-
- <?= $item->movie_img(array("class" => "g-movie", "id" => "g-movie-id-{$item->id}")) ?>
-
+ <div id="g-movie" class="ui-helper-clearfix">
+ <?= $item->movie_img(array("class" => "g-movie", "id" => "g-movie-id-{$item->id}")) ?>
+ <?= $theme->context_menu($item, "#g-movie-id-{$item->id}") ?>
+ </div>
+
<div id="g-info">
<h1><?= html::purify($item->title) ?></h1>
- <div><?= nl2br(html::purify($item->description)) ?></div>
+ <div><?= nl2br(html::purify($item->description)) ?></div>
</div>
<?= $theme->photo_bottom() ?>
- <?= $theme->context_menu($item, "#g-movie-id-{$item->id}") ?>
</div>
diff --git a/themes/wind/views/pager.html.php b/themes/wind/views/pager.html.php
index 36b2c13f..1dfe7eac 100644
--- a/themes/wind/views/pager.html.php
+++ b/themes/wind/views/pager.html.php
@@ -25,7 +25,7 @@
<? endif ?>
</li>
<li class="g-info"><?= $from_to_msg ?></li>
- <li class="g-txt-right">
+ <li class="g-text-right">
<? if ($next_page): ?>
<a href="<?= str_replace('{page}', $next_page, $url) ?>" class="g-button ui-icon-right ui-state-default ui-corner-all">
<span class="ui-icon ui-icon-seek-next"></span><?= t("Next") ?></a>
diff --git a/themes/wind/views/photo.html.php b/themes/wind/views/photo.html.php
index cee44134..e17dcdb3 100644
--- a/themes/wind/views/photo.html.php
+++ b/themes/wind/views/photo.html.php
@@ -26,7 +26,7 @@
<? endif; ?>
</li>
<li class="g-info"><?= t("%position of %total", array("position" => $position, "total" => $sibling_count)) ?></li>
- <li class="g-txt-right">
+ <li class="g-text-right">
<? if ($next_item): ?>
<a href="<?= $next_item->url() ?>" class="g-button ui-icon-right ui-state-default ui-corner-all">
<span class="ui-icon ui-icon-triangle-1-e"></span><?= t("next") ?></a>