New repo
860
themes/greydragon/admin/controllers/admin_theme_options.php
Executable file
@@ -0,0 +1,860 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.");
|
||||
/**
|
||||
* Grey Dragon Theme - a custom theme for Gallery 3
|
||||
* This theme was designed and built by Serguei Dosyukov, whose blog you will find at http://blog.dragonsoft.us
|
||||
* Copyright (C) 2009-2011 Serguei Dosyukov
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General
|
||||
* Public License as published by the Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with this program; if not, write to
|
||||
* the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
class Admin_Theme_Options_Controller extends Admin_Controller {
|
||||
|
||||
protected $min_gallery_ver = 49;
|
||||
|
||||
private function load_theme_info() {
|
||||
$file = THEMEPATH . "greydragon/theme.info";
|
||||
$theme_info = new ArrayObject(parse_ini_file($file), ArrayObject::ARRAY_AS_PROPS);
|
||||
return $theme_info;
|
||||
}
|
||||
|
||||
private function get_theme_version() {
|
||||
$theme_info = $this->load_theme_info();
|
||||
return ($theme_info->version);
|
||||
}
|
||||
|
||||
private function get_theme_name() {
|
||||
$theme_info = $this->load_theme_info();
|
||||
return ($theme_info->name);
|
||||
}
|
||||
|
||||
private function get_packlist($type, $filename) {
|
||||
$packlist = array();
|
||||
$packroot = THEMEPATH . 'greydragon/css/' . $type . '/';
|
||||
|
||||
foreach (scandir($packroot) as $pack_name):
|
||||
if (file_exists($packroot . "$pack_name/css/" . $filename . ".css")):
|
||||
if ($pack_name[0] == "."):
|
||||
continue;
|
||||
endif;
|
||||
|
||||
$packlist[$pack_name] = t($pack_name);
|
||||
endif;
|
||||
endforeach;
|
||||
return $packlist;
|
||||
}
|
||||
|
||||
private function get_colorpacks() {
|
||||
return $this->get_packlist('colorpacks', 'colors');
|
||||
}
|
||||
|
||||
private function get_framepacks() {
|
||||
return $this->get_packlist('framepacks', 'frame');
|
||||
}
|
||||
|
||||
private function prerequisite_check($group, $id, $is_ok, $caption, $caption_ok, $caption_failed, $iswarning, $msg_error) {
|
||||
$confirmation_caption = ($is_ok)? $caption_ok : $caption_failed;
|
||||
$checkbox = $group->checkbox($id)
|
||||
->label($caption . " " . $confirmation_caption)
|
||||
->checked($is_ok)
|
||||
->disabled(true);
|
||||
if ($is_ok):
|
||||
$checkbox->class("g-success");
|
||||
elseif ($iswarning):
|
||||
$checkbox->class("g-prerequisite g-warning")->error_messages("failed", $msg_error)->add_error("failed", 1);
|
||||
else:
|
||||
$checkbox->class("g-error")->error_messages("failed", $msg_error)->add_error("failed", 1);
|
||||
endif;
|
||||
}
|
||||
|
||||
/* Convert old values ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
protected function upgrade_settings() {
|
||||
if (module::get_var("th_greydragon", "hide_thumbmeta")):
|
||||
module::set_var("th_greydragon", "thumb_metamode", "hide");
|
||||
module::clear_var("th_greydragon", "hide_thumbmeta");
|
||||
endif;
|
||||
|
||||
if (module::get_var("gallery", "appletouchicon_url")):
|
||||
$temp = module::get_var("gallery", "appletouchicon_url");
|
||||
module::set_var("gallery", "apple_touch_icon_url", $temp);
|
||||
module::clear_var("gallery", "appletouchicon_url");
|
||||
endif;
|
||||
|
||||
if (module::get_var("th_greydragon", "flex_rows", FALSE)):
|
||||
module::set_var("th_greydragon", "column_count", -1);
|
||||
module::clear_var("th_greydragon", "flex_rows");
|
||||
endif;
|
||||
|
||||
if (module::get_var("th_greydragon", "thumb_descmode") == "overlay_static"):
|
||||
module::set_var("th_greydragon", "thumb_descmode", "overlay_top");
|
||||
endif;
|
||||
|
||||
if (module::get_var("th_greydragon", "mainmenu_position") == "1"):
|
||||
module::set_var("th_greydragon", "mainmenu_position", "top");
|
||||
endif;
|
||||
|
||||
if (module::get_var("th_greydragon", "hide_breadcrumbs")):
|
||||
module::set_var("th_greydragon", "breadcrumbs_position", "hide");
|
||||
module::clear_var("th_greydragon", "hide_breadcrumbs");
|
||||
endif;
|
||||
|
||||
if (module::get_var("th_greydragon", "photonav_position")):
|
||||
$temp = module::get_var("th_greydragon", "photonav_position");
|
||||
module::set_var("th_greydragon", "paginator_album", $temp);
|
||||
module::set_var("th_greydragon", "paginator_photo", $temp);
|
||||
module::clear_var("th_greydragon", "photonav_position");
|
||||
endif;
|
||||
|
||||
if (module::get_var("th_greydragon", "sidebar_allowed") == "none"):
|
||||
module::set_var("th_greydragon", "sidebar_allowed", "default");
|
||||
endif;
|
||||
|
||||
if (module::get_var("th_greydragon", "thumb_topalign")):
|
||||
module::set_var("th_greydragon", "thumb_imgalign", "top");
|
||||
module::clear_var("th_greydragon", "thumb_topalign");
|
||||
elseif ((module::get_var("th_greydragon", "thumb_ratio") == "photo") && (!module::get_var("th_greydragon", "thumb_imgalign"))):
|
||||
module::set_var("th_greydragon", "thumb_imgalign", "center");
|
||||
endif;
|
||||
}
|
||||
|
||||
protected function isCurlInstalled() {
|
||||
if (in_array('curl', get_loaded_extensions())) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
protected function get_edit_form_admin() {
|
||||
$this->upgrade_settings();
|
||||
|
||||
$form = new Forge("admin/theme_options/save/", "", null, array("id" =>"g-theme-options-form"));
|
||||
|
||||
$rssmodulecheck = (module::is_active("rss") && module::info("rss"));
|
||||
|
||||
/* Prerequisites ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
$group = $form->group("requirements")->label(t("Prerequisites"));
|
||||
$gallery_ver = module::get_version("gallery");
|
||||
$this->prerequisite_check($group, "vercheck", $gallery_ver >= $this->min_gallery_ver,
|
||||
t("Gallery 3 Core v.") . $this->min_gallery_ver . "+", t("Installed"), t("Required"), FALSE, sprintf(t("Check Failed. Minimum Required Version is %s. Found %s."), $this->min_gallery_ver, $gallery_ver));
|
||||
if (module::get_var("th_greydragon", "allow_root_page")):
|
||||
$this->prerequisite_check($group, "rsscheck", $rssmodulecheck,
|
||||
t("RSS Module"), t("Found"), t("not Found"), TRUE, t("Install RSS module to Enable Root Page Support"));
|
||||
endif;
|
||||
$this->prerequisite_check($group, "curlcheck", ($this->isCurlInstalled()),
|
||||
t("PHP CURL Support is"), t("Enabled"), t("Disabled"), TRUE, t("Please make sure CURL support is enabled in PHP"));
|
||||
|
||||
/* Suggested Modules ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
$group = $form->group("recommended")->label(t("Suggested Modules"));
|
||||
|
||||
$check_infos = array();
|
||||
if (!module::get_var("th_greydragon", "hide_thumbmeta")):
|
||||
$this->prerequisite_check($group, "info", (module::is_active("info") and module::info("info")),
|
||||
t("Info Module"), t("Found"), t("Required"), FALSE, t("Check Failed. Module is required to display Thumb metadata."));
|
||||
endif;
|
||||
|
||||
if (module::is_active("fancybox") && module::info("fancybox")):
|
||||
$check_infos[] = array("module" => "fancybox", "module_name" => "Fancybox", "link" => '<a href="http://codex.gallery2.org/Gallery3:Modules:fancybox" target="_blank">');
|
||||
endif;
|
||||
if (module::is_active("colorbox") && module::info("colorbox")):
|
||||
$check_infos[] = array("module" => "colorbox", "module_name" => "Colorbox", "link" => '<a href="http://codex.gallery2.org/Gallery3:Modules:colorbox" target="_blank">');
|
||||
endif;
|
||||
if (module::is_active("shadowbox") && module::info("shadowbox")):
|
||||
$check_infos[] = array("module" => "shadowbox", "module_name" => "Shadowbox", "link" => '<a href="http://codex.gallery2.org/Gallery3:Modules:shadowbox" target="_blank">');
|
||||
endif;
|
||||
|
||||
switch (count($check_infos)):
|
||||
case 0:
|
||||
$check_infos[] = array("module" => "fancybox", "module_name" => "Fancybox", "link" => '<a href="http://codex.gallery2.org/Gallery3:Modules:fancybox" target="_blank">');
|
||||
$this->prerequisite_check($group, "fancybox", FALSE,
|
||||
t("Fancybox/Colorbox/Shadowbox") . " " . t("Module"), t("Found"), t("not Found"), TRUE, sprintf(t("Install %smodule%s to Enable %s Support"), '<a href="http://codex.gallery2.org/Gallery3:Modules:fancybox" target="_blank">', '</a>', t("Fancybox")));
|
||||
break;
|
||||
case 1:
|
||||
$check_info = $check_infos[0];
|
||||
$this->prerequisite_check($group, $check_info["module"], TRUE,
|
||||
t($check_info["module_name"]) . " " . t("Module"), t("Found"), t("not Found"), TRUE, sprintf(t("Install %smodule%s to Enable %s Support"), $check_info["link"], '</a>', t($check_info["module_name"])));
|
||||
break;
|
||||
default:
|
||||
$list = "";
|
||||
$first = TRUE;
|
||||
foreach ($check_infos as $key => $check_info):
|
||||
if ($first):
|
||||
$list .= $check_infos[$key]["module_name"];
|
||||
$first = FALSE;
|
||||
else:
|
||||
$list .= ", " . $check_infos[$key]["module_name"];
|
||||
endif;
|
||||
endforeach;
|
||||
|
||||
$this->prerequisite_check($group, "fancybox", FALSE,
|
||||
t($list . " Modules are Active"),
|
||||
"",
|
||||
"",
|
||||
TRUE,
|
||||
t("Slideshow feature would not work correctly. Please activate just one of these modules."));
|
||||
|
||||
break;
|
||||
endswitch;
|
||||
|
||||
$check_info = $check_infos[0];
|
||||
$thumbnavcheck = module::is_active("thumbnav") and module::info("thumbnav");
|
||||
|
||||
$this->prerequisite_check($group, "kbdnavcheck", ((module::is_active("kbd_nav")) and (module::info("kbd_nav"))),
|
||||
t("Kbd Navigation Module"), t("Found"), t("not Found"), TRUE, sprintf(t("Install %smodule%s to Enable Keyboard Navigation Support"), '<a href="http://codex.gallery2.org/Gallery3:Modules:kbd_nav" target="_blank">', '</a>'));
|
||||
$this->prerequisite_check($group, "thumbnavcheck", $thumbnavcheck,
|
||||
t("ThumbNav Module"), t("Found"), t("not Found"), TRUE, sprintf(t("Install %smodule%s to Enable Thumb Navigation Support"), '<a href="http://codex.gallery2.org/Gallery3:Modules:thumbnav" target="_blank">', '</a>'));
|
||||
|
||||
$thumb_ratio = module::get_var("th_greydragon", "thumb_ratio", "photo");
|
||||
$thumb_ratio_ex = FALSE;
|
||||
switch ($thumb_ratio):
|
||||
case "photo_ex":
|
||||
$thumb_ratio = "photo";
|
||||
$thumb_ratio_ex = TRUE;
|
||||
break;
|
||||
case "film_ex":
|
||||
$thumb_ratio = "film";
|
||||
$thumb_ratio_ex = TRUE;
|
||||
break;
|
||||
case "digital_ex":
|
||||
$thumb_ratio = "digital";
|
||||
$thumb_ratio_ex = TRUE;
|
||||
break;
|
||||
case "wide_ex":
|
||||
$thumb_ratio = "wide";
|
||||
$thumb_ratio_ex = TRUE;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
endswitch;
|
||||
|
||||
/* General Settings ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
$sidebar_allowed = module::get_var("th_greydragon", "sidebar_allowed");
|
||||
$sidebar_visible = module::get_var("th_greydragon", "sidebar_visible");
|
||||
|
||||
$group = $form->group("edit_theme")->label(t("General Settings"));
|
||||
$group->hidden("g_auto_delay")
|
||||
->value(module::get_var("th_greydragon", "auto_delay", 30));
|
||||
$group->input("row_count")
|
||||
->label(t("Rows per Album Page"))
|
||||
->rules("required|valid_digit")
|
||||
->error_messages("required", t("You must enter a number"))
|
||||
->error_messages("valid_digit", t("You must enter a number"))
|
||||
->value(module::get_var("th_greydragon", "row_count", 3));
|
||||
$group->dropdown("column_count")
|
||||
->label(t("Columns per Album Page"))
|
||||
->options(array("2" => t("2 columns"), "3" => t("3 columns"), "4" => t("4 columns"), "5" => t("5 columns"), "-1" => t("Flexible (3 x Number of Rows)")))
|
||||
->selected(module::get_var("th_greydragon", "column_count", 3));
|
||||
$group->input("resize_size")
|
||||
->label(t("Resized Image Size (in pixels)"))
|
||||
->rules("required|valid_digit")
|
||||
->error_messages("required", t("You must enter a number"))
|
||||
->error_messages("valid_digit", t("You must enter a number"))
|
||||
->value(module::get_var("gallery", "resize_size"));
|
||||
$group->input("logo_path")
|
||||
->label(t("Alternate Logo Image"))
|
||||
->value(module::get_var("th_greydragon", "logo_path"));
|
||||
$group->input("favicon")
|
||||
->label(t("URL (or relative path) to your favicon.ico"))
|
||||
->value(module::get_var("gallery", "favicon_url"));
|
||||
$group->input("appletouchicon")
|
||||
->label(t("URL (or relative path) to your Apple Touch icon"))
|
||||
->value(module::get_var("gallery", "apple_touch_icon_url"));
|
||||
$group->input("header_text")
|
||||
->label(t("Header Text"))
|
||||
->value(module::get_var("gallery", "header_text"));
|
||||
$group->input("footer_text")
|
||||
->label(t("Footer Text"))
|
||||
->value(module::get_var("gallery", "footer_text"));
|
||||
$group->input("copyright")
|
||||
->label(t("Copyright Message"))
|
||||
->value(module::get_var("th_greydragon", "copyright"));
|
||||
$group->dropdown("colorpack")
|
||||
->label(t("Color Pack/Site theme"))
|
||||
->options(self::get_colorpacks())
|
||||
->selected(module::get_var("th_greydragon", "color_pack", "greydragon"));
|
||||
$group->dropdown("framepack")
|
||||
->label(t("Thumb Frame Pack"))
|
||||
->options(self::get_framepacks())
|
||||
->selected(module::get_var("th_greydragon", "frame_pack", "greydragon"));
|
||||
|
||||
/* Advanced Options - General ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
$group = $form->group("edit_theme_adv_main")->label(t("Advanced Options - General"));
|
||||
$group->dropdown("viewmode")
|
||||
->label(t("Theme View Mode"))
|
||||
->options(array("default" => t("Full Mode (Default)"), "mini" => t("Mini Mode")))
|
||||
->selected(module::get_var("th_greydragon", "viewmode", "default"));
|
||||
$group->dropdown("mainmenu_position")
|
||||
->label(t("Main Menu Position"))
|
||||
->options(array("default" => t("Bottom-Left (Default)"), "top" => t("Top-Left"), "bar" => t("Top Bar")))
|
||||
->selected(module::get_var("th_greydragon", "mainmenu_position"));
|
||||
$group->dropdown("loginmenu_position")
|
||||
->label(t("Login Menu Position"))
|
||||
->options(array("header" => t("Header"), "default" => t("Footer (Default)"), "hide" => t("Hide")))
|
||||
->selected(module::get_var("th_greydragon", "loginmenu_position", "default"));
|
||||
$group->dropdown("breadcrumbs_position")
|
||||
->label(t("Breadcrumbs Position"))
|
||||
->options(array("default" => t("Bottom-Right (Default)"), "bottom-left" => t("Bottom-Left"), "top-right" => t("Top-Right"), "top-left" => t("Top-Left"), "hide" => t("Hide")))
|
||||
->selected(module::get_var("th_greydragon", "breadcrumbs_position"));
|
||||
$group->dropdown("title_source")
|
||||
->label(t("Title Source"))
|
||||
->options(array("default" => t("Title (Default)"), "no-filename" => t("Title/Suppress File Name"), "description" => t("Description")))
|
||||
->selected(module::get_var("th_greydragon", "title_source", "default"));
|
||||
$group->input("custom_css_path")
|
||||
->label(t("File Name of custom.css or equivalent"))
|
||||
->value(module::get_var("th_greydragon", "custom_css_path"));
|
||||
$group->input("resize_quality")
|
||||
->label(t("Resized Image Quallity (in %)"))
|
||||
->rules("required|valid_digit")
|
||||
->error_messages("required", t("You must enter a number"))
|
||||
->error_messages("valid_digit", t("You must enter a number"))
|
||||
->value(module::get_var("gallery", "image_quality", 100));
|
||||
$group->input("visible_title_length")
|
||||
->label(t("Visible Title Length"))
|
||||
->rules("required|valid_digit")
|
||||
->error_messages("required", t("You must enter a number"))
|
||||
->error_messages("valid_digit", t("You must enter a number"))
|
||||
->value(module::get_var("gallery", "visible_title_length", 15));
|
||||
|
||||
$group->checkbox("show_guest_menu")
|
||||
->label(t("Show Main Menu for Guest Users"))
|
||||
->checked(module::get_var("th_greydragon", "show_guest_menu"));
|
||||
$group->checkbox("toolbar_large")
|
||||
->label(t("Use Large Toolbar Buttons"))
|
||||
->checked(module::get_var("th_greydragon", "toolbar_large"));
|
||||
$group->checkbox("show_credits")
|
||||
->label(t("Show Site Credits"))
|
||||
->checked(module::get_var("gallery", "show_credits"));
|
||||
$group->checkbox("breadcrumbs_showinroot")
|
||||
->label(t("Show Breadcrumbs in root album/root page"))
|
||||
->checked(module::get_var("th_greydragon", "breadcrumbs_showinroot"));
|
||||
$group->checkbox("disable_seosupport")
|
||||
->label(t("Disallow Search Engine Indexing (No Bots)"))
|
||||
->checked(module::get_var("th_greydragon", "disable_seosupport"));
|
||||
$group->checkbox("desc_allowbbcode")
|
||||
->label(t("Allow BBCode/HTML in Descriptions"))
|
||||
->checked(module::get_var("th_greydragon", "desc_allowbbcode"));
|
||||
$group->checkbox("use_permalinks")
|
||||
->label(t("Use Permalinks for Navigation"))
|
||||
->checked(module::get_var("th_greydragon", "use_permalinks"));
|
||||
|
||||
/* Advanced Options - Album page ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
$group = $form->group("edit_theme_adv_album")->label(t("Advanced Options - Album Page"));
|
||||
$group->dropdown("paginator_album")
|
||||
->label(t("Paginator Position"))
|
||||
->options(array("top" => t("Top"), "bottom" => t("Bottom"), "both" => t("Both"), "none" => t("None")))
|
||||
->selected(module::get_var("th_greydragon", "paginator_album"));
|
||||
$group->dropdown("album_descmode")
|
||||
->label(t("Description Display Mode"))
|
||||
->options(array("hide" => t("Hide"), "top" => t("Top"), "bottom" => t("Bottom")))
|
||||
->selected(module::get_var("th_greydragon", "album_descmode"));
|
||||
$group->checkbox("disablephotopage")
|
||||
->label(t("Disable Photo Page (use Slideshow Mode)"))
|
||||
->checked(module::get_var("th_greydragon", "disablephotopage"));
|
||||
$group->checkbox("hidecontextmenu")
|
||||
->label(t("Hide Context Menu"))
|
||||
->checked(module::get_var("th_greydragon", "hidecontextmenu"));
|
||||
|
||||
/* Advanced Options - Album page - Thumbs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
$group = $form->group("edit_theme_adv_thumb")->label(t("Advanced Options - Album page - Thumbs"));
|
||||
$group->dropdown("thumb_ratio")
|
||||
->label(t("Aspect Ratio"))
|
||||
->options(array("photo" => t("Actual"), "film" => t("Film/Full Frame 3:2"), "digital" => t("Digital 4:3"), "wide" => t("Wide/HDTV 16:9")))
|
||||
->selected($thumb_ratio);
|
||||
$group->checkbox("thumb_ratio_ex")
|
||||
->label(t("Expanded Aspect Ratio (300px wide)"))
|
||||
->checked($thumb_ratio_ex);
|
||||
$group->dropdown("thumb_imgalign")
|
||||
->label(t("Thumb Image Align"))
|
||||
->options(array("top" => t("Top"), "center" => t("Center"), "bottom" => t("Bottom"), "fit" => t("Fit")))
|
||||
->selected(module::get_var("th_greydragon", "thumb_imgalign"));
|
||||
|
||||
$group->dropdown("thumb_descmode_a")
|
||||
->label(t("Title Display Mode (Album)"))
|
||||
->options(array("overlay" => t("Overlay Top"), "overlay_top" => t("Overlay Top (Static)"),
|
||||
"overlay_bottom" => t("Overlay Bottom (Static)"), "bottom" => t("Bottom"), "hide" => t("Hide")))
|
||||
->selected(module::get_var("th_greydragon", "thumb_descmode_a"));
|
||||
$group->dropdown("thumb_descmode")
|
||||
->label(t("Title Display Mode (Photo)"))
|
||||
->options(array("overlay" => t("Overlay Top"), "overlay_top" => t("Overlay Top (Static)"),
|
||||
"overlay_bottom" => t("Overlay Bottom (Static)"), "bottom" => t("Bottom"), "hide" => t("Hide")))
|
||||
->selected(module::get_var("th_greydragon", "thumb_descmode"));
|
||||
$group->dropdown("thumb_metamode")
|
||||
->label(t("Meta Data Display Mode"))
|
||||
->options(array("default" => t("Overlay (Default)"), "merged" => t("Merge with Title"), "hide" => t("Hide")))
|
||||
->selected(module::get_var("th_greydragon", "thumb_metamode", "default"));
|
||||
$group->checkbox("thumb_random")
|
||||
->label(t("Randomize Thumb Image"))
|
||||
->checked(module::get_var("th_greydragon", "thumb_random"));
|
||||
|
||||
/* Advanced Options - Photo page ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
$group = $form->group("edit_theme_adv_photo")->label(t("Advanced Options - Photo Page"));
|
||||
$group->dropdown("paginator_photo")
|
||||
->label(t("Paginator Position"))
|
||||
->options(array("top" => t("Top"), "bottom" => t("Bottom"), "both" => t("Both"), "none" => t("None")))
|
||||
->selected(module::get_var("th_greydragon", "paginator_photo"));
|
||||
$group->dropdown("photo_descmode")
|
||||
->label(t("Description Display Mode"))
|
||||
->options(array("overlay_top" => t("Overlay Top"), "overlay_bottom" => t("Overlay Bottom"), "overlay_top_s" => t("Overlay Top (Static)"),
|
||||
"overlay_bottom_s" => t("Overlay Bottom (Static)"), "bottom" => t("Bottom"), "top" => t("Top"), "hide" => t("Hide")))
|
||||
->selected(module::get_var("th_greydragon", "photo_descmode"));
|
||||
$group->dropdown("photo_popupbox")
|
||||
->label(t($check_info["module_name"]) . " " . t("Mode"))
|
||||
->options(array("default" => t("Default (Slideshow/Preview)"), "preview" => t("Preview Only"), "none" => t("Disable")))
|
||||
->selected(module::get_var("th_greydragon", "photo_popupbox"));
|
||||
$group->checkbox("thumb_inpage")
|
||||
->label(t("Keep Thumb Nav Block on the side"))
|
||||
->checked(module::get_var("th_greydragon", "thumb_inpage"));
|
||||
if (!$thumbnavcheck):
|
||||
$group->thumb_inpage->disabled(true);
|
||||
endif;
|
||||
$group->checkbox("hide_photometa")
|
||||
->label(t("Hide Item Meta Data"))
|
||||
->checked(module::get_var("th_greydragon", "hide_photometa", TRUE));
|
||||
|
||||
/* Advanced Options - Root Page ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
$group = $form->group("edit_theme_adv_root")->label(t("Advanced Options - Root Page"));
|
||||
$group->checkbox("allow_root_page")
|
||||
->label(t("Allow root page"))
|
||||
->checked(module::get_var("th_greydragon", "allow_root_page"));
|
||||
$group->checkbox("show_root_desc")
|
||||
->label(t("Show Gallery Description"))
|
||||
->checked(!module::get_var("th_greydragon", "hide_root_desc"));
|
||||
$group->input("root_feed")
|
||||
->label(t("Slideshow RSS Feed URL"))
|
||||
->value(module::get_var("th_greydragon", "root_feed", "/gallery3/index.php/rss/feed/gallery/latest"));
|
||||
$group->dropdown("root_cyclemode")
|
||||
->label(t("Cycle Effect (Default: Fade)"))
|
||||
->options(array("fade" => t("Fade"), "fadeout" => t("Fade Out"), "fadeZoom" => t("Fade Zoom"), "blindX" => t("Blind X"), "blindY" => t("Blind Y"),
|
||||
"blindZ" => t("Blind Z"), "cover" => t("Cover"), "curtainX" => t("Curtain X"), "curtainY" => t("Curtain Y"), "growX" => t("Grow X"),
|
||||
"growY" => t("Grow Y"), "none" => t("None"), "scrollUp" => t("Scroll Up"), "scrollDown" => t("Scroll Down"), "scrollLeft" => t("Scroll Left"),
|
||||
"scrollRight" => t("Scroll Right"), "scrollHorz" => t("Scroll Horz"), "scrollVert" => t("Scroll Vert"), "shuffle" => t("Shuffle"),
|
||||
"slideX" => t("Slide X"), "slideY" => t("Slide Y"), "toss" => t("Toss"), "turnUp" => t("Turn Up"), "turnDown" => t("Turn Down"),
|
||||
"turnLeft" => t("Turn Left"), "turnRight" => t("Turn Right"), "uncover" => t("Uncover"), "wipe" => t("Wipe"), "zoom" => t("Zoom")))
|
||||
->selected(module::get_var("th_greydragon", "root_cyclemode"));
|
||||
$group->input("root_delay")
|
||||
->label(t("Slideshow Delay (Default: 15)"))
|
||||
->rules("required|valid_digit")
|
||||
->error_messages("required", t("You must enter a number"))
|
||||
->error_messages("valid_digit", t("You must enter a number"))
|
||||
->value(module::get_var("th_greydragon", "root_delay", "15"));
|
||||
$group->checkbox("hide_root_sidebar")
|
||||
->label(t("Hide Sidebar"))
|
||||
->checked(module::get_var("th_greydragon", "hide_root_sidebar"));
|
||||
$group->textarea("root_description")
|
||||
->label(t("Alternative Description (optional)"))
|
||||
->value(module::get_var("th_greydragon", "root_description"));
|
||||
|
||||
/* Sidebar Options ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
$group = $form->group("edit_theme_side")->label(t("Sidebar Options"));
|
||||
$group->checkbox("hide_blockheader")
|
||||
->label(t("Hide Block Header"))
|
||||
->checked(module::get_var("th_greydragon", "hide_blockheader"));
|
||||
$group->checkbox("sidebar_albumonly")
|
||||
->label(t("Show Sidebar for Albums Only"))
|
||||
->checked(module::get_var("th_greydragon", "sidebar_albumonly"));
|
||||
$group->checkbox("sidebar_hideguest")
|
||||
->label(t("Show Sidebar for Guest Users"))
|
||||
->checked(!module::get_var("th_greydragon", "sidebar_hideguest"));
|
||||
$group->dropdown("sidebar_allowed")
|
||||
->label(t("Allowed Sidebar Positions"))
|
||||
->options(array("any" => t("Any"), "left" => t("Left"), "right" => t("Right"), "bottom" => t("Bottom"), "top" => t("Top"), "default" => t("Default Only")))
|
||||
->selected($sidebar_allowed);
|
||||
$group->dropdown("sidebar_visible")
|
||||
->label(t("Default Sidebar Position"))
|
||||
->options(array("right" => t("Right"), "left" => t("Left"), "bottom" => t("Bottom"), "top" => t("Top"), "none" => t("No sidebar")))
|
||||
->selected($sidebar_visible);
|
||||
|
||||
/* Maintenance ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
$group = $form->group("maintenance")->label(t("Maintenance"));
|
||||
$group->checkbox("build_thumbs")->label(t("Mark all Thumbnails for Rebuild"))->checked(false);
|
||||
$group->checkbox("build_resize")->label(t("Mark all Image Resizes for Rebuild"))->checked(false);
|
||||
$group->checkbox("build_exif")->label(t("Mark Exif Info data for reload"))->checked(false);
|
||||
$group->checkbox("purge_cache")->label(t("Purge cache data"))->checked(false);
|
||||
$group->checkbox("reset_theme")->label(t("Reset Theme to a Default State"))->checked(false);
|
||||
|
||||
module::event("theme_edit_form", $form);
|
||||
|
||||
$form->submit("g-theme-options-save")->value(t("Save Changes"));
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
protected function get_edit_form_help() {
|
||||
$help = '<fieldset>';
|
||||
$help .= '<legend>' . t("Help") . '</legend><ul>';
|
||||
$help .= '<li><h3>' . t("Prerequisites") . '</h3>
|
||||
<p><b>' . t("REQUIREMENTS NEED TO BE MET FOR THE THEME TO FUNCTION PROPERLY.") . '</b><br />
|
||||
' . t("Please refer to the section on the left.") . '
|
||||
</li>';
|
||||
|
||||
$help .= '<li><h3>' . t("General Settings") . '</h3>
|
||||
' . t("<p>Theme is designed to display thumbnails as a table.
|
||||
You can choose different number of <b>Rows/Columns per Album Page</b> or can use <b>Flexible Columns</b>.
|
||||
<p>Default G3 logo can be replaced with your own by providing <b>Alternate Logo Image</b>. Recommended logo size
|
||||
is within 300x80px. If you need bigger space for your logo, CSS would have to be adjusted. Otherwise, Logo could be
|
||||
suppressed altogether by providing <b>Header Text</b> to replace it. <b>Footer Text</b> would be simply placed next
|
||||
to Site's credits.
|
||||
<p><b>Copyright Message</b> can be placed in the right top corner of the footer.
|
||||
<p>Important feature of the theme is a support for Color Packs which is managed by <b>Selected Color Pack</b> Option.
|
||||
<b>Color Pack</b> allows changing colors, styles, theme for the pages. By default 6 color packs are included,
|
||||
but it could be easily extended. Visit Theme's Download page for additional information.
|
||||
<b>Frame Pack</b> allows change Frames used for Thumbs in album pages.") . '
|
||||
</li>';
|
||||
|
||||
$help .= '<li><h3>' . t("Advanced Options - General") . '</h3>
|
||||
' . t("<p>In order to allow easier integration of Gallery 3 within other site infrastructure, Theme supports Special <b>View Mode</b>
|
||||
- when <i>Mini Mode</i> is selected, attempt would be made to minimize space associated with Header/Footer by trimming of
|
||||
the some information. Use with caution. Theme supports CMD parameter to override this selection - add
|
||||
\"?viewmode=default|full|mini\" to site URL in order to trigger a switch for specific browser session. When browser session
|
||||
is restarted, view mode would revert back to default set in Admin Panel.
|
||||
<p>Show your appreciation for our hard work by allowing <b>Show Site Credits</b> or contributing to our Coffee Fund.
|
||||
<p>If main menu has functionality intended for guest users you can use <b>Show Main Menu for Guest Users</b> to keep it
|
||||
visible.
|
||||
<br />You can go even further and move main menu to the top of the header with breadcrumbs taking it place by selecting
|
||||
<b>Alternate Header Layout</b>. <br />Then if you prefer breadcrumbs not being used, simply hide it with <b>Hide
|
||||
Breadcrumbs</b> option.
|
||||
<br />Then you can decide if you want to <b>Show Breadcrumbs</b> in the root album/root page.
|
||||
<p>If you like to add some cool effects while navigating between pages,
|
||||
enable <b>Blend Page Transition</b>.
|
||||
<p><b>Paginator Position</b> could be changed to display it above and/or below the main content.
|
||||
<p>You can further fine tune theme using custom CSS file by providing file name (file need to be located in <b>themes/custom</b>
|
||||
folder) or more specific location in form of <b>your_path/your_file_name.css</b> if different.
|
||||
<p>Block web crawlers from indexing your Gallery with <b>Disallow Search Engine Indexing</b> Option.") . '
|
||||
</li>';
|
||||
$help .= '<li><h3>' . t("Advanced Options - Album page - Thumbs") . '</h3>
|
||||
' . t("<p>Options in this section adjust how Photo's Thumb images are displayed.
|
||||
<p><b>Aspect Ratio</b> specifies layout/size of the thumb. Setting should be used with understanding that some
|
||||
information may be out of visible area (crop). When switching to/from <b>Actual Size</b>, it is recommended to rebuild
|
||||
thumbs so that proper settings are used for thumb resize logic (see Maintenance section below). Combined with
|
||||
<b>Expanded Aspect Ratio (300px wide)</b> you can switch between 200px and 300px wide thumb images.
|
||||
<p><b>Title Display Mode</b> and <b>Meta Data Display Mode</b> allows changing how Item's caption and Meta Data is
|
||||
displayed. And selecting <b>Merge with Title</b> would place meta data with the Title.
|
||||
<p>Randomize your thumbs by enabling <b>Randomize Thumb Image</b> (Please use with caution as it does introduce extra
|
||||
load for database.).") . '
|
||||
</li>';
|
||||
$help .= '<li><h3>' . t("Advanced Options - Photo Page") . '</h3>
|
||||
' . t("<p>Options in this section adjust how individual Photo are presented to the viewer.
|
||||
<p>With <b>ShadowBox Mode</b>, theme's logic could be adjusted in how Slideshow module is integrated.
|
||||
<br />As with Title in Photo Thumbs, <b>Description Display Mode</b> changes how Photo Description is displayed.
|
||||
<br />You can choose to <b>Keep Thumb Nav Block on the side</b> of the Photo when Page is displayed with bottom aligned
|
||||
or hidden Sidebar.
|
||||
<br />And if metadata (owner/clicks/etc.) is unnecessary, it could be removed with <b>Hide Item Meta Data</b>.
|
||||
<p>Theme allows use of BBCode/HTML in item's descriptions, to enable it select <b>Allow BBCode/HTML in Descriptions</b>.") . '
|
||||
</li>';
|
||||
$help .= '<li><h3>' . t("Advanced Options - Root Page") . '</h3>
|
||||
' . t("<p>Special option which allows adding special root/landing page with slideshow utilizing specified <b>Slideshow RSS Feed
|
||||
URL</b> (Default: /gallery3/index.php/rss/feed/gallery/latest).
|
||||
<p>To enable it, select <b>Allow root page</b>.
|
||||
<p>Add small description on the side of the slideshow with <b>Show Gallery Description</b>.
|
||||
<br />Adjust rotation delay with <b>Slideshow Delay</b>.
|
||||
<br />If Sidebar is not desired in the Root Page it could be hidden with <b>Hide Sidebar</b> option.
|
||||
<br />By default, description content is populated from description of the root album, but by providing <b>Alternative
|
||||
Description</b> you can overwrite it.") . '
|
||||
</li>';
|
||||
$help .= '<li><h3>' . t("Sidebar Options") . '</h3>
|
||||
' . t("<p>If Block's header is not desired, it could be removed using <b>Hide Block Header</b>.
|
||||
<p>Sidebar visibility could be limited to individual Photo pages with
|
||||
<b>Show Sidebar for Albums Only</b>.
|
||||
<p>When sidebar is visible it can be placed on the left or right of the
|
||||
screen or removed altogether using <b>Allowed Sidebar Positions</b>.
|
||||
If more than one position is allowed, <b>Default Sidebar Position</b>
|
||||
would indicate default state, but visitor would able change it later.") . '
|
||||
</li>';
|
||||
$help .= '<li><h3>' . t("Maintenance") . '</h3>
|
||||
' . t("<p>Without changing image size, you can <b>Mark all Resizes for Rebuild</b>.
|
||||
Then you need to visit Admin\Maintenance to initiate the process.
|
||||
<p>Same can be done for image thumbs with <b>Mark all Thumbnails for Rebuild</b>.
|
||||
<p><b>Mark Exif/IPTC Info for reload</b> would mark all Exif or IPTC records as \"Dirty\" allowing it to be repopulated.
|
||||
<p>And just in case you think that something is not right, you can always <b>Reset Theme to a Default State</b>.") . '
|
||||
</li>';
|
||||
$help .= '</ul></fieldset>';
|
||||
return $help;
|
||||
}
|
||||
|
||||
private function save_item_state($statename, $state, $value) {
|
||||
if ($state):
|
||||
module::set_var("th_greydragon", $statename, $value);
|
||||
else:
|
||||
module::clear_var("th_greydragon", $statename);
|
||||
endif;
|
||||
}
|
||||
|
||||
protected function legacy() {
|
||||
module::clear_var("th_greydragon", "photonav_top");
|
||||
module::clear_var("th_greydragon", "photonav_bottom");
|
||||
module::clear_var("th_greydragon", "hide_sidebar_photo");
|
||||
module::clear_var("th_greydragon", "hide_thumbdesc");
|
||||
module::clear_var("th_greydragon", "use_detailview");
|
||||
module::clear_var("th_greydragon", "horizontal_crop");
|
||||
module::clear_var("th_greydragon", "photo_shadowbox");
|
||||
module::clear_var("th_greydragon", "root_text");
|
||||
module::clear_var("th_greydragon", "enable_pagecache");
|
||||
|
||||
module::clear_var("th_greydragon", "navigator_album");
|
||||
module::clear_var("th_greydragon", "navigator_photo");
|
||||
|
||||
module::clear_var("th_greydragon", "blendpagetrans");
|
||||
module::clear_var("th_greydragon", "last_update");
|
||||
module::clear_var("th_greydragon", "thumb_quality");
|
||||
}
|
||||
|
||||
protected function reset_theme() {
|
||||
// Default core theme settings
|
||||
module::set_var("gallery", "page_size", 9);
|
||||
module::set_var("gallery", "resize_size", 640);
|
||||
module::set_var("gallery", "thumb_size", 200);
|
||||
module::set_var("gallery", "header_text", "");
|
||||
module::set_var("gallery", "footer_text", "");
|
||||
module::set_var("gallery", "show_credits", FALSE);
|
||||
|
||||
module::clear_all_vars("th_greydragon");
|
||||
}
|
||||
|
||||
public function save() {
|
||||
site_status::clear("gd_init_configuration");
|
||||
access::verify_csrf();
|
||||
|
||||
$form = self::get_edit_form_admin();
|
||||
|
||||
if ($form->validate()):
|
||||
$this->legacy();
|
||||
|
||||
if ($form->maintenance->reset_theme->value):
|
||||
$this->reset_theme();
|
||||
module::event("theme_edit_form_completed", $form);
|
||||
message::success(t("Theme details are reset"));
|
||||
else:
|
||||
// * General Settings ****************************************************
|
||||
|
||||
$resize_size = $form->edit_theme->resize_size->value;
|
||||
|
||||
$build_resize = $form->maintenance->build_resize->value;
|
||||
$build_thumbs = $form->maintenance->build_thumbs->value;
|
||||
$build_exif = $form->maintenance->build_exif->value;
|
||||
if (module::is_active("iptc") and module::info("iptc")):
|
||||
$build_iptc = $form->maintenance->build_iptc->value;
|
||||
else:
|
||||
$build_iptc = FALSE;
|
||||
endif;
|
||||
$purge_cache = $form->maintenance->purge_cache->value;
|
||||
|
||||
$color_pack = $form->edit_theme->colorpack->value;
|
||||
$frame_pack = $form->edit_theme->framepack->value;
|
||||
$thumb_imgalign = $form->edit_theme_adv_thumb->thumb_imgalign->value;
|
||||
$thumb_descmode_a = $form->edit_theme_adv_thumb->thumb_descmode_a->value;
|
||||
$thumb_descmode = $form->edit_theme_adv_thumb->thumb_descmode->value;
|
||||
$thumb_metamode = $form->edit_theme_adv_thumb->thumb_metamode->value;
|
||||
$photo_descmode = $form->edit_theme_adv_photo->photo_descmode->value;
|
||||
$photo_popupbox = $form->edit_theme_adv_photo->photo_popupbox->value;
|
||||
$resize_quality = $form->edit_theme_adv_main->resize_quality->value;
|
||||
|
||||
if ($build_resize):
|
||||
graphics::remove_rule("gallery", "resize", "gallery_graphics::resize");
|
||||
graphics::add_rule("gallery", "resize", "gallery_graphics::resize",
|
||||
array("width" => $resize_size, "height" => $resize_size, "master" => Image::AUTO), 100);
|
||||
endif;
|
||||
|
||||
if (module::get_var("gallery", "image_quality") != $resize_quality):
|
||||
module::set_var("gallery", "image_quality", $resize_quality);
|
||||
endif;
|
||||
|
||||
if (module::get_var("gallery", "resize_size") != $resize_size):
|
||||
module::set_var("gallery", "resize_size", $resize_size);
|
||||
endif;
|
||||
|
||||
$_priorratio = module::get_var("th_greydragon", "thumb_ratio", "photo");
|
||||
$thumb_ratio = $form->edit_theme_adv_thumb->thumb_ratio->value;
|
||||
$thumb_ratio_ex = $form->edit_theme_adv_thumb->thumb_ratio_ex->value;
|
||||
if ($thumb_ratio_ex):
|
||||
$thumb_ratio .= "_ex";
|
||||
endif;
|
||||
|
||||
if ($thumb_ratio_ex):
|
||||
$thumb_size = 300;
|
||||
else:
|
||||
$thumb_size = 200;
|
||||
endif;
|
||||
|
||||
if ($thumb_ratio == "photo"):
|
||||
$rule = Image::AUTO;
|
||||
else:
|
||||
$rule = Image::WIDTH;
|
||||
endif;
|
||||
|
||||
if ($build_thumbs):
|
||||
graphics::remove_rule("gallery", "thumb", "gallery_graphics::resize");
|
||||
graphics::add_rule("gallery", "thumb", "gallery_graphics::resize",
|
||||
array("width" => $thumb_size, "height" => $thumb_size, "master" => $rule), 100);
|
||||
endif;
|
||||
|
||||
if (module::get_var("gallery", "thumb_size") != $thumb_size):
|
||||
module::set_var("gallery", "thumb_size", $thumb_size);
|
||||
endif;
|
||||
|
||||
$row_count = $form->edit_theme->row_count->value;
|
||||
$column_count = $form->edit_theme->column_count->value;
|
||||
$this->save_item_state("row_count", 3, $row_count);
|
||||
$this->save_item_state("column_count", 3, $column_count);
|
||||
if ($column_count == -1):
|
||||
$column_count = 3;
|
||||
endif;
|
||||
module::set_var("gallery", "page_size", $row_count * $column_count);
|
||||
module::set_var("gallery", "header_text", $form->edit_theme->header_text->value);
|
||||
module::set_var("gallery", "footer_text", $form->edit_theme->footer_text->value);
|
||||
module::set_var("gallery", "favicon_url", $form->edit_theme->favicon->value);
|
||||
module::set_var("gallery", "apple_touch_icon_url", $form->edit_theme->appletouchicon->value);
|
||||
|
||||
$this->save_item_state("copyright", $form->edit_theme->copyright->value, $form->edit_theme->copyright->value);
|
||||
$this->save_item_state("logo_path", $form->edit_theme->logo_path->value, $form->edit_theme->logo_path->value);
|
||||
$this->save_item_state("color_pack", (($color_pack) and ($color_pack != "greydragon")), $color_pack);
|
||||
$this->save_item_state("frame_pack", (($frame_pack) and ($frame_pack != "greydragon")), $frame_pack);
|
||||
|
||||
$auto_delay = $form->edit_theme->g_auto_delay->value;
|
||||
$this->save_item_state("auto_delay", $auto_delay != 30, $auto_delay);
|
||||
|
||||
// * Advanced Options - General ******************************************
|
||||
|
||||
$this->save_item_state("viewmode", $form->edit_theme_adv_main->viewmode->value != "default", $form->edit_theme_adv_main->viewmode->value);
|
||||
$this->save_item_state("toolbar_large", $form->edit_theme_adv_main->toolbar_large->value, TRUE);
|
||||
module::set_var("gallery", "show_credits", $form->edit_theme_adv_main->show_credits->value);
|
||||
$this->save_item_state("show_guest_menu", $form->edit_theme_adv_main->show_guest_menu->value, TRUE);
|
||||
$this->save_item_state("loginmenu_position", $form->edit_theme_adv_main->loginmenu_position->value != "default", $form->edit_theme_adv_main->loginmenu_position->value);
|
||||
$this->save_item_state("mainmenu_position", $form->edit_theme_adv_main->mainmenu_position->value != "default", $form->edit_theme_adv_main->mainmenu_position->value);
|
||||
$this->save_item_state("breadcrumbs_position", $form->edit_theme_adv_main->breadcrumbs_position->value != "default", $form->edit_theme_adv_main->breadcrumbs_position->value);
|
||||
$this->save_item_state("breadcrumbs_showinroot",$form->edit_theme_adv_main->breadcrumbs_showinroot->value, TRUE);
|
||||
$this->save_item_state("custom_css_path", $form->edit_theme_adv_main->custom_css_path->value != "", $form->edit_theme_adv_main->custom_css_path->value);
|
||||
$this->save_item_state("disable_seosupport", $form->edit_theme_adv_main->disable_seosupport->value, TRUE);
|
||||
$this->save_item_state("desc_allowbbcode", $form->edit_theme_adv_main->desc_allowbbcode->value, TRUE);
|
||||
module::set_var("gallery", "visible_title_length", $form->edit_theme_adv_main->visible_title_length->value);
|
||||
$this->save_item_state("title_source", $form->edit_theme_adv_main->title_source->value != "default", $form->edit_theme_adv_main->title_source->value);
|
||||
$this->save_item_state("use_permalinks", $form->edit_theme_adv_main->use_permalinks->value, TRUE);
|
||||
|
||||
// * Advanced Options - Album page ***************************************
|
||||
|
||||
$this->save_item_state("album_descmode", $form->edit_theme_adv_album->album_descmode->value != "hide", $form->edit_theme_adv_album->album_descmode->value);
|
||||
$this->save_item_state("paginator_album", $form->edit_theme_adv_album->paginator_album->value != "top", $form->edit_theme_adv_album->paginator_album->value);
|
||||
$this->save_item_state("disablephotopage", $form->edit_theme_adv_album->disablephotopage->value, TRUE);
|
||||
$this->save_item_state("hidecontextmenu", $form->edit_theme_adv_album->hidecontextmenu->value, TRUE);
|
||||
|
||||
// * Advanced Options - Album page - Thumbs ******************************
|
||||
|
||||
$this->save_item_state("thumb_ratio", $thumb_ratio != "photo", $thumb_ratio);
|
||||
$this->save_item_state("thumb_imgalign", $thumb_imgalign != "top", $thumb_imgalign);
|
||||
$this->save_item_state("thumb_descmode_a", $thumb_descmode_a != "overlay", $thumb_descmode_a);
|
||||
$this->save_item_state("thumb_descmode", $thumb_descmode != "overlay", $thumb_descmode);
|
||||
$this->save_item_state("thumb_metamode", $thumb_metamode != "default", $thumb_metamode);
|
||||
$this->save_item_state("thumb_random", $form->edit_theme_adv_thumb->thumb_random->value, TRUE);
|
||||
|
||||
// * Advanced Options - Photo page ***************************************
|
||||
|
||||
$this->save_item_state("paginator_photo", $form->edit_theme_adv_photo->paginator_photo->value != "top", $form->edit_theme_adv_photo->paginator_photo->value);
|
||||
$this->save_item_state("photo_descmode", $photo_descmode != "overlay_top", $photo_descmode);
|
||||
$this->save_item_state("photo_popupbox", $photo_popupbox != "default", $photo_popupbox);
|
||||
$this->save_item_state("thumb_inpage", $form->edit_theme_adv_photo->thumb_inpage->value, TRUE);
|
||||
$this->save_item_state("hide_photometa", !$form->edit_theme_adv_photo->hide_photometa->value, FALSE);
|
||||
|
||||
// * Advanced Options - Root page ****************************************
|
||||
|
||||
$rssmodulecheck = module::is_active("rss") and module::info("rss");
|
||||
|
||||
$root_feed = $form->edit_theme_adv_root->root_feed->value;
|
||||
$root_cyclemode = $form->edit_theme_adv_root->root_cyclemode->value;
|
||||
$root_delay = $form->edit_theme_adv_root->root_delay->value;
|
||||
$root_description = $form->edit_theme_adv_root->root_description->value;
|
||||
|
||||
$this->save_item_state("allow_root_page", $form->edit_theme_adv_root->allow_root_page->value, TRUE);
|
||||
$this->save_item_state("hide_root_desc", !$form->edit_theme_adv_root->show_root_desc->value, TRUE);
|
||||
$this->save_item_state("root_feed", $root_feed != "gallery/latest", $root_feed);
|
||||
$this->save_item_state("root_cyclemode", $root_cyclemode != "fade", $root_cyclemode);
|
||||
$this->save_item_state("root_delay", $root_delay != "15", $root_delay);
|
||||
$this->save_item_state("hide_root_sidebar", $form->edit_theme_adv_root->hide_root_sidebar->value, TRUE);
|
||||
$this->save_item_state("root_description", $root_description, $root_description);
|
||||
|
||||
// * Sidebar Options *****************************************************
|
||||
|
||||
$sidebar_allowed = $form->edit_theme_side->sidebar_allowed->value;
|
||||
$sidebar_visible = $form->edit_theme_side->sidebar_visible->value;
|
||||
|
||||
if ($sidebar_allowed == "right"):
|
||||
$sidebar_visible = "right";
|
||||
endif;
|
||||
if ($sidebar_allowed == "left"):
|
||||
$sidebar_visible = "left";
|
||||
endif;
|
||||
|
||||
$this->save_item_state("hide_blockheader", $form->edit_theme_side->hide_blockheader->value, TRUE);
|
||||
$this->save_item_state("sidebar_albumonly", $form->edit_theme_side->sidebar_albumonly->value, TRUE);
|
||||
$this->save_item_state("sidebar_hideguest", !$form->edit_theme_side->sidebar_hideguest->value, TRUE);
|
||||
$this->save_item_state("sidebar_allowed", $sidebar_allowed != "any", $sidebar_allowed);
|
||||
$this->save_item_state("sidebar_visible", $sidebar_visible != "right", $sidebar_visible);
|
||||
|
||||
$this->save_item_state("last_update", TRUE, time());
|
||||
|
||||
module::event("theme_edit_form_completed", $form);
|
||||
|
||||
if ($_priorratio != $thumb_ratio):
|
||||
message::warning(t("Thumb aspect ratio has been changed. Consider rebuilding thumbs if needed."));
|
||||
endif;
|
||||
|
||||
message::success(t("Updated theme details"));
|
||||
|
||||
if ($build_exif):
|
||||
db::update('exif_records')
|
||||
->set(array('dirty'=>'1'))
|
||||
->execute();
|
||||
endif;
|
||||
|
||||
if ($build_iptc):
|
||||
db::update('iptc_records')
|
||||
->set(array('dirty'=>'1'))
|
||||
->execute();
|
||||
endif;
|
||||
|
||||
if ($purge_cache):
|
||||
db::build()
|
||||
->delete("caches")
|
||||
->execute();
|
||||
endif;
|
||||
endif;
|
||||
url::redirect("admin/theme_options");
|
||||
else:
|
||||
print $this->get_admin_view();
|
||||
endif;
|
||||
}
|
||||
|
||||
protected function get_admin_view() {
|
||||
$view = new Admin_View("admin.html");
|
||||
$view->page_title = t("Grey Dragon Theme");
|
||||
$view->content = new View("admin_theme_options.html");
|
||||
$view->content->name = self::get_theme_name();
|
||||
$view->content->version = self::get_theme_version();
|
||||
$view->content->form = self::get_edit_form_admin();
|
||||
$view->content->help = self::get_edit_form_help();
|
||||
return $view;
|
||||
}
|
||||
|
||||
public function index() {
|
||||
site_status::clear("gd_init_configuration");
|
||||
print $this->get_admin_view();
|
||||
}
|
||||
}
|
||||
?>
|
||||
38
themes/greydragon/admin/views/admin_theme_options.html.php
Executable file
@@ -0,0 +1,38 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.");
|
||||
/**
|
||||
* Grey Dragon Theme - a custom theme for Gallery 3
|
||||
* This theme was designed and built by Serguei Dosyukov, whose blog you will find at http://blog.dragonsoft.us
|
||||
* Copyright (C) 2009-2011 Serguei Dosyukov
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General
|
||||
* Public License as published by the Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with this program; if not, write to
|
||||
* the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
$gd_shared_installed = (module::is_active("greydragon") && module::info("greydragon"));
|
||||
if ($gd_shared_installed):
|
||||
$view = new View("gd_admin_include.html");
|
||||
$view->is_module = FALSE;
|
||||
$view->downloadid = 1;
|
||||
$view->name = "greydragon";
|
||||
$view->form = $form;
|
||||
$view->help = $help;
|
||||
else:
|
||||
$view = '<div id="g-greydragon-admin" class="g-block">';
|
||||
$view .= "<h1>" . t("Prerequisite") . "</h1><hr>";
|
||||
$view .= "<p>" . t("This theme requires GreyDragon shared module to be installed and actived first.") . "</p>";
|
||||
$view .= "<p>" . t("Please download it") . ' <a href="http://codex.gallery2.org/Gallery3:Modules:greydragon" target="_blank">' . t("here") . "</a> " . t("and install. Make sure it is activated.") . "</p>";
|
||||
$view .= "</div>";
|
||||
endif;
|
||||
|
||||
print $view;
|
||||
?>
|
||||
|
||||
641
themes/greydragon/changelog.txt
Executable file
@@ -0,0 +1,641 @@
|
||||
=== Grey Dragon Theme ===
|
||||
Grey Dragon Theme - a custom theme for Gallery 3
|
||||
|
||||
This theme was designed and built by Serguei Dosyukov, whose blog you will find
|
||||
at http://blog.dragonsoft.us/
|
||||
Copyright (C) 2009-2012 Serguei Dosyukov
|
||||
|
||||
Tested up to: G3 3.0.3 build 55
|
||||
Minimum requirement: G3 3.0.2 build 49
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; either version 2 of the License, or (at your option) any later
|
||||
version. This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||
details. You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
=== Open issues ===
|
||||
- RTL layout support
|
||||
|
||||
=== Changelog ===
|
||||
version 4.0.2
|
||||
- Incompatability fix for PHP5.4 and below causing crash and blank page. http://galleryproject.org/forum_theme_greydragon?page=48#comment-408923
|
||||
- Fix to allow thumbnail rotation update when operation is performed. http://galleryproject.org/forum_theme_greydragon?page=48#comment-408993
|
||||
- Cycle JS: Added fadeout support. Fixed issue in root page when "Click to Enter" link would disappear with some effects
|
||||
|
||||
version 4.0.1
|
||||
- Code converted to use latest jQuery library
|
||||
- Added support for RWInfo meta data injection
|
||||
- CSS: Fixes a phenomenon where dialog content not setting proper width in FF/Ch
|
||||
- CSS: Fixes a phenomenon where context menu shows empty space above first item
|
||||
- Added support for g-movie class in thumbs
|
||||
- Admin: Better help translation
|
||||
- Logic to load frame template optimized to prevent exception
|
||||
- thumb_top()/thumb_botom() call moved inside div.g-thumbslide per Dave's request
|
||||
- Markup cleanup for W3C validation
|
||||
- CSS: small layout size adjustments in Simple Frame Pack
|
||||
- Photo Page: fixed issue with image preload logic when one of the items is an album
|
||||
- Added code protection to paginator when item is not well defined - missing ->url() method
|
||||
- Breadcrumbs to take advantage of new logic introduced in latest G3 core for tags and search
|
||||
- Added support for tag_albums module for pagination
|
||||
- FP: Fix for Book frame pack - missing frame for movie thumbs
|
||||
- Photo pages in Tag based collections do not support full item list. As result First/Last page paginator buttons and page list need to be disabled.
|
||||
- Updated jQuery Cycle plug-in to latest version
|
||||
- CSS: fixes for movie thumbnail in greydragon framepack
|
||||
|
||||
version 3.2.2
|
||||
- CSS: Fixes a phenomenon where dialog content not aligning properly under some conditions
|
||||
- CSS: Fixes a phenomenon where login dialog for error/login and reauthenticate pages were not in sync
|
||||
- Movie thumb and Photo IDs are adjusted to comply with 3.0.3 notation
|
||||
- Photo page image precache javascript moved into .ready to speed up the page load
|
||||
- CP: Roundrobin styles improvements - top login positioning adjusted, removed padding for root page when sidebar is used
|
||||
- ADMIN: Added prerequisite check for CURL support in PHP
|
||||
|
||||
version 3.2.1
|
||||
- Logic to process command line parameters changed to prevent unhandled exception on some LAMP instances
|
||||
|
||||
version 3.2.0
|
||||
- Theme is now HTML 5
|
||||
- CSS: Dropped support for IE 6
|
||||
- IMPORTANT: .g-extended class moved from .g-item level into a <body> to allow layout manipulation based on thumb formats. Styles are affected.
|
||||
- Added class marker to page's <body> element to indicate current sidebar mode - g-sidebar-xxxxxxxx
|
||||
- CSS: Min width of the gallery is now enforced based on number of columns and sidebar visibility - extended thumbs 3/4 columns
|
||||
- CSS: Decrease size of the column for 3 column layout to 31% to prevent wrapping in some browser modes
|
||||
- ADMIN: Logic added to inform site owner about new versions of the theme
|
||||
- ADMIN: Admin page layout is now based on shared GreyDragon module which is now required
|
||||
- ADMIN: "Visible Title Length" option - access to G3 title length setting.
|
||||
- ADMIN: Use Permalinks for navigation - allows /root, /enter be used for root page access.
|
||||
Requires the following rules added in .htaccess <mod_rewrite.c> section
|
||||
|
||||
########## Enable /root url ################
|
||||
#
|
||||
RewriteRule ^root ?root=yes [NC]
|
||||
RewriteRule ^enter ?root=no [NC]
|
||||
#
|
||||
############################################
|
||||
|
||||
- Visible Title Length is now taken in consideration when displaying Photo Titles in thumbs, breadcrumbs, etc.
|
||||
- Improved file name detection for Title Source
|
||||
- CP: new color pack - Round Robin \
|
||||
- FP: new frame pack - Round Corners / combined would give look of Clean Canvas theme
|
||||
- FP: Book frame pack : removed right padding to prevent wrapping on smaller resolutions
|
||||
- FP: Wall frame pack : min width decreased to all proper alignment of tiles
|
||||
- jquery.cycle.js updated to v.2.9999.4
|
||||
- Synchronize Calendar page with page.html.php
|
||||
- CSS: forms.css - fixed two misspelled rules
|
||||
- Added code protection from Camel case in CMD parameters
|
||||
- Fixed issue with missing status icons for some colorpacks in Upload dialog
|
||||
- Added code protection in Root page to detect situation when roller is empty and then do not initialize the cycle plugin
|
||||
- Added translation support for default thumb caption (Photo #, Movie #, etc)
|
||||
|
||||
version 3.1.4
|
||||
- ADMIN: Option to specify image quality level for Photo resizes and Thumbs
|
||||
- ADMIN: Additional Description Display Mode for Photo page : Overlay Top (Static), Overlay Bottom (Static)
|
||||
- ADMIN: Title Source - manage what thumb/image title is based on : Title | Title/Suppress Filename | Description
|
||||
- Added support for normalize.css - see http://necolas.github.com/normalize.css/ for more details
|
||||
- Added rel=nofollow for sidebar mode switch links to prevent indexing
|
||||
- Fix: module check failing in admin section when none of colorbox, shadowbox or fancybox is intalled
|
||||
- Fix: CSS: Added missing rule for size of the thumb in Wall frame pack for "Actual" aspect ratio
|
||||
- Fix: CSS: Fixed "Forgot password" misalignment in Login dialog
|
||||
- G3 version requirement increased to 3.0.2
|
||||
|
||||
version 3.1.3
|
||||
- Removed validation for ImageBlockEx preventing use of RootPage option
|
||||
- Removed JS code - attempt to have fadeIn effect
|
||||
|
||||
version 3.1.2
|
||||
- CSS: Fixed issue with breadcrumbs divider in colorpacks
|
||||
- CSS: Fixed issue with thumb description positioning
|
||||
|
||||
version 3.1.1
|
||||
- Removed some redundant code in page.html.php
|
||||
- Fixed issue with fixed Columns style not being applied
|
||||
- Added code protection for situation when $position is not defined in paginator.html.php
|
||||
- CSS: Fixed issues with popup menu positioning
|
||||
|
||||
version 3.1.0
|
||||
- CSS: !!! Folder Structure Change !!! colors.css and frame.css added to aggregated CSS.
|
||||
- ADMIN: Root Page is now iPad/Mac compatible - Flash player has been replaced with jquery.cycle - option added to manage
|
||||
rotation mode. ImageBlockEx module is no longer required. For hosts where there is a block accessing local RSS feed,
|
||||
rootpage.html.php_fix can be used (old style) by renaming it and placing into /themes/custom/views folder
|
||||
- ADMIN: New option - Hide Context Menu for thumbs
|
||||
- ADMIN: New option - Disable photo page - open FancyBox style slideshow directly from album page
|
||||
- ADMIN: New option - Show Sidebar for Guest Users
|
||||
- ADMIN: Option for Thumb alignment extended to Top/Center/Bottom/Fit
|
||||
- ADMIN: Option's order change in Advanced Options - General
|
||||
- ADMIN: Large toolbar buttons
|
||||
- ADMIN: "Blend Page Transitions" is replaced with JS version
|
||||
- ADMIN: Corrected setting for Apple Touch Fav Icon to use G3 default setting
|
||||
- ADMIN: "Login Menu Position" expanded to allow login to be hidden. Admin can access Admin area using http://site_url/admin URL
|
||||
- CP: New color pack - White Hawk
|
||||
- FP: New frame pack - Wall
|
||||
- FP: Support for custom frame content added - frame.html.php
|
||||
- Core: Current framepack is now referenced by the page
|
||||
- Core: Body class logic moved into theme's library class
|
||||
- Core: "Up" navigation button now would take you to item's associated page rather then to first page of the album
|
||||
- Core: Fixed issue of Sidebar position setting not being picked up under some conditions
|
||||
- Core: Improved detection for root page - if root album id <> 1
|
||||
- Core: Framepack and viewmode URL parameter value is now retained for duration of the session
|
||||
- Core: In "Disable photo page" mode, if EXIF module is disabled, thumb would include clickable reference to EXIF dialog
|
||||
- Core: Breadcrumbs are now using :: as divider instead of image
|
||||
- CSS: Column/Colorpack classes (ex: g-column-3, g-wall) moved one level up from ul#g-album-grid to div.g-album-grid-container
|
||||
- CSS: Fixed issue with meta data alignment in Simple frame pack
|
||||
- CSS: Fixed issue with permission dialog's breadcrumbs alignment
|
||||
- CSS: removed left padding for navigator thumbs which was causing image "jumps"
|
||||
- CSS: Some images were changed
|
||||
- JS: Shadowbox settings moved out of the theme into module itself.
|
||||
|
||||
version 3.0.8
|
||||
- Fixed issue with allowed sidebar position not properly recognized when used as Default
|
||||
- Fix issue with missing quotes in Admin module
|
||||
- Fixed issue with uninitialized variable in admin page
|
||||
- Fixed background for view-calendar.png for some color packs
|
||||
- CSS: Center content of ThumbNav module. If non default thumb size is used for module, setting may need to be adjusted.
|
||||
- CSS: Added new style sheet for iPad support
|
||||
|
||||
version 3.0.7
|
||||
- ADMIN: Added support for View Mode - Full/Mini (ex: ?viewmode=mini | ?viewmode=full | ?viewmode=default )
|
||||
- ADMIN: Paginator position now can be set independently for Album and Photo pages
|
||||
- ADMIN: Added Colorbox slideshow detection
|
||||
- Theme.info adjusted to match new guidelines
|
||||
- CSS: GreyDragon Color Pack - fixed thumb background color issue with GreyDragon Frame Pack
|
||||
- CSS: changes to improve Basket Module integration
|
||||
- CSS: #g-album-grid element now references framepack used for better interaction between frame and color packs (ex: class="g-slateblue")
|
||||
- Fix issue with sidebar not properly displayed in Root Page
|
||||
- Fix issue with missing thumb image not being aligned properly in "Actual Aspect Ratio" mode
|
||||
|
||||
version 3.0.6
|
||||
- Fix: Using Top aligned sidebar causes problem
|
||||
|
||||
version 3.0.5
|
||||
- ADMIN: Allow hiding sidebar for root pages -> Advanced Options\Root Page\Hide Sidebar
|
||||
- ADMIN: Allow breadcrumbs in root page/root album -> Advanced Options\General\Show Breadcrumbs in top album/root page
|
||||
- Fixed issue with Calendar not displayed properly when no items are returned
|
||||
- CSS: Increased padding for in-page description block
|
||||
|
||||
version 3.0.4
|
||||
- FP: New framepack - book
|
||||
Please note that if bottom aligned description is used, it need to be the same for both album and photo thumbs.
|
||||
- CSS: #g-album-grid-container renamed to .g-album-grid-container
|
||||
- CSS: Fixed slight misalignment of 3 level main menu items
|
||||
- ADMIN: New position for main menu - Top Bar - top aligned/fixed positioned menu. Useful for admin mode menu
|
||||
- ADMIN: Added support for separate option for description position in album thumbs
|
||||
|
||||
version 3.0.3
|
||||
- ADMIN: Added option for Root Page slideshow delay
|
||||
- ADMIN: Added option for Alternative Description for Root Page which overwrites Description from Root album
|
||||
- CSS: Fix issue with context menu hotspot z-index in thumbs
|
||||
- CSS: Fixed margin in Uploadify dialog to prevent overlap
|
||||
- ADMIN: Page cache option has been deprecated. It can be achieved via .htaccess instead
|
||||
|
||||
version 3.0.2
|
||||
- Wind Color Pack: Fixed issue with missing background image for dialog header
|
||||
- CSS: Wind Color Pack: Set dialog background to white
|
||||
- ADMIN: Fixed issue of Maintenance group label not being translated
|
||||
- Fixed issue with float division for photo page
|
||||
- Fixed issue with BBCode in info block not being converted (regression error)
|
||||
- Fixed small misalignment of the image with the "Actual" Aspect Ratio Thumb
|
||||
- Added CSS class marker for portrait thumb images
|
||||
- IE9: Added support for Pinned Site mode and Jump List menu
|
||||
|
||||
version 3.0.1
|
||||
- ADMIN: Page Header and Footer Text allows BBCode
|
||||
- ADMIN: Added support for apple-touch-icon - icon similar to favicon to be used on iPad/iPhone/iPod devices
|
||||
- ADMIN: New option - Album Description Display Mode - allowing placement of the description in the album pages
|
||||
- ADMIN: Main menu could be now positioned as Top-Left/Bottom-Left aligned
|
||||
- ADMIN: Bradcrumbs could be now positioned as Top-Left/Bottom-Left/Bottom-Right or Hidden
|
||||
- Added <span> wrappers for Header and Footer texts allowing further CSS manipulation
|
||||
- Added support for custom header/footer inclusion - simply drop header.html.php and/or footer.html.php in the views folder and content would be added in the header/footer section
|
||||
- Info sidebar block logic synchronized to match default but still allow BBCode
|
||||
|
||||
version 3.0.0
|
||||
- Due to extensive changes to CSS it is now a major release
|
||||
- Rules from screen.css moved into base.css. Screen.css used as loader file only.
|
||||
- Introduced better support for RTL
|
||||
- Some of the icons moved into ui-icons.png for optimization. Color adjustments for visibility.
|
||||
- Added support for frame packs. Included: greydragon (default), simple, android, iphone, iphoto, darkglass
|
||||
- Fixed issue with regular wide thumb format not being set/displayed properly
|
||||
- Breadcrumb logic extended to take in consideration [visible_title_length] variable value introduced in G3
|
||||
- Reordered JS registration to comply with default G3 3.0.1 logic
|
||||
- Added some missing translation hooks in Admin area
|
||||
- Some Page load optimization
|
||||
- Added logic to take in consideration date display format for info module
|
||||
- Performed validation and necessary adjustments for IE 9/IE 9 compatibility mode
|
||||
- IE Fix CSS is only applied for IE 6. Older versions are no longer supported
|
||||
|
||||
version 2.7.9
|
||||
- Optimized session handling for colorpack cmd param
|
||||
- Removed validation for colorpack presence
|
||||
|
||||
version 2.7.8
|
||||
- Fixed issue with colorpack detection. Reenabled
|
||||
- Fixed issue with sidebar position could be "stuck" when switching from Grey Dragon Wind Theme
|
||||
- Fixed introduced error with missing forms.css reference
|
||||
- Theme's CSS/JS is combined into session based G3 files
|
||||
|
||||
version 2.7.7
|
||||
- Adjusted for 3.0.1 release of G3
|
||||
- New color pack: blackhawk
|
||||
- ADMIN: New sidebar position supported - top (new rules added to colorpacks)
|
||||
- CSS: Some clean up for included colorpacks - CSS/image resources, sprite image optimization for sidebar position buttons
|
||||
- Added session persistence for colorpack url parameter for demo purposes
|
||||
- ADMIN: Prerequisites module check extended to make it more relevant when Root Page is allowed
|
||||
- CSS: Sync positions of main menu and breadcrumbs when in alternative header layout format
|
||||
- colorpack location validation has been disabled for now until issue is resolved
|
||||
|
||||
version 2.7.6
|
||||
- ADMIN: "Large" Thumb sizes are removed from Aspect dropdown and managed via "Expanded Aspect Ratio (300px wide)" option
|
||||
- ADMIN: New Thumb aspect ratio - Wide/HDTV (16:9), "Actual" aspect is supported in Expanded mode
|
||||
- ADMIN: Root Page - new option "Show Gallery Description"
|
||||
- Added check if Shadowbox is loaded so that theme's initialization JS does not produce hidden exception
|
||||
- Added pointer cursor for clickable overlay area in Root Page until Minislideshow is loaded
|
||||
|
||||
version 2.7.5
|
||||
- ADMIN: Full Slideshow RSS feed url now being used. This solves some issues with Flash loader and allows creation of custom playlists to be used in the root page
|
||||
- Root Page: Fixed issue with Flash Slideshow not being loaded properly
|
||||
|
||||
version 2.7.4
|
||||
- Root Page: Added "Click to Enter" to indicate clickable state
|
||||
- Root Page: Quote is now taken from root album description field. If description is empty, slideshow content is centered.
|
||||
- Added branding icons for "gallery 3" and theme/color packs.
|
||||
- Fixed issue with page layout for calendar module.
|
||||
- Fixed issue with URL parameters not being recognized in some server configurations
|
||||
- CSS: Fixed aspect ratio for thumbs. Some css alignments optimization
|
||||
- CSS: Turned back on borders for blocks in bottom aligned sidebar
|
||||
- ADMIN: New option for Photo Description Display Mode - Overlay Bottom. !!!! Color pack's CSS rules affected.
|
||||
- ADMIN: Maintenance section: Added "Reset IPIC Info" (if module is active) and "Purge cache data", some tweaks for "Reset EXIF Info"
|
||||
|
||||
version 2.7.3
|
||||
- ADMIN: New option - Randomize Thumb Image
|
||||
- Missing markup in rootpage.html.php
|
||||
- Root Page - set size of the slideshow to auto so it can be managed via CSS
|
||||
- Sync page.html.php structure with latest git changes
|
||||
- CSS: Fixed styles for progress dialog when invoked from non-admin area
|
||||
|
||||
version 2.7.2
|
||||
- CSS: Restored visible state of rotation operations for photos
|
||||
- JS: To resolve issue with Opera OS, background image need to be set for #g-rootpage-link instead of roller object. Finalization JS for root page slideshow extended to clear background for overlay.
|
||||
- Reenabled support for site status messages
|
||||
|
||||
version 2.7.1
|
||||
- Root Page layout/css extended to allow click on the image while slideshow is still loading
|
||||
- ADMIN: Some changes in setting's titles and help
|
||||
- Fixed issue with meta data overlay not being shown for some title/meta combinations
|
||||
|
||||
version 2.7.0
|
||||
- DEV: new url parameter support added - colorpack. Ex: <gallery_url>?colorpack=<name>
|
||||
- ADMIN: 2 to 5 columns layout is now supported. Flex column option moved into column selector.
|
||||
- ADMIN: Added new mode for Description overlay in Album - Overlay Bottom (Static) - places description on the bottom of the thumb as static overlay. Metadata would not be shown.
|
||||
- ADMIN: Metadata Display Mode for Thumbs introduced. [Hide metadata] merged into it. Metadata can now be merged with description.
|
||||
- W3C: resolved some validation errors in album page
|
||||
- CSS: !!! Colorpack !!! - adjusted to reflect changes to thumb description structure
|
||||
- CSS: Changes for columns CSS (.g-column-3/.g-column-4) - moved to list level - several php files also affected
|
||||
- CSS: Fixed issue with re-authenticate dialog layout
|
||||
- CSS: Fixed issue search button in IE7 Compatibility mode for wind color pack
|
||||
- ShadowBox module config settings changed to prevent flickering - enabled dialog animation. Slideshow timeout increased to 7 sec. Updated version of ShadowBox module is available.
|
||||
- CSS: Deprecated styles for ShadowBox Ajax dialogs as they are not supported by the library in Core and color pack references
|
||||
|
||||
version 2.6.3
|
||||
- ADMIN: New "Title Display Mode" added - Overlay (Static)
|
||||
- CSS: syncronization between colorpacks. Some simplification
|
||||
|
||||
version 2.6.2
|
||||
- Added support for initial background in the Root Page to be removed as soon as slideshow starts (requires imageblockex 2.1)
|
||||
- ADMIN: Added option allowing feed selection for Root Page, Quote text
|
||||
- Small changes in color pack and layout for Upload dialog
|
||||
- Fixed logic in roopage.html.php to properly construct the link for navigation
|
||||
|
||||
version 2.6.0
|
||||
- Support for root page added
|
||||
- Added borders for main wrapper in Slate Blue color pack to accommodate centered layout
|
||||
- Added JS to preload next/prior images in photo pages
|
||||
- Added content wrapper for album grid to allow external CSS application - ex: center grid content
|
||||
- ALERT! Improved rendering of admin panel. This would break admin panels for any modules which uses the same file by inheritance. Please download updated module distros.
|
||||
- Fixed wrong reference to layout_non_ie.css file - not used
|
||||
- Removed restrictions for displaying sidebar in satellite pages
|
||||
- Fixed status message alignment in Upload dialog
|
||||
- Fixed W3C validation error in Photo page markup
|
||||
- "controllers" folder deprecated
|
||||
|
||||
version 2.5.1
|
||||
- Fixed issue with relative path not being used when changing sidebar display mode
|
||||
- ADMIN: Added support for Blend effect for page transitions
|
||||
- ADMIN: Added check to identify module collision between FancyBox and ShadowBox
|
||||
- ADMIN: New option "Keep Thumb Nav Block on the side" for Photo Pages
|
||||
- CSS: small css changes for bottom aligned sidebar positioning
|
||||
- CSS: Fix for dialog overlay div to properly position itself and prevent scrollbars to appear without reason
|
||||
- CSS: slateblue color pack - make regular text grey
|
||||
- CSS: set min height for bottom aligned sidebar
|
||||
- CSS: Fixed issue with font size for dialogs in IE8 Compatability mode
|
||||
- Custom layout for tag_block.html.php is depricated
|
||||
- Some W3C Validation clean-up
|
||||
|
||||
version 2.5.0
|
||||
- New colorpack - SlateBlue
|
||||
- Added support for bottom aligned Sidebar
|
||||
- CSS: opacity in .ui-widget-overlay (forms.css) set to 70
|
||||
- CSS: Fixed issue with misallignment of sidebar toolbar area and page header info
|
||||
- CSS: Removed left pagging for g-photo element to properly align in the div
|
||||
- CSS: Added thumb size restrictions for Image Block module
|
||||
- Removed logic to use Shadowbox when showing Exif data
|
||||
|
||||
version 2.4.9
|
||||
- ADMIN: Top Align Thumb Image option added - do not center thumb image in the view window. Useful for portrait oriented photos.
|
||||
- ADMIN: Added a new Advanced option - Relative path to custom.css, if used - allowing inclusion of custom css override
|
||||
- Ignore albums when building item list for Fancybox/Shadowbox Slideshow in Photo page. Fix issue with extra item added when start with first item.
|
||||
- Fixed issue with not properly sanitized titles for links for Fancybox/Shadowbox Slideshow in Photo page
|
||||
- Small adjustment to FancyBox slideshow navigation arrows
|
||||
- Force min height requirement for H1/H2 elements
|
||||
- Fixed spelling for g-thumlink -> g-thumblink
|
||||
- Force size of the thumb link to fill crop area - situation when thumb image is smaller then view area
|
||||
- Removed custom layout for User Profile page
|
||||
|
||||
version 2.4.8
|
||||
- Fixed inverted state of "Disallow Search Engine Indexing (No Bots)
|
||||
- Fixed JS syntax incompatibility in IE7/IE8 compatibility mode
|
||||
- Fixed display of thumb title and photo description on hover in IE7/IE8 compatibility mode
|
||||
- Fixed issue with Dialogs not skinned properly in Carbon/Wind themes
|
||||
- Fixed issue with metadata for photo thumbs when Aspect Ratio: Actual Size and Title Display Mode: Bottom
|
||||
|
||||
version 2.4.7
|
||||
- Fixed issue with some .g-block structures.
|
||||
Fixed issue with avatar not properly aligned in comment section.
|
||||
|
||||
version 2.4.6
|
||||
- Fixed some issues when strict error reporting is enabled for PHP
|
||||
- Fixed background color for description for bottom Display Title Mode (greydragon colorpack)
|
||||
- Added support for two new Thumb Sizes - Digital Ex and Film Ex - 300px wide thumbs
|
||||
- Fixed issue with buttons in the block "jumping" out
|
||||
- Added check in block view to verify that theme is defined
|
||||
|
||||
version 2.4.5
|
||||
- Min G3 core requirement is set to v.41
|
||||
- Fixed issue with Exif dialog data integration
|
||||
- Fixed issue with permission dialog
|
||||
- CSS: Changes form style management. Fixed issue with breadcrumbs display in dialogs.
|
||||
- CSS: Important! Colorpack files are affected
|
||||
- Removed no longer required custom Login dialog logic
|
||||
- JS cleanup
|
||||
|
||||
version 2.4.4
|
||||
|
||||
Please drop GD themes folder before uploading a new version
|
||||
|
||||
- CSS: screen.css - fixed layout naming change preventing proper display of authentification form when accessing protected areas
|
||||
- CSS: Removed some temp files not required by the theme.
|
||||
- Support for Fancybox added as alternative to Shadowbox
|
||||
- Added support for CalendarView module
|
||||
|
||||
version 2.4.3
|
||||
- Fixed issue with sidebar mode switch link being incorrect
|
||||
- CSS: small style adjustment to neutralize default style effect for the search entry box
|
||||
|
||||
version 2.4.2
|
||||
- Fixed issue some modules requiring scrollTo() function.
|
||||
- Shadowbox is now optional. Special logic added to allow/disallow SB slideshow mode. If disabled, theme would not support full view for images to be in the popup window, new window will be used instead.
|
||||
- CSS: Minor improvements for thumb layout in Overlay and Bottom Title Display mode
|
||||
- ADMIN: Support for flex column layout added
|
||||
- ADMIN Help: Small improvements
|
||||
|
||||
version 2.4.1
|
||||
- Organize module support reenabled
|
||||
- Register module support reenabled
|
||||
- Partial support for Shopping Basket module
|
||||
- CSS clean-up after dialog engine conversion - round #1
|
||||
- Fixed issue with Exif dialog not properly rendered
|
||||
|
||||
version 2.4.0
|
||||
- Apply g-button style only to forms
|
||||
- Fix to properly display videos
|
||||
- Fix to account for changes in Comments module
|
||||
- Favicon removed from theme's package
|
||||
- Fixed uninitialized state warnings of the variables in PHP protected mode
|
||||
- Album thumbs now have "lighter" background
|
||||
- First draft to change how dialogs are handled - switched to standard code
|
||||
- ADMIN: G3 Core version requirement is set to 32
|
||||
- ADMIN: Added missing settings initializations
|
||||
- ADMIN: Fixed issue with Navigator position setting not being persisted
|
||||
- ADMIN: Abstract admin form styles for reuse from regular module admin panels
|
||||
- ADMIN: Added option to specify favicon location. If not specified default G3 icon is used.
|
||||
|
||||
version 2.3.1
|
||||
- Hide Rotate operations for pictures since they are not supported by the theme
|
||||
- Added use of common gallery.ajax.js. Fix issue with some Ajax based links.
|
||||
- Layout fixes for Translation form overlay
|
||||
- Changed CSS styling for buttons to provide unified coverage for buttons and links exposed as buttons.
|
||||
- ADMIN: Fixed options group styles in Theme's Admin panel
|
||||
- ADMIN: Advanced Settings for Thumbs and Individual Photo are moved into separate sections.
|
||||
- ADMIN: New option - display meta data in Photo description section
|
||||
- ADMIN: New option/fix - SEO indexing is now allowed by default. In order to prevent your site from being indexed, you can now use "Disallow Search Engine Indexing" option
|
||||
|
||||
version 2.3.0
|
||||
- Adopted for Gallery 3.0RC2 changes (minor template adjustments, css class name changes, etc.)
|
||||
|
||||
version 2.2.1
|
||||
- Redesigned Ready event handler for the theme to ensure proper ShadowBox initialization
|
||||
- Added support for gallery_dialog() function call used by some 3rd party modules - some sync issues are solved by imposed delay of 1 second
|
||||
- GPS module - better action list alignment in the sidebar
|
||||
|
||||
version 2.2.0
|
||||
- Added support for slideshow mode in Photo Preview
|
||||
- Fixed issue with Info side block - missing markup
|
||||
- Fixed issue with Upload dialog layout with some resolutions/fonts
|
||||
- ADMIN: Added option to hide breadcrumbs
|
||||
- ADMIN: Added prerequisite check for Info module - required for Thumb meta data display
|
||||
|
||||
version 2.1.7
|
||||
- Added support for missing images in the thumbs to allow proper operations with empty albums or albums with broken thumbs
|
||||
- Some color optimizations
|
||||
- Color improvements for "Add Image" dialog
|
||||
- Better support for Basket module
|
||||
|
||||
version 2.1.6
|
||||
- Wind colorpack adjusted to closer match default Wind theme
|
||||
|
||||
version 2.1.5
|
||||
- Minor changes in ADMIN infrastructure
|
||||
- ADMIN: added check for Kbd Navigation module
|
||||
- ADMIN: New color pack - carbon
|
||||
|
||||
version 2.1.4
|
||||
- Minor refactoring in paginator
|
||||
- Added support for keyboard navigation module (http://codex.gallery2.org/Gallery3:Modules:kbd_nav)
|
||||
|
||||
version 2.1.3
|
||||
- Sidebar restricted to item related pages (album, photo, movie, etc)
|
||||
- Fixed issue with bottom border not applied to all instances of H1 tag
|
||||
- Min footer size set to 4em
|
||||
- ADMIN: "Photo: Description Display Mode" option added
|
||||
- ADMIN: Added new maintenance operation - "Reset Exif Info"
|
||||
|
||||
version 2.1.2
|
||||
- Fixed issue with Album thumbs - empty space under
|
||||
- Thumb Item's Title Display Mode expanded to be applied to Item's description in Photo page
|
||||
- More documentations in CSS files, some movements
|
||||
- Some cleanup for Wind color pack
|
||||
- Fixed font name typo in screen.css
|
||||
- Fixed "Waiting" roller for Wind theme to match background
|
||||
- Added "up" button in navigation
|
||||
|
||||
version 2.1.1
|
||||
- Increased size of Add photo dialog for better display on some lower resolutions.
|
||||
- ADMIN: New option: "Thumb: Item's Title Display Mode" - specifies how to display item's title in thumbs : Overlay Bottom Hide
|
||||
|
||||
version 2.1.0
|
||||
- Custom Info Block to include item's description
|
||||
- Image is centered when "Actual Size" aspect is used for thumbs
|
||||
- Added support for color packs - included: greydragon, wind
|
||||
- ADMIN: Improved error handling
|
||||
- ADMIN: Disable submit button on click to prevent Dbl-click
|
||||
- ADMIN: New option: Enable page cache - adds header marker for page to be cached for 60 seconds
|
||||
|
||||
version 2.0.1
|
||||
- Enable BBCode/HTML support in individual photo descriptions
|
||||
- Fixed main menu overlay issue when in top position
|
||||
- Theme's credits moved into dedicated method
|
||||
- CSS clean up
|
||||
- Comments module layout enhancements
|
||||
|
||||
version 2.0.0
|
||||
- Major redesign of the gallery flow.
|
||||
- Added caption and metadata (Admin/optional) overlay for thumbs.
|
||||
- Added description overlay in individual Photo view (look for "Learn More" marker).
|
||||
- Based on Admin setting, thumbs are adjusted to fit Digital/Film/Actual size.
|
||||
- Attempt to fix issue with JS load latency to prevent unhandled AJAX calls
|
||||
- Added code protection for theme initialization procedure
|
||||
- ADMIN: Thumb Aspect Ratio option. See help section for more info.
|
||||
|
||||
version 1.8.2
|
||||
- Increased based font size
|
||||
- Layout adjusted to match new settings
|
||||
- ADMIN: New option - Place Login Link in the Header
|
||||
|
||||
version 1.8.1
|
||||
- ADMIN: small adjustments in layout and help info
|
||||
- 3rd party module's related CSS moved into contrib.css
|
||||
- Adjust user profile screen to match new layout
|
||||
- initial design for calendar module
|
||||
|
||||
version 1.8.0
|
||||
- ADMIN: Major redesign of the layout. Help section added.
|
||||
- ADMIN: New option - Show main menu for guest user
|
||||
- Minimum required Gallery version set to 30
|
||||
- When configured not to use sidebar, theme is switched into 4 columns layout
|
||||
|
||||
version 1.7.6
|
||||
- Organize module: CSS improvements
|
||||
- Fixed issue with Chrome browser
|
||||
|
||||
version 1.7.5
|
||||
- ADMIN: Added option to reset theme to default state
|
||||
- CSS: some size adjustments for dialogs. Added minimum height for overlay to keep dialogs from shrinking.
|
||||
|
||||
version 1.7.4
|
||||
- ADMIN: Theme Gallery 3 core requirement changed to v.26
|
||||
- ADMIN: Most of theme's settings are documented using element's title attribute - hover over to see a description
|
||||
- Edit Permissions form redesigned and enlarged to fit more information
|
||||
|
||||
version 1.7.3
|
||||
- ADMIN: Default states for the theme options are no longer being stored. Please save theme settings at least once to take advantage of a new functionality.
|
||||
- Photo Navigator default position is set to Top Only
|
||||
|
||||
version 1.7.2
|
||||
- Fix in Uploader dialog to keep items inside respected boxes
|
||||
- Organize module support has been abandoned. Please use GWT Organize module instead. Added item in Prerequisites Checklist.
|
||||
|
||||
version 1.7.1
|
||||
- CSS: Fixed visibility of the "Select Photo" button in "Add photo" dialog
|
||||
- CSS: Fixed "ghost" line for navigation buttons when zoomed-in in IE
|
||||
- Admin: fixed issue with prerequisite check not detecting deleted modules
|
||||
- <theme>/views/support folder deprecated. Logic moved into Theme_View extension class for Theme_View_Core
|
||||
- Theme Options Page management, generic Page code and BBCode processor moved into Theme_View class
|
||||
- HACK: Info block is not displayed if there is no description for the item
|
||||
|
||||
version 1.6.4
|
||||
- Admin: Added "Show Sidebar for Albums only" option
|
||||
- Admin: added error visibility to the requirements validation list
|
||||
- Small CSS adjustments: Fixed footer min size issue when no site credit info is displayed; added space between Credits in the footer and Footer text area.
|
||||
- Few missing parts from last git sync
|
||||
|
||||
version 1.6.3
|
||||
- Kohana 2.4 support
|
||||
- Support for Movie files view
|
||||
- Admin: Allow hide Sidebar Block header
|
||||
|
||||
version 1.6.2
|
||||
- Admin: Page navigator option changed to use combobox
|
||||
- Admin: Added option to hide item description in albums
|
||||
|
||||
version 1.6.2
|
||||
- Small CSS adjustments.
|
||||
- All operation dialogs should be visible now
|
||||
- Context menu: "Rotate 90..." items are removed due to an issue with image quality affected by the operation
|
||||
- Context menu: "Choose as the album cover" is now properly handled
|
||||
|
||||
version 1.6.1
|
||||
- Admin: When allowed sidebar position is "Default Only", don't disregard selected Default position
|
||||
- Adjust item's toolbar buttons to align properly when side bar position is fixed
|
||||
- BBCode parser improved to support stripping of BBCode for Page title and breadcrumbs
|
||||
- Fixed issue with main menu missing class declaration not allowing open dialogs
|
||||
- Adjust context dialogs to properly show caption info
|
||||
- Caption added to Full size Preview
|
||||
- "New Comment" form styled
|
||||
- Admin: Option to align main menu to the top and Breadcrumbs to the left
|
||||
|
||||
version 1.6.0
|
||||
- Admin: Fixed issue with "Rebuild thumbs" option in theme admin
|
||||
- Admin: Fixed issue with Item's toolbar not properly aligned in Quirks Mode
|
||||
- Exif data dialog Layout changes
|
||||
- Item context menu improvements:
|
||||
- Fixed issue with submit logic
|
||||
- Layout fixes for context menu dialogs
|
||||
|
||||
version 1.5.8
|
||||
- Admin: First release of the Theme admin option. After theme installation, visit Appearance/Theme
|
||||
Options to configure the theme. If you had older version of the theme, initial setup is also required.
|
||||
The following settings are available:
|
||||
- Rows per album page - theme uses 3 columns layout for pictures, therefore default page_size is computed in x3 increments
|
||||
- Thumb size is restricted to 200 and therefore not available for administration
|
||||
- Mark to build resizes/thumbs - allows force rebuilding of images
|
||||
- Show/Hide top/bottom photo navigators
|
||||
- Specify allowed and default sidebar position
|
||||
- Administrator can now specify Copyright message to display in the footer
|
||||
- Site logo is now default to Gallery 3 logo, but admin can provide a path to custom logo.
|
||||
- Admin module validates Theme's requirements (Shadowbox module need to be installed/active)
|
||||
- Sidebar session cookie is set to expire in 365 days
|
||||
|
||||
version 1.5.7
|
||||
- Status message has been moved into header as popup to prevent obstruction of the main view.
|
||||
jQuery is used to fade it out in 10 sec.
|
||||
- Improved logic for dialogs on submit
|
||||
- Theme related JS has been moved out of the page.html.php
|
||||
|
||||
version 1.5.6
|
||||
- Fixed issue with tollbar buttons not properly aligned/shown when page is resized.
|
||||
- Copyright info moved into DB. To change default settings add [th_greydragon/copyright] into VARS table.
|
||||
|
||||
version 1.5.5
|
||||
- CSS fixes.
|
||||
- Theme adjusted to be compatible with latest Git.
|
||||
- Login links are moved into footer.
|
||||
- Pagination module redesigned to support new structure of paging data.
|
||||
|
||||
version 1.5.4
|
||||
- CSS fixes.
|
||||
- Added support for Comments block.
|
||||
- Improved support for Modal dialogs.
|
||||
|
||||
version 1.5.3
|
||||
- Updated to match latest git.
|
||||
- Exif menu customization is now part of the theme.
|
||||
- Sidebar management button is disabled for current mode.
|
||||
|
||||
version 1.5.2
|
||||
- Code, layout, css cleanup.
|
||||
- New thumbs for buttons.
|
||||
- First set of Ajax dialogs is ready and now operational: Login, user info, edit album, exit info.
|
||||
- Fixed some browser related issues.
|
||||
14
themes/greydragon/controllers/greydragon.php
Executable file
@@ -0,0 +1,14 @@
|
||||
<?
|
||||
|
||||
class GreyDragon_Controller extends Controller {
|
||||
|
||||
public function custom_css() {
|
||||
|
||||
// Draw the page.
|
||||
// $template = new Theme_View("gd_custom.css", "other", "Custom_CSS");
|
||||
|
||||
print $template;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
322
themes/greydragon/css/base.css
Executable file
@@ -0,0 +1,322 @@
|
||||
/**
|
||||
* Gallery 3 Grey Dragon Theme
|
||||
* Copyright (C) 2006-2011 Serguei Dosyukov
|
||||
*
|
||||
* CSS rules - Main CSS ruleset
|
||||
*
|
||||
* Color rules for font/background/lines can be found in dedicated colorpack files
|
||||
*/
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* base.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
body { font-family: Arial, verdana, sans-serif; font-size: 0.9em; }
|
||||
|
||||
a { text-decoration: none; outline: none; -moz-outline-style: none; }
|
||||
a:focus, a:active, a:hover { text-decoration: none; outline: none; }
|
||||
img { border: none; }
|
||||
p { text-indent: 0; }
|
||||
ul { list-style: none none; padding-left: 0; }
|
||||
|
||||
h1 { font-weight: bold; font-size: 1.1em; padding-bottom: 1px; min-height: 1.1em; }
|
||||
h2 { font-weight: bold; font-size: 1.1em; min-height: 1.1em; }
|
||||
h3 { font-weight: bold; }
|
||||
h4 { font-weight: bold; }
|
||||
h5 { font-weight: bold; }
|
||||
|
||||
.txtright { text-align: right; }
|
||||
.g-metadata { overflow: hidden; }
|
||||
.g-avatar { float: right; }
|
||||
.g-hide { display: none; }
|
||||
|
||||
.ui-icon { display: inline-block; zoom: 1; width: 16px; height: 15px; }
|
||||
.ui-icon-first { background-position: -162px -178px; }
|
||||
.ui-icon-first-d { background-position: -162px -162px; }
|
||||
.ui-icon-prev { background-position: -178px -178px; }
|
||||
.ui-icon-prev-d { background-position: -178px -162px; }
|
||||
.ui-icon-parent { background-position: -226px -178px; }
|
||||
.ui-icon-parent-d { background-position: -226px -162px; }
|
||||
.ui-icon-next { background-position: -194px -178px; }
|
||||
.ui-icon-next-d { background-position: -194px -162px; }
|
||||
.ui-icon-last { background-position: -210px -178px; }
|
||||
.ui-icon-last-d { background-position: -210px -162px; }
|
||||
.ui-icon-signal-diag { background-position: -16px -178px; }
|
||||
.ui-icon-info { background-position: -16px -144px; }
|
||||
.ui-icon-plus { background-position: -14px -129px; }
|
||||
.ui-icon-minus { background-position: -46px -129px; }
|
||||
.ui-icon-note { background-position: -66px -98px; }
|
||||
.ui-icon-closethick { background-position: -96px -128px; }
|
||||
.ui-icon-left .ui-icon { float: left; margin-right: .2em; }
|
||||
.ui-icon-right .ui-icon { float: right; margin-left: .2em; }
|
||||
|
||||
/* base.css - Inline layout ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-inline li { float: left; }
|
||||
|
||||
/* base.css - Header ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-header { height: 90px; padding: 0; font-size: 0.9em; }
|
||||
#g-logo { position: absolute; top: 8px; left: 16px; }
|
||||
|
||||
.g-breadcrumbs { position: absolute; background-color: transparent; }
|
||||
.g-breadcrumbs.g-default { bottom: 4px; right: 14px; }
|
||||
.g-breadcrumbs.g-bottom-left { bottom: 4px; left: 21.4em; }
|
||||
.g-breadcrumbs.g-top-right { top: 4px; right: 14px; }
|
||||
.g-breadcrumbs.g-top-left { top: 4px; left: 21.4em; }
|
||||
|
||||
.g-breadcrumbs li { display: inline; }
|
||||
.g-breadcrumbs li.g-first { background-image: none; padding-left: 0; }
|
||||
.rtl .g-breadcrumbs .g-first { background-image: none; padding-left: 0; }
|
||||
.g-breadcrumbs li.g-active { padding-right: 0; }
|
||||
|
||||
#g-header .g-message-block { position: absolute; z-index: 10; min-width: 30em; padding: 0; right: 20em; top: 34px; overflow: hidden; font: bold 9pt Arial, verdana, sans-serif; text-align: center; }
|
||||
#g-header #g-login-menu { position: absolute; top: 0.2em; right: 1em; background-color: transparent; display: none; }
|
||||
#g-site-status li { padding: .3em .3em .3em 30px; }
|
||||
|
||||
/* base.css - Main ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-main { display: block; margin: 0; }
|
||||
#g-main-in { display: block; position: relative; }
|
||||
|
||||
#g-column-center, #g-column-centerleft { padding: 6px 6px 6px 10px; }
|
||||
#g-column-centerfull { padding: 6px 12px 6px 10px; }
|
||||
#g-column-centerright { padding: 6px 10px 6px 6px; }
|
||||
#g-column-left { padding: 6px 4px 6px 10px; }
|
||||
#g-column-right { padding: 6px 10px 6px 4px; }
|
||||
|
||||
/* base.css - Footer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-footer { padding: 6px 0 6px 0; zoom: 1; font-size: 0.9em; }
|
||||
#g-footer ul { float: left; padding: 0; text-align: left; }
|
||||
#g-footer li { padding: 0 0 2px 0; }
|
||||
|
||||
#g-footer #g-login-menu { position: absolute; bottom: 0.5em; right: 1em; background-color: transparent; display: none; }
|
||||
|
||||
#g-login-menu li { display: inline; padding-left: 1.2em; }
|
||||
#g-logout-link { float: none; margin-right: 0; }
|
||||
|
||||
#g-copyright { font-size: x-small; }
|
||||
#g-footer #g-footer-rightside { float: right; text-align: right; margin-right: 1em; }
|
||||
#g-credits { margin-left: 14px; margin-right: 14px; }
|
||||
#g-credits li.g-branding a { float: left; }
|
||||
#g-credits .g-first { display: none; }
|
||||
#g-gallery-logo { display: block; width: 70px; height: 18px; background: transparent url('../images/gallery.png') no-repeat; }
|
||||
#g-theme-logo { display: block; width: 70px; height: 18px; }
|
||||
|
||||
/* base.css - Mini Mode ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.viewmode-mini #g-header { height: 2.3em; }
|
||||
.viewmode-mini #g-footer { display: none; }
|
||||
|
||||
/* base.css - Pagination ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-paginator { display: inline-block; width: 100%; padding: 4px 0 0 0; zoom: 1; }
|
||||
.g-paginator li { display: inline; float: left; margin-left: 0; zoom: 1; }
|
||||
.g-paginator a { padding: 0; }
|
||||
|
||||
.g-paginator .g-pagination { width: 80%; font-size: 0.8em; }
|
||||
.g-paginator .g-navigation { text-align: right; width: 20%; }
|
||||
|
||||
/* base.css - Album grid ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-album-grid { padding: 6px 0 0 0; width: 100%; display: inline-block; margin: 0px auto; }
|
||||
#g-album-grid .g-item { position: relative; float: left; margin: 4px 2px 4px 0; min-width: 212px; zoom: 1; }
|
||||
.g-extended #g-album-grid .g-item { min-width: 314px; }
|
||||
.g-column-2 #g-album-grid .g-item { width: 48%; margin-right: 0; }
|
||||
.g-column-3 #g-album-grid .g-item { width: 30%; margin-right: 0; }
|
||||
.g-column-4 #g-album-grid .g-item { width: 23%; margin-right: 0; }
|
||||
.g-column-5 #g-album-grid .g-item { width: 18%; margin-right: 0; }
|
||||
#g-album-grid .g-item p { text-align: center; }
|
||||
#g-album-grid h2 { position: absolute; top: 164px; left: 12px; width: 150px; font: 100%/100% Arial, Helvetica, sans-serif; }
|
||||
#g-album-grid h2 a { display: block; margin-top: 4px; font: bold 0.8em Arial, Helvetica, Verdana, Sans-Serif; letter-spacing: 0.1em; text-transform: uppercase; min-height: 2em; }
|
||||
|
||||
/* base.css - Thumbs : Common ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-thumbslide { font-size: 0.9em; width: 208px; min-height: 139px; padding-top: 6px; padding-left: 6px; overflow: hidden; text-align: left; }
|
||||
.g-thumbtype-sqr .g-thumbslide { height: 208px; }
|
||||
.g-thumbtype-flm .g-thumbslide { height: 141px; }
|
||||
.g-thumbtype-dgt .g-thumbslide { height: 158px; }
|
||||
.g-thumbtype-wd .g-thumbslide { height: 120px; }
|
||||
|
||||
.g-extended .g-thumbslide { width: 308px; }
|
||||
.g-extended .g-thumbtype-sqr .g-thumbslide { height: 308px; }
|
||||
.g-extended .g-thumbtype-flm .g-thumbslide { height: 207px; }
|
||||
.g-extended .g-thumbtype-dgt .g-thumbslide { height: 233px; }
|
||||
.g-extended .g-thumbtype-wd .g-thumbslide { height: 176px; }
|
||||
|
||||
.g-thumbcrop { overflow: hidden; position: relative; width: 200px; min-height: 112px; }
|
||||
.g-thumbtype-sqr .g-thumbcrop { height: 200px; }
|
||||
.g-thumbtype-flm .g-thumbcrop { height: 133px; }
|
||||
.g-thumbtype-dgt .g-thumbcrop { height: 150px; }
|
||||
.g-thumbtype-wd .g-thumbcrop { height: 112px; }
|
||||
|
||||
.g-extended .g-thumbcrop { width: 300px; }
|
||||
.g-extended .g-thumbtype-sqr .g-thumbcrop { height: 300px; }
|
||||
.g-extended .g-thumbtype-flm .g-thumbcrop { height: 199px; }
|
||||
.g-extended .g-thumbtype-dgt .g-thumbcrop { height: 225px; }
|
||||
.g-extended .g-thumbtype-wd .g-thumbcrop { height: 168px; }
|
||||
|
||||
.g-album .g-description strong { padding-left: 16px; }
|
||||
|
||||
/* Force size of the link to fill thumbcrop */
|
||||
|
||||
.g-thumbcrop a.g-thumblink { display: block; position: relative; min-width: 200px; }
|
||||
.g-thumbtype-sqr a.g-thumblink { min-height: 200px; }
|
||||
.g-thumbtype-flm a.g-thumblink { min-height: 133px; }
|
||||
.g-thumbtype-dgt a.g-thumblink { min-height: 150px; }
|
||||
.g-thumbtype-wd a.g-thumblink { min-height: 112px; }
|
||||
|
||||
.g-extended .g-thumbcrop a.g-thumblink { min-width: 300px; }
|
||||
.g-extended .g-thumbtype-sqr a.g-thumblink { min-height: 300px; }
|
||||
.g-extended .g-thumbtype-flm a.g-thumblink { min-height: 200px; }
|
||||
.g-extended .g-thumbtype-dgt a.g-thumblink { min-height: 225px; }
|
||||
.g-extended .g-thumbtype-wd a.g-thumblink { min-height: 168px; }
|
||||
|
||||
/* base.css - Thumbs : Overlay ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-thumbslide .g-description { display: none; position: absolute; left: 6px; top: 6px; min-height: 24px; width: 184px; overflow: hidden; z-index: 3; text-align: left; padding: 2px 8px; font-size: 0.85em; margin: 10px 0 1px 11px; }
|
||||
.g-extended .g-thumbslide .g-description { width: 284px; }
|
||||
.g-thumbslide:hover .g-description { display: block; }
|
||||
.g-thumbslide .g-description li { display: inline; padding-right: 0.8em; }
|
||||
.g-thumbslide .g-description .g-title { display: block; font-weight: bold; font-size: 1.1em; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px; }
|
||||
.g-album .g-thumbslide .g-description .g-title { padding-left: 24px; }
|
||||
|
||||
.g-thumbslide .g-description.g-overlay-top { display: block; }
|
||||
.g-thumbslide .g-description.g-overlay-bottom { display: block; top: auto; bottom: 6px; margin-bottom: 10px; }
|
||||
|
||||
.g-thumbslide .g-metadata { display: none; position: absolute; left: 6px; bottom: 6px; padding: 2px 4px 2px 10px; width: 186px; margin: 10px 0 11px 11px; }
|
||||
.g-thumbslide .g-metadata li { padding: 0; margin: 0; font-size: 0.9em; }
|
||||
.g-extended .g-thumbslide .g-metadata { width: 286px; }
|
||||
.g-thumbslide:hover .g-metadata { display: block; }
|
||||
|
||||
/* base.css - Thumbs : Expanded View mode ~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-expanded .g-thumbslide { font-size: 0.9em; width: 208px; min-height: 139px; padding-top: 6px; padding-left: 6px; line-height: 1.2em; overflow: hidden; }
|
||||
.g-thumbtype-sqr.g-expanded .g-thumbslide { height: 238px; }
|
||||
.g-thumbtype-flm.g-expanded .g-thumbslide { height: 171px; }
|
||||
.g-thumbtype-dgt.g-expanded .g-thumbslide { height: 188px; }
|
||||
.g-thumbtype-wd.g-expanded .g-thumbslide { height: 150px; }
|
||||
|
||||
.g-extended .g-expanded .g-thumbslide { width: 308px; }
|
||||
.g-extended .g-thumbtype-sqr.g-expanded .g-thumbslide { height: 346px; }
|
||||
.g-extended .g-thumbtype-flm.g-expanded .g-thumbslide { height: 244px; }
|
||||
.g-extended .g-thumbtype-dgt.g-expanded .g-thumbslide { height: 270px; }
|
||||
.g-extended .g-thumbtype-wd.g-expanded .g-thumbslide { height: 214px; }
|
||||
|
||||
.g-expanded .g-thumbslide .g-description { position: static; display: block; }
|
||||
.g-expanded .g-thumbslide .g-description li { display: inline; padding-right: 0.8em; }
|
||||
.g-expanded .g-thumbslide .g-description .g-title { display: block; font-weight: bold; font-size: 1.1em; letter-spacing: 0.1em; text-transform: uppercase; }
|
||||
.g-album.g-expanded .g-thumbslide .g-description .g-title { padding-left: 24px; }
|
||||
|
||||
.g-expanded .g-thumbslide .g-description.g-overlay-bottom { width: 192px; }
|
||||
.g-expanded .g-thumbslide .g-metadata { bottom: 10px; }
|
||||
.g-expanded .g-thumbslide .g-metadata li { padding: 0; margin: 0; font-size: 0.9em; }
|
||||
.g-expanded .g-thumbslide:hover .g-metadata { display: block; bottom: 40px; }
|
||||
|
||||
/* base.css - Photo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-item { float: left; height: 100%; width: 100%; }
|
||||
#g-photo { padding: 6px 0 6px 0; text-align: center; float: left; height: 100%; width: 100%; }
|
||||
div.g-resize { position: relative; left: 50%; float: left; padding: 5px; font-size: 0.9em; }
|
||||
div.g-resize>a { float: left; overflow: hidden; }
|
||||
div.g-resize>a img { float: left; }
|
||||
|
||||
div.g-resize .g-description { display: none; position: absolute; left: 5px; text-align: left; padding: 10px; }
|
||||
div.g-resize .g-description strong { display: block; margin-bottom: 5px; text-transform: uppercase; }
|
||||
div.g-resize .g-description.g-align-top { top: 0px; margin-top: 5px; }
|
||||
div.g-resize .g-description.g-align-bottom { bottom: 4px; }
|
||||
div.g-resize .g-description.g-align-static { display: block; }
|
||||
div.g-resize:hover .g-description { display: block; }
|
||||
|
||||
div.g-resize .g-more { display: block; position: absolute; right: 16px; padding: 4px 8px; }
|
||||
div.g-resize:hover .g-more { display: none; visibility: hidden; }
|
||||
div.g-resize .g-more.g-align-top { top: 16px; }
|
||||
div.g-resize .g-more.g-align-bottom { bottom: 20px; }
|
||||
|
||||
.ul-table { text-align: center; margin: 0px auto; padding: 0; list-style-type: none; clear: both; }
|
||||
.ul-table li { float: left; text-align: center; }
|
||||
|
||||
#g-info { display: inline-block; width: 100%; }
|
||||
#g-info .g-description { margin-top: .4em; margin-bottom: .4em; padding: .5em 1em; }
|
||||
#g-movie { padding: 6px 0 6px 6px; position: relative; }
|
||||
|
||||
#g-item a.g-movie { display: block; margin: 0 auto; }
|
||||
|
||||
.g-description .g-metadata { padding: 0.4em 0 0 0; font-size: 0.8em; }
|
||||
.g-description .g-metadata li { display: inline; padding-right: 1em; }
|
||||
|
||||
/* base.css - Sidebar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* base.css - Sidebar : Common ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-block { margin-bottom: 4px; padding-bottom: 4px; position: relative; clear: both; }
|
||||
.g-block h2 { padding: 6px 4px 6px 8px; font-size: 1em; }
|
||||
.g-block-content { margin: 6px 6px 0 6px; display: block; zoom: 1; }
|
||||
|
||||
#g-column-top .g-block, #g-column-bottom .g-block { float: left; clear: none; width: 240px; margin-left: 10px; }
|
||||
#g-column-top .g-toolbar, #g-column-bottom .g-toolbar { margin-bottom: 0.5em; }
|
||||
#g-column-top .g-toolbar h1, #g-column-bottom .g-toolbar h1 { display: none; }
|
||||
|
||||
/* base.css - Sidebar : Buttons ~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-viewformat { z-index: 5; position: absolute; padding: 0; top: 6px; right: 10px; }
|
||||
#g-viewformat li { float: left; margin-right: 2px; }
|
||||
#g-viewformat span { display: block; width: 17px; height: 15px; line-height: 1px; text-indent: -900em; background-repeat: no-repeat; }
|
||||
#g-viewformat .g-sidebar-left { background-position: -128px -210px; }
|
||||
#g-viewformat .g-sidebar-top { background-position: -148px -210px; }
|
||||
#g-viewformat .g-sidebar-full { background-position: -168px -210px; }
|
||||
#g-viewformat .g-sidebar-right { background-position: -188px -210px; }
|
||||
#g-viewformat .g-sidebar-bottom { background-position: -208px -210px; }
|
||||
#g-viewformat .g-sidebar-left:hover, #g-viewformat .g-sidebar-left.g-current { background-position: -128px -225px; }
|
||||
#g-viewformat .g-sidebar-top:hover, #g-viewformat .g-sidebar-top.g-current { background-position: -148px -225px; }
|
||||
#g-viewformat .g-sidebar-full:hover, #g-viewformat .g-sidebar-full.g-current { background-position: -168px -225px; }
|
||||
#g-viewformat .g-sidebar-right:hover, #g-viewformat .g-sidebar-right.g-current { background-position: -188px -225px; }
|
||||
#g-viewformat .g-sidebar-bottom:hover,#g-viewformat .g-sidebar-bottom.g-current{ background-position: -208px -225px; }
|
||||
|
||||
#g-view-menu { position: absolute; top: 6px; right: 106px; height: 16px; z-index: 5; zoom: 1; margin: 0 0 6px 0; padding: 0 0 4px 0; }
|
||||
#g-view-menu.g-buttonset-shift { right: 6px; }
|
||||
.g-toolbar { margin: 0 0 4px 0; }
|
||||
.g-menu { margin: 0; padding: 0; text-align: left; }
|
||||
.g-menu li { display: inline; }
|
||||
|
||||
.g-menu-element,
|
||||
.g-menu-link { display: inline; float: left; margin-right: 4px; background-repeat: no-repeat; background-position: center top; }
|
||||
|
||||
.g-buttonset .g-menu-link { text-indent: -99999px; width: 22px; height: 15px; overflow: hidden; }
|
||||
|
||||
#g-slideshow-link { background-position: -103px -210px; }
|
||||
#g-slideshow-link:hover { background-position: -103px -225px; }
|
||||
|
||||
.g-fullsize-link:hover, #g-exifdata-link:hover { background-position: left bottom; }
|
||||
|
||||
/* base.css - Root Page ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-rootpage-quote { float: left; width: 300px; padding-top: 6px; font-size: 110%; }
|
||||
#g-rootpage-roll { float: right; text-align: center; z-index: 1; position: relative; width: 800px; height: 540px; overflow: hidden; }
|
||||
#g-rootpage-link { z-index: 10; position: absolute; height: 540px; width: 800px; top: 0; left: 0; cursor: pointer; }
|
||||
#g-rootpage-roll span { z-index: 50; display: block; position: absolute; right: 16px; padding: 4px 8px; top: 20px; cursor: pointer; font-size: 0.9em; }
|
||||
#g-rootpage-roll.g-full { margin-left: auto; margin-right: auto; float: none; }
|
||||
#g-rootpage-slideshow div img { border: 0; }
|
||||
|
||||
/* base.css - Large toolbar icons support ~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-toolbar-large .g-buttonset .g-menu-link { width: 26px; height: 22px; }
|
||||
.g-toolbar-large h1 { line-height: 24px; height: 24px; }
|
||||
.g-toolbar-large #g-calendarview-link:hover { background-position: top center; }
|
||||
.g-toolbar-large #g-viewformat { top: 9px; }
|
||||
|
||||
.g-toolbar-large .g-navigation .ui-icon { width: 23px; height: 22px; }
|
||||
.g-toolbar-large .ui-icon-first { background-position: 0px -240px; }
|
||||
.g-toolbar-large .ui-icon-first-d { background-position: 0px -263px; }
|
||||
.g-toolbar-large .ui-icon-prev { background-position: -23px -240px; }
|
||||
.g-toolbar-large .ui-icon-prev-d { background-position: -23px -263px; }
|
||||
.g-toolbar-large .ui-icon-parent { background-position: -47px -240px; }
|
||||
.g-toolbar-large .ui-icon-parent-d { background-position: -47px -263px; }
|
||||
.g-toolbar-large .ui-icon-next { background-position: -70px -240px; }
|
||||
.g-toolbar-large .ui-icon-next-d { background-position: -70px -263px; }
|
||||
.g-toolbar-large .ui-icon-last { background-position: -93px -240px; }
|
||||
.g-toolbar-large .ui-icon-last-d { background-position: -93px -263px; }
|
||||
|
||||
/* base.css - Upload dialog ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-add-photos-status li.g-success { background: url('../images/ico-success.png') transparent no-repeat .4em 50%; }
|
||||
#g-add-photos-status li.g-error { background: url('../images/ico-error.png') transparent no-repeat .4em 50%; color: #f00; }
|
||||
169
themes/greydragon/css/colorpacks/blackhawk/css/colors.css
Executable file
@@ -0,0 +1,169 @@
|
||||
/**
|
||||
* Gallery 3 Grey Dragon Theme
|
||||
* Copyright (C) 2006-2010 Serguei Dosyukov
|
||||
*
|
||||
* ColorPack: SlateBlue
|
||||
*/
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* styles.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
html { background-color: #101010; }
|
||||
body { color: #8C8C8C; background: #101010; }
|
||||
|
||||
h1 { border-bottom: #424242 1px solid; }
|
||||
a { color: #6392CF !important; }
|
||||
.ui-icon, #g-slideshow-link { background-image: url(../images/ui-icons.png); }
|
||||
|
||||
#g-site-status li { border-bottom: 1px solid #ccc; color: #333; }
|
||||
#g-site-status .g-error { background: #f6cbca url('../images/ico-error.png') no-repeat .4em 50%; }
|
||||
#g-site-status .g-info { background: #e8e8e8 url('../images/ico-info.png') no-repeat .4em 50%; }
|
||||
#g-site-status .g-success { background: #d9efc2 url('../../../../images/ico-success.png') no-repeat .4em 50%; }
|
||||
#g-site-status .g-warning { background: #fcf9ce url('../images/ico-warning.png') no-repeat .4em 50%; }
|
||||
|
||||
/* styles.css - Layout ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#g-header { border: #424242 1px solid; }
|
||||
#g-header .g-message-block { border: 1px #888 solid; background-color: #AAA; color: #000; }
|
||||
#g-main { border-left: #424242 1px solid; border-right: #424242 1px solid; }
|
||||
.viewmode-mini #g-main { border-bottom: #424242 1px solid; }
|
||||
|
||||
#g-footer { font-size: 10px; border: #424242 1px solid; }
|
||||
#g-theme-logo { background: transparent url('../images/colorpack.png') no-repeat; }
|
||||
|
||||
/* styles.css - Album Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-column-top, #g-column-bottom { border-left: #424242 1px solid; border-right: #424242 1px solid; }
|
||||
#g-column-top .g-toolbar h1, #g-column-bottom .g-toolbar h1 { border: none; }
|
||||
#g-info .g-description { border: #424242 1px solid; }
|
||||
|
||||
.g-thumbcrop { border-color: #424142; }
|
||||
.g-thumbslide, .g-album .g-thumbslide { background: #212021; border-color: #424142 #000 #000 #424142; }
|
||||
.g-thumbslide .g-description { color: #fff; border-top: 1px solid #424142; border-bottom: 1px solid #424142; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
.g-album.g-expanded .g-thumbslide .g-description { background: transparent url(../images/ico-album.png) no-repeat 8px 4px; }
|
||||
.g-album .g-thumbslide .g-description { background: #1E1E1E url(../images/ico-album.png) no-repeat 8px 4px; }
|
||||
.g-thumbslide .g-metadata { border-top: 1px solid #424142; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
.g-expanded .g-thumbslide .g-metadata { border-top: 1px solid #424142; background: #1E1E1E; }
|
||||
|
||||
/* styles.css - Photo Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
div.g-resize { background: #212021; border-top: 1px solid #424142; border-left: 1px solid #424142; border-right: 1px solid #000; border-bottom: 1px solid #000; }
|
||||
div.g-resize .g-description { color: #fff; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
div.g-resize .g-description.g-align-top { border-bottom: 1px solid #999; }
|
||||
div.g-resize .g-description.g-align-bottom { border-top: 1px solid #999; }
|
||||
div.g-resize .g-more { border: 1px solid #999; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
div#g-movie .g-movie { border: 1px solid #888; padding: 5px; background: #555; }
|
||||
|
||||
/* styles.css - Sidebar Blocks : Common ~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-block h2 { border-top: 1px solid #424142; border-left: 1px solid #424142; border-right: 1px solid #000; border-bottom: 1px solid #000; }
|
||||
|
||||
/* styles.css - Sidebar Blocks : Buttons ~~~~~~~~~~~~~*/
|
||||
|
||||
.g-fullsize-link { background: url("../images/view-fullsize.png") top left no-repeat; }
|
||||
#g-exifdata-link { background: url("../images/view-info.png") top left no-repeat; }
|
||||
|
||||
/* styles.css - Root Page ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-rootpage-roll span { border: 1px solid #424142; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* forms.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
/* styles.css - Photo Slideshow ~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#sb-body { background-color: #101415; }
|
||||
#sb-title { border-left: #303030 1px solid; border-right: #303030 1px solid; background: #101415 url('../images/section.png') repeat-x; }
|
||||
#sb-counter a { color: #fff !important; font-weight: bold; font-size: 11px; }
|
||||
|
||||
/* forms.css - Add item ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-add-photos-canvas { background-color: #101010; border: #303030 1px solid; }
|
||||
#g-add-photos-status { background-color: #101010; border: #303030 1px solid; }
|
||||
|
||||
.uploadifyQueueItem { color: #000; }
|
||||
|
||||
/* forms.css - Reauthentificate ~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-column-centerfull #g-login { border: #888 1px solid; }
|
||||
|
||||
/* forms.css - User Profile ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-user-profile .g-avatar { border: 1px solid #888; background: #555; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* menus.css ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-site-menu ul { border: #000000 0 solid; }
|
||||
#g-site-menu li a:hover { color: #000000; background-color: #303030; }
|
||||
#g-site-menu li:hover,
|
||||
#g-site-menu li.iemhover { border: #303030 1px solid; background-color: #303030; border-bottom: #000000 1px solid; }
|
||||
#g-site-menu li ul { border: #000000 1px solid; }
|
||||
#g-site-menu li ul li { border: #C0C0C0 0px solid; background-color: #212121; }
|
||||
#g-site-menu li ul li:hover,
|
||||
#g-site-menu li ul li.iemhover { border: #C0C0C0 0 solid; background-color: #303030; }
|
||||
|
||||
#g-site-menu.g-bar { border: #000000 1px solid; background-color: #212121; }
|
||||
#g-site-menu.g-bar li:hover,
|
||||
#g-site-menu.g-bar li.iemhover { border-bottom-color: transparent; }
|
||||
|
||||
.g-item .g-context-menu { background-image: url(../images/ui-icons.png); }
|
||||
.g-item .g-context-menu:hover { background: #181818 none; border: 1px #888 solid; }
|
||||
.g-item .g-context-menu li li a:hover { background-color: #303030; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* modules.css - Exif ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-exif-data table { border: #303030 1px solid; }
|
||||
#g-exif-data .g-even { background-color: #404040; }
|
||||
#g-exif-data .g-odd { background-color: #303030; }
|
||||
|
||||
/* modules.css - Info module ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-metadata .g-description { border-top: 1px solid #424242; }
|
||||
|
||||
/* modules.css - Image block ~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-image-block img { border: 1px solid #888; background: #555; }
|
||||
|
||||
/* modules.css - Comments ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-comments .g-author { border-bottom: 1px solid #424242; color: #8C8C8C; }
|
||||
#g-comments-link { background-image: url(../images/view-comments.png); }
|
||||
#g-comment-detail>ul>li { border: 1px dotted #424242; }
|
||||
#g-comment-form { border: 1px dotted #424242; }
|
||||
|
||||
/* modules.css - Calendar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-view-menu #g-calendarview-link { background-image: url(../images/view-calendar.png); }
|
||||
#g-view-calendar-form ul { border: 1px #888 solid; }
|
||||
table.calendar { border: #a2adbc 1px solid; color: #616b76; }
|
||||
table.calendar th { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; background: #d9e2e1; color: #8C8C8C; }
|
||||
table.calendar td { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; }
|
||||
table.calendar td.title { background-color: #a2adbc; color: #fff; }
|
||||
table.calendar td.title a { color: #fff !important; }
|
||||
table.calendar td a { color: red !important; }
|
||||
|
||||
/* modules.css - Search ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-quick-search-form input[type="text"] { background-color: transparent; border: 1px solid #424242; color: #8C8C8C; }
|
||||
#g-quick-search-form input[type="submit"] { background: transparent url(../images/search.png) no-repeat center top; border: none; }
|
||||
|
||||
/* modules.css - Basket ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#checkout legend { background: url(../images/section.png) repeat-x; }
|
||||
|
||||
/* forms.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.ui-dialog .ui-dialog-titlebar { background: #424242; }
|
||||
.ui-widget-content { border: 1px solid #303030; background-color: #101010; color: #8C8C8C; }
|
||||
.ui-progressbar .ui-progressbar-value { background: #424242; }
|
||||
|
||||
/* Large toolbar icons support ~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-toolbar-large #g-view-menu #g-calendarview-link { background-image: url(../images/view-calendar-b.png); }
|
||||
.g-toolbar-large #g-slideshow-link { background: url(../images/view-slideshow-b.png) no-repeat top center; }
|
||||
.g-toolbar-large .g-fullsize-link { background: url(../images/view-fullsize-b.png) no-repeat top center; }
|
||||
.g-toolbar-large #g-exifdata-link { background: url(../images/view-info-b.png) no-repeat top center; }
|
||||
.g-toolbar-large #g-comments-link { background: url(../images/view-comments-b.png) no-repeat top center; }
|
||||
|
||||
.g-thumbcrop a.g-meta-exif-link { background-image: url(../images/view-info-o.png); }
|
||||
BIN
themes/greydragon/css/colorpacks/blackhawk/images/ajax-loading.gif
Executable file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/colorpack.png
Executable file
|
After Width: | Height: | Size: 307 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/ico-album.png
Executable file
|
After Width: | Height: | Size: 351 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/ico-error.png
Executable file
|
After Width: | Height: | Size: 701 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/ico-help.png
Executable file
|
After Width: | Height: | Size: 786 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/ico-info.png
Executable file
|
After Width: | Height: | Size: 778 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/ico-warning.png
Executable file
|
After Width: | Height: | Size: 666 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/loading-large.gif
Executable file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/loading-small.gif
Executable file
|
After Width: | Height: | Size: 673 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/search.png
Executable file
|
After Width: | Height: | Size: 969 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/ui-icons.png
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/view-calendar-b.png
Executable file
|
After Width: | Height: | Size: 653 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/view-calendar.png
Executable file
|
After Width: | Height: | Size: 429 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/view-comments-b.png
Executable file
|
After Width: | Height: | Size: 600 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/view-comments.png
Executable file
|
After Width: | Height: | Size: 492 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/view-fullsize-b.png
Executable file
|
After Width: | Height: | Size: 699 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/view-fullsize.png
Executable file
|
After Width: | Height: | Size: 407 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/view-info-b.png
Executable file
|
After Width: | Height: | Size: 493 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/view-info-o.png
Executable file
|
After Width: | Height: | Size: 259 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/view-info.png
Executable file
|
After Width: | Height: | Size: 938 B |
BIN
themes/greydragon/css/colorpacks/blackhawk/images/view-slideshow-b.png
Executable file
|
After Width: | Height: | Size: 1.2 KiB |
188
themes/greydragon/css/colorpacks/carbon/css/colors.css
Executable file
@@ -0,0 +1,188 @@
|
||||
/**
|
||||
* Gallery 3 Grey Dragon Theme
|
||||
* Copyright (C) 2006-2010 Serguei Dosyukov
|
||||
*
|
||||
* ColorPack: Carbon
|
||||
*/
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* styles.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
html { background-color: #333; }
|
||||
body { color: #999; background-color: #333; }
|
||||
|
||||
h1 { border-bottom: #6f6f6f 1px solid; }
|
||||
a { color: #999 !important; font-weight: bold; }
|
||||
.ui-icon, #g-slideshow-link { background-image: url(../images/ui-icons.png); }
|
||||
|
||||
#g-site-status li { border-bottom: 1px solid #ccc; color: #333; }
|
||||
#g-site-status .g-error { background: #f6cbca url('../images/ico-error.png') no-repeat .4em 50%; }
|
||||
#g-site-status .g-info { background: #e8e8e8 url('../images/ico-info.png') no-repeat .4em 50%; }
|
||||
#g-site-status .g-success { background: #d9efc2 url('../../../../images/ico-success.png') no-repeat .4em 50%; }
|
||||
#g-site-status .g-warning { background: #fcf9ce url('../images/ico-warning.png') no-repeat .4em 50%; }
|
||||
|
||||
/* styles.css - Layout ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-header .g-message-block { border: 1px #888 solid; background-color: #AAA; color: #000; }
|
||||
#g-main { background-color: #3f3f3f; margin-left: 10px; margin-right: 10px; }
|
||||
#g-theme-logo { background: transparent url('../images/colorpack.png') no-repeat; }
|
||||
|
||||
/* styles.css - Album Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-column-top { border-top: #737373 1px solid; }
|
||||
#g-column-top .g-toolbar h1, #g-column-bottom .g-toolbar h1 { border: none; }
|
||||
#g-info .g-description { border: #6f6f6f 1px solid; }
|
||||
|
||||
.g-thumbslide { background: #555; border-color: #303E43; }
|
||||
.g-album .g-thumbslide { border-color: #6f6f6f; }
|
||||
.g-thumbcrop { border-color: #303E43; }
|
||||
|
||||
.g-thumbslide .g-description { color: #fff; border-top: 1px solid #303e43; border-bottom: 1px solid #303e43; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
.g-album.g-expanded .g-thumbslide .g-description { background: transparent url(../images/ico-album.png) no-repeat 8px 4px; }
|
||||
.g-album .g-thumbslide .g-description { background: #3f3f3f url(../images/ico-album.png) no-repeat 8px 4px; }
|
||||
.g-thumbslide .g-metadata { border-top: 1px solid #303e43; background: #3f3f3f; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; color: #FFF; }
|
||||
.g-expanded .g-thumbslide .g-metadata { border-top: 1px solid #303e43; background: #3f3f3f; }
|
||||
|
||||
/* styles.css - Photo Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
div.g-resize { border: 1px solid #888; background: #555; }
|
||||
div.g-resize .g-description { color: #fff; background: #3f3f3f; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
div.g-resize .g-description.g-align-top { border-bottom: 1px solid #999; }
|
||||
div.g-resize .g-description.g-align-bottom { border-top: 1px solid #999; }
|
||||
div.g-resize .g-more { border: 1px solid #999; background: #3f3f3f; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
div#g-movie .g-movie { border: 1px solid #888; padding: 5px; background: #555; }
|
||||
|
||||
/* styles.css - Sidebar Blocks : Common ~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-block { border: 1px solid #6f6f6f; }
|
||||
|
||||
.g-block h2 { background-color: rgb(51, 51, 51); }
|
||||
#g-column-bottom .g-block h2 { background-color: rgb(41, 41, 41); }
|
||||
|
||||
/* styles.css - Sidebar Blocks : Buttons ~~~~~~~~~~~~~*/
|
||||
|
||||
.g-fullsize-link { background: url("../images/view-fullsize.png") top left no-repeat; }
|
||||
#g-exifdata-link { background: url("../images/view-info.png") top left no-repeat; }
|
||||
|
||||
/* styles.css - Root Page ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-rootpage-roll span { border: 1px solid #999; background: #3f3f3f; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* menus.css ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-site-menu ul { border: #000000 0 solid; }
|
||||
#g-site-menu li a:hover { color: #000000; background-color: #333; }
|
||||
#g-site-menu li:hover,
|
||||
#g-site-menu li.iemhover { border: #303030 1px solid; background-color: #333; border-bottom: #000000 1px solid; }
|
||||
#g-site-menu li ul { border: #000000 1px solid; }
|
||||
#g-site-menu li ul li { border: #C0C0C0 0px solid; background-color: #333; }
|
||||
#g-site-menu li ul li:hover,
|
||||
#g-site-menu li ul li.iemhover { border: #C0C0C0 0 solid; background-color: #ddf2ff; }
|
||||
|
||||
#g-site-menu.g-bar { border: #000000 1px solid; background-color: #333; }
|
||||
#g-site-menu.g-bar li:hover,
|
||||
#g-site-menu.g-bar li.iemhover { border-bottom-color: transparent; }
|
||||
|
||||
.g-item .g-context-menu { background-image: url(../images/ui-icons.png); }
|
||||
.g-item .g-context-menu:hover { background: #333 none; border: 1px #888 solid; }
|
||||
.g-item .g-context-menu li li a:hover { background-color: #ddf2ff; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* forms.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
/* styles.css - Photo Slideshow ~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#sb-body { background-color: #101415; }
|
||||
#sb-title { border-left: #303030 1px solid; border-right: #303030 1px solid; background-color: #333; }
|
||||
#sb-counter a { color: #fff !important; font-weight: bold; font-size: 11px; }
|
||||
|
||||
/* forms.css - Add item ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-add-photos-canvas { background-color: #101010; border: #303030 1px solid; }
|
||||
#g-add-photos-button { border: #303030 1px solid; color: #bbb; }
|
||||
#g-add-photos-status { background-color: #101010; border: #303030 1px solid; }
|
||||
|
||||
.uploadifyQueueItem { color: #000; }
|
||||
|
||||
/* forms.css - User Profile ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-user-profile .g-avatar { border: 1px solid #888; background: #555; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* menus.css ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-site-menu ul { border: #000000 0 solid; }
|
||||
#g-site-menu li a:hover { color: #000000; background-color: #303030; }
|
||||
#g-site-menu li:hover,
|
||||
#g-site-menu li.iemhover { border: #303030 1px solid; background-color: #303030; border-bottom: #000000 1px solid; }
|
||||
#g-site-menu li ul { border: #000000 1px solid; }
|
||||
#g-site-menu li ul li { border: #C0C0C0 0px solid; background-color: #212121; }
|
||||
#g-site-menu li ul li:hover,
|
||||
#g-site-menu li ul li.iemhover { border: #C0C0C0 0 solid; background-color: #303030; }
|
||||
|
||||
.g-item .g-context-menu { background-image: url(../images/ui-icons.png); }
|
||||
.g-item .g-context-menu:hover { background: #181818 none; border: 1px #888 solid; }
|
||||
.g-item .g-context-menu li li a:hover { background-color: #303030; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* modules.css - Exif ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-exif-data table { border: #303030 1px solid; }
|
||||
#g-exif-data .g-even { background-color: #404040; }
|
||||
#g-exif-data .g-odd { background-color: #303030; }
|
||||
|
||||
/* modules.css - Info module ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-metadata .g-description { border-top: 1px solid #737373; }
|
||||
|
||||
/* modules.css - Image block ~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-image-block img { border: 1px solid #888; background: #555; }
|
||||
|
||||
/* modules.css - Comments ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-comments .g-author { border-bottom: 1px solid #202628; color: #999; }
|
||||
#g-comments-link { background-image: url(../images/view-comments.png); }
|
||||
#g-comment-detail>ul>li { border: 1px dotted #737373; }
|
||||
#g-comment-form { border: 1px dotted #737373; }
|
||||
|
||||
/* modules.css - Calendar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-view-menu #g-calendarview-link { background-image: url(../images/view-calendar.png); }
|
||||
#g-view-calendar-form ul { border: 1px #888 solid; }
|
||||
table.calendar { border: #a2adbc 1px solid; color: #616b76; }
|
||||
table.calendar th { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; background: #d9e2e1; color: #616b76; }
|
||||
table.calendar td { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; }
|
||||
table.calendar td.title { background-color: #a2adbc; color: #fff; }
|
||||
table.calendar td.title a { color: #fff !important; }
|
||||
table.calendar td a { color: red !important; }
|
||||
|
||||
/* modules.css - Search ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-quick-search-form input[type="text"] { background-color: transparent; border: 1px solid #737373; color: #BBB; }
|
||||
#g-quick-search-form input[type="submit"] { background: transparent url(../images/search.png) no-repeat center top; border: none; }
|
||||
|
||||
/* modules.css - Basket ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#checkout legend { background: url(../images/section.png) repeat-x; }
|
||||
|
||||
/* forms.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.ui-dialog .ui-dialog-titlebar { background: #333 url('../images/section.png') repeat-x; }
|
||||
.ui-widget-content { border: 1px solid #303030; background-color: #333; color: #bbb; }
|
||||
.ui-progressbar .ui-progressbar-value { background: #737373; }
|
||||
|
||||
/* forms.css - Reauthentificate ~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-column-centerfull #g-login { border: #737373 1px solid; }
|
||||
|
||||
/* Large toolbar icons support ~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-toolbar-large #g-view-menu #g-calendarview-link { background-image: url(../images/view-calendar-b.png); }
|
||||
.g-toolbar-large #g-slideshow-link { background: url(../images/view-slideshow-b.png) no-repeat top center; }
|
||||
.g-toolbar-large .g-fullsize-link { background: url(../images/view-fullsize-b.png) no-repeat top center; }
|
||||
.g-toolbar-large #g-exifdata-link { background: url(../images/view-info-b.png) no-repeat top center; }
|
||||
.g-toolbar-large #g-comments-link { background: url(../images/view-comments-b.png) no-repeat top center; }
|
||||
|
||||
.g-thumbcrop a.g-meta-exif-link { background-image: url(../images/view-info-o.png); }
|
||||
BIN
themes/greydragon/css/colorpacks/carbon/images/ajax-loading.gif
Executable file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
themes/greydragon/css/colorpacks/carbon/images/colorpack.png
Executable file
|
After Width: | Height: | Size: 286 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/ico-album.png
Executable file
|
After Width: | Height: | Size: 351 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/ico-error.png
Executable file
|
After Width: | Height: | Size: 701 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/ico-help.png
Executable file
|
After Width: | Height: | Size: 786 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/ico-info.png
Executable file
|
After Width: | Height: | Size: 778 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/ico-warning.png
Executable file
|
After Width: | Height: | Size: 666 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/loading-large.gif
Executable file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
themes/greydragon/css/colorpacks/carbon/images/loading-small.gif
Executable file
|
After Width: | Height: | Size: 673 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/search.png
Executable file
|
After Width: | Height: | Size: 969 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/section.png
Executable file
|
After Width: | Height: | Size: 192 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/ui-icons.png
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
themes/greydragon/css/colorpacks/carbon/images/view-calendar-b.png
Executable file
|
After Width: | Height: | Size: 653 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/view-calendar.png
Executable file
|
After Width: | Height: | Size: 429 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/view-comments-b.png
Executable file
|
After Width: | Height: | Size: 600 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/view-comments.png
Executable file
|
After Width: | Height: | Size: 492 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/view-fullsize-b.png
Executable file
|
After Width: | Height: | Size: 699 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/view-fullsize.png
Executable file
|
After Width: | Height: | Size: 407 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/view-info-b.png
Executable file
|
After Width: | Height: | Size: 493 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/view-info-o.png
Executable file
|
After Width: | Height: | Size: 259 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/view-info.png
Executable file
|
After Width: | Height: | Size: 938 B |
BIN
themes/greydragon/css/colorpacks/carbon/images/view-slideshow-b.png
Executable file
|
After Width: | Height: | Size: 1.2 KiB |
173
themes/greydragon/css/colorpacks/greydragon/css/colors.css
Executable file
@@ -0,0 +1,173 @@
|
||||
/**
|
||||
* Gallery 3 Grey Dragon Theme
|
||||
* Copyright (C) 2006-2010 Serguei Dosyukov
|
||||
*
|
||||
* ColorPack: GreyDragon - Default color pack
|
||||
*/
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* styles.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
html { background-color: #1A2022; }
|
||||
body { color: #BBB; background: #1A2022; }
|
||||
|
||||
h1 { border-bottom: #737373 1px solid; }
|
||||
a { color: #6392CF !important; }
|
||||
.ui-icon, #g-slideshow-link { background-image: url(../images/ui-icons.png); }
|
||||
|
||||
#g-site-status li { border-bottom: 1px solid #ccc; color: #333; }
|
||||
#g-site-status .g-error { background: #f6cbca url('../images/ico-error.png') no-repeat .4em 50%; }
|
||||
#g-site-status .g-info { background: #e8e8e8 url('../images/ico-info.png') no-repeat .4em 50%; }
|
||||
#g-site-status .g-success { background: #d9efc2 url('../../../../images/ico-success.png') no-repeat .4em 50%; }
|
||||
#g-site-status .g-warning { background: #fcf9ce url('../images/ico-warning.png') no-repeat .4em 50%; }
|
||||
|
||||
/* styles.css - Layout ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#g-header { border-left: #10151c 1px solid; border-right: #10151c 1px solid; background: url(../images/background-top.gif) #1A2022 repeat-x; }
|
||||
#g-header .g-message-block { border: 1px #888 solid; background-color: #AAA; color: #000; }
|
||||
#g-main { border-left: #10151c 1px solid; border-right: #10151c 1px solid; background: url(../images/background-bottom.gif) #1A2022 repeat-x; }
|
||||
.viewmode-mini #g-main { border-bottom: #10151c 1px solid; }
|
||||
#g-footer { background: url(../images/footer.png) #1A2022 repeat-x top !important; }
|
||||
#g-theme-logo { background: transparent url('../images/colorpack.png') no-repeat; }
|
||||
|
||||
/* styles.css - Album Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-column-top { background: url(../images/background-bottom.gif) #1A2022 repeat-x; border: #10151C 1px solid; }
|
||||
#g-column-bottom { background-color: #1a2022; border: #10151C 1px solid; }
|
||||
#g-column-top .g-toolbar h1, #g-column-bottom .g-toolbar h1 { border: none; }
|
||||
#g-info .g-description { border: #737373 1px solid; }
|
||||
|
||||
.g-thumbslide { background: #1E1E1E url('../images/image-thumb.gif') repeat-x; border-color: #303E43; }
|
||||
.g-album .g-thumbslide { border-color: #43565B; }
|
||||
.g-thumbcrop { border-color: #303E43; }
|
||||
.g-thumbslide .g-description { color: #fff; border-top: 1px solid #303e43; border-bottom: 1px solid #303e43; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
.g-album.g-expanded .g-thumbslide .g-description { background: transparent url(../images/ico-album.png) no-repeat 8px 4px; }
|
||||
.g-album .g-thumbslide .g-description { background: #1E1E1E url(../images/ico-album.png) no-repeat 8px 4px; }
|
||||
.g-thumbslide .g-metadata { border-top: 1px solid #303e43; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
.g-expanded .g-thumbslide .g-metadata { border-top: 1px solid #303e43; background: #1E1E1E; }
|
||||
.g-album .g-thumbslide, .g-photo .g-thumbslide { background-color: #1E1E1E; }
|
||||
|
||||
/* styles.css - Photo Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
div.g-resize { border: 1px solid #888; background: #555; }
|
||||
div.g-resize .g-description { color: #fff; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
div.g-resize .g-description.g-align-top { border-bottom: 1px solid #999; }
|
||||
div.g-resize .g-description.g-align-bottom { border-top: 1px solid #999; }
|
||||
div.g-resize .g-more { border: 1px solid #999; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
div#g-movie .g-movie { border: 1px solid #888; padding: 5px; background: #555; }
|
||||
|
||||
/* styles.css - Sidebar Blocks : Common ~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-block { border: 1px solid #737373; background-color: #101415; }
|
||||
.g-block h2 { background: url(../images/section.png) repeat-x; }
|
||||
|
||||
/* styles.css - Sidebar Blocks : Buttons ~~~~~~~~~~~~~*/
|
||||
|
||||
.g-fullsize-link { background: url("../images/view-fullsize.png") top left no-repeat; }
|
||||
#g-exifdata-link { background: url("../images/view-info.png") top left no-repeat; }
|
||||
|
||||
/* styles.css - Root Page ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-rootpage-roll span { border: 1px solid #999; background: #1E1E1E; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* forms.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
/* styles.css - Photo Slideshow ~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#sb-body { background: #101415 url('../images/ajax-loading.gif') no-repeat center center; }
|
||||
#sb-title { border-left: #303030 1px solid; border-right: #303030 1px solid; background: #101415 url('../images/section.png') repeat-x; }
|
||||
#sb-counter a { color: #fff !important; font-weight: bold; font-size: 11px; }
|
||||
|
||||
/* forms.css - Add item ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-add-photos-canvas { background-color: #101010; border: #303030 1px solid; }
|
||||
#ag-add-photos-button { border: #303030 1px solid; color: #bbb; }
|
||||
#g-add-photos-status { background-color: #101010; border: #303030 1px solid; }
|
||||
.uploadifyQueueItem { color: #000; }
|
||||
|
||||
/* forms.css - User Profile ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-user-profile .g-avatar { border: 1px solid #888; background: #555; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* menus.css ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-site-menu ul { border: #000000 0 solid; }
|
||||
#g-site-menu li a:hover { color: #000000; background-color: #303030; }
|
||||
#g-site-menu li:hover,
|
||||
#g-site-menu li.iemhover { border: #303030 1px solid; background-color: #303030; border-bottom: #000000 1px solid; }
|
||||
#g-site-menu li ul { border: #000000 1px solid; }
|
||||
#g-site-menu li ul li { border: #C0C0C0 0px solid; background-color: #212121; }
|
||||
#g-site-menu li ul li:hover,
|
||||
#g-site-menu li ul li.iemhover { border: #C0C0C0 0 solid; background-color: #303030; }
|
||||
|
||||
#g-site-menu.g-bar { border: #000000 1px solid; background-color: #212121; }
|
||||
#g-site-menu.g-bar li:hover,
|
||||
#g-site-menu.g-bar li.iemhover { border-bottom-color: transparent; }
|
||||
|
||||
|
||||
.g-item .g-context-menu { background-image: url(../images/ui-icons.png); }
|
||||
.g-item .g-context-menu:hover { background: #181818 none; border: 1px #888 solid; }
|
||||
.g-item .g-context-menu li li a:hover { background-color: #303030; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* modules.css - Exif ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-exif-data table { border: #303030 1px solid; }
|
||||
#g-exif-data .g-even { background-color: #404040; }
|
||||
#g-exif-data .g-odd { background-color: #303030; }
|
||||
|
||||
/* modules.css - Info module ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-metadata .g-description { border-top: 1px solid #737373; }
|
||||
|
||||
/* modules.css - Image block ~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-image-block img { border: 1px solid #888; background: #555; }
|
||||
|
||||
/* modules.css - Comments ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-comments .g-author { border-bottom: 1px solid #202628; color: #999; }
|
||||
#g-comments-link { background-image: url(../images/view-comments.png); }
|
||||
#g-comment-detail>ul>li { border: 1px dotted #737373; }
|
||||
#g-comment-form { border: 1px dotted #737373; }
|
||||
|
||||
/* modules.css - Calendar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-view-menu #g-calendarview-link { background-image: url(../images/view-calendar.png); }
|
||||
#g-view-calendar-form ul { border: 1px #888 solid; }
|
||||
table.calendar { border: #a2adbc 1px solid; color: #616b76; }
|
||||
table.calendar th { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; background: #d9e2e1; color: #616b76; }
|
||||
table.calendar td { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; }
|
||||
table.calendar td.title { background-color: #a2adbc; color: #fff; }
|
||||
table.calendar td.title a { color: #fff !important; }
|
||||
table.calendar td a { color: red !important; }
|
||||
|
||||
/* modules.css - Search ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-quick-search-form input[type="text"] { background-color: transparent; border: 1px solid #737373; color: #BBB; }
|
||||
#g-quick-search-form input[type="submit"] { background: transparent url(../images/search.png) no-repeat center top; border: none; }
|
||||
|
||||
/* modules.css - Basket ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#checkout legend { background: url(../images/section.png) repeat-x; }
|
||||
|
||||
/* forms.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.ui-dialog .ui-dialog-titlebar { background: #101415 url('../images/section.png') repeat-x; }
|
||||
.ui-widget-content { border: 1px solid #303030; background-color: #1a2022; color: #bbb; }
|
||||
.ui-progressbar .ui-progressbar-value { background: #737373; }
|
||||
|
||||
/* forms.css - Reauthentificate ~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-column-centerfull #g-login { border: #888 1px solid; }
|
||||
|
||||
/* Large toolbar icons support ~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-toolbar-large #g-view-menu #g-calendarview-link { background-image: url(../images/view-calendar-b.png); }
|
||||
.g-toolbar-large #g-slideshow-link { background: url(../images/view-slideshow-b.png) no-repeat top center; }
|
||||
.g-toolbar-large .g-fullsize-link { background: url(../images/view-fullsize-b.png) no-repeat top center; }
|
||||
.g-toolbar-large #g-exifdata-link { background: url(../images/view-info-b.png) no-repeat top center; }
|
||||
.g-toolbar-large #g-comments-link { background: url(../images/view-comments-b.png) no-repeat top center; }
|
||||
|
||||
.g-thumbcrop a.g-meta-exif-link { background-image: url(../images/view-info-o.png); }
|
||||
BIN
themes/greydragon/css/colorpacks/greydragon/images/ajax-loading.gif
Executable file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
themes/greydragon/css/colorpacks/greydragon/images/background-bottom.gif
Executable file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
themes/greydragon/css/colorpacks/greydragon/images/background-top.gif
Executable file
|
After Width: | Height: | Size: 862 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/background.gif
Executable file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
themes/greydragon/css/colorpacks/greydragon/images/colorpack.png
Executable file
|
After Width: | Height: | Size: 414 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/footer.png
Executable file
|
After Width: | Height: | Size: 376 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/ico-album.png
Executable file
|
After Width: | Height: | Size: 351 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/ico-error.png
Executable file
|
After Width: | Height: | Size: 701 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/ico-help.png
Executable file
|
After Width: | Height: | Size: 786 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/ico-info.png
Executable file
|
After Width: | Height: | Size: 778 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/ico-warning.png
Executable file
|
After Width: | Height: | Size: 666 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/image-thumb.gif
Executable file
|
After Width: | Height: | Size: 830 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/loading-large.gif
Executable file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
themes/greydragon/css/colorpacks/greydragon/images/loading-small.gif
Executable file
|
After Width: | Height: | Size: 673 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/search.png
Executable file
|
After Width: | Height: | Size: 969 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/section.png
Executable file
|
After Width: | Height: | Size: 192 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/ui-icons.png
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
themes/greydragon/css/colorpacks/greydragon/images/view-calendar-b.png
Executable file
|
After Width: | Height: | Size: 653 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/view-calendar.png
Executable file
|
After Width: | Height: | Size: 429 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/view-comments-b.png
Executable file
|
After Width: | Height: | Size: 600 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/view-comments.png
Executable file
|
After Width: | Height: | Size: 492 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/view-fullsize-b.png
Executable file
|
After Width: | Height: | Size: 699 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/view-fullsize.png
Executable file
|
After Width: | Height: | Size: 407 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/view-info-b.png
Executable file
|
After Width: | Height: | Size: 493 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/view-info-o.png
Executable file
|
After Width: | Height: | Size: 259 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/view-info.png
Executable file
|
After Width: | Height: | Size: 938 B |
BIN
themes/greydragon/css/colorpacks/greydragon/images/view-slideshow-b.png
Executable file
|
After Width: | Height: | Size: 1.2 KiB |
192
themes/greydragon/css/colorpacks/roundrobin/css/colors.css
Executable file
@@ -0,0 +1,192 @@
|
||||
/**
|
||||
* Gallery 3 Grey Dragon Theme
|
||||
* Copyright (C) 2006-2010 Serguei Dosyukov
|
||||
*
|
||||
* ColorPack: Wind - White Hawk color pack
|
||||
*/
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* styles.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
html { background-color: #FFFFFF; }
|
||||
body { color: #555; margin-top: 1em; padding-left: 0px; padding-right: 0px; background: transparent url(../images/bg-body.jpg) top left; border-radius: 10px; box-shadow: 4px 4px 12px #333; }
|
||||
|
||||
a { color: #555 !important }
|
||||
a:hover { text-decoration: underline; }
|
||||
.ui-icon, #g-slideshow-link { background-image: url(../images/ui-icons.png); }
|
||||
|
||||
#g-site-status li { border-bottom: 1px solid #ccc; color: #333; }
|
||||
#g-site-status .g-error { background: #f6cbca url('../images/ico-error.png') no-repeat .4em 50%; }
|
||||
#g-site-status .g-info { background: #e8e8e8 url('../images/ico-info.png') no-repeat .4em 50%; }
|
||||
#g-site-status .g-success { background: #d9efc2 url('../../../../images/ico-success.png') no-repeat .4em 50%; }
|
||||
#g-site-status .g-warning { background: #fcf9ce url('../images/ico-warning.png') no-repeat .4em 50%; }
|
||||
|
||||
/* styles.css - Layout ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
#g-main-in { overflow: visible; }
|
||||
#g-header { border-bottom: #050505 1px solid; background: transparent url(../images/bg-header.jpg) repeat-x top left; border-top-left-radius: 10px; border-top-right-radius: 10px; }
|
||||
#g-header .g-message-block { border: 1px #ccc solid; color: #000; }
|
||||
#g-footer { border-top: #050505 1px solid; background: transparent url(../images/bg-header.jpg) repeat-x top left; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
|
||||
|
||||
#g-column-left { position: relative; float: left; right: 40px; top: 16px; background: transparent url(../images/bg-header.jpg) top left; border-radius: 6px; padding-top: 4px; box-shadow: 4px 4px 12px #333; }
|
||||
#g-column-right { position: relative; float: right; left: 40px; top: 16px; background: transparent url(../images/bg-header.jpg) top left; border-radius: 6px; padding-top: 4px; box-shadow: 4px 4px 12px #333; }
|
||||
|
||||
.g-sidebar-left #g-column-centerright { position: relative; left: -16px; }
|
||||
.g-sidebar-left #g-view-menu { right: 120px; }
|
||||
.g-sidebar-left #g-viewformat { right: 24px; }
|
||||
|
||||
.g-sidebar-right #g-column-centerleft { position: relative; left: 16px; }
|
||||
.g-sidebar-right #g-view-menu { top: 22px; }
|
||||
.g-sidebar-right #g-viewformat { top: 22px; }
|
||||
.g-toolbar-large.g-sidebar-right #g-viewformat { top: 26px; }
|
||||
|
||||
#g-gallery-logo { background-image: url('../images/gallery.png'); }
|
||||
#g-theme-logo { background: transparent url('../images/colorpack.png') no-repeat; }
|
||||
|
||||
#g-rootpage.g-sidebar-left #g-column-centerright,
|
||||
#g-rootpage.g-sidebar-right #g-column-centerleft { left: 0px; padding-left: 26px; }
|
||||
#g-header #g-login-menu { top: 0.6em; }
|
||||
|
||||
/* styles.css - Album Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-column-top .g-toolbar h1, #g-column-bottom .g-toolbar h1 { border: none; }
|
||||
#g-info h1, #g-album-header h1 { border-bottom: #ccc 1px solid; }
|
||||
#g-info .g-description { border: #ccc 1px solid; }
|
||||
|
||||
.g-thumbslide { border-color: #ccc; }
|
||||
.g-album .g-thumbslide { border-color: #ccc; }
|
||||
.g-thumbcrop { border-color: #ccc; }
|
||||
|
||||
.g-default .g-thumbslide .g-description { color: #000; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; background: #FFFFFF; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
.g-expanded .g-thumbslide .g-description { color: #fff; background: transparent; border: none; }
|
||||
.g-album .g-thumbslide .g-description { background-image: url(../images/ico-album.png); background-repeat: no-repeat; background-position: 8px 4px; }
|
||||
.g-thumbslide .g-metadata { border-top: 1px solid #ccc; background: #FFFFFF; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
|
||||
/* styles.css - Photo Layout ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
div.g-resize { border: 1px solid #ccc; }
|
||||
div.g-resize .g-description { color: #000; background: #FFFFFF; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
div.g-resize .g-description.g-align-top { border-bottom: 1px solid #ccc; }
|
||||
div.g-resize .g-description.g-align-bottom { border-top: 1px solid #ccc; }
|
||||
div.g-resize .g-more { border: 1px solid #ccc; background: #FFFFFF; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
div#g-movie .g-movie { border: 1px solid #ccc; padding: 5px; }
|
||||
|
||||
/* styles.css - Sidebar Blocks : Common ~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-block { }
|
||||
.g-block h2 { border-bottom: 1px solid #ccc; background: rgba(255, 255, 255, 0.5); border-radius: 5px; }
|
||||
|
||||
/* styles.css - Sidebar Blocks : Buttons ~~~~~~~~~~~~~*/
|
||||
|
||||
.g-fullsize-link { background: url("../images/view-fullsize.png") top left no-repeat; }
|
||||
#g-exifdata-link { background: url("../images/view-info.png") top left no-repeat; }
|
||||
|
||||
/* styles.css - Root Page ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-rootpage-roll span { border: 1px solid #ccc; background: #FFFFFF; filter:alpha(opacity=85); opacity:.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* forms.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
/* styles.css - Photo Slideshow ~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#sb-body { background-color: #fff; }
|
||||
#sb-title { border-left: #303030 1px solid; border-right: #303030 1px solid; background: #e8e8e8; color: #000; }
|
||||
#sb-title-inner { color: #000; }
|
||||
#sb-counter a { font-weight: bold; font-size: 11px; }
|
||||
|
||||
/* forms.css - Add item ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-add-photos-canvas { background-color: #fff; border: #303030 1px solid; }
|
||||
#g-add-photos-button { border: #303030 1px solid; }
|
||||
#g-add-photos-status { background-color: #fff; border: #303030 1px solid; }
|
||||
|
||||
.uploadifyQueueItem { color: #000; }
|
||||
|
||||
/* forms.css - User Profile ~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-user-profile h1 { border-bottom: #ccc 1px solid; }
|
||||
#g-user-profile .g-avatar { border: 1px solid #ccc; background: #fff; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* menus.css ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-site-menu ul { border: #000000 0 solid; color: #000; }
|
||||
#g-site-menu li { background-color: #ccc; }
|
||||
#g-site-menu li ul { border: #ccc 1px solid; }
|
||||
#g-site-menu li ul li { border: #ccc 0px solid; background-color: #ccc; }
|
||||
|
||||
#g-site-menu>ul>li { background-color: transparent; }
|
||||
|
||||
#g-site-menu.g-bar { border: #ccc 1px solid; background-color: #ccc; }
|
||||
#g-site-menu.g-bar li:hover,
|
||||
#g-site-menu.g-bar li.iemhover { border-bottom-color: transparent; }
|
||||
|
||||
.g-item .g-context-menu { background-image: url(../images/ui-icons.png); }
|
||||
.g-item .g-context-menu:hover { background: #e8e8e8 none; border: 1px #ccc solid; }
|
||||
.g-item .g-context-menu li li a:hover { background-color: #e8e8e8; }
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
/* modules.css - Exif ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-exif-data table { border: #ccc 1px solid; }
|
||||
#g-exif-data .g-even { background-color: #e8e8e8; }
|
||||
#g-exif-data .g-odd { background-color: #FFFFFF; }
|
||||
|
||||
/* modules.css - Info module ~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-metadata .g-description { border-top: 1px solid #ccc; }
|
||||
|
||||
/* modules.css - Image block ~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-image-block img { border: 1px solid #ccc; }
|
||||
|
||||
/* modules.css - Comments ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-comments .g-author { border-bottom: 1px solid #202628; color: #999; }
|
||||
#g-comments-link { background-image: url(../images/view-comments.png); }
|
||||
#g-comment-detail>ul>li { border: 1px dotted #ccc; }
|
||||
#g-comment-form { border: 1px dotted #ccc; }
|
||||
|
||||
/* modules.css - Calendar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-view-menu #g-calendarview-link { background-image: url(../images/view-calendar.png); }
|
||||
#g-view-calendar-form ul { border: 1px #888 solid; }
|
||||
table.calendar { border: #a2adbc 1px solid; color: #616b76; }
|
||||
table.calendar th { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; background: #d9e2e1; color: #616b76; }
|
||||
table.calendar td { border-bottom: #a2adbc 1px solid; border-right: #a2adbc 1px solid; }
|
||||
table.calendar td.title { background-color: #a2adbc; color: #fff; }
|
||||
table.calendar td.title a { color: #fff !important; }
|
||||
table.calendar td a { color: red !important; }
|
||||
|
||||
/* modules.css - Search ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-quick-search-form.g-short-form li { margin-left: -2px !important; }
|
||||
#g-quick-search-form input[type="text"] { background-color: #FFF; border: 1px solid #ccc; color: #666; border-top-left-radius: 4px; border-bottom-left-radius: 4px; }
|
||||
#ag-quick-search-form input[type="submit"] { border: #c5dbec 1px solid; text-indent: 0; width: auto; height: auto; font: 80% arial, helvetica, clean, sans-serif; font-weight: bold; padding-top: 3px; padding-bottom: 3px; }
|
||||
#g-quick-search-form input[type="submit"] { background: transparent url(../images/search.png) no-repeat center top; border: none; }
|
||||
|
||||
#g-search-results h1 { border-bottom: #ccc 1px solid; }
|
||||
|
||||
/* modules.css - Basket ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#checkout legend { background-color: #e8e8e8; }
|
||||
|
||||
/* forms.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.ui-dialog .ui-dialog-titlebar { background: #e8e8e8; color: #666666; }
|
||||
.ui-widget-content { border: 1px solid #303030; background-color: #fff; color: #000; }
|
||||
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; background: #303030; }
|
||||
|
||||
/* forms.css - Reauthentificate ~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
#g-column-centerfull #g-login { border: #ccc 1px solid; }
|
||||
|
||||
/* Large toolbar icons support ~~~~~~~~~~~~~~~~~~~~~~~*/
|
||||
|
||||
.g-toolbar-large #g-view-menu #g-calendarview-link { background-image: url(../images/view-calendar-b.png); }
|
||||
.g-toolbar-large #g-slideshow-link { background: url(../images/view-slideshow-b.png) no-repeat top center; }
|
||||
.g-toolbar-large .g-fullsize-link { background: url(../images/view-fullsize-b.png) no-repeat top center; }
|
||||
.g-toolbar-large #g-exifdata-link { background: url(../images/view-info-b.png) no-repeat top center; }
|
||||
.g-toolbar-large #g-comments-link { background: url(../images/view-comments-b.png) no-repeat top center; }
|
||||
|
||||
.g-thumbcrop a.g-meta-exif-link { background-image: url(../images/view-info-o.png); }
|
||||
BIN
themes/greydragon/css/colorpacks/roundrobin/images/ajax-loading.gif
Executable file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/bg-body.jpg
Executable file
|
After Width: | Height: | Size: 14 KiB |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/bg-header.jpg
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/colorpack.png
Executable file
|
After Width: | Height: | Size: 475 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/gallery.png
Executable file
|
After Width: | Height: | Size: 553 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/ico-album.png
Executable file
|
After Width: | Height: | Size: 351 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/ico-error.png
Executable file
|
After Width: | Height: | Size: 701 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/ico-help.png
Executable file
|
After Width: | Height: | Size: 786 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/ico-info.png
Executable file
|
After Width: | Height: | Size: 778 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/ico-warning.png
Executable file
|
After Width: | Height: | Size: 666 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/loading-large.gif
Executable file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/loading-small.gif
Executable file
|
After Width: | Height: | Size: 673 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/search.png
Executable file
|
After Width: | Height: | Size: 550 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/ui-icons.png
Executable file
|
After Width: | Height: | Size: 14 KiB |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/view-calendar-b.png
Executable file
|
After Width: | Height: | Size: 891 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/view-calendar.png
Executable file
|
After Width: | Height: | Size: 260 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/view-comments-b.png
Executable file
|
After Width: | Height: | Size: 600 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/view-comments.png
Executable file
|
After Width: | Height: | Size: 298 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/view-fullsize-b.png
Executable file
|
After Width: | Height: | Size: 670 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/view-fullsize.png
Executable file
|
After Width: | Height: | Size: 275 B |
BIN
themes/greydragon/css/colorpacks/roundrobin/images/view-info-b.png
Executable file
|
After Width: | Height: | Size: 698 B |