Commit c73848b8 authored by lucha's avatar lucha
Browse files

[auto] plugin: nextgen-gallery 3.0.8

parent 998a54df
NextGEN Gallery
by Imagely
= V3.0.8 - 09.05.2018 =
* Fixed: IGW broken with Chrome 69+
= V3.0.6 - 07.24.2018 =
* NEW: Added 'ngg_gallery_title_select_field' filter
* NEW: Danish translations
* NEW: Slovakian translations
* Changed: Removed unused swfUpload setting key from ngg_options array
* Secured: Image attribute storage
* Fixed: Styling of upload notifications
* Fixed: Do not purge WPML tag/translation mapping when removing unused NGG tags
* Fixed: Don't invoke icl_translate() when the admin language matches the default language
* Fixed: Importing Media Library images inside the IGW window
* Fixed: NGG > Overview's "Upgrade to Pro" links were still present when NGG Plus/Pro were active
* Fixed: Patched PEL to catch a possible exception caused by malformed IFD
* Fixed: Removed unneeded wp_localize_script('wp-color-picker'...)
* Fixed: Sorting galleries with over 1k images did not work past image 999
= V3.0.1 - 05.17.2018 =
* Fixed: Prevent caching of display_tab.js which can break the IGW
......
{
"name": "imagely/nextgen-gallery",
"description": "The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 21 million downloads.",
"description": "The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 22 million downloads.",
"keywords": ["nextgen", "nextgen gallery", "gallery", "galleries", "image", "images", "image gallery", "photo", "photos", "photo gallery", "picture", "pictures", "picture gallery", "album", "albums", "photo albums", "image album", "media", "media gallery", "thumbnails", "thumbnail gallery", "thumbnail galleries", "slideshow", "slideshows", "slideshow gallery", "slideshow galleries", "fancybox", "lightbox", "responsive", "responsive gallery", "responsive galleries", "singlepic", "watermarks", "watermarking", "photography", "photographer"],
"homepage": "https://www.imagely.com/",
"license": "GPLv2",
......
......@@ -3,8 +3,8 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
/**
* Plugin Name: NextGEN Gallery
* Description: The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 21 million downloads.
* Version: 3.0.1
* Description: The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 22 million downloads.
* Version: 3.0.8
* Author: Imagely
* Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
* Author URI: https://www.imagely.com
......@@ -663,7 +663,7 @@ class C_NextGEN_Bootstrap
define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products'));
define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
define('NGG_PLUGIN_STARTED_AT', microtime());
define('NGG_PLUGIN_VERSION', '3.0.1');
define('NGG_PLUGIN_VERSION', '3.0.8');
if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
define('NGG_SCRIPT_VERSION', (string)mt_rand(0, mt_getrandmax()));
......
......@@ -25,7 +25,7 @@ class M_Attach_To_Post extends C_Base_Module
'photocrati-attach_to_post',
'Attach To Post',
'Provides the "Attach to Post" interface for displaying galleries and albums',
'3.0.1',
'3.0.3',
'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/',
'Imagely',
'https://www.imagely.com',
......@@ -368,14 +368,14 @@ class M_Attach_To_Post extends C_Base_Module
wp_enqueue_style(
'ngg_attach_to_post_dialog',
$router->get_static_url('photocrati-attach_to_post#attach_to_post_dialog.css'),
FALSE,
array('gritter'),
NGG_SCRIPT_VERSION
);
wp_enqueue_script(
'ngg-igw',
$router->get_static_url('photocrati-attach_to_post#igw.js'),
array('jquery', 'Base64'),
array('jquery', 'Base64', 'gritter'),
NGG_PLUGIN_VERSION
);
wp_localize_script('ngg-igw', 'ngg_igw_i18n', array(
......@@ -574,4 +574,4 @@ class C_Attach_To_Post_Installer
}
}
new M_Attach_To_Post();
new M_Attach_To_Post();
\ No newline at end of file
......@@ -506,7 +506,7 @@ class Mixin_Attach_To_Post extends Mixin
wp_enqueue_script('photocrati_ajax');
// Enqueue logic for the Attach to Post interface as a whole
wp_enqueue_script('ngg_attach_to_post_js', $this->get_static_url('photocrati-attach_to_post#attach_to_post.js'), FALSE, NGG_SCRIPT_VERSION);
wp_enqueue_style('ngg_attach_to_post', $this->get_static_url('photocrati-attach_to_post#attach_to_post.css'), FALSE, NGG_SCRIPT_VERSION);
wp_enqueue_style('ngg_attach_to_post', $this->get_static_url('photocrati-attach_to_post#attach_to_post.css'), FALSE, C_Component_Registry::get_instance()->get_module('photocrati-attach_to_post')->module_version);
wp_dequeue_script('debug-bar-js');
wp_dequeue_style('debug-bar-css');
$this->enqueue_display_tab_js();
......
......@@ -85,7 +85,7 @@ h3#choose_display {
#attach_to_post_tabs .main_menu_tab {
padding: 0;
position: absolute;
left: 200px;
left: 220px;
right: 0;
top: 0;
bottom: 0;
......@@ -111,6 +111,15 @@ iframe {
background: transparent;
}
.chrome_70_hack_frames {
z-index: 100000000 !important;
}
.chrome_70_hack_noframes {
z-index: 0 !important;
}
.clear {
clear: both;
float: none;
......@@ -146,9 +155,8 @@ table {
/* 2. IGW Sidebar */
#attach_to_post_tabs .ui-tabs-icon {
/*background: #2a343d;*/
background: #133148;
border-right: 3px solid #9fbb1a;
border-right: 1px solid #9cbe1b;;
box-sizing: border-box;
color: #fff;
font-family: Lato, sans-serif;
......@@ -162,13 +170,15 @@ table {
position: fixed;
padding: 10px 25px 30px 10px;
text-transform: uppercase;
width: 200px;
width: 220px;
padding: 0;
}
#attach_to_post_tabs img.attach_to_post_logo {
height: 45px;
padding: 20px 0 10px;
float: right;
margin-right: 26px;
}
#attach_to_post_tabs .ui-tabs-nav {
......@@ -176,7 +186,7 @@ table {
background: transparent;
padding: 0;
margin-top: 90px;
list-style: ordered;
list-style: none;
}
#attach_to_post_tabs .ui-tabs-nav li {
......@@ -187,15 +197,32 @@ table {
margin: 0;
padding: 0;
width: 100%;
border-radius: 0;
box-sizing: border-box;
border-bottom: 1px solid #344a59;
padding: 24px 30px 24px 20px;
}
#attach_to_post_tabs .ui-tabs-nav li.ui-tabs-active {
background: #2b4d65;
background: #9dbd1b;
}
#attach_to_post_tabs .ui-tabs-nav li.ui-state-focus,
#attach_to_post_tabs .ui-tabs-nav li.ui-state-active,
#attach_to_post_tabs .ui-tabs-nav li:focus,
#attach_to_post_tabs .ui-tabs-nav li.active {
outline: none;
}
/* The next couple of rules are all a workaround to disable the "Insert Into Page" tab just for iOS */
/* TODO: consolidate when plupload is upgraded */
#attach_to_post_tabs ul.ui-tabs-nav li:nth-of-type(1) {
list-style: ordered;
list-style: none;
border-top: 1px solid #344a59;
}
#attach_to_post_tabs:not(.ngg_atp_ios_detected) ul.ui-tabs-nav li:nth-of-type(2) {
list-style: ordered;
list-style: none;
}
#attach_to_post_tabs:not(.ngg_atp_ios_detected) ul.ui-tabs-nav li:nth-of-type(1) a {
......@@ -206,7 +233,7 @@ table {
}
/* Because the upload-images tab is removed on iOS we must position this divider bar differently */
#attach_to_post_tabs.ngg_atp_ios_detected .ui-tabs-nav li:nth-of-type(1)::after {
/*#attach_to_post_tabs.ngg_atp_ios_detected .ui-tabs-nav li:nth-of-type(1)::after {
border-bottom: 1px solid rgba(255,255,255,.2);
content: "";
display: block;
......@@ -214,10 +241,10 @@ table {
margin: 24px 4px 20px 0;
position: static;
width: 90%;
}
}*/
/* This rule applies for all non-iOS browsers */
#attach_to_post_tabs:not(.ngg_atp_ios_detected) .ui-tabs-nav li:nth-of-type(2)::after {
/*#attach_to_post_tabs:not(.ngg_atp_ios_detected) .ui-tabs-nav li:nth-of-type(2)::after {
border-bottom: 1px solid rgba(255,255,255,.2);
content: "";
display: block;
......@@ -225,7 +252,7 @@ table {
margin: 24px 4px 20px 0;
position: static;
width: 90%;
}
}*/
#attach_to_post_tabs .ui-tabs-nav li a {
color: #fff;
......@@ -236,6 +263,13 @@ table {
padding: 10px 5px 5px 0 !important;
text-transform: none;
font-family: lato, sans-serif;
text-transform: uppercase;
font-size: 13px;
letter-spacing: 1px;
font-weight: 700;
padding: 0 !important;
font-size: 12px;
letter-spacing: 1.2px;
}
#attach_to_post_tabs .ui-tabs-nav li.ui-tabs-active a,
......@@ -245,19 +279,18 @@ table {
}
#attach_to_post_tabs .ui-tabs-nav li a.active_tab::before {
border-right: solid .75em #9fbb1a;
border-top: solid .75em transparent;
border-bottom: solid .75em transparent;
content: '';
/*left: 3.1em;*/
right: -25px;
position: absolute;
top: 8px;
border-right: solid .75em #fff;
border-top: solid 1.2em transparent;
border-bottom: solid 1.2em transparent;
content: '';
position: absolute;
top: 16px;
right: -3px;
}
#attach_to_post_tabs .ui-tabs-nav li a.active_tab {
color: #9fbb1a;
font-weight: 600;
color: #fff;
font-weight: 800;
}
/* 3. Display Tab: General CSS */
......@@ -284,27 +317,51 @@ table {
height: 25px;
margin-top: 0;
width: auto;
border-bottom: 1px solid #ddd;
background: #fafafa;
}
#displayed_tab #ngg_page_content .ngg_page_content_menu a {
#displayed_tab #ngg_page_content .ngg_page_content_menu a,
#displayed_tab #ngg_page_content .ngg_page_content_menu a:active {
border: none;
color: #bbb;
color: #888;
display: inline;
font-size: 14px;
font-weight: 400;
text-decoration: none;
line-height: 25px;
padding: 15px 20px;
/*border-left: 1px solid #f7f8f3;
border-right: 1px solid #f7f8f3;*/
font-size: 12px;
background: transparent;
/*border: none !important;*/
}
#displayed_tab #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active {
color: #9fbb1a;
border-right: 1px solid #edeeeb;
border-left: 1px solid #edeeeb;
background: transparent;
font-weight: bold;
color: #123248;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
border-bottom: 2px solid #fff;
background: #fff;
}
#displayed_tab #ngg_page_content .ngg_page_content_menu a:active:after {
display:none;
}
/*#displayed_tab #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after {
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-top: 6px solid #cad1d6;
border-top: 6px solid #123248;
content: " ";
position: absolute;
left: 45%;
display: inline;
top: 42px;
}*/
#displayed_tab #ngg_page_content .ngg_page_content_menu a:before {
display: none;
}
......@@ -312,7 +369,7 @@ table {
#displayed_tab #ngg_page_content .ngg_page_content_main {
padding: 30px;
width: 100%;
border-top: 1px solid #edeeeb;
box-shadow: none;
}
#displayed_tab #ngg_page_content.ngg_settings_page {
......@@ -478,7 +535,6 @@ table {
margin-bottom: 10px;
box-sizing: border-box;
max-width: 100px;
/*border: 1px solid #eee;*/
}
#displayed_tab .display_type_preview .image_container p {
......@@ -494,11 +550,11 @@ table {
}
#ngg_page_content #save_displayed_gallery.button {
font-weight: bold;
height: 60px !important;
line-height: 60px !important;
text-transform: uppercase;
padding: 0 40px !important;
font-weight: 700;
height: 50px!important;
line-height: 50px!important;
padding: 0 30px!important;
font-size: 13px;
}
/* 3b. Display Tab: "Customize Display Settings" Subtab */
......@@ -717,17 +773,20 @@ h3#preview_tab {
padding: 20px;
}
#attach_to_post_tabs img.attach_to_post_logo {
/*float: none;*/
display: none;
}
#attach_to_post_tabs .ui-tabs-nav {
/*margin-top: -15px;*/
margin-top: 0;
}
#attach_to_post_tabs .ui-tabs-nav li {
padding: 5px;
list-style: none !important;
border-bottom: none;
border-top: none !important;
}
#attach_to_post_tabs .ui-tabs-nav li.ui-tabs-active {
background: transparent;
}
#attach_to_post_tabs:not(.ngg_atp_ios_detected) .ui-tabs-nav li:nth-of-type(2)::after {
display: none;
......@@ -735,12 +794,18 @@ h3#preview_tab {
#attach_to_post_tabs .ui-tabs-nav li a {
float: none;
padding: 0 !important;
font-weight: normal;
}
#attach_to_post_tabs .ui-tabs-nav li a.active_tab {
color: #9ebc1b;
}
#attach_to_post_tabs .ui-tabs-nav li a.active_tab::before {
display:none;
}
#attach_to_post_tabs .main_menu_tab {
margin-left: 0;
min-height: auto;
position: absolute;
/*top: 280px;*/
top: 150px;
right: 0;
left: 0;
......@@ -749,6 +814,8 @@ h3#preview_tab {
}
#displayed_tab #ngg_page_content .ngg_page_content_menu {
padding: 5px 0 0;
background: none;
border: none;
}
#displayed_tab #ngg_page_content .ngg_page_content_menu a {
display: block;
......@@ -762,6 +829,9 @@ h3#preview_tab {
#displayed_tab #ngg_page_content .ngg_page_content_menu a:active {
background: transparent;
}
#displayed_tab #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after {
display:none;
}
#displayed_tab #ngg_page_content .ngg_page_content_menu a:last-of-type {
padding-bottom: 5px;
}
......@@ -789,6 +859,9 @@ h3#preview_tab {
#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main #source_configuration tbody {
display: table-row-group !important;
}
#displayed_tab #ngg_page_content .responsive-menu-icon {
padding: 10px 0 15px !important;
}
}
@media (max-width: 400px) {
......@@ -797,4 +870,4 @@ h3#preview_tab {
margin: 20px auto;
width: 170px;
}
}
}
\ No newline at end of file
......@@ -97,7 +97,16 @@ jQuery(function($) {
}
// Activate tabs
$('#attach_to_post_tabs').ngg_tabs();
$('#attach_to_post_tabs').ngg_tabs({
onShowTab: function(tab) {
// Fix z-index problem with frames and non-frames on Chrome 69/70
if (navigator.appVersion.match(/Chrome\/(69|7)/)) {
tab.attr('id') != 'displayed_tab' ?
$('#attach_to_post_tabs').addClass('chrome_70_hack_frames').removeClass('chrome_70_hack_noframes') :
$('#attach_to_post_tabs').removeClass('chrome_70_hack_frames').addClass('chrome_70_hack_noframes')
}
}
});
// If the preview area is being displayed, emit an event for that
$('.ngg_page_content_menu a').bind('click', function(){
......
function close_attach_to_post_window(){var e=jQuery(top.document).find("#TB_window iframe").attr("src");e&&e.match("attach_to_post")?top.tb_remove():top.tinyMCE.activeEditor.windowManager.close(window)}function adjust_height_for_frame(e,t,i){if(!/crios|iP(hone|od|ad)/i.test(navigator.userAgent))return void 0===i||i(e,t);var n=jQuery(t.frameElement),o=n.contents().height()/3,a=n.contents().find("#wpbody").height(),s=jQuery(e.document).height(),d=n.height();if(0===a&&(a=n.contents().height()),o<a&&(o=a),o<s&&(o=s),d<o){var c=n.attr("id");if(c&&0===c.indexOf("ngg-iframe-")){var r=c.substr(11);r&&jQuery("#"+r).height(o)}}return void 0===i||i(e,t,o)}function ngg_get_measures_for_frame(e){var t=jQuery(e),i=t.attr("id"),n={};if(i&&0===i.indexOf("ngg-iframe-")){if(i.substr(11)){var o=jQuery(document);n.scrollTop=o.scrollTop()-40,window.parent?n.scrollHeight=jQuery(window.parent.document).find(".ngg_attach_to_post_window").height()-40:n.scrollHeight=o.height(),void 0!==window.console&&console.log(n)}}return n}function is_visual_editor(){return 0===jQuery(top.document).find(".html-active:visible").length}function insert_into_editor(e,t){if(is_visual_editor()){var i=top.tinyMCE.activeEditor;i.selection.getNode().outerHTML.indexOf(t)>=0?jQuery(i.selection.getNode()).attr("data-shortcode",e.substring(1,e.length-1)):i.execCommand("mceInsertContent",!1,e),i.selection.collapse(!1)}else if(myField=top.document.getElementById("content"),myValue=e,document.selection)myField.focus(),sel=document.selection.createRange(),sel.text=myValue;else if(myField.selectionStart||"0"===myField.selectionStart){var n=myField.selectionStart,o=myField.selectionEnd;myField.value=myField.value.substring(0,n)+myValue+myField.value.substring(o,myField.value.length)}else myField.value+=myValue}this.id="ngg-attach_to_post",jQuery(function(e){/crios|iP(hone|od|ad)/i.test(navigator.userAgent)&&e("#attach_to_post_tabs").addClass("ngg_atp_ios_detected"),e("#attach_to_post_tabs").ngg_tabs(),e(".ngg_page_content_menu a").bind("click",function(){"preview_tab"===e(this).attr("data-id")&&e("#preview_area").trigger("opened")}),e(".accordion").accordion({clearStyle:!0,autoHeight:!1,heightStyle:"content"}),e(".ui-tabs-nav li:first-of-type a").addClass("active_tab"),e(".ui-tabs-nav a").click(function(t){e(".ui-tabs-nav a").removeClass("active_tab"),e(this).addClass("active_tab");var i=t.target?t.target:t.srcElement;if(e(i).parent().hasClass("ui-state-active")){var n=e(i.hash+" iframe");n.length>0&&n[0].contentDocument.location!=n.attr("src")&&(n[0].contentDocument.location=n.attr("src"))}}),e(this).keydown(function(e){27===e.keyCode&&close_attach_to_post_window()}),e("body").css({position:"static",visibility:"visible"}).animate({opacity:1})}),jQuery(function(e){e("#displayed_tab .ngg_igw_video_open").click(function(t){e("#displayed_tab .ngg_igw_video_inner").append('<iframe class="ngg_igw_video_iframe" width="1050" height="590" src="https://www.youtube.com/embed/mNEnY23i9DE?rel=0" frameborder="0" allowfullscreen></iframe>'),e("#displayed_tab .ngg_igw_video_inner").css("display","block"),e("#displayed_tab .ngg_igw_video_open").css("display","none")}),e("#displayed_tab .ngg_igw_video_close").click(function(t){e("#displayed_tab .ngg_igw_video_iframe").remove(),e("#displayed_tab .ngg_igw_video_inner").css("display","none"),e("#displayed_tab .ngg_igw_video_open").css("display","block")})}),jQuery(function(e){e(".ngg_page_content_menu a").click(function(t){"choose_display"==e(this).attr("data-id")?(e(".ngg_igw_promo").css("visibility","visible"),e("#displayed_tab .ngg_igw_video_open").css("display","block")):(e(".ngg_igw_promo").css("visibility","hidden"),e("#displayed_tab .ngg_igw_video_open").css("display","none"),e("#displayed_tab .ngg_igw_video_inner").css("display","none"))})});
\ No newline at end of file
function close_attach_to_post_window(){var e=jQuery(top.document).find("#TB_window iframe").attr("src");e&&e.match("attach_to_post")?top.tb_remove():top.tinyMCE.activeEditor.windowManager.close(window)}function adjust_height_for_frame(e,t,i){if(!/crios|iP(hone|od|ad)/i.test(navigator.userAgent))return void 0===i||i(e,t);var a=jQuery(t.frameElement),o=a.contents().height()/3,n=a.contents().find("#wpbody").height(),s=jQuery(e.document).height(),d=a.height();if(0===n&&(n=a.contents().height()),o<n&&(o=n),o<s&&(o=s),d<o){var c=a.attr("id");if(c&&0===c.indexOf("ngg-iframe-")){var r=c.substr(11);r&&jQuery("#"+r).height(o)}}return void 0===i||i(e,t,o)}function ngg_get_measures_for_frame(e){var t=jQuery(e),i=t.attr("id"),a={};if(i&&0===i.indexOf("ngg-iframe-")){if(i.substr(11)){var o=jQuery(document);a.scrollTop=o.scrollTop()-40,window.parent?a.scrollHeight=jQuery(window.parent.document).find(".ngg_attach_to_post_window").height()-40:a.scrollHeight=o.height(),void 0!==window.console&&console.log(a)}}return a}function is_visual_editor(){return 0===jQuery(top.document).find(".html-active:visible").length}function insert_into_editor(e,t){if(is_visual_editor()){var i=top.tinyMCE.activeEditor;i.selection.getNode().outerHTML.indexOf(t)>=0?jQuery(i.selection.getNode()).attr("data-shortcode",e.substring(1,e.length-1)):i.execCommand("mceInsertContent",!1,e),i.selection.collapse(!1)}else if(myField=top.document.getElementById("content"),myValue=e,document.selection)myField.focus(),sel=document.selection.createRange(),sel.text=myValue;else if(myField.selectionStart||"0"===myField.selectionStart){var a=myField.selectionStart,o=myField.selectionEnd;myField.value=myField.value.substring(0,a)+myValue+myField.value.substring(o,myField.value.length)}else myField.value+=myValue}this.id="ngg-attach_to_post",jQuery(function(e){/crios|iP(hone|od|ad)/i.test(navigator.userAgent)&&e("#attach_to_post_tabs").addClass("ngg_atp_ios_detected"),e("#attach_to_post_tabs").ngg_tabs({onShowTab:function(t){navigator.appVersion.match(/Chrome\/(69|7)/)&&("displayed_tab"!=t.attr("id")?e("#attach_to_post_tabs").addClass("chrome_70_hack_frames").removeClass("chrome_70_hack_noframes"):e("#attach_to_post_tabs").removeClass("chrome_70_hack_frames").addClass("chrome_70_hack_noframes"))}}),e(".ngg_page_content_menu a").bind("click",function(){"preview_tab"===e(this).attr("data-id")&&e("#preview_area").trigger("opened")}),e(".accordion").accordion({clearStyle:!0,autoHeight:!1,heightStyle:"content"}),e(".ui-tabs-nav li:first-of-type a").addClass("active_tab"),e(".ui-tabs-nav a").click(function(t){e(".ui-tabs-nav a").removeClass("active_tab"),e(this).addClass("active_tab");var i=t.target?t.target:t.srcElement;if(e(i).parent().hasClass("ui-state-active")){var a=e(i.hash+" iframe");a.length>0&&a[0].contentDocument.location!=a.attr("src")&&(a[0].contentDocument.location=a.attr("src"))}}),e(this).keydown(function(e){27===e.keyCode&&close_attach_to_post_window()}),e("body").css({position:"static",visibility:"visible"}).animate({opacity:1})}),jQuery(function(e){e("#displayed_tab .ngg_igw_video_open").click(function(t){e("#displayed_tab .ngg_igw_video_inner").append('<iframe class="ngg_igw_video_iframe" width="1050" height="590" src="https://www.youtube.com/embed/mNEnY23i9DE?rel=0" frameborder="0" allowfullscreen></iframe>'),e("#displayed_tab .ngg_igw_video_inner").css("display","block"),e("#displayed_tab .ngg_igw_video_open").css("display","none")}),e("#displayed_tab .ngg_igw_video_close").click(function(t){e("#displayed_tab .ngg_igw_video_iframe").remove(),e("#displayed_tab .ngg_igw_video_inner").css("display","none"),e("#displayed_tab .ngg_igw_video_open").css("display","block")})}),jQuery(function(e){e(".ngg_page_content_menu a").click(function(t){"choose_display"==e(this).attr("data-id")?(e(".ngg_igw_promo").css("visibility","visible"),e("#displayed_tab .ngg_igw_video_open").css("display","block")):(e(".ngg_igw_promo").css("visibility","hidden"),e("#displayed_tab .ngg_igw_video_open").css("display","none"),e("#displayed_tab .ngg_igw_video_inner").css("display","none"))})});
\ No newline at end of file
/* Thickbox-based IGW Rules */
#TB_window.ngg_tb_window {
box-shadow: 0 0 20px 10px rgba( 0, 0, 0, .5 );
}
.ngg_tb_window #TB_iframeContent {
height:100.1% !important;
}
......
.ngg_tb_window #TB_iframeContent{height:100.1%!important}.ngg_tb_window #TB_title{height:0!important;border:none!important}.ngg_tb_window #TB_closeWindowButton{background:0 0;top:10px;right:20px}.ngg_tb_window #TB_closeWindowButton:focus .tb-close-icon,.ngg_tb_window .tb-close-icon{color:#fff;border:none;box-shadow:none;background:#9fbb1a;border-radius:50%;padding:1px;height:20px;width:20px;font-size:12px}.ngg_tb_window #TB_closeWindowButton:focus .tb-close-icon,.ngg_tb_window #TB_closeWindowButton:hover .tb-close-icon{color:#fff}.ngg_tb_window .tb-close-icon:before{font:normal 18px dashicons}#ngg_attach_to_post_dialog{width:95%!important;left:2.5%!important}#ngg_attach_to_post_dialog-head #ngg_attach_to_post_dialog-title{display:none}#ngg_attach_to_post_dialog-body{width:100%!important}#ngg_attach_to_post_dialog-head{min-height:0;height:0;border:none}#ngg_attach_to_post_dialog-head .mce-close{position:absolute;background:0 0;top:10px!important;right:20px!important;z-index:2}#ngg_attach_to_post_dialog-head .mce-close i,#ngg_attach_to_post_dialog-head .mce-close:focus i{color:#fff;border:none;box-shadow:none;background:#9fbb1a;border-radius:50%;padding:1px;height:20px;width:20px;font-size:12px}#ngg_attach_to_post_dialog-head .mce-close:focus i,#ngg_attach_to_post_dialog-head .mce-close:hover i{color:#fff}#ngg_attach_to_post_dialog-head .mce-close i:before{font:normal 17px dashicons;color:#fff;margin:1.2px 0 0 -8px}.ngg_attach_to_post_window{position:relative;border:none!important}.ngg_attach_to_post_window .mceBottom,.ngg_attach_to_post_window .mceCenter,.ngg_attach_to_post_window .mceLeft,.ngg_attach_to_post_window .mceResize,.ngg_attach_to_post_window .mceRight,.ngg_attach_to_post_window .mceTop{background:0 0!important;border:none!important}.ngg_attach_to_post_window .mceMiddle span{padding-top:6px!important}.ngg_attach_to_post_window .mceTop{display:block!important;height:0!important;font-size:0!important}.ngg_attach_to_post_window .mceClose{background:url(uploader-icons.png)!important;display:block!important;margin:0!important;padding:0!important;width:15px!important;height:15px!important;background-position:-100px 0!important;position:absolute!important;top:44px!important;right:30px!important}#ngg_attach_to_post_dialog-body{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background:rgba(255,255,255,.6);border-top:none}div[aria-label="Block: Classic"] .nggPlaceholder{background-color:#143650;box-sizing:border-box;border-bottom:5px solid #9fbb1a;border-radius:3px;box-shadow:0 0 4px 1px rgba(0,0,0,.05);color:#9fbb1a;font-family:sans-serif;font-size:20px;height:200px;margin:5px;outline:0!important;padding:30px 30px 50px 30px;text-align:center;width:100%}div[aria-label="Block: Classic"] .nggPlaceholder h3{color:#fff;font-family:Lato,sans-serif;font-size:16px;font-size:1.6rem;font-weight:600;margin:24px 0 0 0}div[aria-label="Block: Classic"] .nggPlaceholderButton:hover{margin:0;opacity:.8;color:#9fbb1a}div[aria-label="Block: Classic"] .nggPlaceholderButton{font-size:13px;font-size:1.3rem;margin:0;opacity:1;color:#bbb;padding:4px 0 0 12px;color:rgba(159,187,26,.7)}div[aria-label="Block: Classic"] .nggPlaceholderButton.nggIgwRemove{border-left:1px solid rgba(204,204,204,.4)}@media (max-width:781px){#TB_window.ngg_tb_window{position:absolute!important}}
\ No newline at end of file
#TB_window.ngg_tb_window{box-shadow:0 0 20px 10px rgba(0,0,0,.5)}.ngg_tb_window #TB_iframeContent{height:100.1%!important}.ngg_tb_window #TB_title{height:0!important;border:none!important}.ngg_tb_window #TB_closeWindowButton{background:0 0;top:10px;right:20px}.ngg_tb_window #TB_closeWindowButton:focus .tb-close-icon,.ngg_tb_window .tb-close-icon{color:#fff;border:none;box-shadow:none;background:#9fbb1a;border-radius:50%;padding:1px;height:20px;width:20px;font-size:12px}.ngg_tb_window #TB_closeWindowButton:focus .tb-close-icon,.ngg_tb_window #TB_closeWindowButton:hover .tb-close-icon{color:#fff}.ngg_tb_window .tb-close-icon:before{font:normal 18px dashicons}#ngg_attach_to_post_dialog{width:95%!important;left:2.5%!important}#ngg_attach_to_post_dialog-head #ngg_attach_to_post_dialog-title{display:none}#ngg_attach_to_post_dialog-body{width:100%!important}#ngg_attach_to_post_dialog-head{min-height:0;height:0;border:none}#ngg_attach_to_post_dialog-head .mce-close{position:absolute;background:0 0;top:10px!important;right:20px!important;z-index:2}#ngg_attach_to_post_dialog-head .mce-close i,#ngg_attach_to_post_dialog-head .mce-close:focus i{color:#fff;border:none;box-shadow:none;background:#9fbb1a;border-radius:50%;padding:1px;height:20px;width:20px;font-size:12px}#ngg_attach_to_post_dialog-head .mce-close:focus i,#ngg_attach_to_post_dialog-head .mce-close:hover i{color:#fff}#ngg_attach_to_post_dialog-head .mce-close i:before{font:normal 17px dashicons;color:#fff;margin:1.2px 0 0 -8px}.ngg_attach_to_post_window{position:relative;border:none!important}.ngg_attach_to_post_window .mceBottom,.ngg_attach_to_post_window .mceCenter,.ngg_attach_to_post_window .mceLeft,.ngg_attach_to_post_window .mceResize,.ngg_attach_to_post_window .mceRight,.ngg_attach_to_post_window .mceTop{background:0 0!important;border:none!important}.ngg_attach_to_post_window .mceMiddle span{padding-top:6px!important}.ngg_attach_to_post_window .mceTop{display:block!important;height:0!important;font-size:0!important}.ngg_attach_to_post_window .mceClose{background:url(uploader-icons.png)!important;display:block!important;margin:0!important;padding:0!important;width:15px!important;height:15px!important;background-position:-100px 0!important;position:absolute!important;top:44px!important;right:30px!important}#ngg_attach_to_post_dialog-body{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;background:rgba(255,255,255,.6);border-top:none}div[aria-label="Block: Classic"] .nggPlaceholder{background-color:#143650;box-sizing:border-box;border-bottom:5px solid #9fbb1a;border-radius:3px;box-shadow:0 0 4px 1px rgba(0,0,0,.05);color:#9fbb1a;font-family:sans-serif;font-size:20px;height:200px;margin:5px;outline:0!important;padding:30px 30px 50px 30px;text-align:center;width:100%}div[aria-label="Block: Classic"] .nggPlaceholder h3{color:#fff;font-family:Lato,sans-serif;font-size:16px;font-size:1.6rem;font-weight:600;margin:24px 0 0 0}div[aria-label="Block: Classic"] .nggPlaceholderButton:hover{margin:0;opacity:.8;color:#9fbb1a}div[aria-label="Block: Classic"] .nggPlaceholderButton{font-size:13px;font-size:1.3rem;margin:0;opacity:1;color:#bbb;padding:4px 0 0 12px;color:rgba(159,187,26,.7)}div[aria-label="Block: Classic"] .nggPlaceholderButton.nggIgwRemove{border-left:1px solid rgba(204,204,204,.4)}@media (max-width:781px){#TB_window.ngg_tb_window{position:absolute!important}}
\ No newline at end of file
......@@ -25,6 +25,10 @@ html#iframely {
padding: 0px;
}
#iframely #ngg_page_content.ngg_settings_page {
background: #fff;
}
#iframely h2,
#iframely #icon-nextgen-gallery {
display: none;
......@@ -57,34 +61,61 @@ html#iframely {
height: 25px;
margin-top: 0;
width: auto;
border-bottom: 1px solid #ddd;
background: #fafafa;
}
#iframely #ngg_page_content .ngg_page_content_menu a {
border: none;
color: #bbb;
color: #888;
display: inline;
font-size: 14px;
font-weight: 400;
text-decoration: none;
line-height: 25px;
padding: 15px 20px;
border-left: 1px solid #f7f8f3;
border-right: 1px solid #f7f8f3;
font-size: 12px;
}
#iframely #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active {
color: #9fbb1a;
border-right: 1px solid #edeeeb;
border-left: 1px solid #edeeeb;
#iframely #ngg_page_content .ngg_page_content_menu a:active {
background: transparent;