diff --git a/themes/okat_dark/admin/helpers/three_nids_event.php b/themes/okat_dark/admin/helpers/three_nids_event.php new file mode 100644 index 00000000..25f54b0b --- /dev/null +++ b/themes/okat_dark/admin/helpers/three_nids_event.php @@ -0,0 +1,42 @@ +group("three_nids")->label(t("3nids Theme Settings")); + $group->input("title") + ->rules("required") + ->label(t("item title : parent or item.")) + ->value(module::get_var("three_nids", "title")); + $group->input("description") + ->rules("required") + ->label(t("item description : tags or item or parent or nothing. If item description chosen and not available, then parent description is used.")) + ->value(module::get_var("three_nids", "description")); + $group->input("photo_size") + ->rules("required") + ->label(t("Photo size: resize or full.")) + ->value(module::get_var("three_nids", "photo_size")); + } + + static function theme_edit_form_completed($form) { + module::set_var("three_nids", "description", $form->three_nids->description->value); + module::set_var("three_nids", "title", $form->three_nids->title->value); + module::set_var("three_nids", "photo_size", $form->three_nids->photo_size->value); + } +} \ No newline at end of file diff --git a/themes/okat_dark/controllers/three_nids.php b/themes/okat_dark/controllers/three_nids.php new file mode 100644 index 00000000..07236556 --- /dev/null +++ b/themes/okat_dark/controllers/three_nids.php @@ -0,0 +1,36 @@ +where("item_id", "=", $item->id) + ->where("state", "=", "published") + ->order_by("created", "ASC") + ->find_all(); + + $v = new Theme_View("comments.html", "other", "comment-fragment"); + $v->comments = $comments; + $v->item = $item; + print $v; + } +} diff --git a/themes/okat_dark/css/fix-ie.css b/themes/okat_dark/css/fix-ie.css new file mode 100644 index 00000000..fcebeea8 --- /dev/null +++ b/themes/okat_dark/css/fix-ie.css @@ -0,0 +1,29 @@ +/** + * Fix display in IE 6, 7 + */ + +#g-banner { + z-index: 2; +} + +input.submit { + clear: none !important; + display: inline !important; +} + +#g-add-tag-form input.textbox { + width: 110px; +} + +#g-dialog .g-cancel { + display: inline-block !important; + float: none !important; +} + +.g-pager .g-text-right { + width: 29%; +} + +.g-pager .ui-icon-right { + width: 60px; +} diff --git a/themes/okat_dark/css/jquery.fancybox.css b/themes/okat_dark/css/jquery.fancybox.css new file mode 100644 index 00000000..35fe8bea --- /dev/null +++ b/themes/okat_dark/css/jquery.fancybox.css @@ -0,0 +1,658 @@ +html, body { + height: 100%; +} + +div#fancy_overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: black; + display: none; + z-index: 30; +} + +* html div#fancy_overlay { + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +div#fancy_wrap { + text-align: middle; +} + +div#fancy_loading { + position: absolute; + height: 40px; + width: 40px; + cursor: pointer; + display: none; + overflow: hidden; + background: transparent; + z-index: 100; +} + +div#fancy_loading div { + position: absolute; + top: 0; + left: 0; + width: 40px; + height: 480px; + background: transparent url('../images/fancy_progress.png') no-repeat; +} + +div#fancy_loading_overlay { + position: absolute; + background-color: #FFF; + z-index: 30; +} + +div#fancy_outer { + position: absolute; + top: 0; + left: 0; + z-index: 90; + padding: 18px 18px 20px 0px; + margin: 0; + overflow: hidden; + background: transparent; + display: none; +} + +div#fancy_inner { + position: relative; + width:100%; + height:100%; + border: 1px solid #BBB; + background: #FFF; +} + +div#fancy_content { + margin: 0; + z-index: 100; + position: absolute; +} + +div#fancy_div { + background: #000; + color: #FFF; + height: 100%; + width: 100%; + z-index: 100; +} + +img#fancy_img { + position: absolute; + top: 0; + left: 0; + border:0; + padding: 0; + margin: 0; + z-index: 100; + width: 100%; + height: 100%; +} + +div#fancy_close { + position: absolute; + top: -12px; + right: -15px; + height: 30px; + width: 30px; + background: url('../images/fancy_closebox.png') top left no-repeat; + cursor: pointer; + z-index: 181; + display: none; +} + +#fancy_frame { + position: relative; + width: 100%; + height: 100%; + display: none; +} + +#fancy_ajax { + width: 100%; + height: 100%; + overflow: auto; +} + +a#fancy_left, a#fancy_right { + position: absolute; + top: 15px; + height: 50px; + width: 30%; + cursor: pointer; + z-index: 111; + display: none; + background-image: url('data:image/gif;base64,AAAA'); + outline: none; +} + +a#fancy_left { + left: 0px; +} + +a#fancy_right { + right: 0px; +} + +span.fancy_ico { + position: absolute; + top: 50%; + margin-top: -15px; + width: 30px; + height: 30px; + z-index: 112; + cursor: pointer; + display: block; +} + +span#fancy_left_ico { + left: -9999px; + background: transparent url('../images/fancy_left.png') no-repeat; +} + +span#fancy_right_ico { + right: -9999px; + background: transparent url('../images/fancy_right.png') no-repeat; +} + +a#fancy_left:hover { + visibility: visible; +} + +a#fancy_right:hover { + visibility: visible; +} + +a#fancy_left:hover span { + left: 20px; +} + +a#fancy_right:hover span { + right: 20px; +} + +.fancy_bigIframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: transparent; +} + +div#fancy_bg { + position: absolute; + top: 0; left: 0; + width: 100%; + height: 100%; + z-index: 70; + border: 0; + padding: 0; + margin: 0; +} + +div.fancy_bg { + position: absolute; + display: block; + z-index: 70; + border: 0; + padding: 0; + margin: 0; +} + +div.fancy_bg_n { + top: -18px; + width: 100%; + height: 18px; + background: transparent url('../images/fancy_shadow_n.png') repeat-x; +} + +div.fancy_bg_ne { + top: -18px; + right: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_ne.png') no-repeat; +} + +div.fancy_bg_e { + right: -13px; + height: 100%; + width: 13px; + background: transparent url('../images/fancy_shadow_e.png') repeat-y; +} + +div.fancy_bg_se { + bottom: -18px; + right: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_se.png') no-repeat; +} + +div.fancy_bg_s { + bottom: -18px; + width: 100%; + height: 18px; + background: transparent url('../images/fancy_shadow_s.png') repeat-x; +} + +div.fancy_bg_sw { + bottom: -18px; + left: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_sw.png') no-repeat; +} + +div.fancy_bg_w { + left: -13px; + height: 100%; + width: 13px; + background: transparent url('../images/fancy_shadow_w.png') repeat-y; +} + +div.fancy_bg_nw { + top: -18px; + left: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_nw.png') no-repeat; +} + +div#fancy_title { + position: absolute; + bottom: -20px; + left: 0; + z-index: 100; + display: none; +} + +div#fancy_title div { + color: #FFF; + font: bold 10px Arial; + padding-bottom: 3px; +} + +div#fancy_title table { + margin: 0 auto; +} + +div#fancy_title table td { + padding: 0; + vertical-align: middle; +} + +td#fancy_title_left { + height: 32px; + width: 15px; + background: transparent url('../images/fancy_title_left.png') repeat-x; +} + +td#fancy_title_main { + height: 32px; + background: transparent url('../images/fancy_title_main.png') repeat-x; +} + +td#fancy_title_right { + height: 32px; + width: 15px; + background: transparent url('../images/fancy_title_right.png') repeat-x; +} + +div#fancy_modules { + position: absolute; + bottom: -20px; + right: 0px; + z-index: 100; + display: none; +} +div#fancy_modules div { + color: #FFF; + font: bold 10px Arial; + padding-bottom: 3px; +} + +div#fancy_modules table { + margin: 0 auto; +} + +div#fancy_modules table td { + padding: 0; + vertical-align: middle; +} + +td#fancy_modules_left { + border-color: #333333; + height: 32px; + width: 15px; + background: transparent url('../images/fancy_title_left.png') repeat-x; +} + +td#fancy_modules_main { + border-color: #333333; + height: 32px; + background: transparent url('../images/fancy_title_main.png') repeat-x; +} + +td#fancy_modules_right { + border-color: #333333; + height: 32px; + width: 15px; + background: transparent url('../images/fancy_title_right.png') repeat-x; +} + +/* ************************************************* */ +/* ************************************************* */ +/* ************************************************* */ +/* ************************************************* */ + +div#mod_overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: black; + display: none; + z-index: 1030; +} + +* html div#mod_overlay { + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +div#mod_wrap { + text-align: middle; +} + +div#mod_loading { + position: absolute; + height: 40px; + width: 40px; + cursor: pointer; + display: none; + overflow: hidden; + background: transparent; + z-index: 10100; +} + +div#mod_loading div { + position: absolute; + top: 0; + left: 0; + width: 40px; + height: 480px; + background: transparent url('../images/fancy_progress.png') no-repeat; +} + +div#mod_loading_overlay { + position: absolute; + background-color: #FFF; + z-index: 1030; +} + +div#mod_outer { + position: absolute; + top: 0; + left: 0; + z-index: 1090; + padding: 18px 18px 20px 0px; + margin: 0; + overflow: hidden; + background: transparent; + display: none; +} + +div#mod_inner { + position: relative; + width:100%; + height:100%; + border: 1px solid #BBB; + background: #FFF; +} + +div#mod_content { + margin: 0; + z-index: 10100; + position: absolute; +} + +div#mod_div { + background: #000; + color: #FFF; + height: 100%; + width: 100%; + z-index: 10100; +} + +img#mod_img { + position: absolute; + top: 0; + left: 0; + border:0; + padding: 0; + margin: 0; + z-index: 10100; + width: 100%; + height: 100%; +} + +div#mod_close { + position: absolute; + top: -12px; + right: -15px; + height: 30px; + width: 30px; + background: url('../images/fancy_closebox.png') top left no-repeat; + cursor: pointer; + z-index: 10181; + display: none; +} + +#mod_frame { + position: relative; + width: 100%; + height: 100%; + display: none; +} + +#mod_ajax { + width: 100%; + height: 100%; + overflow: auto; +} + +a#mod_left, a#mod_right { + position: absolute; + bottom: 0px; + height: 100%; + width: 35%; + cursor: pointer; + z-index: 10111; + display: none; + background-image: url('data:image/gif;base64,AAAA'); + outline: none; +} + +a#mod_left { + left: 0px; +} + +a#mod_right { + right: 0px; +} + +span.mod_ico { + position: absolute; + top: 50%; + margin-top: -15px; + width: 30px; + height: 30px; + z-index: 10112; + cursor: pointer; + display: block; +} + +span#mod_left_ico { + left: -9999px; + background: transparent url('../images/fancy_left.png') no-repeat; +} + +span#mod_right_ico { + right: -9999px; + background: transparent url('../images/fancy_right.png') no-repeat; +} + +a#mod_left:hover { + visibility: visible; +} + +a#mod_right:hover { + visibility: visible; +} + +a#mod_left:hover span { + left: 20px; +} + +a#mod_right:hover span { + right: 20px; +} + +.mod_bigIframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: transparent; +} + +div#mod_bg { + position: absolute; + top: 0; left: 0; + width: 100%; + height: 100%; + z-index: 1070; + border: 0; + padding: 0; + margin: 0; +} + +div.mod_bg { + position: absolute; + display: block; + z-index: 1070; + border: 0; + padding: 0; + margin: 0; +} + +div.mod_bg_n { + top: -18px; + width: 100%; + height: 18px; + background: transparent url('../images/fancy_shadow_n.png') repeat-x; +} + +div.mod_bg_ne { + top: -18px; + right: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_ne.png') no-repeat; +} + +div.mod_bg_e { + right: -13px; + height: 100%; + width: 13px; + background: transparent url('../images/fancy_shadow_e.png') repeat-y; +} + +div.mod_bg_se { + bottom: -18px; + right: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_se.png') no-repeat; +} + +div.mod_bg_s { + bottom: -18px; + width: 100%; + height: 18px; + background: transparent url('../images/fancy_shadow_s.png') repeat-x; +} + +div.mod_bg_sw { + bottom: -18px; + left: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_sw.png') no-repeat; +} + +div.mod_bg_w { + left: -13px; + height: 100%; + width: 13px; + background: transparent url('../images/fancy_shadow_w.png') repeat-y; +} + +div.mod_bg_nw { + top: -18px; + left: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_nw.png') no-repeat; +} + +div#mod_title { + position: absolute; + bottom: -20px; + left: 0; + z-index: 10100; + display: none; +} + +div#mod_title div { + color: #FFF; + font: bold 10px Arial; + padding-bottom: 3px; +} + +div#mod_title table { + margin: 0 auto; +} + +div#mod_title table td { + padding: 0; + vertical-align: middle; +} + +td#mod_title_left { + height: 32px; + width: 15px; + background: transparent url('../images/fancy_title_left.png') repeat-x; +} + +td#mod_title_main { + height: 32px; + background: transparent url('../images/fancy_title_main.png') repeat-x; +} + +td#mod_title_right { + height: 32px; + width: 15px; + background: transparent url('../images/fancy_title_right.png') repeat-x; +} + + diff --git a/themes/okat_dark/css/screen.css b/themes/okat_dark/css/screen.css new file mode 100644 index 00000000..da31e1f5 --- /dev/null +++ b/themes/okat_dark/css/screen.css @@ -0,0 +1,847 @@ +/** + * Gallery 3 Default Theme Screen Styles + * + * @requires YUI reset, font, grids CSS + * + * Sheet organization: + * 1) Basic HTML elements + * 2) Reusable content blocks + * 3) Page layout containers + * 4) Content blocks in specific layout containers + * 5) Navigation and menus + * 6) Browser hacks + * 7) jQuery and jQuery UI + * 8) Right-to-left language styles + */ + +/** ******************************************************************* + * 1) Basic HTML elements + **********************************************************************/ + +body, html { + background-color: #000000; + font-family: 'Corbel', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; + color: #e8e8e8; +} + +p { + margin-bottom: 1em; +} + +em { + font-style: oblique; +} + +h1, h2, h3, h4, h5, strong, th { + font-weight: none; +} + +h1 { + font-size: 1.2em; +} +h2{ + font-size: 1.1em; + color: #ffffff; +} + +#g-search-results h1 { + margin-bottom: 1em; +} + +#g-progress h1 { + font-size: 1.1em; +} + +#g-sidebar .g-block h2 { + font-size: 1.2em; +} + +#g-sidebar .g-block li { + margin-bottom: .6em; +} + +h3 { + font-size: 1.2em; +} +h4 { + font-size: 0.9em; +} + +/* Links ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +a, +.g-menu a, +#g-dialog a, +.g-button, +.g-button:hover, +.g-button:active, +a.ui-state-hover, +input.ui-state-hover, +button.ui-state-hover { + color: #eeeeee !important; + cursor: pointer !important; + text-decoration: none; + -moz-outline-style: none; +} + +#g-button{ + font-size: 0.4em; +} + +a:hover, +#g-dialog a:hover { + text-decoration: underline; +} + +.g-menu a:hover { + text-decoration: none; + font-size: 0.4em; +} + +#g-dialog #g-action-status li { + width: 400px; + white-space: normal; + padding-left: 32px; +} + +/* Tables ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +table { + width: 100%; +} + +#g-content table { + margin: 1em 0; +} + +caption, +th { + text-align: left; +} + +th, +td { + border: none; + border-bottom: 1px solid #ccc; + padding: .5em; + vertical-align: top; +} + +/* Forms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +fieldset { + border: 1px solid #ccc; + padding-bottom: .8em; +} + +#g-banner fieldset, +#g-sidebar fieldset, +.g-short-form fieldset { + border: none; +} + +legend { + font-weight: bold; + margin-left: 1em; + color: #e8e8e8; +} + +#g-banner legend, +#g-sidebar legend, +#g-content #g-search-form legend, +input[type="hidden"], +.g-short-form label { + display: none; +} + +label { + cursor: help; +} + +input[type="text"], +input[type="password"] { + width: 50%; +} + +input[type="text"], +input[type="password"], +textarea { + border: 1px solid #e8e8e8; + border-top-color: #ccc; + border-left-color: #ccc; + color: #333; +} + +textarea { + width: 90%; + height: 12em; +} + +input:focus, +textarea:focus, +option:focus { + background-color: #ffc; + color: #000; +} + +/* Form layout ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +form li { + margin: 0 !important; + padding: .3em 1.5em .3em 1em; +} + +form ul ul { + clear: both; +} + +form ul ul li { + float: left; +} + +input, +select, +textarea { + display: block; + clear: both; + padding: .2em; +} + +input[type="submit"], +input[type="reset"] { + display: inline; + clear: none; + float: left; +} + +/* Form validation ~~~~~~~~~~~~~~~~~~~~~~~ */ + +form.g-error input[type="text"], +li.g-error input[type="text"], +form.g-error input[type="password"], +li.g-error input[type="password"], +form.g-error input[type="checkbox"], +li.g-error input[type="checkbox"], +form.g-error input[type="radio"], +li.g-error input[type="radio"], +form.g-error textarea, +li.g-error textarea, +form.g-error select, +li.g-error select { + border: 2px solid red; +} + +/** ******************************************************************* + * 2) Reusable content blocks + *********************************************************************/ + +.g-block h2 { + background-color: #333; + padding: .3em .8em; +} + +.g-block-content { + margin-top: 1em; +} + +/* Status messages ~~~~~~~~~~~~~~~~~~~~~~~ */ + +/* Inline layout (forms, lists) ~~~~~~~~~~ */ + +.g-short-form li { + float: left; + padding: .4em 0; +} + +.g-short-form input[type="text"] { + color: #666; + padding: .3em .6em; + width: 11em; +} + +/*** ****************************************************************** + * 3) Page layout containers + *********************************************************************/ + +/* View container ~~~~~~~~~~~~~~~~~~~~~~~~ */ + +.g-view { + background-color: #4C4C4C; + border: 1px solid #e8e8e8; + border-bottom: none; +} + +/* Layout containers ~~~~~~~~~~~~~~~~~~~~~ */ + +#g-header { + margin-bottom: 1em; + background-color: #484848; + border-bottom: 1px solid #e8e8e8; +} + +#g-banner { + background-color: #333333; + border-bottom: 1px solid #e8e8e8; + font-size: .8em; + min-height: 5em; + padding: 1em 20px; + position: relative; +} + +#g-content { + font-size: 1.2em; + padding-left: 20px; + position: relative; + width: 95%; +} + +#g-sidebar { + background-color: #333333; + font-size: .9em; + margin-right: 10px; + padding: 0 20px; + width: 220px; +} + +#g-footer { + background-color: #484848; + border-top: 1px solid #ccc; + font-size: .8em; + margin-top: 20px; + padding: 10px 20px; +} + +/** ******************************************************************* + * 4) Content blocks in specific layout containers + *********************************************************************/ + +/* Header ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +#g-banner #g-logo img { + margin: 0; +} + +#g-banner #g-quick-search-form { + clear: right; + float: right; + margin-top: 1em; +} + +#g-banner #g-quick-search-form input[type='text'] { + width: 17em; +} + +#g-content .g-block h2 { + background-color: transparent; + padding-left: 0; +} + +#g-sidebar .g-block-content { + padding-left: 1em; +} + +/* Album content ~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +#g-content #g-album-grid { + margin: 1em 0; + position: relative; + z-index: 1; +} + +#g-content #g-album-grid .g-item { + background-color: #484848; + border: 1px solid #000000; + margin: 2px; + float: left; + font-size: .7em; + padding: .6em 8px; + position: relative; + text-align: center; + width: 110px; + height: 140px; + z-index: 1; +} + +#g-content #g-album-grid .g-item h2 { + margin: 5px 0; +} + +#g-content .g-photo h2, +#g-content .g-item .g-metadata { + color: #ffffcc; + display: none; + margin-bottom: .6em; +} + +#g-content #g-album-grid .g-album { + background-color: #484848; +} + +#g-content #g-album-grid .g-album h2 span { + background: transparent url('../images/ico-album.png') no-repeat top left; + display: inline-block; + height: 16px; + margin-right: 5px; + width: 16px; +} + +#g-content #g-album-grid .g-hover-item { + background-color: #000; + position: absolute !important; + z-index: 1000 !important; + border: 1px solid #FFFFFF; +} + +#g-content .g-hover-item h2, +#g-content .g-hover-item .g-metadata { + display: block; +} + +#g-content #g-album-grid #g-place-holder { + position: relative; + visibility: hidden; + z-index: 1; +} + +/* Individual photo content ~~~~~~~~~~~~~~ */ + +#g-content #g-item { + position: relative; + width: 100%; +} + +#g-content #g-photo { + position: relative; +} + +#g-content #g-item .g-fullsize-link img { + display: block; + margin: 1em auto !important; +} + +#g-comments { + margin-top: 2em; + position: relative; +} + +#g-comments ul li { + margin: 1em 0; +} + +#g-comments .g-author { + border-bottom: 1px solid #ccc; + color: #999; + height: 32px; + line-height: 32px; +} + +#g-comments ul li div { + padding: 0 8px 8px 43px; +} + +#g-comments ul li #g-recaptcha { + padding: 0; +} + +#g-comments ul li #g-recaptcha div { + padding: 0; +} + +#g-comments .g-avatar { + height: 32px; + margin-right: .4em; + width: 32px; +} + +#g-admin-comment-button { + position: absolute; + right: 0; + top: 2px; +} + +#g-content #g-comment-form { + margin-top: 2em; +} + +/* Footer content ~~~~~~~~~~~~~~~~~~~~~~~~ */ + +#g-footer #g-credits li { + padding-right: 1.2em; +} + +#g-content #g-search-results { + margin-top: 1em; + padding-top: 1em; +} + +/* In-line editing ~~~~~~~~~~~~~~~~~~~~~ */ +#g-in-place-edit-message { + background-color: #FFF; +} + +/** ******************************************************************* + * 5) Navigation and menus + *********************************************************************/ + +#g-site-menu, +#g-tag-cloud ul { + font-size: 1.2em; +} + +/* Login menu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +#g-banner #g-login-menu { + color: #999; + float: right; +} + +#g-banner #g-login-menu li { + padding-left: 1.2em; +} + +/* Site Menu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +#g-site-menu { + bottom: 0; + display: none; + left: 300px; + position: absolute; +} + +#g-site-menu ul { + margin-bottom: 0 !important; +} + +/* Context Menu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +.g-context-menu { + font-size: 0.6em; + background-color: #fff; + bottom: 0; + left: 0; + position: absolute; +} + +.g-item .g-context-menu { + display: none; + margin-top: 2em; + width: 100%; +} + +#g-item .g-context-menu { + font-size: .7em; +} + +#g-item .g-context-menu ul { + display: none; +} + +.g-context-menu li { + border-left: none; + border-right: none; + border-bottom: none; +} + +.g-context-menu li a { + display: block; + line-height: 1.6em; +} + +.g-hover-item .g-context-menu { + display: block; +} + +.g-hover-item .g-context-menu li { + text-align: left; +} + +.g-hover-item .g-context-menu a:hover { + text-decoration: none; +} + +/* View Menu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +#g-view-menu { + margin-bottom: 1em; +} + +#g-view-menu a { + background-repeat: no-repeat; + background-position: 50% 50%; + height: 28px !important; + width: 43px !important; +} + +#g-view-menu #g-slideshow-link { + background-image: url('../images/ico-view-slideshow.png'); +} + +#g-view-menu .g-fullsize-link { + background-image: url('../images/ico-view-fullsize.png'); +} + +#g-view-menu #g-comments-link { + background-image: url('../images/ico-view-comments.png'); +} + +#g-view-menu #g-print-digibug-link { + background-image: url('../images/ico-print.png'); +} + +/* Tags and cloud ~~~~~~~~~~~~~~~~~~~~~~~~ */ + +#g-tag-cloud ul { + text-align: justify; +} + +#g-tag-cloud ul li { + display: inline; + line-height: 1.5em; + text-align: justify; +} + +#g-tag-cloud ul li a { + text-decoration: none; +} + +#g-tag-cloud ul li span { + display: none; +} + +#g-tag-cloud ul li.size1 a { + color: #9cf; + font-size: 80%; + font-weight: 100; +} + +#g-tag-cloud ul li.size2 a { + color: #69f; + font-size: 90%; + font-weight: 300; +} + +#g-tag-cloud ul li.size3 a { + color: #69c; + font-size: 100%; + font-weight: 500; +} + +#g-tag-cloud ul li.size4 a { + color: #369; + font-size: 110%; + font-weight: 700; +} + +#g-tag-cloud ul li.size5 a { + color: #0e2b52; + font-size: 120%; + font-weight: 900; +} + +#g-tag-cloud ul li.size6 a { + color: #0e2b52; + font-size: 130%; + font-weight: 900; +} + +#g-tag-cloud ul li.size7 a { + color: #0e2b52; + font-size: 140%; + font-weight: 900; +} + +#g-tag-cloud ul li a:hover { + color: #f30; + text-decoration: underline; +} + +#g-welcome-message p { + padding-bottom: 1em; +} + +/** ******************************************************************* + * 6) jQuery and jQuery UI + *********************************************************************/ + +/* Superfish menu overrides ~~~~~~~~~~~~~~ */ + +.sf-menu a { + font-size: 0.1em; + color: #fff; + border-left: 1px solid #e8e8e8; + border-top: 1px solid #e8e8e8; +} + +.sf-menu li { + color: #fff; + background-color: #333; + +} + +.sf-menu li li, .sf-menu li li ul li { + color: #fff; + background-color: #333; +} + +.sf-menu li:hover { + color: #eee; + background-color: #777; + +} + +.sf-menu li:hover, .sf-menu li.sfHover, +.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active { + background: #777; +} + +/* jQuery UI Dialog ~~~~~~~~~~~~~~~~~~~~~~ */ + +.ui-widget-overlay { + background: #000; + opacity: .7; +} + +/* jQuery UI ThemeRoller buttons */ + +.g-buttonset { + padding-left: 1px; +} + +.g-buttonset li { + float: left; +} + +.g-buttonset .g-button { + margin: 0; +} + +.ui-icon-left .ui-icon { + float: left; + margin-right: .2em; +} + +.ui-icon-right .ui-icon { + float: right; + margin-left: .2em; +} + +.ui-icon-rotate-ccw { + background-position: -192px -64px; +} + +.ui-icon-rotate-cw { + background-position: -208px -64px; +} + +/* STUFF THAT NEEDS A HOME */ + +#g-move ul { + padding-left: 1em; +} + +#g-move .selected { + background: #999; +} + + +/* Permissions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +#g-edit-permissions-form { + clear: both; +} + +#g-edit-permissions-form td { + background-image: none; +} + +#g-edit-permissions-form fieldset { + border: 1px solid #ccc; + padding: 0; +} + +#g-permissions .g-denied, +#g-permissions .g-allowed { + text-align: center; + vertical-align: middle; +} + +#g-permissions .g-denied { + background-color: #fcc; +} + +#g-permissions .g-allowed { + background-color: #cfc; +} + +/*************** STUFF THAT NEEDS A HOME ****************/ +#g-uploadifyUploader { + color: #000000; +} + + +#g-admin-g2-import-notes { + padding-bottom: 20px; +} + +#g-admin-g2-import-details { + padding-top: 20px; +} + +#g-admin-g2-import-details .g-warning { + margin-top: 4px; +} + +#g-admin-g2-import-details .g-info { + padding: 2px; + border: 1px solid #999; + margin-bottom: 10px; +} + +#g-admin-g2-import-notes p, +#g-admin-g2-import-details .g-info p { + padding: 0; + margin: 0; +} + +#g-admin-g2-import-notes ul li, +#g-admin-g2-import .g-info ul li { + padding-left: 0; + margin-left: 20px; + list-style-type: disc; +} + +/* Right to left styles ~~~~~~~~~~~~~~~~~~~~ */ + +.rtl { + direction: rtl; +} + +.rtl caption, +.rtl th, +.rtl #g-dialog { + text-align: right; +} + +.rtl .g-right, +.rtl #g-header #g-quick-search-form, +.rtl #g-header #g-login-menu, +.rtl .ui-icon-right .ui-icon { + clear: left; + float: left; +} + +.rtl .g-left, +.rtl #g-dialog .g-cancel, +.rtl form ul ul li, +.rtl input[type="submit"], +.rtl input[type="reset"], +.rtl .g-short-form li, +.rtl #g-header #g-logo img, +.rtl #g-content #g-album-grid .g-item, +.rtl #g-site-menu, +.rtl .g-breadcrumbs li, +.rtl .g-pager li, +.rtl .g-buttonset li, +.rtl .ui-icon-left .ui-icon { + float: right; +} diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_flat_0_333333_40x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_flat_0_333333_40x100.png new file mode 100644 index 00000000..2f2c7a45 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_flat_0_333333_40x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_flat_0_484848_40x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_flat_0_484848_40x100.png new file mode 100644 index 00000000..37979abe Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_flat_0_484848_40x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_flat_0_aaaaaa_40x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_flat_0_aaaaaa_40x100.png new file mode 100644 index 00000000..5b5dab2a Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_flat_0_aaaaaa_40x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_flat_100_000000_40x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_flat_100_000000_40x100.png new file mode 100644 index 00000000..abdc0108 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_flat_100_000000_40x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_flat_100_333333_40x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_flat_100_333333_40x100.png new file mode 100644 index 00000000..2f2c7a45 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_flat_100_333333_40x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_flat_100_484848_40x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_flat_100_484848_40x100.png new file mode 100644 index 00000000..37979abe Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_flat_100_484848_40x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_flat_100_b30000_40x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_flat_100_b30000_40x100.png new file mode 100644 index 00000000..121651a0 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_flat_100_b30000_40x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_flat_55_fbec88_40x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_flat_55_fbec88_40x100.png new file mode 100644 index 00000000..47acaadd Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_flat_55_fbec88_40x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_glass_95_fef1ec_1x400.png b/themes/okat_dark/css/themeroller/images/ui-bg_glass_95_fef1ec_1x400.png new file mode 100644 index 00000000..4443fdc1 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_glass_95_fef1ec_1x400.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_gloss-wave_16_121212_500x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_gloss-wave_16_121212_500x100.png new file mode 100644 index 00000000..c7a2ee1b Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_gloss-wave_16_121212_500x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_highlight-hard_100_333333_1x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_highlight-hard_100_333333_1x100.png new file mode 100644 index 00000000..254bb228 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_highlight-hard_100_333333_1x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_highlight-hard_15_888888_1x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_highlight-hard_15_888888_1x100.png new file mode 100644 index 00000000..66e53e16 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_highlight-hard_15_888888_1x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_highlight-hard_55_555555_1x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_highlight-hard_55_555555_1x100.png new file mode 100644 index 00000000..1453bc18 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_highlight-hard_55_555555_1x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_highlight-soft_35_adadad_1x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_highlight-soft_35_adadad_1x100.png new file mode 100644 index 00000000..5a5a41d4 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_highlight-soft_35_adadad_1x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_highlight-soft_60_dddddd_1x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_highlight-soft_60_dddddd_1x100.png new file mode 100644 index 00000000..747e1fa6 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_highlight-soft_60_dddddd_1x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-bg_inset-soft_15_121212_1x100.png b/themes/okat_dark/css/themeroller/images/ui-bg_inset-soft_15_121212_1x100.png new file mode 100644 index 00000000..e7692acd Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-bg_inset-soft_15_121212_1x100.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-icons_222222_256x240.png b/themes/okat_dark/css/themeroller/images/ui-icons_222222_256x240.png new file mode 100644 index 00000000..ee039dc0 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-icons_222222_256x240.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-icons_333333_256x240.png b/themes/okat_dark/css/themeroller/images/ui-icons_333333_256x240.png new file mode 100644 index 00000000..379a4064 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-icons_333333_256x240.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-icons_444444_256x240.png b/themes/okat_dark/css/themeroller/images/ui-icons_444444_256x240.png new file mode 100644 index 00000000..1d071b4e Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-icons_444444_256x240.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-icons_666666_256x240.png b/themes/okat_dark/css/themeroller/images/ui-icons_666666_256x240.png new file mode 100644 index 00000000..05fae5ee Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-icons_666666_256x240.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-icons_aaaaaa_256x240.png b/themes/okat_dark/css/themeroller/images/ui-icons_aaaaaa_256x240.png new file mode 100644 index 00000000..9b04537f Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-icons_aaaaaa_256x240.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-icons_bbbbbb_256x240.png b/themes/okat_dark/css/themeroller/images/ui-icons_bbbbbb_256x240.png new file mode 100644 index 00000000..8340d085 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-icons_bbbbbb_256x240.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-icons_cccccc_256x240.png b/themes/okat_dark/css/themeroller/images/ui-icons_cccccc_256x240.png new file mode 100644 index 00000000..12774b8f Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-icons_cccccc_256x240.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-icons_cd0a0a_256x240.png b/themes/okat_dark/css/themeroller/images/ui-icons_cd0a0a_256x240.png new file mode 100644 index 00000000..7930a558 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-icons_cd0a0a_256x240.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-icons_f9bd01_256x240.png b/themes/okat_dark/css/themeroller/images/ui-icons_f9bd01_256x240.png new file mode 100644 index 00000000..1619b868 Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-icons_f9bd01_256x240.png differ diff --git a/themes/okat_dark/css/themeroller/images/ui-icons_f9db01_256x240.png b/themes/okat_dark/css/themeroller/images/ui-icons_f9db01_256x240.png new file mode 100644 index 00000000..af18dccc Binary files /dev/null and b/themes/okat_dark/css/themeroller/images/ui-icons_f9db01_256x240.png differ diff --git a/themes/okat_dark/css/themeroller/ui.base.css b/themes/okat_dark/css/themeroller/ui.base.css new file mode 100644 index 00000000..54582d05 --- /dev/null +++ b/themes/okat_dark/css/themeroller/ui.base.css @@ -0,0 +1,406 @@ +/* +* jQuery UI CSS Framework +* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. +*/ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { display: none; } +.ui-helper-hidden-accessible { position: absolute; left: -99999999px; } +.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } +.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } +.ui-helper-clearfix { display: inline-block; } +/* required comment for clearfix to work in Opera \*/ +* html .ui-helper-clearfix { height:1%; } +.ui-helper-clearfix { display:block; } +/* end clearfix */ +.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { cursor: default !important; } + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } + + + +/* +* jQuery UI CSS Framework +* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses. +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Helvetica,%20Arial,%20sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=888888&bgTextureHeader=04_highlight_hard.png&bgImgOpacityHeader=15&borderColorHeader=404040&fcHeader=ffffff&iconColorHeader=cccccc&bgColorContent=121212&bgTextureContent=12_gloss_wave.png&bgImgOpacityContent=16&borderColorContent=404040&fcContent=eeeeee&iconColorContent=bbbbbb&bgColorDefault=adadad&bgTextureDefault=03_highlight_soft.png&bgImgOpacityDefault=35&borderColorDefault=cccccc&fcDefault=333333&iconColorDefault=666666&bgColorHover=dddddd&bgTextureHover=03_highlight_soft.png&bgImgOpacityHover=60&borderColorHover=dddddd&fcHover=000000&iconColorHover=444444&bgColorActive=121212&bgTextureActive=05_inset_soft.png&bgImgOpacityActive=15&borderColorActive=000000&fcActive=ffffff&iconColorActive=222222&bgColorHighlight=555555&bgTextureHighlight=04_highlight_hard.png&bgImgOpacityHighlight=55&borderColorHighlight=404040&fcHighlight=cccccc&iconColorHighlight=aaaaaa&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px +*/ + + +/* Component containers +----------------------------------*/ +.ui-widget { font-family: Helvetica, Arial, sans-serif; font-size: 1.1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Helvetica, Arial, sans-serif; font-size: 0.4em; } +.ui-widget-content { border: 1px solid #404040; background: #121212 url(images/ui-bg_gloss-wave_16_121212_500x100.png) 50% top repeat-x; color: #eeeeee; } +.ui-widget-content a { color: #eeeeee; } +.ui-widget-header { border: 1px solid #404040; background: #888888 url(images/ui-bg_highlight-hard_15_888888_1x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; } +.ui-widget-header a { color: #ffffff; } + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #cccccc; background: #adadad url(images/ui-bg_highlight-soft_35_adadad_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #333333; outline: none; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #333333; text-decoration: none; outline: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #dddddd; background: #dddddd url(images/ui-bg_highlight-soft_60_dddddd_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #000000; outline: none; } +.ui-state-hover a, .ui-state-hover a:hover { color: #000000; text-decoration: none; outline: none; } +.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #000000; background: #121212 url(images/ui-bg_inset-soft_15_121212_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #ffffff; outline: none; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #ffffff; outline: none; text-decoration: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #404040; background: #555555 url(images/ui-bg_highlight-hard_55_555555_1x100.png) 50% top repeat-x; color: #cccccc; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #cccccc; } +.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; } +.ui-state-error a, .ui-widget-content .ui-state-error a { color: #cd0a0a; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #cd0a0a; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_bbbbbb_256x240.png); } +.ui-widget-content .ui-icon {background-image: url(images/ui-icons_bbbbbb_256x240.png); } +.ui-widget-header .ui-icon {background-image: url(images/ui-icons_cccccc_256x240.png); } +.ui-state-default .ui-icon { background-image: url(images/ui-icons_666666_256x240.png); } +.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_444444_256x240.png); } +.ui-state-active .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } +.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_aaaaaa_256x240.png); } +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); } + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-off { background-position: -96px -144px; } +.ui-icon-radio-on { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-tl { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; } +.ui-corner-tr { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; } +.ui-corner-bl { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; } +.ui-corner-br { -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; } +.ui-corner-top { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; } +.ui-corner-bottom { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; } +.ui-corner-right { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; } +.ui-corner-left { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; } +.ui-corner-all { -moz-border-radius: 5px; -webkit-border-radius: 5px; } + +/* Overlays */ +.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } +.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; }/* Accordion +----------------------------------*/ +.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } +.ui-accordion .ui-accordion-li-fix { display: inline; } +.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } +.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; } +.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } +.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; } +.ui-accordion .ui-accordion-content-active { display: block; }/* Datepicker +----------------------------------*/ +.ui-datepicker { width: 17em; padding: .2em .2em 0; } +.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } +.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } +.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } +.ui-datepicker .ui-datepicker-prev { left:2px; } +.ui-datepicker .ui-datepicker-next { right:2px; } +.ui-datepicker .ui-datepicker-prev-hover { left:1px; } +.ui-datepicker .ui-datepicker-next-hover { right:1px; } +.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } +.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } +.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; } +.ui-datepicker select.ui-datepicker-month-year {width: 100%;} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { width: 49%;} +.ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; } +.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } +.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } +.ui-datepicker td { border: 0; padding: 1px; } +.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } +.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } +.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { width:auto; } +.ui-datepicker-multi .ui-datepicker-group { float:left; } +.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } +.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } +.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } +.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } +.ui-datepicker-row-break { clear:both; width:100%; } + +/* RTL support */ +.ui-datepicker-rtl { direction: rtl; } +.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } +.ui-datepicker-rtl .ui-datepicker-group { float:right; } +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } + +/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ +.ui-datepicker-cover { + display: none; /*sorry for IE5*/ + display/**/: block; /*sorry for IE5*/ + position: absolute; /*must have*/ + z-index: -1; /*must have*/ + filter: mask(); /*must have*/ + top: -4px; /*must have*/ + left: -4px; /*must have*/ + width: 200px; /*must have*/ + height: 200px; /*must have*/ +}/* Dialog +----------------------------------*/ +.ui-dialog { position: relative; padding: .2em; width: 300px; } +.ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; } +.ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; } +.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } +.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } +.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } +.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } +.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } +.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; } +.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } +.ui-draggable .ui-dialog-titlebar { cursor: move; } +/* Progressbar +----------------------------------*/ +.ui-progressbar { height:2em; text-align: left; } +.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }/* Resizable +----------------------------------*/ +.ui-resizable { position: relative;} +.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} +.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } +.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; } +.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; } +.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; } +.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; } +.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } +.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } +.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } +.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Slider +----------------------------------*/ +.ui-slider { position: relative; text-align: left; } +.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } +.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; } + +.ui-slider-horizontal { height: .8em; } +.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } +.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } +.ui-slider-horizontal .ui-slider-range-min { left: 0; } +.ui-slider-horizontal .ui-slider-range-max { right: 0; } + +.ui-slider-vertical { width: .8em; height: 100px; } +.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } +.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } +.ui-slider-vertical .ui-slider-range-min { bottom: 0; } +.ui-slider-vertical .ui-slider-range-max { top: 0; }/* Tabs +----------------------------------*/ +.ui-tabs { padding: .2em; zoom: 1; } +.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; } +.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; } +.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } +.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; } +.ui-tabs .ui-tabs-hide { display: none !important; } diff --git a/themes/okat_dark/css/three_nids.css b/themes/okat_dark/css/three_nids.css new file mode 100644 index 00000000..27f61a07 --- /dev/null +++ b/themes/okat_dark/css/three_nids.css @@ -0,0 +1,54 @@ +/* 3nids specific */ +.g-movie { + padding-top: 10px; +} + +.g-map-head img { + display: block; + margin: 3px; +} + +.g-map-head a { + float: right; +} + +.g-comment-thumb{ + padding: 5px; + text-align: left; +} + +.g-fancy-iframe-body{ + background-color: #333333; + height: auto; +} + +#mod_frame{ + background-color: #333333; + } + + .g-comment-box { + border-bottom: 1px solid #555; +} + +.g-comment-box:hover{ + background-color: black; + color: #ffffcc; +} + + #g-comment-detail { + width: 360px; + height: 100%; + background-color: #333333; + padding: 10px; + text-align: left; + margin-top: 30px; +} + +.g-block-content .g-parent-album h4 span { + background: transparent url('../images/ico-album.png') no-repeat top left; + display: inline-block; + height: 16px; + margin-right: 5px; + width: 16px; +} + diff --git a/themes/okat_dark/helpers/three_nids.php b/themes/okat_dark/helpers/three_nids.php new file mode 100644 index 00000000..63c4a9f6 --- /dev/null +++ b/themes/okat_dark/helpers/three_nids.php @@ -0,0 +1,125 @@ +is_movie()){ + $width = $item->width; + $height = $item->height; + }else{ + $width = $item->resize_width; + $height = $item->resize_height; + } + + $description_mode = module::get_var("three_nids", "description"); + $description = ""; + $tags = tag::item_tags($item); + if(count($tags) && $description_mode == "tags"){ + $description = " || " . implode(", ", $tags); + } else if ($description_mode == "item" && $item->description != ""){ + $description = " || " . str_replace("\"",""",$item->description); + } else if (($description_mode == "parent" || + $description_mode == "item") && $item->parent()->description != ""){ + $description = " || " . str_replace("\"", """, $item->parent()->description); + } + + $title_mode = module::get_var("three_nids", "title"); + if ($title_mode == "parent"){ + $title = html::clean($item->parent()->title); + } else { + $title = html::clean($item->title); + } + + $rel = ""; + if ($group_img == true) { + $rel = " rel=\"fancygroup\" "; + } + + if ($item->is_photo() || $item->is_movie()){ + $fancymodule = ""; + if (module::is_active("exif")) { + $fancymodule .= "exif::" . url::site("exif/show/{$item->id}") . ";;"; + } + if (module::is_active("comment")) { + $fancymodule .= "comment::" . url::site("three_nids/show_comments/{$item->id}") . + ";;comment_count::" . three_nids::comment_count($item) . ";;"; + } + if ($item->is_photo()){ + $link .= "id}") ."/?w=" . $width . + "xewx&h=" . $height . "xehx\" " . $rel . " class=\"fancyclass iframe\" title=\"" . + $title . $description ."\" name=\"" . $fancymodule . " \">"; + } else { + $link .= "id}") . "/?w=" . + strval(20 + $width) . "xewx&h=" . strval(50 + $height) . "xehx\" " . $rel . + " class=\"fancyclass iframe\" title=\"" . $item->parent()->title . $description . + "\" name=\"" . $fancymodule . " \">"; + } + } else if ($item->is_album() && $view_type != "header") { + $link .= "url() . "\">"; + } else { + // NOTE: we don't want to open an here because $view_type is "header", but lower down + // we're going to close one, so that's going to generate a mismatch. For now, just open a + // link anyway. + // @todo: figure out what we really should be doing here. + $link .= "url() . "\">"; + } + + if ($view_type != "header") { + $link .= $item->thumb_img(array("class" => "g-thumbnail")) . ""; + if ($item->is_album() && $view_type == "album") { + $link .= "url() . "?show=" . $item->id . + "\"><$parent_title_class>" . html::clean($item->title) . + "$parent_title_class>"; + } else if (!($item->is_album()) && $view_type == "dynamic") { + $link .= "parent()->url() . "?show=" . $item->id . + "\" class=\"g-parent-album\"><$parent_title_class>" . + html::clean($item->parent()->title) . "$parent_title_class>"; + } + + if (($item->is_photo() || $item->is_movie()) && $display_comment && + module::is_active("comment")) { + $link .= "
"; + } + } else { + $link .= ""; + } + return $link; + } + + public function comment_count($item) { + access::required("view", $item); + + return ORM::factory("comment") + ->where("item_id", "=", $item->id) + ->where("state", "=", "published") + ->order_by("created", "DESC") + ->count_all(); + } +} +?> \ No newline at end of file diff --git a/themes/okat_dark/helpers/three_nids_theme.php b/themes/okat_dark/helpers/three_nids_theme.php new file mode 100644 index 00000000..a24d6ea3 --- /dev/null +++ b/themes/okat_dark/helpers/three_nids_theme.php @@ -0,0 +1,24 @@ +three_nids theme"; + } +} + diff --git a/themes/okat_dark/images/avatar.jpg b/themes/okat_dark/images/avatar.jpg new file mode 100644 index 00000000..d08724fc Binary files /dev/null and b/themes/okat_dark/images/avatar.jpg differ diff --git a/themes/okat_dark/images/fancy_closebox.png b/themes/okat_dark/images/fancy_closebox.png new file mode 100644 index 00000000..4de4396d Binary files /dev/null and b/themes/okat_dark/images/fancy_closebox.png differ diff --git a/themes/okat_dark/images/fancy_left.png b/themes/okat_dark/images/fancy_left.png new file mode 100644 index 00000000..61494e63 Binary files /dev/null and b/themes/okat_dark/images/fancy_left.png differ diff --git a/themes/okat_dark/images/fancy_progress.png b/themes/okat_dark/images/fancy_progress.png new file mode 100644 index 00000000..06b7c89a Binary files /dev/null and b/themes/okat_dark/images/fancy_progress.png differ diff --git a/themes/okat_dark/images/fancy_right.png b/themes/okat_dark/images/fancy_right.png new file mode 100644 index 00000000..0a56042f Binary files /dev/null and b/themes/okat_dark/images/fancy_right.png differ diff --git a/themes/okat_dark/images/fancy_shadow_e.png b/themes/okat_dark/images/fancy_shadow_e.png new file mode 100644 index 00000000..5db7b2b8 Binary files /dev/null and b/themes/okat_dark/images/fancy_shadow_e.png differ diff --git a/themes/okat_dark/images/fancy_shadow_n.png b/themes/okat_dark/images/fancy_shadow_n.png new file mode 100644 index 00000000..4e20abbe Binary files /dev/null and b/themes/okat_dark/images/fancy_shadow_n.png differ diff --git a/themes/okat_dark/images/fancy_shadow_ne.png b/themes/okat_dark/images/fancy_shadow_ne.png new file mode 100644 index 00000000..64ef7225 Binary files /dev/null and b/themes/okat_dark/images/fancy_shadow_ne.png differ diff --git a/themes/okat_dark/images/fancy_shadow_nw.png b/themes/okat_dark/images/fancy_shadow_nw.png new file mode 100644 index 00000000..9ef03377 Binary files /dev/null and b/themes/okat_dark/images/fancy_shadow_nw.png differ diff --git a/themes/okat_dark/images/fancy_shadow_s.png b/themes/okat_dark/images/fancy_shadow_s.png new file mode 100644 index 00000000..bf52bd61 Binary files /dev/null and b/themes/okat_dark/images/fancy_shadow_s.png differ diff --git a/themes/okat_dark/images/fancy_shadow_se.png b/themes/okat_dark/images/fancy_shadow_se.png new file mode 100644 index 00000000..12311ed3 Binary files /dev/null and b/themes/okat_dark/images/fancy_shadow_se.png differ diff --git a/themes/okat_dark/images/fancy_shadow_sw.png b/themes/okat_dark/images/fancy_shadow_sw.png new file mode 100644 index 00000000..923a8b50 Binary files /dev/null and b/themes/okat_dark/images/fancy_shadow_sw.png differ diff --git a/themes/okat_dark/images/fancy_shadow_w.png b/themes/okat_dark/images/fancy_shadow_w.png new file mode 100644 index 00000000..6f808d3e Binary files /dev/null and b/themes/okat_dark/images/fancy_shadow_w.png differ diff --git a/themes/okat_dark/images/fancy_title_left.png b/themes/okat_dark/images/fancy_title_left.png new file mode 100644 index 00000000..1e82b6da Binary files /dev/null and b/themes/okat_dark/images/fancy_title_left.png differ diff --git a/themes/okat_dark/images/fancy_title_main.png b/themes/okat_dark/images/fancy_title_main.png new file mode 100644 index 00000000..5f505b00 Binary files /dev/null and b/themes/okat_dark/images/fancy_title_main.png differ diff --git a/themes/okat_dark/images/fancy_title_right.png b/themes/okat_dark/images/fancy_title_right.png new file mode 100644 index 00000000..ef0dc201 Binary files /dev/null and b/themes/okat_dark/images/fancy_title_right.png differ diff --git a/themes/okat_dark/images/ico-album.png b/themes/okat_dark/images/ico-album.png new file mode 100644 index 00000000..e3bb4fc5 Binary files /dev/null and b/themes/okat_dark/images/ico-album.png differ diff --git a/themes/okat_dark/images/ico-help.png b/themes/okat_dark/images/ico-help.png new file mode 100644 index 00000000..5c870176 Binary files /dev/null and b/themes/okat_dark/images/ico-help.png differ diff --git a/themes/okat_dark/images/ico-print.png b/themes/okat_dark/images/ico-print.png new file mode 100644 index 00000000..b82a8e1e Binary files /dev/null and b/themes/okat_dark/images/ico-print.png differ diff --git a/themes/okat_dark/images/ico-view-comments.png b/themes/okat_dark/images/ico-view-comments.png new file mode 100644 index 00000000..e5d3630f Binary files /dev/null and b/themes/okat_dark/images/ico-view-comments.png differ diff --git a/themes/okat_dark/images/ico-view-fullsize.png b/themes/okat_dark/images/ico-view-fullsize.png new file mode 100644 index 00000000..0be23e9b Binary files /dev/null and b/themes/okat_dark/images/ico-view-fullsize.png differ diff --git a/themes/okat_dark/images/ico-view-slideshow.png b/themes/okat_dark/images/ico-view-slideshow.png new file mode 100644 index 00000000..82f61f63 Binary files /dev/null and b/themes/okat_dark/images/ico-view-slideshow.png differ diff --git a/themes/okat_dark/images/map.png b/themes/okat_dark/images/map.png new file mode 100644 index 00000000..1df93fb5 Binary files /dev/null and b/themes/okat_dark/images/map.png differ diff --git a/themes/okat_dark/images/select-photos-backg.png b/themes/okat_dark/images/select-photos-backg.png new file mode 100644 index 00000000..81c2d616 Binary files /dev/null and b/themes/okat_dark/images/select-photos-backg.png differ diff --git a/themes/okat_dark/js/jquery.easing.js b/themes/okat_dark/js/jquery.easing.js new file mode 100644 index 00000000..ef743210 --- /dev/null +++ b/themes/okat_dark/js/jquery.easing.js @@ -0,0 +1,205 @@ +/* + * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ + * + * Uses the built in easing capabilities added In jQuery 1.1 + * to offer multiple easing options + * + * TERMS OF USE - jQuery Easing + * + * Open source under the BSD License. + * + * Copyright © 2008 George McGinley Smith + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, + * are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, this list of + * conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list + * of conditions and the following disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * Neither the name of the author nor the names of contributors may be used to endorse + * or promote products derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * +*/ + +// t: current time, b: begInnIng value, c: change In value, d: duration +jQuery.easing['jswing'] = jQuery.easing['swing']; + +jQuery.extend( jQuery.easing, +{ + def: 'easeOutQuad', + swing: function (x, t, b, c, d) { + //alert(jQuery.easing.default); + return jQuery.easing[jQuery.easing.def](x, t, b, c, d); + }, + easeInQuad: function (x, t, b, c, d) { + return c*(t/=d)*t + b; + }, + easeOutQuad: function (x, t, b, c, d) { + return -c *(t/=d)*(t-2) + b; + }, + easeInOutQuad: function (x, t, b, c, d) { + if ((t/=d/2) < 1) return c/2*t*t + b; + return -c/2 * ((--t)*(t-2) - 1) + b; + }, + easeInCubic: function (x, t, b, c, d) { + return c*(t/=d)*t*t + b; + }, + easeOutCubic: function (x, t, b, c, d) { + return c*((t=t/d-1)*t*t + 1) + b; + }, + easeInOutCubic: function (x, t, b, c, d) { + if ((t/=d/2) < 1) return c/2*t*t*t + b; + return c/2*((t-=2)*t*t + 2) + b; + }, + easeInQuart: function (x, t, b, c, d) { + return c*(t/=d)*t*t*t + b; + }, + easeOutQuart: function (x, t, b, c, d) { + return -c * ((t=t/d-1)*t*t*t - 1) + b; + }, + easeInOutQuart: function (x, t, b, c, d) { + if ((t/=d/2) < 1) return c/2*t*t*t*t + b; + return -c/2 * ((t-=2)*t*t*t - 2) + b; + }, + easeInQuint: function (x, t, b, c, d) { + return c*(t/=d)*t*t*t*t + b; + }, + easeOutQuint: function (x, t, b, c, d) { + return c*((t=t/d-1)*t*t*t*t + 1) + b; + }, + easeInOutQuint: function (x, t, b, c, d) { + if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; + return c/2*((t-=2)*t*t*t*t + 2) + b; + }, + easeInSine: function (x, t, b, c, d) { + return -c * Math.cos(t/d * (Math.PI/2)) + c + b; + }, + easeOutSine: function (x, t, b, c, d) { + return c * Math.sin(t/d * (Math.PI/2)) + b; + }, + easeInOutSine: function (x, t, b, c, d) { + return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; + }, + easeInExpo: function (x, t, b, c, d) { + return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; + }, + easeOutExpo: function (x, t, b, c, d) { + return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; + }, + easeInOutExpo: function (x, t, b, c, d) { + if (t==0) return b; + if (t==d) return b+c; + if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; + return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; + }, + easeInCirc: function (x, t, b, c, d) { + return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; + }, + easeOutCirc: function (x, t, b, c, d) { + return c * Math.sqrt(1 - (t=t/d-1)*t) + b; + }, + easeInOutCirc: function (x, t, b, c, d) { + if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; + return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; + }, + easeInElastic: function (x, t, b, c, d) { + var s=1.70158;var p=0;var a=c; + if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; + if (a < Math.abs(c)) { a=c; var s=p/4; } + else var s = p/(2*Math.PI) * Math.asin (c/a); + return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; + }, + easeOutElastic: function (x, t, b, c, d) { + var s=1.70158;var p=0;var a=c; + if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; + if (a < Math.abs(c)) { a=c; var s=p/4; } + else var s = p/(2*Math.PI) * Math.asin (c/a); + return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; + }, + easeInOutElastic: function (x, t, b, c, d) { + var s=1.70158;var p=0;var a=c; + if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); + if (a < Math.abs(c)) { a=c; var s=p/4; } + else var s = p/(2*Math.PI) * Math.asin (c/a); + if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; + return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; + }, + easeInBack: function (x, t, b, c, d, s) { + if (s == undefined) s = 1.70158; + return c*(t/=d)*t*((s+1)*t - s) + b; + }, + easeOutBack: function (x, t, b, c, d, s) { + if (s == undefined) s = 1.70158; + return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; + }, + easeInOutBack: function (x, t, b, c, d, s) { + if (s == undefined) s = 1.70158; + if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; + return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; + }, + easeInBounce: function (x, t, b, c, d) { + return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b; + }, + easeOutBounce: function (x, t, b, c, d) { + if ((t/=d) < (1/2.75)) { + return c*(7.5625*t*t) + b; + } else if (t < (2/2.75)) { + return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; + } else if (t < (2.5/2.75)) { + return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; + } else { + return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; + } + }, + easeInOutBounce: function (x, t, b, c, d) { + if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; + return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; + } +}); + +/* + * + * TERMS OF USE - EASING EQUATIONS + * + * Open source under the BSD License. + * + * Copyright © 2001 Robert Penner + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, + * are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, this list of + * conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list + * of conditions and the following disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * Neither the name of the author nor the names of contributors may be used to endorse + * or promote products derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * + */ \ No newline at end of file diff --git a/themes/okat_dark/js/jquery.fancybox.js b/themes/okat_dark/js/jquery.fancybox.js new file mode 100644 index 00000000..a07c9cba --- /dev/null +++ b/themes/okat_dark/js/jquery.fancybox.js @@ -0,0 +1,1123 @@ +/* + * FancyBox - simple and fancy jQuery plugin + * Examples and documentation at: http://fancy.klade.lv/ + * Version: 1.2.1 (13/03/2009) + * Copyright (c) 2009 Janis Skarnelis + * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License + * Requires: jQuery v1.3+ +*/ +;(function($) { + + $.fn.fixPNG = function() { + return this.each(function () { + var image = $(this).css('backgroundImage'); + + if (image.match(/^url\(["']?(.*\.png)["']?\)$/i)) { + image = RegExp.$1; + $(this).css({ + 'backgroundImage': 'none', + 'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=" + ($(this).css('backgroundRepeat') == 'no-repeat' ? 'crop' : 'scale') + ", src='" + image + "')" + }).each(function () { + var position = $(this).css('position'); + if (position != 'absolute' && position != 'relative') + $(this).css('position', 'relative'); + }); + } + }); + }; + + + var elem, opts, busy = false, imagePreloader = new Image, loadingTimer, loadingFrame = 1, imageRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i; + var isIE = ($.browser.msie && parseInt($.browser.version.substr(0,1)) < 8); + + $.fn.fancybox = function(settings) { + settings = $.extend({}, $.fn.fancybox.defaults, settings); + + var matchedGroup = this; + + function _initialize() { + elem = this; + opts = settings; + + _start(); + + return false; + }; + + function _start() { + if (busy) return; + + if ($.isFunction(opts.callbackOnStart)) { + opts.callbackOnStart(); + } + + opts.itemArray = []; + opts.itemCurrent = 0; + + if (settings.itemArray.length > 0) { + opts.itemArray = settings.itemArray; + + } else { + var item = {}; + + if (!elem.rel || elem.rel == '') { + var item = {href: elem.href, title: elem.title, modules: elem.name, fancyclass: elem.className}; + + if ($(elem).children("img:first").length) { + item.orig = $(elem).children("img:first"); + } + + opts.itemArray.push( item ); + + } else { + + var subGroup = $(matchedGroup).filter("a[rel=" + elem.rel + "]"); + + var item = {}; + + for (var i = 0; i < subGroup.length; i++) { + item = {href: subGroup[i].href, title: subGroup[i].title, modules: subGroup[i].name, fancyclass: subGroup[i].className}; + + if ($(subGroup[i]).children("img:first").length) { + item.orig = $(subGroup[i]).children("img:first"); + } + + opts.itemArray.push( item ); + } + + while ( opts.itemArray[ opts.itemCurrent ].href != elem.href ) { + opts.itemCurrent++; + } + } + } + + if (opts.overlayShow) { + if (isIE) { + $('embed, object, select').css('visibility', 'hidden'); + } + + $("#fancy_overlay").css('opacity', opts.overlayOpacity).show(); + } + + _change_item(); + }; + + function _change_item() { + $("#fancy_right, #fancy_left, #fancy_close, #fancy_title, #fancy_modules").hide(); + + var href = opts.itemArray[ opts.itemCurrent ].href; + + if (href.match(/#/)) { + var target = window.location.href.split('#')[0]; target = href.replace(target, ''); target = target.substr(target.indexOf('#')); + + _set_content('