AttachToPost/attach_to_post.min.css 0000644 00000032266 15021223043 0013431 0 ustar 00 @font-face{font-family:Lato;src:url(../../products/photocrati_nextgen/modules/nextgen_admin/static/Lato-Regular.ttf) format('truetype')}body,html{width:100%!important;height:100%!important;padding:0!important;margin:0!important;max-width:100%!important;font-size:13px;overflow:hidden}body{position:absolute;visibility:hidden;opacity:0;height:100%}.entity_errors{color:red}.entity_errors ul{margin-left:30px}.entity_errors ul li{list-style-type:disc}.ui-helper-reset{font-size:13px}#attach_to_post_tabs{border:0;background:0 0;height:100%;overflow:hidden;padding:0;position:relative;visibility:visible}#attach_to_post_tabs.ui-tabs-hide{display:block!important;visibility:hidden;position:absolute;top:-5000px}#attach_to_post_tabs h3{text-transform:uppercase;color:#000;margin-top:0;letter-spacing:2px;font-size:18px;font-weight:900}h3#choose_display{margin-bottom:24px}#attach_to_post_tabs .main_menu_tab{padding:0;position:absolute;left:220px;right:0;top:0;bottom:0}#attach_to_post_tabs.ngg_atp_ios_detected{overflow-y:scroll;-webkit-overflow-scrolling:touch}#attach_to_post_tabs .ui-widget-header{border:0;border-bottom:1px solid #dfdfdf;background:0 0}iframe{width:100%;min-height:100%;border:none;padding:0;margin:0;background:0 0}.chrome_70_hack_frames{z-index:100000000!important}.chrome_70_hack_noframes{z-index:0!important}.clear{clear:both;float:none}table{font-size:13px}.select2-search input{width:100%!important}.select2-result-label{white-space:nowrap}.select2-results{font-family:'segoe ui',Arial,sans-serif;font-size:13px}.select2-container a{color:#444!important}#ngg_page_content .ngg_page_content_main .select2-container{width:100%!important;max-width:500px!important}#attach_to_post_tabs .ui-tabs-icon{box-sizing:border-box;color:#fff;font-family:Lato,sans-serif;float:none;font-size:20px;font-weight:700;height:100%;letter-spacing:1px;line-height:60px;margin-bottom:0;position:fixed;text-transform:uppercase;width:220px;padding:0}#attach_to_post_tabs img.attach_to_post_logo{height:80px;padding:50px 0 30px;float:right;margin-right:26px}#attach_to_post_tabs .ui-tabs-nav{border:none;background:0 0;padding:0;margin-top:110px;list-style:none}#attach_to_post_tabs .ui-tabs-nav li{background:0 0;border:none;display:block;height:auto;margin:0;width:100%;border-radius:0;box-sizing:border-box;padding:24px 30px 24px 20px}#attach_to_post_tabs .ui-tabs-nav li.active,#attach_to_post_tabs .ui-tabs-nav li.ui-state-active,#attach_to_post_tabs .ui-tabs-nav li.ui-state-focus,#attach_to_post_tabs .ui-tabs-nav li:focus{outline:0}#attach_to_post_tabs .ui-tabs-nav li a{display:list-item;color:#555;float:right;font-size:13px;font-weight:400;font-family:Lato,sans-serif;letter-spacing:1.5px;line-height:1;text-transform:uppercase;padding:0!important}#attach_to_post_tabs .ui-tabs-nav li.ui-tabs-active{border-left:6px solid #9dbd1b}#attach_to_post_tabs .ui-tabs-nav li.ui-state-disabled a,#attach_to_post_tabs .ui-tabs-nav li.ui-tabs-active a,#attach_to_post_tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:pointer}#attach_to_post_tabs .ui-tabs-nav li a.active_tab{font-weight:800;color:#000}#displayed_tab.main_menu_tab{overflow-y:scroll;overflow-x:hidden}#displayed_tab #ngg_page_content{margin:0;width:100%}#displayed_tab #attach_to_post_tabs .ngg_page_content_header{display:none}#displayed_tab #ngg_page_content .ngg_page_content_menu{background:0 0;border:none;padding:0 20px 10px 27px;float:none;height:25px;margin-top:0;width:auto;position:relative;top:100px}#displayed_tab #ngg_page_content .ngg_page_content_menu a,#displayed_tab #ngg_page_content .ngg_page_content_menu a:active{border:none;color:#000;display:inline;font-weight:300;text-decoration:none;line-height:25px;padding:4px;font-size:12px;background:0 0;margin-right:10px}#displayed_tab #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active{font-weight:500;color:#000;border-bottom:3px solid #9ebc1b}#displayed_tab #ngg_page_content .ngg_page_content_menu a:active:after{display:none}#displayed_tab #ngg_page_content .ngg_page_content_menu a:before{display:none}#displayed_tab #ngg_page_content .ngg_page_content_main{padding:20px 30px 30px;width:100%;box-shadow:none}#displayed_tab #ngg_page_content.ngg_settings_page{border:none}#displayed_tab .ngg_igw_promo{display:block!important;padding:15px 7px;color:#666;font-family:Lato,sans-serif;font-size:10pt;letter-spacing:.5px;box-sizing:border-box;height:172px}#displayed_tab .ngg_igw_promo p{text-align:center}#displayed_tab .ngg_igw_promo p:nth-of-type(1){margin-top:10px}#displayed_tab .ngg_igw_promo p:nth-of-type(2){margin:20px 0}#displayed_tab .ngg_igw_promo a{text-decoration:none;font-weight:600;background:#9ebc1b;color:#fff;padding:10px 16px;font-size:11px;text-transform:uppercase}#displayed_tab .ngg_igw_coupon{font-size:12px;margin-top:10px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main>div.ngg_igw_video{display:block!important;position:absolute;left:280px;top:71px}#displayed_tab .ngg_igw_video_open{background:#000;cursor:pointer;margin:0;font-weight:400;height:28px!important;line-height:28px!important;font-size:10px}#displayed_tab .ngg_igw_video_inner{display:none;box-shadow:0 0 10px 5px rgba(0,0,0,.2);background:#fff}#displayed_tab .ngg_igw_video_close{width:100%;height:50px;display:block;text-align:center;line-height:50px;font-size:13px;font-weight:600;cursor:pointer;font-family:Lato,sans-serif;background:#000;color:#fff;text-transform:uppercase;letter-spacing:1.5px}#displayed_tab .ngg_igw_video iframe{width:630px;height:350px!important;min-height:auto;margin-bottom:-3px}#choose_display_content,#display_settings_tab_content,#preview_tab_content{margin-top:80px}#displayed_tab #displayed_gallery_source{width:400px}#displayed_tab #display_tip{color:rgba(42,52,61,.6);display:block;font-size:14px;width:960px;max-width:100%;padding:10px 0 0}#displayed_tab #slug_configuration{display:none}#displayed_tab #slug_configuration td,#displayed_tab #source_configuration td{vertical-align:top;padding:4px 0!important;min-width:200px}#displayed_tab #source_configuration label{color:#777!important;font-size:13px!important}#attach_to_post_tabs #displayed_tab #ngg_page_content #source_configuration tr td:first-of-type{white-space:normal;line-height:1.2;width:265px}#displayed_tab #ngg_page_content .select2-container{width:250px!important;line-height:20px}#displayed_tab #ngg_page_content .ngg_page_content_main .select2-selection--multiple,#displayed_tab #ngg_page_content .ngg_page_content_main .select2-selection--single{height:auto;line-height:21px}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#9fbb1a}#displayed_tab #slug_configuration #slug_label{width:52px}#displayed_tab #slug_configuration #slug_column input[type=text]{width:498px}#displayed_tab #display_type_selector{margin-top:14px}#displayed_tab .display_type_preview{float:left;margin:0 5px 5px 0;border:1px solid #ddd;background:#fff;width:145px;height:170px}#displayed_tab .display_type_preview .image_container{width:100%;vertical-align:middle;text-align:center;font-size:12px;font-weight:500;padding:8px;box-sizing:border-box}#displayed_tab .display_type_preview .image_container img{margin-top:10px;margin-bottom:10px;box-sizing:border-box;max-width:100px}#displayed_tab .display_type_preview .image_container p{display:inline-block}.display_type_preview label>div{font-size:12px}#displayed_tab .select2-chosen{color:#666!important}#ngg_page_content #save_displayed_gallery.button{font-weight:700;height:50px!important;line-height:50px!important;padding:0 30px!important;font-size:13px}#save_displayed_gallery:disabled{background:gray!important}#display_settings_tab #display_settings_form table tr td:first-child{vertical-align:top;text-align:right;padding-right:7px;width:180px}#display_settings_tab #display_settings_form table td{text-align:left}#display_settings_tab #display_settings_form table textarea{height:60px}#display_settings_tab #display_settings_form input[type=number],#display_settings_tab #display_settings_form input[type=text],#display_settings_tab #display_settings_form select,#display_settings_tab #display_settings_form textarea{width:157px}#display_settings_tab #display_settings_form .ngg_slideshow_gallery_height,#display_settings_tab #display_settings_form .ngg_slideshow_gallery_width,#display_settings_tab #display_settings_form .ngg_thumbnail_dimension_height,#display_settings_tab #display_settings_form .ngg_thumbnail_dimension_width{width:65px!important}#display_settings_tab #display_settings_form .nextgen_settings_colorpicker{width:85px!important;text-align:center}h3#preview_tab{margin-bottom:0}#preview_tab_content{padding:10px 0}#preview_tab_content a{text-decoration:none;font-weight:300}#preview_tab_content .previewed_entity{width:100%;border-bottom:solid 1px #e0e0d6;background-color:#fafaf0}#preview_tab_content .previewed_entity .container{padding-top:15px}#preview_tab_content .previewed_entity.header{background-color:#f0f0e6;padding-bottom:5px;padding-top:5px}#preview_tab_content .header label{font-size:12px;color:#649664;font-weight:600}#preview_tab_content .ui-sortable-helper{background:0 0}#preview_tab_content ul{list-style-type:none;display:block;padding:0;position:relative;margin-top:20px}#preview_tab_content .inclusion_checkbox{margin-right:7px;display:block;float:left}#preview_tab_content .preview_item{background-color:#fff;width:100px;padding:10px 10px 30px 10px;margin:0 5px 5px 0;border:solid 1px #eee;display:block;vertical-align:middle;text-align:center;position:relative}#preview_tab_content .image_container{background-repeat:no-repeat;background-position:center;background-size:cover;display:block;width:100%;height:75px}#preview_tab_content .image_container img{border:0}#preview_tab_content #entity_list li{float:left}#preview_tab_content #entity_list .ui-state-default{background:0 0;border:none}#preview_tab_content .placeholder{background-color:#e0ddc1;position:relative}#preview_tab_content #entity_list .exclude_container{background:#fff;display:block;text-align:center;margin:0 auto;color:#000;font-weight:400;height:1.4em;line-height:1.1em;font-size:.8em;position:absolute;bottom:.2em;left:0;width:100%;padding:5px 0}#preview_tab_content #entity_list .exclude_container input{vertical-align:middle;line-height:1.2em;margin:0 .5em}#preview_tab_content .header_row{margin-bottom:5px;font-weight:300}#preview_tab_content .header_row strong{width:70px;display:inline-block}#preview_tab_content .header_row .separator{display:inline-block;margin:0 5px}#preview_tab_content .header_row .selected{font-weight:700}#preview_tab_content #entity_list li.clear{float:none;clear:both}#preview_tab_content .refresh_button{float:right}@media (max-width:1120px){#displayed_tab .ngg_igw_promo{position:static;width:602px;height:125px;max-width:100%;margin-bottom:10px}#displayed_tab .ngg_igw_coupon{margin-top:10px}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main>div.ngg_igw_video,#displayed_tab .ngg_igw_video_inner{display:none!important}}@media (max-width:800px){#attach_to_post_tabs .ui-tabs-icon{width:100%;position:static;border-right:none;border-bottom:3px solid #9fbb1a;text-align:center;height:150px;padding:20px}#attach_to_post_tabs img.attach_to_post_logo{display:none}#attach_to_post_tabs .ui-tabs-nav{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:0 0}#attach_to_post_tabs:not(.ngg_atp_ios_detected) .ui-tabs-nav li:nth-of-type(2)::after{display:none}#attach_to_post_tabs .ui-tabs-nav li a{float:none;padding:0!important;font-weight:400}#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:150px;right:0;left:0;bottom:0;height:auto}#displayed_tab #ngg_page_content .ngg_page_content_menu{padding:5px 0 0;background:0 0;border:none}#displayed_tab #ngg_page_content .ngg_page_content_menu a{display:block;width:100%;float:left;padding:0;text-align:center;box-sizing:border-box}#displayed_tab #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active,#displayed_tab #ngg_page_content .ngg_page_content_menu a:active{background:0 0}#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}#displayed_tab #slug_configuration tr,#displayed_tab #source_configuration tr{margin-bottom:24px}#ngg_page_content #save_displayed_gallery.button{position:static;margin-left:0;padding:0}}@media (max-width:781px){#attach_to_post_tabs.ngg_atp_ios_detected .ui-tabs-nav li:nth-of-type(1)::after{display:none}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td{width:100%!important}#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main #source_configuration{display:table!important}#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}}.ngg-marketing-popup{font-family:Lato,sans-serif}@media (max-width:400px){#displayed_tab .display_type_preview{float:none;margin:20px auto;width:170px}} AttachToPost/attach_to_post.css 0000644 00000042262 15021223043 0012644 0 ustar 00 /* * * This file contains CSS for: * 1. Overall IGW Window (dialog CSS is in attach_to_post_dialog.css) * 2. IGW Sidebar * 3. Display Tab: General CSS * 3a. Display Tab: "Choose Display" Subtab * 3b. Display Tab: "Customize Display Settings" Subtab * 3c. Display Tab: "Sort & Exclude Images" (ie, Preview) Subtab * 4. Other Tabs * 5. Media Queries * * Note that much of the CSS in #2 is duplicated in iframely.css. The css here cannot * reach into the iframe of the Add Gallery, Manage Gallery, and Manage Album pages. * So overrides for those pages go in iframely.css. * * Almost every time you make a change here, you may need to make an equivalent change * in iframely.css for the other main tabs in the IGW other than the Display Tab. * */ @font-face { font-family: 'Lato'; src: url('../../products/photocrati_nextgen/modules/nextgen_admin/static/Lato-Regular.ttf') format('truetype') } /* 1. Overall IGW Window */ html, body { width: 100% !important; height: 100% !important; padding: 0 !important; margin: 0 !important; max-width: 100% !important; font-size: 13px; overflow: hidden; } body { position: absolute; visibility: hidden; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); opacity: 0.0; height: 100%; } .entity_errors { color: red; } .entity_errors ul { margin-left: 30px; } .entity_errors ul li{ list-style-type: disc; } .ui-helper-reset { font-size: 13px; } #attach_to_post_tabs { border: 0; background: none; height: 100%; overflow: hidden; padding: 0; position: relative; visibility: visible; } #attach_to_post_tabs.ui-tabs-hide { display: block !important; visibility: hidden; position: absolute; top: -5000px; } #attach_to_post_tabs h3 { text-transform: uppercase; color: black; margin-top: 0; letter-spacing: 2px; font-size: 18px; font-weight: 900; } h3#choose_display { margin-bottom: 24px; } #attach_to_post_tabs .main_menu_tab { padding: 0; position: absolute; left: 220px; right: 0; top: 0; bottom: 0; } #attach_to_post_tabs.ngg_atp_ios_detected { overflow-y: scroll; -webkit-overflow-scrolling: touch; } #attach_to_post_tabs .ui-widget-header { border: 0; border-bottom: 1px solid #dfdfdf; background: none; } iframe { width: 100%; min-height: 100%; border: none; padding: 0; margin: 0; background: transparent; } .chrome_70_hack_frames { z-index: 100000000 !important; } .chrome_70_hack_noframes { z-index: 0 !important; } .clear { clear: both; float: none; } table { font-size: 13px; } .select2-search input { width: 100% !important; } .select2-result-label { white-space: nowrap; } .select2-results { font-family: 'segoe ui', Arial, sans-serif; font-size: 13px; } .select2-container a { color: #444 !important; } /* thanks to nextgen_admin_page.css */ #ngg_page_content .ngg_page_content_main .select2-container { width: 100% !important; max-width: 500px !important; } /* 2. IGW Sidebar */ #attach_to_post_tabs .ui-tabs-icon { box-sizing: border-box; color: #fff; font-family: "Lato", sans-serif; float: none; font-size: 20px; font-weight: bold; height: 100%; letter-spacing: 1px; line-height: 60px; margin-bottom: 0; position: fixed; text-transform: uppercase; width: 220px; padding: 0; } #attach_to_post_tabs img.attach_to_post_logo { height: 80px; padding: 50px 0 30px; float: right; margin-right: 26px; } #attach_to_post_tabs .ui-tabs-nav { border: none; background: transparent; padding: 0; margin-top: 110px; list-style: none; } #attach_to_post_tabs .ui-tabs-nav li { background: transparent; border: none; display: block; height: auto; margin: 0; width: 100%; border-radius: 0; box-sizing: border-box; padding: 24px 30px 24px 20px; } #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; } #attach_to_post_tabs .ui-tabs-nav li a { display: list-item; color: #555; float: right; font-size: 13px; font-weight: 400; font-family: "Lato", sans-serif; letter-spacing: 1.5px; line-height: 1; text-transform: uppercase; padding: 0 !important; } #attach_to_post_tabs .ui-tabs-nav li.ui-tabs-active { border-left: 6px solid #9dbd1b; } #attach_to_post_tabs .ui-tabs-nav li.ui-tabs-active a, #attach_to_post_tabs .ui-tabs-nav li.ui-state-disabled a, #attach_to_post_tabs .ui-tabs-nav li.ui-tabs-loading a { cursor: pointer; } #attach_to_post_tabs .ui-tabs-nav li a.active_tab { font-weight: 800; color: black; } /* 3. Display Tab: General CSS */ #displayed_tab.main_menu_tab { overflow-y: scroll; overflow-x: hidden; } #displayed_tab #ngg_page_content { margin: 0; width: 100%; } #displayed_tab #attach_to_post_tabs .ngg_page_content_header { display: none; } #displayed_tab #ngg_page_content .ngg_page_content_menu { background: transparent; border: none; padding: 0 20px 10px 27px; float: none; height: 25px; margin-top: 0; width: auto; position: relative; top: 100px; } #displayed_tab #ngg_page_content .ngg_page_content_menu a, #displayed_tab #ngg_page_content .ngg_page_content_menu a:active { border: none; color: black; display: inline; font-weight: 300; text-decoration: none; line-height: 25px; padding: 4px; font-size: 12px; background: transparent; margin-right: 10px; } #displayed_tab #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active { font-weight: 500; color: black; border-bottom: 3px solid #9ebc1b; } #displayed_tab #ngg_page_content .ngg_page_content_menu a:active:after { display:none; } #displayed_tab #ngg_page_content .ngg_page_content_menu a:before { display: none; } #displayed_tab #ngg_page_content .ngg_page_content_main { padding: 20px 30px 30px; width: 100%; box-shadow: none; } #displayed_tab #ngg_page_content.ngg_settings_page { border: none; } #displayed_tab .ngg_igw_promo { display: block !important; padding: 15px 7px; color: #666; font-family: "Lato", sans-serif; font-size: 10pt; letter-spacing: .5px; box-sizing: border-box; height: 172px; } #displayed_tab .ngg_igw_promo p { text-align: center; } #displayed_tab .ngg_igw_promo p:nth-of-type(1) { margin-top: 10px; } #displayed_tab .ngg_igw_promo p:nth-of-type(2) { margin: 20px 0; } #displayed_tab .ngg_igw_promo a { text-decoration: none; font-weight: 600; background: #9ebc1b; color: white; padding: 10px 16px; font-size: 11px; text-transform: uppercase; } #displayed_tab .ngg_igw_coupon { font-size: 12px; margin-top: 10px; } #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main > div.ngg_igw_video { display: block !important; position: absolute; left: 280px; top: 71px; } #displayed_tab .ngg_igw_video_open { background: black; cursor: pointer; margin: 0; font-weight: 400; height: 28px !important; line-height: 28px !important; font-size: 10px; } #displayed_tab .ngg_igw_video_inner { display: none; box-shadow: 0 0 10px 5px rgba(0,0,0,.2); background: #fff; } #displayed_tab .ngg_igw_video_close { width: 100%; height: 50px; display: block; text-align: center; line-height: 50px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: "Lato", sans-serif; background: black; color: #fff; text-transform: uppercase; letter-spacing: 1.5px; } #displayed_tab .ngg_igw_video iframe { width: 630px; height: 350px !important; min-height: auto; margin-bottom: -3px; } #choose_display_content, #display_settings_tab_content, #preview_tab_content { margin-top: 80px; } /* 3a. Display Tab: "Choose Display" Subtab **/ #displayed_tab #displayed_gallery_source { width: 400px; } #displayed_tab #display_tip { color: rgba(42,52,61,.6); display: block; font-size: 14px; width: 960px; max-width: 100%; padding: 10px 0 0; } #displayed_tab #slug_configuration { display: none; } #displayed_tab #source_configuration td, #displayed_tab #slug_configuration td { vertical-align: top; padding: 4px 0 !important; min-width: 200px; } #displayed_tab #source_configuration label { color: #777 !important; font-size: 13px !important; } #attach_to_post_tabs #displayed_tab #ngg_page_content #source_configuration tr td:first-of-type { white-space: normal; line-height: 1.2; width: 265px; } #displayed_tab #ngg_page_content .select2-container { width: 250px !important; line-height: 20px; } #displayed_tab #ngg_page_content .ngg_page_content_main .select2-selection--multiple, #displayed_tab #ngg_page_content .ngg_page_content_main .select2-selection--single { height: auto; line-height: 21px; } .select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: #9fbb1a; } #displayed_tab #slug_configuration #slug_label { width: 52px; } #displayed_tab #slug_configuration #slug_column input[type=text] { width: 498px; } #displayed_tab #display_type_selector { margin-top: 14px; } #displayed_tab .display_type_preview { float: left; margin: 0 5px 5px 0; border: 1px solid #ddd; background: #fff; width: 145px; height: 170px; } #displayed_tab .display_type_preview .image_container { width: 100%; vertical-align: middle; text-align: center; font-size: 12px; font-weight: 500; padding: 8px; box-sizing: border-box; } #displayed_tab .display_type_preview .image_container img { margin-top: 10px; margin-bottom: 10px; box-sizing: border-box; max-width: 100px; } #displayed_tab .display_type_preview .image_container p { display: inline-block; } .display_type_preview label > div { font-size: 12px; } #displayed_tab .select2-chosen { color: #666 !important; } #ngg_page_content #save_displayed_gallery.button { font-weight: 700; height: 50px!important; line-height: 50px!important; padding: 0 30px!important; font-size: 13px; } #save_displayed_gallery:disabled { background: gray !important; } /* 3b. Display Tab: "Customize Display Settings" Subtab */ #display_settings_tab #display_settings_form table tr td:first-child { vertical-align: top; text-align: right; padding-right: 7px; width: 180px; } #display_settings_tab #display_settings_form table td { text-align: left; } #display_settings_tab #display_settings_form table textarea { height: 60px; } #display_settings_tab #display_settings_form textarea, #display_settings_tab #display_settings_form input[type=text], #display_settings_tab #display_settings_form input[type=number], #display_settings_tab #display_settings_form select { width: 157px; } #display_settings_tab #display_settings_form .ngg_slideshow_gallery_width, #display_settings_tab #display_settings_form .ngg_slideshow_gallery_height, #display_settings_tab #display_settings_form .ngg_thumbnail_dimension_width, #display_settings_tab #display_settings_form .ngg_thumbnail_dimension_height { width: 65px !important; } #display_settings_tab #display_settings_form .nextgen_settings_colorpicker { width: 85px !important; text-align: center; } /* 3c. Display Tab: "Sort & Exclude Images" (ie, Preview) Subtab */ h3#preview_tab { margin-bottom: 0; } #preview_tab_content { padding: 10px 0; } #preview_tab_content a { text-decoration: none; font-weight: 300; } #preview_tab_content .previewed_entity { width: 100%; border-bottom: solid 1px #E0E0D6; background-color: #FAFAF0; } #preview_tab_content .previewed_entity .container { padding-top: 15px; } #preview_tab_content .previewed_entity.header { background-color: #F0F0E6; padding-bottom: 5px; padding-top: 5px; } #preview_tab_content .header label { font-size: 12px; color: rgb(100,150,100); font-weight: 600; } #preview_tab_content .ui-sortable-helper { background: none; } #preview_tab_content ul { list-style-type: none; display: block; padding: 0; position: relative; margin-top: 20px; } #preview_tab_content .inclusion_checkbox { margin-right: 7px; display: block; float: left; } #preview_tab_content .preview_item { background-color: white; width: 100px; padding: 10px 10px 30px 10px; margin: 0 5px 5px 0; border: solid 1px #eee; display: block; vertical-align: middle; text-align: center; position: relative; } #preview_tab_content .image_container { background-repeat: no-repeat; background-position: center; background-size: cover; display: block; width: 100%; height: 75px; } #preview_tab_content .image_container img { border: 0; } #preview_tab_content #entity_list li{ float: left; } #preview_tab_content #entity_list .ui-state-default { background: none; border: none; } #preview_tab_content .placeholder { background-color: #e0ddc1; position: relative; } #preview_tab_content #entity_list .exclude_container { background: white; display: block; text-align: center; margin: 0 auto; color: black; font-weight: normal; height: 1.4em; line-height: 1.1em; font-size: 0.8em; position: absolute; bottom: 0.2em; left: 0; width: 100%; padding: 5px 0; } #preview_tab_content #entity_list .exclude_container input { vertical-align: middle; line-height: 1.2em; margin: 0 0.5em; } #preview_tab_content .header_row { margin-bottom: 5px; font-weight: 300; } #preview_tab_content .header_row strong { width: 70px; display: inline-block; } #preview_tab_content .header_row .separator { display: inline-block; margin: 0 5px; } #preview_tab_content .header_row .selected { font-weight: bold; } #preview_tab_content #entity_list li.clear { float: none; clear: both; } #preview_tab_content .refresh_button { float: right; } /* 4. Overall IGW Window */ #ngg-iframe-galleries_tab { } /* 5. Media Queries */ @media (max-width: 1120px) { #displayed_tab .ngg_igw_promo { position: static; width: 602px; height: 125px; max-width: 100%; margin-bottom: 10px; } #displayed_tab .ngg_igw_coupon { margin-top: 10px; } #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main > div.ngg_igw_video, #displayed_tab .ngg_igw_video_inner { display: none !important; } } @media (max-width: 800px) { #attach_to_post_tabs .ui-tabs-icon { width: 100%; position: static; border-right: none; border-bottom: 3px solid #9fbb1a; text-align: center; /* Also update #attach_to_post_tabs .main_menu_tab's top position when changing height */ /*height: 280px;*/ height: 150px; padding: 20px; } #attach_to_post_tabs img.attach_to_post_logo { display: none; } #attach_to_post_tabs .ui-tabs-nav { 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; } #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: 150px; right: 0; left: 0; bottom: 0; height: auto; } #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; width: 100%; float: left; padding: 0; text-align: center; box-sizing: border-box; } #displayed_tab #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active, #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; } #displayed_tab #source_configuration tr, #displayed_tab #slug_configuration tr { margin-bottom: 24px; } #ngg_page_content #save_displayed_gallery.button { position: static; margin-left: 0; padding: 0; } } @media (max-width: 781px) { #attach_to_post_tabs.ngg_atp_ios_detected .ui-tabs-nav li:nth-of-type(1)::after { display:none; } #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td { width: 100% !important; } #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main #source_configuration { display: table !important; } #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; } } .ngg-marketing-popup { font-family: "Lato", sans-serif; } @media (max-width: 400px) { #displayed_tab .display_type_preview { float: none; margin: 20px auto; width: 170px; } } AttachToPost/spinner.gif 0000644 00000003471 15021223043 0011263 0 ustar 00 GIF89a FFFzzz XXX$$$666hhh !NETSCAPE2.0 !Created with ajaxload.info ! , w !DBAH¬aD@ ^AXP@"UQ# B\;1o:2$v@ $|,3 _# d53"s5e! ! , v i@e9DAA/`ph$Ca%@ pHxFuSx# .݄YfL_" p 3BW]|L \6{|z87[7! ! , x e9DE"2r,qP j`8@8bH, *0- mFW9LPE3+ (B" f{*BW_/ @_$~Kr7Ar7! ! , v 4e9!H"*Q/@-4ép4R+-pȧ`P(6U/ *,)(+/]"lO/*AkK]A~666! ! , l ie9"* -80H=N;TEqeUoK2_WZV1jgWe@tuH//w`?f~#6#! ! , ~ ,e9"* ;pR%#0` 'c(J@@/1i4`VBV u}"caNi/]))- Lel mi} me[+! ! , y Ie9"M6*¨"7E͖@G((L&pqj@Z %@wZ) pl( ԭqu*R&c `))(s_J>_\'Gm7$+! ! , w Ie9*, (*(B5[1 ZIah!GexzJ0e6@V|U4Dm%$͛p \G x } @+|=+ 1- Ea5l)+! ! , y )䨞'AKڍ,E\(l&;5 5D03a0--ÃpH4V % i p[R"| # 6iZwcw*! ! , y )䨞,K*0a;аY8b`4n¨Bb bx,( Ƚ % > 2*i* /:+$v*! ! , u )䨞l[$ Jq[q3`Q[5:IX!0rAD8CvHPfii QAP@pC %D PQ46 iciNj0w )#! ! , y ).q ,GJ r(J8C*B,&< hW~-`, ,>; 8RN<,<1T] c' qk$ @)#! ; AttachToPost/ngg_attach_to_post_tinymce_plugin.js 0000644 00000023320 15021223043 0016423 0 ustar 00 // Self-executing function to create and register the TinyMCE plugin (function (siteurl, $) { window.id = "wordpress-post-page"; tinyMCE.addI18n("en.ngg_attach_to_post", { title: "Attach NextGEN Gallery to Post", }); // Create the plugin. We'll register it afterwards tinymce.create("tinymce.plugins.NextGEN_AttachToPost", { /** * The WordPress Site URL */ siteurl: siteurl, /** * Returns metadata about this plugin */ getInfo: function () { return { longname: "NextGEN Gallery", author: "Imagely", authorurl: "https://www.imagely.com", infourl: "https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/", version: "0.1", }; }, /** * Initializes the plugin, this will be executed after the plugin has been created. */ init: function (editor, plugin_url) { var self = this; // TinyMCE 4s events are a bit weird, but this lets us listen to the window-manager close event editor.windowManager.nggOldOpen = editor.windowManager.open; editor.windowManager.open = function (one, two) { var modal = editor.windowManager.nggOldOpen(one, two); modal.on("close", self.wm_close_event); return modal; }; // Register a new TinyMCE command editor.addCommand( "ngg_attach_to_post", this.render_attach_to_post_interface, { editor: editor, plugin: editor.plugins.NextGEN_AttachToPost, } ); // Add a button to trigger the above command editor.addButton("NextGEN_AttachToPost", { title: "ngg_attach_to_post.title", cmd: "ngg_attach_to_post", image: plugin_url + "/igw_button.png", }); /** * Listen for click events to our placeholder */ editor.on("mouseup touchend", function (e) { tinymce.extend(self, { editor: editor, plugin: editor.plugins.NextGEN_AttachToPost, }); // Support for IGW placeholder images. NGG <= 2.1.50 if (e.target.tagName === "IMG") { if ( self.get_class_name(e.target).indexOf("ngg_displayed_gallery") >= 0 ) { editor.dom.events.cancel(e); var id = e.target.src.match(/\d+$/); if (id) id = id.pop(); self.render_attach_to_post_interface({ key: "id", val: id, }); } } // Support for IGW Visual Shortcodes. NGG >= 2.1.50.1 else { var $target = $(e.target); if ($target.hasClass("nggPlaceholderButton")) { // Remove button if ($target.hasClass("nggIgwRemove")) { var $placeholder = $target.parents(".nggPlaceholder"); var shortcode = $placeholder[0].getAttribute("data-shortcode"); editor.fire("ngg-removed", { shortcode: shortcode }); $placeholder.remove(); } // Edit button else { // Do not use jQuery's .data() here: it will use cached data window.igw_shortcode = $(e.target) .parents(".nggPlaceholder")[0] .getAttribute("data-shortcode"); self.render_attach_to_post_interface({ key: "shortcode", val: Base64.encode(window.igw_shortcode), ref: $(e.target).parents(".nggPlaceholder").attr("id"), }); } } } }); /** * Find each shortcode and replace it with the placeholder, rendered using an underscore template * in templates/tinymce_placeholder.php */ editor.on("BeforeSetContent", function (event) { handle_shortcode(event, "[ngg_images "); handle_shortcode(event, "[ngg "); }); /** * Substitutes the IGW placeholders with the corresponding shortcode */ editor.on("PostProcess", function (event) { var $content = $("
").append(event.content); $content .find(".nggPlaceholder") .toArray() .forEach(function (placeholder) { var $placeholder = $(placeholder); var shortcode = $placeholder.data("shortcode"); shortcode = "[" + _.unescape(shortcode) + "]"; $placeholder.replaceWith(shortcode); }); event.content = $content[0].innerHTML; }); function handle_shortcode(event, shortcode_opening_tag) { while (event.content.indexOf(shortcode_opening_tag) >= 0) { var start_of_shortcode = event.content.indexOf(shortcode_opening_tag); var index = start_of_shortcode + shortcode_opening_tag.length; var found_attribute_assignment = false; var current_attribute_enclosure = null; var last_found_char = false; var content_length = event.content.length; while (true) { var char = event.content[index]; if (char == '"' || (char == "'" && last_found_char == "=")) { // Is this the closing quote for an already found attribute assignment? if ( found_attribute_assignment && current_attribute_enclosure == char ) { found_attribute_assignment = false; current_attribute_enclosure = null; } else { found_attribute_assignment = true; current_attribute_enclosure = char; } } else if (char == "]") { // we've found a shortcode closing tag. But, we need to ensure // that this ] isn't within the value of a shortcode attribute if (!found_attribute_assignment) { break; //exit loop - we've found the shortcode } } last_found_char = char; if (index == content_length) { break; } index++; } // Replace the shortcode with a placeholder var match = event.content.substring(start_of_shortcode, ++index); var shortcode = match.substring(1, match.length - 1); shortcode = shortcode.replace("[", "["); shortcode = shortcode.replace("]", "]"); var template = _.template($("#ngg-igw-placeholder").html()); event.content = event.content.replace( match, template( $.extend(ngg_igw_i18n, { shortcode: shortcode, ref: _.now(), }) ) ); } } }, get_class_name: function (node) { var class_name = node.getAttribute("class") ? node.getAttribute("class") : node.className; if (class_name) { return class_name; } else { return ""; } }, wm_close_event: function (e) { if ( e && e.target && e.target._id && e.target._id == "ngg_attach_to_post_dialog" ) { // Restore scrolling for the main content window when the attach to post interface is closed $("html,body").css("overflow", "auto"); tinyMCE.activeEditor.selection.select( tinyMCE.activeEditor.dom.select("p")[0] ); tinyMCE.activeEditor.selection.collapse(0); } }, /** * Renders the attach to post interface */ render_attach_to_post_interface: function (params) { // Determine the attach to post url var attach_to_post_url = window.igw.url; if (typeof params != "undefined") { attach_to_post_url += "&" + params.key + "=" + encodeURIComponent(params.val); if (typeof params["ref"] != "undefined") { attach_to_post_url += "&ref=" + encodeURIComponent(params.ref); } } attach_to_post_url += "&editor=" + this.editor.id; attach_to_post_url += "&nonce=" + window.ngg_tinymce_plugin.nonce; var win = window; while (win.parent != null && win.parent != win) { win = win.parent; } win = $(win); var winWidth = win.width(); var winHeight = win.height(); var popupWidth = 1600; var popupHeight = 1200; var minWidth = 800; var minHeight = 600; var maxWidth = winWidth - winWidth * 0.05; var maxHeight = winHeight - winHeight * 0.1; if (maxWidth < minWidth) { maxWidth = winWidth - 20; } if (maxHeight < minHeight) { maxHeight = winHeight - 40; } if (popupWidth > maxWidth) { popupWidth = maxWidth; } if (popupHeight > maxHeight) { popupHeight = maxHeight; } // for mobile devices: dismiss the keyboard by blurring any input with focus document.activeElement.blur(); Array.prototype.forEach.call( document.querySelectorAll("input, textarea"), function (it) { it.blur(); } ); // Open a window, occupying 90% of the screen real estate this.editor.windowManager.open({ url: attach_to_post_url, id: "ngg_attach_to_post_dialog", width: popupWidth, height: popupHeight, title: "NextGEN Gallery - Attach To Post", }); // Ensure that the window cannot be scrolled - XXX actually allow scrolling in the main window and disable it for the inner-windows/frames/elements as to create a single scrollbar $("html,body").css("overflow", "hidden"); $("#ngg_attach_to_post_dialog_ifr").css("overflow-y", "auto"); $("#ngg_attach_to_post_dialog_ifr").css("overflow-x", "hidden"); }, }); // Register plugin tinymce.PluginManager.add( "NextGEN_AttachToPost", tinymce.plugins.NextGEN_AttachToPost ); })(photocrati_ajax.wp_site_url, jQuery); AttachToPost/ngg_attach_to_post_tinymce_plugin.min.css 0000644 00000002237 15021223043 0017365 0 ustar 00 @font-face{font-family:Lato;src:url(../../products/photocrati_nextgen/modules/nextgen_admin/static/Lato-Regular.ttf) format('truetype')}.nggPlaceholder{background-color:#143650;box-sizing:border-box;border-top: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:230px;margin:5px;outline:0!important;padding:20px 30px 50px 30px;text-align:center;width:400px;max-width:98%}.nggPlaceholder h3{color:#fff;font-family:Lato,sans-serif;font-size:22px;margin:40px 0 8px 3px;text-transform:uppercase;font-weight:900;letter-spacing:1.5px}.nggPlaceholderButton{background:#9ebd00!important;border-radius:2px;border:none!important;box-shadow:none!important;color:#fff!important;display:inline-block!important;font-size:13px;font-weight:700;font-family:Lato,sans-serif!important;height:36px!important;line-height:36px!important;letter-spacing:1.2px;margin:4px;padding:0;width:106px;text-align:center;text-transform:uppercase!important;text-shadow:none!important;cursor:pointer}.nggPlaceholderButtonRow{display:flex;justify-content:center;align-items:center}.nggPlaceholderButton:hover{background:#a5c31a!important} AttachToPost/uploader-icons-2x.png 0000644 00000007513 15021223043 0013100 0 ustar 00 PNG IHDR 0E tEXtSoftware Adobe ImageReadyqe<