Changeset 1113915
- Timestamp:
- 03/16/2015 01:09:16 PM (11 years ago)
- Location:
- icegram/trunk
- Files:
-
- 26 edited
-
assets/css/frontend.css (modified) (2 diffs)
-
assets/js/admin.js (modified) (7 diffs)
-
assets/js/icegram.js (modified) (4 diffs)
-
classes/class-icegram-campaign-admin.php (modified) (4 diffs)
-
classes/class-icegram-campaign.php (modified) (1 diff)
-
icegram.php (modified) (11 diffs)
-
message-types/action-bar/default.css (modified) (2 diffs)
-
message-types/action-bar/main.js (modified) (4 diffs)
-
message-types/action-bar/themes/air-mail.css (modified) (4 diffs)
-
message-types/action-bar/themes/bold.css (modified) (1 diff)
-
message-types/action-bar/themes/hello.css (modified) (5 diffs)
-
message-types/action-bar/themes/solid.css (modified) (2 diffs)
-
message-types/messenger/default.css (modified) (2 diffs)
-
message-types/messenger/themes/canvas.css (modified) (1 diff)
-
message-types/messenger/themes/clear.css (modified) (1 diff)
-
message-types/messenger/themes/talk.css (modified) (4 diffs)
-
message-types/popup/default.css (modified) (12 diffs)
-
message-types/popup/main.js (modified) (3 diffs)
-
message-types/popup/main.php (modified) (1 diff)
-
message-types/popup/themes/air-mail.css (modified) (6 diffs)
-
message-types/popup/themes/amaze.css (modified) (11 diffs)
-
message-types/popup/themes/compel.css (modified) (6 diffs)
-
message-types/popup/themes/convert.css (modified) (5 diffs)
-
message-types/popup/themes/inspire.css (modified) (6 diffs)
-
message-types/popup/themes/persuade.css (modified) (4 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
icegram/trunk/assets/css/frontend.css
r1092381 r1113915 53 53 div.icegram .ig_embed_form.ig_left .ig_embed_form_container{ 54 54 float: left; 55 overflow: hidden; 55 56 } 56 57 div.icegram .ig_embed_form.ig_right .ig_embed_form_container{ … … 101 102 margin-right: 4%; 102 103 } 103 104 104 105 div.icegram .ig_embed_form .ig_form_el_group.ig_form_el_radio input{ 105 106 width: auto; -
icegram/trunk/assets/js/admin.js
r1092381 r1113915 45 45 }; 46 46 47 jQuery(' #campaign_data').on('change', '.message_type', function(e) {47 jQuery('.inside').on('change', '.message_type', function(e) { 48 48 var t = jQuery(e.target).parents('.message-setting-fields'); 49 49 display_message_themes(t); … … 108 108 109 109 jQuery("select.ajax_chosen_select_messages").ajaxChosen({ 110 method: 'GET',110 type: 'GET', 111 111 url: icegram_writepanel_params.ajax_url, 112 112 dataType: 'json', … … 276 276 jQuery('.ajax_chosen_select_messages').chosen(); 277 277 jQuery('#campaign_data').on('change', '.ajax_chosen_select_messages' , function() { 278 var selected_tab = jQuery('#ig-tabs li.current').attr('variation_id'); 278 279 var newSettings = jQuery.extend( {}, tinyMCEPreInit.mceInit[ 'content' ] ); 279 280 var newQTS = jQuery.extend( {}, tinyMCEPreInit.qtInit[ 'content' ] ); … … 290 291 jQuery('.message-title-input').hide(); 291 292 jQuery.ajax({ 292 method: 'POST',293 type: 'POST', 293 294 url: icegram_writepanel_params.ajax_url, 294 295 dataType: 'json', … … 341 342 jQuery('#edit'+response.id+'-html').click(); 342 343 } 344 if(typeof(selected_tab) !== 'undefined'){ 345 jQuery( window ).trigger( "icegram_tab_selected" ,[selected_tab]); 346 } 343 347 } 344 348 }); … … 376 380 }); 377 381 378 jQuery(' .campaign_preview').on( 'click',function(event) {382 jQuery('#campaign_data').on( 'click','.campaign_preview' ,function(event) { 379 383 jQuery(this).closest('h3.hndle').trigger('click'); 380 384 … … 388 392 389 393 jQuery.ajax({ 390 method: 'POST',394 type: 'POST', 391 395 async: false, 392 396 url: icegram_writepanel_params.ajax_url, -
icegram/trunk/assets/js/icegram.js
r1094550 r1113915 147 147 if (this.tracking_data.length > 0 && window.location.href.indexOf("campaign_preview_id") == -1) { 148 148 var params = { 149 method: 'POST',149 type: 'POST', 150 150 url: this.data.ajax_url, 151 151 async: false, … … 266 266 if (this.data.text_color != undefined && this.data.text_color != '') { 267 267 this.el.css('color', this.data.text_color); 268 this.el.find('.ig_cont ent').css('color', this.data.text_color);268 this.el.find('.ig_container').css('color', this.data.text_color); 269 269 } 270 270 271 271 if (this.data.bg_color != undefined && this.data.bg_color != '') { 272 272 this.el.css('background-color', this.data.bg_color); 273 this.el.find('.ig_cont ent').css('background-color', this.data.bg_color);273 this.el.find('.ig_container').css('background-color', this.data.bg_color); 274 274 } 275 275 … … 279 279 if (this.data.bg_color != undefined && this.data.bg_color != '') { 280 280 var hsl_colors = window.icegram.get_complementary_color(this.data.bg_color, 2); 281 this.el.find('.ig_button, form input[type="submit"]').css('background', "hsl(" + hsl_colors[0].h + "," + hsl_colors[0].s + "%," + hsl_colors[0].l + "%)" ).css('background-color', "hsl(" + hsl_colors[0].h + "," + hsl_colors[0].s + "%," + hsl_colors[0].l + "%)" ); 281 // this.el.find('.ig_button, form input[type="submit"]').css('background', "hsl(" + hsl_colors[0].h + "," + hsl_colors[0].s + "%," + hsl_colors[0].l + "%)" ).css('background-color', "hsl(" + hsl_colors[0].h + "," + hsl_colors[0].s + "%," + hsl_colors[0].l + "%)" ); 282 this.el.find('.ig_button, form input[type="submit"]').css('background-color', "hsl(" + hsl_colors[0].h + "," + hsl_colors[0].s + "%," + hsl_colors[0].l + "%)" ); 282 283 this.el.find('.ig_button, form input[type="submit"]').css('color', "hsl(" + hsl_colors[1].h + "," + hsl_colors[1].s + "%," + hsl_colors[1].l + "%)" ); 284 this.el.find('.ig_button, form input[type="submit"]').css('border-color', "hsl(" + hsl_colors[0].h + "," + (hsl_colors[0].s-5) + "%," + (hsl_colors[0].l-8) + "%)" ); 283 285 } 284 286 // Hint clickability for buttons / ctas … … 326 328 Icegram_Message_Type.prototype.set_up_show_trigger = function ( ) { 327 329 if (!isNaN(this.data.delay_time)) { 328 if( this.data.delay_time >= 0 ) { 330 if( this.data.delay_time >= 0 ) { 329 331 var self = this; 330 332 this.timer = setTimeout( function() { self.show(); } , this.data.delay_time * 1000 ); -
icegram/trunk/classes/class-icegram-campaign-admin.php
r1094550 r1113915 359 359 <?php foreach($expiry_options_for_shown as $key => $option){ 360 360 ?> 361 <option value="<?php echo $key; ?>" <?php selected( $campaign_target_rules['expiry_time'], $key ); ?>><?php echo $option; ?></option>361 <option value="<?php echo $key; ?>" <?php (!empty($campaign_target_rules['expiry_time'])) ? selected( $campaign_target_rules['expiry_time'], $key ) : ''; ?>><?php echo $option; ?></option> 362 362 <?php 363 363 } … … 374 374 <?php foreach($expiry_options_for_clicked as $key => $option){ 375 375 ?> 376 <option value="<?php echo $key; ?>" <?php selected( $campaign_target_rules['expiry_time_clicked'], $key ); ?>><?php echo $option; ?></option>376 <option value="<?php echo $key; ?>" <?php (!empty($campaign_target_rules['expiry_time_clicked'])) ? selected( $campaign_target_rules['expiry_time_clicked'], $key ) : ''; ?>><?php echo $option; ?></option> 377 377 <?php 378 378 } … … 611 611 if ( !current_user_can( 'edit_post', $_POST['post_ID'] ) ) die(); 612 612 613 if( !empty( $_POST['messages'] ) ) { 614 615 update_post_meta( $_POST['post_ID'], 'campaign_preview', $_POST['messages'] ) ; 613 $messages = apply_filters('campaign_preview_messages' , $_POST['messages'] , $_POST); 614 615 if( !empty( $messages ) ) { 616 update_post_meta( $_POST['post_ID'], 'campaign_preview', $messages ) ; 616 617 617 618 foreach ( (array) $_POST['message_data'] as $message_id => $message_data ) { … … 636 637 // Determine page url to preview on... 637 638 $page_url = ''; 639 638 640 if ( !empty($_POST['campaign_target_rules']) && !empty($_POST['campaign_target_rules']['other_page']) && !empty($_POST['page_id']) && is_array($_POST['page_id'])) { 639 641 $page_url = get_permalink( $_POST['page_id'][0] ); 640 642 } 641 643 if ($page_url == '') { 642 $page_url = home_url(); 644 if(!empty($_POST['campaign_target_rules']['local_url']) && is_array($_POST['campaign_target_rules']['local_urls'])){ 645 $page_url = (strpos($_POST['campaign_target_rules']['local_urls'][0], '*') === false) ? $_POST['campaign_target_rules']['local_urls'][0] : home_url(); 646 }else{ 647 $page_url = home_url(); 648 } 643 649 } 644 650 ob_clean(); -
icegram/trunk/classes/class-icegram-campaign.php
r1046781 r1113915 18 18 19 19 $this->_post = get_post( $id ); 20 21 20 $this->title = $this->_post->post_title; 22 $this->messages = get_post_meta( $this->_post->ID, 'messages', true ); 21 //icegram_campaign_meta_key 22 $meta_key = apply_filters('icegram_campaign_meta_key' ,'messages' ,$this->_post->ID); 23 $this->messages = get_post_meta( $this->_post->ID, $meta_key, true ); 23 24 $this->rules = get_post_meta( $this->_post->ID, 'icegram_campaign_target_rules', true ); 24 25 $this->rules_summary['where'] = array( -
icegram/trunk/icegram.php
r1094550 r1113915 4 4 * Plugin URI: http://www.icegram.com/ 5 5 * Description: All in one solution to inspire, convert and engage your audiences. Action bars, Popup windows, Messengers, Toast notifications and more. Awesome themes and powerful rules. 6 * Version: 1.8. 66 * Version: 1.8.7 7 7 * Author: icegram 8 8 * Author URI: http://www.icegram.com/ … … 35 35 function __construct() { 36 36 37 $this->version = "1.8. 6";37 $this->version = "1.8.7"; 38 38 $this->shortcode_instances = array(); 39 39 $this->mode = 'local'; … … 526 526 } 527 527 } 528 529 528 if( !empty( $_GET['campaign_preview_id'] ) && current_user_can( 'manage_options' ) ) { 530 529 $campaign_ids = array( $_GET['campaign_preview_id'] ); 531 530 $preview_mode = true; 532 531 } 533 532 534 533 $messages = $this->get_valid_messages( $message_ids, $campaign_ids, $preview_mode, $skip_others ); 535 534 … … 585 584 // Redo the_content functionality to avoid other plugins adding extraneous code to messages 586 585 $content = $message_data['message']; 586 587 587 $content = convert_chars( convert_smilies( wptexturize( $content ) ) ); 588 588 if(isset($GLOBALS['wp_embed'])) { … … 628 628 wp_register_script( 'icegram_js', $this->plugin_url . '/assets/js/icegram.js', array ( 'jquery' ), $this->version, true); 629 629 wp_enqueue_style( 'icegram_css', $this->plugin_url . '/assets/css/frontend.css', array(), $this->version ); 630 631 // Load theme CSS 632 foreach ($icegram_data['messages'] as $key => $message) { 633 $ver = ( !empty($this->message_types[$message['type']]['version'])) ? $this->message_types[$message['type']]['version'] : $this->version; 634 if (!empty( $this->message_types[ $message['type'] ]['themes'][ $message['theme'] ]) ) { 635 $theme = $this->message_types[ $message['type'] ]['themes'][ $message['theme'] ]; 636 wp_enqueue_style( 'icegram_css_'.$message['type'].'_'.$message['theme'], $theme['baseurl'] .$message['theme'].'.css' ,array(), $ver); 637 }else{ 638 $theme_default = $this->message_types[ $message['type']] ['settings']['theme']['default']; 639 $theme = $this->message_types[ $message['type'] ]['themes'][ $theme_default]; 640 wp_enqueue_style( 'icegram_css_'.$message['type'].'_'.$theme_default, $theme['baseurl'] .$theme_default.'.css' ,array(), $ver); 641 $icegram_data['messages'][$key]['theme'] = $theme_default; 642 } 643 } 630 644 631 645 if( !wp_script_is( 'icegram_js' ) ) { … … 642 656 wp_enqueue_style( 'magnific_popup_css', $this->plugin_url . '/assets/css/magnific-popup.css', array(), $this->version ); 643 657 } 658 644 659 foreach ($types_shown as $message_type) { 645 660 $ver = ( !empty($this->message_types[$message_type]['version'])) ? $this->message_types[$message_type]['version'] : $this->version; … … 649 664 } 650 665 651 // Load theme CSS652 foreach ($icegram_data['messages'] as $message) {653 if (!empty( $this->message_types[ $message['type'] ]['themes'][ $message['theme'] ]) ) {654 $theme = $this->message_types[ $message['type'] ]['themes'][ $message['theme'] ];655 wp_enqueue_style( 'icegram_css_'.$message['type'].'_'.$message['theme'], $theme['baseurl'] . $message['theme'].'.css' );656 }657 }658 666 } 659 667 … … 741 749 } 742 750 } 751 743 752 return $message_data; 744 753 } … … 773 782 $campaign->messages = get_post_meta( $id, 'campaign_preview', true ); 774 783 } 775 776 foreach( $campaign->messages as $msg) { 777 $message_ids[] = $msg['id']; 778 if (!array_key_exists( $msg['id'], $message_campaign_map)) { 779 $message_campaign_map[ $msg['id'] ] = $id; 784 if( !empty( $campaign->messages ) ) { 785 foreach( $campaign->messages as $msg) { 786 $message_ids[] = $msg['id']; 787 if (!array_key_exists( $msg['id'], $message_campaign_map)) { 788 $message_campaign_map[ $msg['id'] ] = $id; 789 } 780 790 } 781 791 } 782 792 } 783 793 } 784 794 785 795 // We don't display same message twice... 786 796 $message_ids = array_unique($message_ids); … … 810 820 $message_id = (!empty($message_data['original_message_id'])) ? $message_data['original_message_id'] : $id; 811 821 if (!empty($message_campaign_map[ $message_id ])) { 812 $message_data['campaign_id'] = $message_campaign_map[ $message_id ]; 813 $campaign = $valid_campaigns[ $message_data['campaign_id'] ]; 822 //modify campaign id 823 $message_data['campaign_id'] = apply_filters('modify_campaing_id' , $message_campaign_map[ $message_id ] , $message_id) ; 824 $campaign = $valid_campaigns[ floor($message_data['campaign_id']) ]; 814 825 if (!empty($campaign) && $campaign instanceof Icegram_Campaign) { 815 826 $message_meta_from_campaign = $campaign->get_message_meta_by_id( $message_id ); … … 828 839 $valid_messages[$id] = $message_data; 829 840 } 830 831 $valid_messages = apply_filters( 'icegram_valid_messages', $valid_messages ); 841 $valid_messages = apply_filters( 'icegram_valid_messages', $valid_messages ); 832 842 return $valid_messages; 833 843 } -
icegram/trunk/message-types/action-bar/default.css
r1053844 r1113915 7 7 left: 0; 8 8 } 9 .action_bar.ig_container.top.ig_show{ 10 position: fixed; 11 z-index: 9999999; 12 } 9 13 10 14 .action_bar.ig_container.top { 15 top: 0; 11 16 } 12 17 13 18 .action_bar.ig_container.bottom { 19 bottom: 0; 14 20 } 15 21 16 22 .action_bar .ig_content { 17 color: #FFF;23 /*color: #FFF;*/ 18 24 } 19 25 … … 63 69 .action_bar .ig_arrow_block { 64 70 font-weight: 700; 65 z-index: 100000 ;71 z-index: 1000000; 66 72 right: 10px; 67 73 text-align: right; -
icegram/trunk/message-types/action-bar/main.js
r1053844 r1113915 71 71 }, 0, "linear", function() { 72 72 self.el.show(); 73 self.el.addClass('ig_show').removeClass('ig_hide'); 73 74 self.el.find('.ig_arrow').show(); 74 75 self.el.find('.ig_arrow_block').addClass('open').removeClass('rotate').removeClass('border').css('position', 'initial'); … … 94 95 }, 0, "linear", function() { 95 96 self.el.show(); 97 self.el.addClass('ig_show').removeClass('ig_hide'); 96 98 self.el.find('.ig_arrow').show(); 97 99 self.el.find('.ig_arrow_block').addClass('open').addClass('rotate').removeClass('border').css('position', 'initial'); … … 125 127 }, 300, "linear", function() { 126 128 self.el.find('.ig_arrow').show(); 129 self.el.addClass('ig_hide').removeClass('ig_show'); 127 130 self.el.find('.ig_arrow_block').removeClass('open').addClass('border').addClass('rotate').css({ 128 131 'position': 'fixed', … … 139 142 self.el.find('.ig_arrow_block').css('margin-top', '0' ); 140 143 self.el.find('.ig_arrow').show(); 144 self.el.addClass('ig_hide').removeClass('ig_show'); 141 145 self.el.find('.ig_arrow_block').removeClass('open').removeClass('rotate').addClass('border').css({ 142 'position': ' absolute',146 'position': 'fixed', 143 147 'top': '0' 144 148 }); -
icegram/trunk/message-types/action-bar/themes/air-mail.css
r1017678 r1113915 1 1 .action_bar.air-mail.ig_container { 2 position: relative; 3 background-color: #fff; 4 -webkit-background-clip: padding-box; 5 background-clip: padding-box; 6 background-image: -moz-linear-gradient(bottom, #e5e5e5 0%, #f7f7f7 100%); 7 background-image: -o-linear-gradient(bottom, #e5e5e5 0%, #f7f7f7 100%); 8 background-image: -webkit-linear-gradient(bottom, #e5e5e5 0%, #f7f7f7 100%); 9 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e5e5e5 0%), color-stop(1, #f7f7f7 100%)); 10 filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr=#e5e5e5 0%, EndColorStr=#f7f7f7 100%)"; 11 background-image: linear-gradient(bottom, #e5e5e5 0%, #f7f7f7 100%); 12 } 13 14 .action_bar.air-mail.ig_container:before { 15 position: absolute; 16 top: 0; 17 left: 0; 18 width: 100%; 19 height: 100%; 20 background: #D1D1D1; 21 background: repeating-linear-gradient(45deg, #b37b7a, #b37b7a 10px, transparent 10px, transparent 20px, #7897ba 20px, #7897ba 30px, transparent 30px, transparent 40px); 22 -webkit-background-clip: padding-box; 23 background-clip: padding-box; 24 content: ""; 2 background-color: #F2F2F2; 3 color: hsl(0, 0%, 44%); 4 /*-webkit-background-clip: padding-box;*/ 5 -moz-border-image: -moz-repeating-linear-gradient(45deg, #b37b7a, #b37b7a 10px, #F2F2F2 10px, #F2F2F2 20px, #7897ba 20px, #7897ba 30px, #F2F2F2 30px, #F2F2F2 40px) 8 round; 6 -webkit-border-image: -webkit-repeating-linear-gradient(45deg, #b37b7a, #b37b7a 10px, #F2F2F2 10px, #F2F2F2 20px, #7897ba 20px, #7897ba 30px, #F2F2F2 30px, #F2F2F2 40px) 8 round; 7 -o-border-image: -o-repeating-linear-gradient(45deg, #b37b7a, #b37b7a 10px, #F2F2F2 10px, #F2F2F2 20px, #7897ba 20px, #7897ba 30px, #F2F2F2 30px, #F2F2F2 40px) 8 round; 8 border-image: repeating-linear-gradient(45deg, #b37b7a, #b37b7a 10px, #F2F2F2 10px, #F2F2F2 20px, #7897ba 20px, #7897ba 30px, #F2F2F2 30px, #F2F2F2 40px) 8 round; 25 9 } 26 10 27 11 .action_bar.air-mail.ig_container.top { 28 padding-bottom: 7px;12 border-width: 0 0 8px 0; 29 13 } 30 14 31 15 .action_bar.air-mail.ig_container.bottom { 32 padding-top: 7px;16 border-width: 8px 0 0 0; 33 17 } 34 18 35 19 .action_bar.air-mail .ig_content { 36 20 position: relative; 37 background: #F2F2F2;21 /*background: #F2F2F2;*/ 38 22 padding: 1em 1em .25em 1em; 39 23 } … … 63 47 .action_bar.air-mail input[type="button"], 64 48 .action_bar.air-mail .ig_button{ 65 background: hsl(6, 78%, 57%) !important; 49 background: hsl(6, 78%, 57%); 50 color: hsl(0, 0%, 100%); 66 51 -moz-border-radius: 5px; 67 52 -webkit-border-radius: 5px; 68 53 border-radius: 5px; 69 54 border-bottom: 3px solid hsl(6, 63%, 46%); 70 color: hsl(0, 0%, 100%);71 55 text-transform: uppercase; 72 56 font-family: "Open Sans", sans-serif; … … 82 66 .action_bar.air-mail input[type="button"]:hover, 83 67 .action_bar.air-mail .ig_button:hover{ 84 margin-top: -3px;68 margin-top: -3px; 85 69 border-bottom: 6px solid #c0392b; 86 70 } … … 109 93 } 110 94 95 .action_bar.air-mail .ig_close:hover { 96 background: url(../images/chosen-sprite.png) no-repeat -43px -11px; 97 } 98 111 99 .action_bar.air-mail .ig_arrow_block { 112 100 display: none; -
icegram/trunk/message-types/action-bar/themes/bold.css
r1094550 r1113915 79 79 .action_bar.bold .ig_arrow_block.border { 80 80 border: 3px solid #fff; 81 border-top-width: 0; 81 82 -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.35); 82 83 -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.35); 83 84 box-shadow: 0 0 5px rgba(0, 0, 0, 0.35); 84 }85 86 .action_bar.bold.top .ig_arrow_block.border, .action_bar.bold.bottom .ig_arrow_block {87 border-width: 0 3px 3px 3px;88 85 -moz-border-radius: 0 0 5px 5px; 89 86 -webkit-border-radius: 0 0 5px 5px; 90 87 border-radius: 0 0 5px 5px; 91 88 } 92 93 .action_bar.bold.bottom .ig_arrow_block.border, .action_bar.bold.top .ig_arrow_block {94 border-width: 0 3px 3px 3px;95 -moz-border-radius: 0 0 5px 5px;96 -webkit-border-radius: 0 0 5px 5px;97 border-radius: 0 0 5px 5px;98 padding: .8em .4em;99 } -
icegram/trunk/message-types/action-bar/themes/hello.css
r1030075 r1113915 1 1 .action_bar.hello.ig_container { 2 2 line-height: 1.5em; 3 overflow: visible; 4 bottom: 0; 3 /*TODO : check why this is needed */ 4 /*overflow: visible;*/ 5 /*bottom: 0;*/ 5 6 } 6 7 … … 57 58 .action_bar.hello input[type="button"] { 58 59 display: inline-block; 59 background: #4A4844 !important; 60 background: linear-gradient(top, #4A4844 0%, #2D2C29 100%) !important; 61 background: -moz-linear-gradient(top, #4A4844 0%, #2D2C29 100%) !important; 62 background: -o-linear-gradient(top, #4A4844 0%, #2D2C29 100%) !important; 63 background: -webkit-linear-gradient(top, #4A4844 0%, #2D2C29 100%) !important; 64 background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #4A4844 0%), color-stop(1, #2D2C29 100%)) !important; 65 filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr=#4A4844 0%, EndColorStr=#2D2C29 100%)"; 60 background: #4A4844; 61 background-image: -moz-linear-gradient(top, transparent 0%, rgba(51, 51, 51, 0.4) 100%); 62 background-image: -o-linear-gradient(top, transparent 0%, rgba(51, 51, 51, 0.4) 100%); 63 background-image: -webkit-linear-gradient(top, transparent 0%, rgba(51, 51, 51, 0.4) 100%); 64 background-image: linear-gradient(top, transparent 0%, rgba(51, 51, 51, 0.4) 100%); 65 /*background-image: linear-gradient(top, #4A4844 0%, #2D2C29 100%);*/ 66 67 /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #4A4844 0%), color-stop(1, #2D2C29 100%)) !important;*/ 68 /*filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr=#4A4844 0%, EndColorStr=#2D2C29 100%)";*/ 66 69 -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.28); 67 70 -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.28); … … 83 86 .action_bar.hello input[type="submit"]:hover, 84 87 .action_bar.hello input[type="button"]:hover { 85 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";86 filter: alpha(opacity=80);87 88 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; 88 89 filter: alpha(opacity=80); … … 114 115 } 115 116 116 .action_bar.hello.top .ig_arrow_block.border, .action_bar.hello.bottom .ig_arrow_block { 117 border-width: 0 3px 3px 3px; 117 .action_bar.hello .ig_arrow_block.border { 118 border: 3px solid #fff; 119 border-top-width: 0; 120 -moz-box-shadow: 0 0 7px rgba(0, 0, 0, 0.35); 121 -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.35); 122 box-shadow: 0 0 7px rgba(0, 0, 0, 0.35); 118 123 -moz-border-radius: 0 0 7px 7px; 119 124 -webkit-border-radius: 0 0 7px 7px; 120 125 border-radius: 0 0 7px 7px; 121 }122 123 .action_bar.hello.bottom .ig_arrow_block.border, .action_bar.hello.top .ig_arrow_block {124 border-width: 0 3px 3px 3px;125 -moz-border-radius: 0 0 7px 7px;126 -webkit-border-radius: 0 0 7px 7px;127 border-radius: 0 0 7px 7px;128 padding: .8em .4em;129 }130 131 .action_bar.hello .powered_by img {132 width: 24px;133 126 } 134 127 … … 137 130 height: 32px; 138 131 } 139 140 132 .action_bar.hello .powered_by img { 141 width: 1.5em !important; 142 margin-left: 1em !important; 143 margin-top: .4em !important; 133 width: 24px; 134 width: 1.5em !important; 135 margin-left: 1em !important; 136 margin-top: .4em !important; 144 137 } -
icegram/trunk/message-types/action-bar/themes/solid.css
r1017678 r1113915 1 .action_bar.solid.ig_container {2 }3 4 .action_bar.solid.ig_container.top {5 }6 7 .action_bar.solid.ig_container.bottom {8 }9 10 1 .action_bar.solid .ig_content { 11 2 padding: 1em 0 1em 1em; … … 57 48 } 58 49 59 .action_bar.solid .top .ig_arrow_block.border, .action_bar.solid.bottom .ig_arrow_block{60 border -width: 0 3px 3px 3px;50 .action_bar.solid .ig_arrow_block.border { 51 border: none; 61 52 } 62 63 .action_bar.solid.bottom .ig_arrow_block.border, .action_bar.solid.top .ig_arrow_block {64 border-width: 3px 3px 0 3px;65 padding: .8em .4em;66 } -
icegram/trunk/message-types/messenger/default.css
r1053844 r1113915 9 9 overflow: hidden; 10 10 text-align: left; 11 }12 13 .ig_messenger.ig_container, .ig_messenger.ig_container .ig_content {14 11 background-color: transparent !important; 15 } 16 17 .ig_messenger .ig_content { 18 19 } 12 } 20 13 21 14 .ig_messenger .ig_header { … … 104 97 width: 28px; 105 98 vertical-align: top; 99 display: inline-block; 106 100 } 107 101 -
icegram/trunk/message-types/messenger/themes/canvas.css
r1053844 r1113915 34 34 color: #111; 35 35 line-height: 1.5em; 36 max-width: 350px; 37 -ms-text-overflow: ellipsis; 38 -o-text-overflow: ellipsis; 39 text-overflow: ellipsis; 36 40 } 37 41 -
icegram/trunk/message-types/messenger/themes/clear.css
r1053844 r1113915 38 38 font-size: 13px; 39 39 height: 15px; 40 -ms-text-overflow: ellipsis;40 /* -ms-text-overflow: ellipsis; 41 41 -o-text-overflow: ellipsis; 42 text-overflow: ellipsis; 42 text-overflow: ellipsis;*/ 43 43 white-space: nowrap; 44 44 position: relative; -
icegram/trunk/message-types/messenger/themes/talk.css
r1053844 r1113915 2 2 width: 210px; 3 3 height: 260px; 4 4 5 } 5 6 6 .ig_messenger.talk .ig_content { 7 background: transparent !important; 7 8 8 9 } … … 40 41 font-size: 12px; 41 42 height: 18px; 42 -ms-text-overflow: ellipsis;43 /*-ms-text-overflow: ellipsis; 43 44 -o-text-overflow: ellipsis; 44 text-overflow: ellipsis; 45 text-overflow: ellipsis;*/ 45 46 white-space: nowrap; 46 47 position: relative; … … 109 110 .ig_messenger.talk .ig_footer { 110 111 background-image: url(../images/talk-footer-1.png); 111 height: 3 7px;112 height: 33px; 112 113 border: 1px solid #BFBFBF; 113 114 border-bottom: none; … … 119 120 120 121 .ig_messenger.talk .ig_close { 121 background-image: url(../images/talk-close.png); 122 right: -4px; 122 background-image: url(../images/talk-close.png) !important; 123 background-repeat: no-repeat; 124 background-position: 0 0; 123 125 top: 4.5px; 124 margin-right: 3px;126 right: -1px; 125 127 width: 21px; 126 128 height: 25px; 127 vertical-align: top;128 129 } 129 130 -
icegram/trunk/message-types/popup/default.css
r1066982 r1113915 1 .ig_popup .ig_container{1 .ig_popup{ 2 2 opacity: 1; 3 3 display: block; 4 4 z-index: 100000; 5 margin: 1em; 5 background-color: transparent !important; 6 color: transparent !important; 7 width: 60%; 8 margin: 32px auto 20px auto !important; 6 9 } 7 10 8 .ig_popup.ig_container, .ig_popup.ig_container .ig_content { 9 background-color: transparent !important; 11 .ig_popup .ig_container{ 12 position: relative; 13 } 14 15 .ig_popup .ig_container, 16 .ig_popup .ig_container .ig_content { 17 background-color: transparent; 18 } 19 .ig_popup .ig_container .ig_bg_overlay{ 20 background-color: transparent; 21 width: 100%; 22 height: 100%; 23 top: 0; 24 left: 0; 25 margin: 0; 26 padding: 0; 27 position: absolute; 28 display: none; 10 29 } 11 30 … … 18 37 19 38 .ig_popup .ig_data { 20 overflow-y: hidden; 39 overflow: hidden; 40 position: relative; 21 41 } 22 42 … … 40 60 width: 30px; 41 61 cursor: pointer; 42 position: absolute;43 62 -webkit-background-size: 100%; 44 63 background-size: 100%; 45 -moz-box-sizing: content-box; 46 box-sizing: content-box; 64 float: right; 65 margin: -2em -1em 0 0; 66 top: 1em; 67 position: relative; 68 z-index: 10; 47 69 } 48 70 49 71 .ig_popup .ig_close:hover { 72 height: 32px; 73 width: 30px; 50 74 background-position: left top; 51 75 } … … 58 82 border-bottom : none; 59 83 background-image: none; 84 position: relative; 60 85 } 61 86 … … 66 91 } 67 92 .ig_popup .ig_button:active, 68 div.ig_popup input[type="submit"]:active,69 div.ig_popup input[type="button"]:active{93 .ig_popup input[type="submit"]:active, 94 .ig_popup input[type="button"]:active{ 70 95 } 71 96 … … 78 103 } 79 104 80 div.icegram .ig_popup input[type="submit"], div.icegram .ig_popup input[type="button"] { 105 div.icegram .ig_popup input[type="submit"], 106 div.icegram .ig_popup input[type="button"] { 81 107 font-size: 100%; 82 108 } 83 109 84 .ig_popup.mfp-content {85 width: 60% !important;86 margin: 32px auto 20px auto !important;87 }88 89 110 @media only screen and (max-device-width: 319px) { 90 .ig_popup .mfp-content{91 width: 90% !important;111 .ig_popup { 112 width: 90%; 92 113 top: 3% !important; 93 114 margin: 5px auto !important; … … 102 123 103 124 @media only screen and (min-device-width: 320px) and (max-device-width: 359px) { 104 .ig_popup .mfp-content{105 width: 85% !important;125 .ig_popup { 126 width: 85%; 106 127 top: 5% !important; 107 128 margin: 10px auto !important; … … 117 138 118 139 @media only screen and (min-device-width: 360px) and (max-device-width: 413px) { 119 .ig_popup .mfp-content{120 width: 85% !important;140 .ig_popup { 141 width: 85%; 121 142 top: 5% !important; 122 143 margin: 10px auto !important; … … 131 152 132 153 @media only screen and (min-device-width: 414px) and (max-device-width: 643px) { 133 .ig_popup .mfp-content{134 width: 85% !important;154 .ig_popup { 155 width: 85%; 135 156 top: 5% !important; 136 157 margin: 10px auto !important; … … 146 167 147 168 @media only screen and (min-device-width: 644px) and (max-device-width: 767px) and (orientation : portrait) { 148 .ig_popup .mfp-content{169 .ig_popup { 149 170 top: 5% !important; 150 171 margin: 10px auto !important; … … 154 175 155 176 @media only screen and (min-device-width: 644px) and (max-device-width: 767px) and (orientation : landscape) { 156 .ig_popup .mfp-content{177 .ig_popup { 157 178 top: 5% !important; 158 179 margin: 10px auto !important; … … 163 184 /* Small devices (tablets, 768px and up) */ 164 185 @media only screen and (min-width: 768px) and (max-device-width: 992px){ 165 .ig_popup .mfp-content{186 .ig_popup { 166 187 top: 5% !important; 167 188 margin: 10px auto !important; -
icegram/trunk/message-types/popup/main.js
r1092381 r1113915 9 9 10 10 Icegram_Message_Type_Popup.prototype.get_template_default = function () { 11 return '<div id="popup_main_{{=id}}" class="mfp-hide" data={{=id}}>'+ 12 '<div class="icegram ig_popup ig_container {{=theme}}" id="icegram_message_{{=id}}" data={{=id}}>'+ 13 '<div class="ig_close" id="popup_box_close_{{=id}}"></div>'+ 14 '<div class="ig_data">'+ 11 // return '<div id="icegram_message_{{=id}}" class="mfp-hide icegram ig_popup {{=theme}} ds_style_{{=id}}" data={{=id}}>'+ 12 return '<div id="icegram_message_{{=id}}" class="mfp-hide icegram ig_popup {{=theme}}" data={{=id}}>'+ 13 '<div class="ig_close" id="popup_box_close_{{=id}}"></div>'+ 14 '<div class="ig_container" data={{=id}}>'+ 15 '<div class="ig_bg_overlay"></div>'+ 16 '<div class="ig_data">'+ 15 17 '<div class="ig_headline">{{=headline}}</div>'+ 16 18 '<div class="ig_content">'+ … … 21 23 '</div>'+ 22 24 '</div>'; 25 }; 26 Icegram_Message_Type_Popup.prototype.post_render = function ( ) { 27 this.el.find('.ig_bg_overlay').css('border-color', this.data.bg_color); 23 28 }; 24 29 Icegram_Message_Type_Popup.prototype.show = function ( options, silent ) { … … 33 38 showCloseBtn :false 34 39 }); 35 jQuery('.mfp-content').removeClass().addClass('mfp-content ig_popup ' + self.data.theme);40 // jQuery('.mfp-content').removeClass().addClass('mfp-content ig_popup ' + self.data.theme); 36 41 silent !== true && this.track( 'shown' ); 37 42 }; -
icegram/trunk/message-types/popup/main.php
r1066982 r1113915 19 19 parent::define_settings(); 20 20 $this->settings['theme']['default'] = 'persuade'; 21 $this->settings['bg_color']['default'] = '#EF504D'; 22 $this->settings['text_color']['default'] = '#FFFFFF'; 23 21 24 unset ( $this->settings['position'], 22 $this->settings['text_color'],23 $this->settings['bg_color'],24 25 $this->settings['icon'] 25 26 ); -
icegram/trunk/message-types/popup/themes/air-mail.css
r1092381 r1113915 1 .ig_popup.air-mail.ig_container { 2 position: relative; 3 color: hsl(0, 100%, 100%); 4 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; 5 filter: alpha(opacity=100); 6 padding: 1em 0.5em; 1 .ig_popup.air-mail .ig_container { 2 border-width: 8px; 3 /*white/blue/red border*/ 4 -moz-border-image: -moz-repeating-linear-gradient(45deg, #b37b7a, #b37b7a 10px, #F2F2F2 10px, #F2F2F2 20px, #7897ba 20px, #7897ba 30px, #F2F2F2 30px, #F2F2F2 40px) 8 round; 5 -webkit-border-image: -webkit-repeating-linear-gradient(45deg, #b37b7a, #b37b7a 10px, #F2F2F2 10px, #F2F2F2 20px, #7897ba 20px, #7897ba 30px, #F2F2F2 30px, #F2F2F2 40px) 8 round; 6 -o-border-image: -o-repeating-linear-gradient(45deg, #b37b7a, #b37b7a 10px, #F2F2F2 10px, #F2F2F2 20px, #7897ba 20px, #7897ba 30px, #F2F2F2 30px, #F2F2F2 40px) 8 round; 7 border-image: repeating-linear-gradient(45deg, #b37b7a, #b37b7a 10px, #F2F2F2 10px, #F2F2F2 20px, #7897ba 20px, #7897ba 30px, #F2F2F2 30px, #F2F2F2 40px) 8 round; 8 background-color: #F2F2F2; 9 color: hsl(0, 0%, 44%); 10 } 11 .ig_popup.air-mail .ig_container .ig_bg_overlay{ 12 display: block; 13 background: -webkit-linear-gradient(top, transparent 0%, #888 30%, #888 70%, transparent 100%); 14 background: -o-linear-gradient(top, transparent 0%, #888 30%, #888 70%, transparent 100%); 15 background: -moz-linear-gradient(top, transparent 0%, #888 30%, #888 70%, transparent 100%); 16 background: linear-gradient(top, transparent 0%, #888 30%, #888 70%, transparent 100%); 17 opacity: .1; 7 18 } 8 19 9 20 .ig_popup.air-mail .ig_headline { 10 margin-bottom: .5em;21 padding: .5em; 11 22 font-size: 2.5em; 12 23 text-align: center; 13 color: hsl(206, 69%, 47%);14 text-shadow: 0 1px 0 #FFF;24 /*color: hsl(206, 69%, 47%);*/ 25 text-shadow: 0 1px 0 rgba(0, 0, 0, .5); 15 26 } 16 27 … … 19 30 } 20 31 21 .ig_popup.air-mail .ig_data {22 padding: .9em;23 }24 32 .ig_popup.air-mail .ig_message { 25 color: hsl(0, 0%, 44%); 33 /*color: hsl(0, 0%, 44%);*/ 34 padding: .2em 1.2em; 26 35 font-size: 1.2em; 27 margin-bottom: 1em;28 padding: 0 .5em;29 36 } 30 37 … … 33 40 height: 10px; 34 41 width: 10px; 35 -moz-box-sizing: content-box;36 box-sizing: content-box;37 position: absolute;38 top: 0;39 right: 0;40 42 cursor: pointer; 41 43 zoom: 1.5; 42 margin: 5px; 44 margin: 0; 45 top:12px; 46 right: 12px; 47 } 48 .ig_popup.air-mail .ig_close:hover { 49 background: url(../images/chosen-sprite.png) no-repeat -43px -11px; 50 height: 10px; 51 width: 10px; 52 top:12px; 53 right: 12px; 43 54 } 44 55 … … 46 57 div.ig_popup.air-mail input[type="submit"], 47 58 div.ig_popup.air-mail input[type="button"] { 48 background: hsl(6, 78%, 57%) !important; 59 background-color: hsl(6, 78%, 57%); 60 color: hsl(0, 0%, 100%); 49 61 width: 50% !important; 50 62 -moz-border-radius: 5px; 51 63 -webkit-border-radius: 5px; 52 64 border-radius: 5px; 53 border-top: 3px solid transparent !important; 54 border-bottom: 3px solid transparent !important; 55 font-size: 16px; 56 color: hsl(0, 0%, 100%); 65 border-top: 0 solid transparent; 66 border-bottom: 0 solid transparent; 67 font-size: 1.1em; 57 68 text-transform: uppercase; 58 69 font-weight: 600; 59 70 text-align: center; 60 margin: 0.4em auto 0auto;61 padding: 1 6px 3px 13px;71 margin: 10px auto 20px auto; 72 padding: 1em .15em .85em; 62 73 } 63 74 … … 65 76 div.ig_popup.air-mail input[type="submit"]:hover, 66 77 div.ig_popup.air-mail input[type="button"]:hover { 67 border-top: 3px solid hsl(6, 63%, 46%) !important; 68 border-bottom: 3px solid #c0392b !important; 78 margin: 7px auto 17px auto; 79 border-top: 3px solid #c0392b; 80 border-bottom: 3px solid #c0392b ; 69 81 } 70 82 … … 72 84 div.ig_popup.air-mail input[type="submit"]:active, 73 85 div.ig_popup.air-mail input[type="button"]:active{ 74 border-top: none; 86 margin: 10px auto 20px auto; 87 border: none; 75 88 } 76 77 .ig_popup.air-mail.ig_container{78 position: relative;79 display: block;80 margin: 0;81 background: #F2F2F2;82 background-image: -moz-linear-gradient(bottom, #e5e5e5 0%, #f7f7f7 100%);83 background-image: -o-linear-gradient(bottom, #e5e5e5 0%, #f7f7f7 100%);84 background-image: -webkit-linear-gradient(bottom, #e5e5e5 0%, #f7f7f7 100%);85 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e5e5e5 0%), color-stop(1, #f7f7f7 100%));86 filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr=#e5e5e5 0%, EndColorStr=#f7f7f7 100%)";87 background-image: linear-gradient(bottom, #e5e5e5 0%, #f7f7f7 100%);88 }89 90 .ig_popup.air-mail.mfp-content {91 background-color: #fff;92 -webkit-background-clip: padding-box;93 background-clip: padding-box;94 -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);95 -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);96 box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);97 padding: 8px;98 border: 0;99 }100 101 .ig_popup.air-mail.mfp-content:before {102 position: absolute;103 top: 0;104 left: 0;105 width: 100%;106 height: 100%;107 -moz-box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(0, 0, 0, 0.5);108 -webkit-box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(0, 0, 0, 0.5);109 box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(0, 0, 0, 0.5);110 background: #D1D1D1;111 background: repeating-linear-gradient(45deg, #b37b7a, #b37b7a 10px, transparent 10px, transparent 20px, #7897ba 20px, #7897ba 30px, transparent 30px, transparent 40px);112 -webkit-background-clip: padding-box;113 background-clip: padding-box;114 content: "";115 }116 117 89 118 90 @media only screen and (max-device-width: 319px) { -
icegram/trunk/message-types/popup/themes/amaze.css
r1066982 r1113915 1 .ig_popup.amaze.ig_container { 2 color: hsl(0, 100%, 100%); 3 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; 4 filter: alpha(opacity=100); 1 .ig_popup.amaze .ig_container { 2 border: .3em solid #444444; 3 background-color: #444444; 4 color: #FFF; 5 } 6 .ig_popup.amaze .ig_container .ig_bg_overlay{ 7 display: block; 8 background-image: url(../images/popup-amaze-bg.jpg); 9 opacity: .5; 5 10 } 6 11 7 12 .ig_popup.amaze .ig_headline { 13 padding: .5em; 8 14 text-align: center; 9 margin: .5em auto; 10 color: #fff; 11 text-shadow: 0 1px 0 hsl(0, 0%, 0%); 15 /*color: #fff;*/ 16 text-shadow: 0 1px 0 rgba(0, 0, 0, .5); 12 17 font-size: 2em; 13 18 } … … 19 24 .ig_popup.amaze .ig_message { 20 25 font-size: 1.2em; 26 padding: 0 1.2em; 21 27 font-family: Georgia, Times, "Times New Roman", serif; 22 color: hsl(0, 100%, 100%);28 /*color: hsl(0, 100%, 100%);*/ 23 29 margin: 0 2em; 24 }25 26 .ig_popup.amaze .ig_close {27 top: -15px;28 right: -15px;29 30 } 30 31 … … 32 33 .ig_popup.amaze input[type="submit"], 33 34 .ig_popup.amaze input[type="button"] { 34 background: hsl(145, 63%, 49%) !important;35 background: hsl(145, 63%, 49%); 35 36 color: hsl(0, 100%, 100%); 36 37 font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif; … … 41 42 text-align: center; 42 43 line-height: 1.8em; 43 webkit-box-shadow: inset 0 -3px 1px rgba(0, 0, 0, 0.45), 0 2px 2px rgba(0, 0, 0, 0.25);44 -moz-box-shadow: inset 0 -3px 1px rgba(0, 0, 0, 0.45), 0 2px 2px rgba(0, 0, 0, 0.25);45 -webkit-box-shadow: inset 0 -3px 1px rgba(0, 0, 0, 0.45), 0 2px 2px rgba(0, 0, 0, 0.25);46 box-shadow: inset 0 -3px 1px rgba(0, 0, 0, 0.45), 0 2px 2px rgba(0, 0, 0, 0.25);47 44 -moz-border-radius: 3px; 48 45 -webkit-border-radius: 3px; 49 46 border-radius: 3px; 47 border-bottom: .2em solid rgba(63, 63, 63, 0.6); 50 48 text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5); 51 margin: 0auto;49 margin: .2em auto 1em auto; 52 50 width: 40%; 53 51 padding: 0.3em 1em; … … 57 55 .ig_popup.amaze input[type="submit"]:active, 58 56 .ig_popup.amaze input[type="button"]:active { 59 border-top: none; 60 position: relative; 61 top: 3px; 62 -moz-box-shadow: inset 0 -3px 1px #2ECC70, inset 0 0 3px #2ECC70; 63 -webkit-box-shadow: inset 0 -3px 1px #2ECC70, inset 0 0 3px #2ECC70; 64 box-shadow: inset 0 -3px 1px #2ECC70, inset 0 0 3px #2ECC70; 57 border: none; 58 margin: .4em auto 1em auto; 65 59 } 66 60 67 .ig_popup.amaze.mfp-content {68 border: .3em solid #444444;69 background-image: url(../images/popup-amaze-bg.jpg);70 }71 72 .ig_popup.amaze.mfp-content {73 -moz-box-shadow: none;74 -webkit-box-shadow: none;75 box-shadow: none;76 }77 78 .ig_popup.amaze .ig_content {79 margin: 1.5em 0 .5em 0;80 width: 100%;81 }82 61 83 62 @media only screen and (max-device-width: 319px) { 84 .ig_popup.amaze .mfp-content{63 .ig_popup.amaze { 85 64 font-size: 10px; 86 65 } … … 94 73 95 74 @media only screen and (min-device-width: 320px) and (max-device-width: 359px) { 96 .ig_popup.amaze .mfp-content{75 .ig_popup.amaze { 97 76 font-size: 12px; 98 77 } … … 106 85 107 86 @media only screen and (min-device-width: 360px) and (max-device-width: 413px) { 108 .ig_popup.amaze .mfp-content{87 .ig_popup.amaze { 109 88 font-size: 14px; 110 89 } … … 119 98 120 99 @media only screen and (min-device-width: 414px) and (max-device-width: 643px) { 121 .ig_popup.amaze .mfp-content{100 .ig_popup.amaze { 122 101 font-size: 16px; 123 102 } … … 132 111 133 112 @media only screen and (min-device-width: 644px) and (max-device-width: 767px) and (orientation : portrait) { 134 .ig_popup.amaze .mfp-content{113 .ig_popup.amaze { 135 114 font-size: 18px; 136 115 } … … 138 117 139 118 @media only screen and (min-device-width: 644px) and (max-device-width: 767px) and (orientation : landscape) { 140 .ig_popup.amaze .mfp-content{119 .ig_popup.amaze { 141 120 font-size: 12px; 142 121 } … … 145 124 /* Small devices (tablets, 768px and up) */ 146 125 @media only screen and (min-width: 768px) and (max-device-width: 992px){ 147 .ig_popup.amaze .mfp-content{126 .ig_popup.amaze { 148 127 font-size: 14px; 149 128 } -
icegram/trunk/message-types/popup/themes/compel.css
r1066982 r1113915 1 .ig_popup.compel .ig_container {1 .ig_popup.compel .ig_container { 2 2 background: hsl(0, 0%, 100%); 3 position: relative; 4 color: hsl(0, 100%, 100%); 5 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; 6 filter: alpha(opacity=100); 7 padding: 1.2em 0 1em 0; 3 color: hsl(0, 0%, 44%); 4 border: 4px dashed #c0392b; 8 5 } 9 6 10 7 .ig_popup.compel .ig_headline { 11 color: hsl(204, 70%, 53%); 8 padding: .5em; 9 /*color: hsl(204, 70%, 53%);*/ 12 10 font-size: 2em; 13 text-shadow: 0 1px 0 hsl(204, 79%, 36%);14 margin-bottom: 0. 5em;11 text-shadow: 0 1px 0 rgba(0, 0, 0, .2); 12 margin-bottom: 0.2em; 15 13 text-align: center; 16 14 } … … 22 20 23 21 .ig_popup.compel .ig_message { 24 color: hsl(0, 0%, 44%);22 padding: 0 1.25em; 25 23 font-size: 1.25em; 26 24 font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; … … 32 30 height: 10px; 33 31 width: 10px; 34 -moz-box-sizing: content-box;35 box-sizing: content-box;36 position: absolute;37 top: 0;38 right: 0;39 32 cursor: pointer; 40 zoom: 1.5; 33 zoom: 1.5; 34 margin: 0; 35 top:7px; 36 right: 7px; 37 } 38 .ig_popup.compel .ig_close:hover { 39 background: url(../images/chosen-sprite.png) no-repeat -43px -11px; 40 height: 10px; 41 width: 10px; 42 top:7px; 43 right: 7px; 41 44 } 42 45 … … 44 47 .ig_popup.compel input[type="submit"], 45 48 .ig_popup.compel input[type="button"] { 46 background: hsl(6, 78%, 57%) !important; 49 background-color: hsl(6, 78%, 57%); 50 color: hsl(0, 0%, 100%); 47 51 width: 50% !important; 48 52 -moz-border-radius: 5px; 49 53 -webkit-border-radius: 5px; 50 54 border-radius: 5px; 51 border-bottom: 3px solid hsl(6, 63%, 46%) !important; 52 font-size: 16px; 53 color: hsl(0, 0%, 100%); 55 border-bottom: 3px solid hsl(6, 63%, 46%); 56 font-size: 1.1em; 54 57 text-transform: uppercase; 55 58 font-weight: 600; 56 59 text-align: center; 57 60 margin: 0 auto; 58 padding: 16px 0 13px; 61 margin-bottom: 1em; 62 padding: 1em .15em .85em; 63 59 64 } 60 65 … … 63 68 .ig_popup.compel input[type="button"]:hover { 64 69 margin-top: -3px; 65 border-bottom: 6px solid #c0392b !important; 70 margin-bottom: 1em; 71 border-bottom: 6px solid #c0392b; 66 72 } 67 73 .ig_popup.compel .ig_button:active, … … 69 75 div.ig_popup.compel input[type="button"]:active{ 70 76 border-top: none; 77 margin: 0 auto; 78 margin-bottom: 1em; 71 79 } 72 73 .ig_popup.compel.mfp-content {74 -moz-box-shadow: none;75 -webkit-box-shadow: none;76 box-shadow: none;77 border: 4px dashed #c0392b;78 background: hsl(0, 0%, 100%);79 }80 81 80 82 81 @media only screen and (max-device-width: 319px) { -
icegram/trunk/message-types/popup/themes/convert.css
r1066982 r1113915 1 .ig_popup.convert.ig_container { 2 padding: 1em; 1 .ig_popup.convert .ig_container { 2 background-color: hsl(58, 100%, 90%); 3 color: hsl(0, 1%, 28%); 4 -moz-box-shadow: none; 5 -webkit-box-shadow: none; 6 box-shadow: none; 7 padding-bottom: 1.5em; 3 8 } 4 9 5 10 .ig_popup.convert .ig_headline { 6 11 font-size: 2.5em; 7 color: hsl(0, 1%, 28%); 12 padding: .8em .8em .3em .8em; 13 /*color: hsl(0, 1%, 28%);*/ 8 14 letter-spacing: 0; 9 15 text-align: left; 10 margin-bottom: 1em;11 16 } 12 17 … … 17 22 .ig_popup.convert .ig_message { 18 23 font-size: 1.5em; 24 padding: 0.5em 1.5em; 19 25 font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif; 20 color: hsl(0, 1%, 28%);26 /*color: hsl(0, 1%, 28%);*/ 21 27 vertical-align: baseline; 22 }23 24 .ig_popup.convert .ig_close {25 top: -15px;26 right: -15px;27 28 } 28 29 … … 33 34 font-weight: 700; 34 35 text-decoration: none; 35 background-color: hsl(0, 94%, 41%) !important;36 background: hsl(0, 94%, 41%) !important;36 background-color: hsl(0, 94%, 41%); 37 color: hsl(0, 33%, 98%); 37 38 font-size: 1.75em; 38 color: hsl(0, 33%, 98%); 39 border: .3em solid hsl(0, 6%, 71%) !important; 39 border: .25em solid hsl(0, 6%, 71%) !important; 40 40 width: 60%; 41 41 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; … … 52 52 } 53 53 54 .ig_popup.convert .ig_button,55 .ig_popup.convertinput[type="submit"]:active,56 .ig_popup.convert input[type="button"]:active{57 border-top: .3em solid hsl(0, 6%, 71%) !important;58 -moz-border-radius: 1em;59 -webkit-border-radius: 1em;60 border-radius: 1em;61 62 }63 64 .ig_popup.convert.mfp-content {65 -moz-box-shadow: none;66 -webkit-box-shadow: none;67 box-shadow: none;68 background: hsl(58, 100%, 90%);69 }70 54 @media only screen and (max-device-width: 319px) { 71 55 .ig_popup.convert .ig_button, .ig_popup.convert input[type="submit"], .ig_popup.convert input[type="button"]{ … … 84 68 width: 75% !important; 85 69 } 86 87 70 } 88 71 -
icegram/trunk/message-types/popup/themes/inspire.css
r1092381 r1113915 1 .ig_popup.inspire.ig_container { 2 padding: 1em 0 .5em 0; 3 } 4 .ig_popup.inspire .ig_headline { 5 color: #222; 6 text-align: center; 7 margin-bottom: .8em; 8 text-shadow: 0 1px hsl(0, 100%, 100%); 9 font-size: 2.5em; 1 .ig_popup.inspire .ig_container { 2 background: hsl(0, 100%, 100%); 3 color: #333; 4 padding-bottom: 1.5em; 10 5 } 11 6 12 .ig_popup.inspire .ig_content { 13 background-color: transparent !important; 7 .ig_popup.inspire .ig_headline { 8 /*color: #222;*/ 9 text-align: center; 10 padding: .8em .8em .3em .8em; 11 font-size: 2.5em; 14 12 } 15 13 … … 19 17 20 18 .ig_popup.inspire .ig_message { 21 -webkit-font-smoothing: antialiased; 22 text-shadow: 0 1px hsl(0, 100%, 100%); 23 color: #333; 19 /*color: #333;*/ 20 padding: 0.5em 1.25em; 24 21 font-size: 1.25em; 25 margin: 0 .5em .5em .5em;26 22 font-weight: 400; 27 23 text-align: justify; 28 }29 30 .ig_popup.inspire .ig_close {31 top: -15px;32 right: -15px;33 24 } 34 25 … … 37 28 .ig_popup.inspire input[type="button"] { 38 29 vertical-align: middle; 39 background-color: hsl(79, 93%, 35%) !important;40 background: hsl(79, 93%, 35%) !important;30 background-color: hsl(79, 93%, 35%); 31 color: hsl(0, 100%, 100%); 41 32 font-size: 2em; 42 33 font-weight: 700; … … 47 38 filter: alpha(opacity=100); 48 39 opacity: 1; 49 color: hsl(0, 100%, 100%)!important;50 40 width: 60%; 51 border-color: hsl(79, 93%, 35%) !important;52 41 margin: .25em auto; 53 42 padding: 0.5em; … … 58 47 .ig_popup.inspire input[type="button"]:active{ 59 48 border-top: none; 60 }61 62 .ig_popup.inspire.mfp-content {63 background: hsl(0, 100%, 100%);64 49 } 65 50 … … 79 64 width: 90% !important; 80 65 } 81 82 66 } 83 67 -
icegram/trunk/message-types/popup/themes/persuade.css
r1092381 r1113915 1 .ig_popup.persuade .ig_container { 2 background: hsl(1, 83%, 62%); 3 color: #FFF; 4 border: .4em dashed hsl(0, 100%, 100%); 5 padding-bottom: .1em; 6 } 7 1 8 .ig_popup.persuade .ig_headline { 2 9 letter-spacing: 0; 3 color: hsl(0, 100%, 100%);10 /*color: hsl(0, 100%, 100%);*/ 4 11 font-size: 2.8em; 5 12 text-align: center; 6 13 -webkit-font-smoothing: antialiased; 7 margin: .2em auto;8 14 line-height: 1em; 15 padding: .7em .7em 0.5em .7em; 9 16 } 10 17 … … 14 21 15 22 .ig_popup.persuade .ig_message { 16 color: #FFF; 23 /*color: #FFF;*/ 24 padding: 0.5em 1.5em; 17 25 font-size: 1.5em; 18 26 font-weight: 300; … … 21 29 } 22 30 23 .ig_popup.persuade .ig_close {24 top: -15px;25 right: -15px;26 }27 28 31 .ig_popup.persuade .ig_button, 29 32 .ig_popup.persuade input[type="submit"], 30 33 .ig_popup.persuade input[type="button"] { 34 text-decoration: none; 35 background-color: hsl(0, 0%, 26%); 31 36 color: hsl(0, 100%, 100%); 32 text-decoration: none;33 background-color: hsl(0, 0%, 26%) !important;34 background: hsl(0, 0%, 26%) !important;35 37 font-size: 2em; 36 38 font-weight: 400; 37 width: 60%;39 width: 55%; 38 40 border: none; 39 41 -moz-border-radius: .6em; 40 42 -webkit-border-radius: .6em; 41 43 border-radius: .6em; 42 -moz-box-shadow: 0 .3em 0 hsl(0, 0%, 20%), 0 .3em 2em hsla(0, 0%, 0%, 0.7); 43 -webkit-box-shadow: 0 .3em 0 hsl(0, 0%, 20%), 0 .3em 2em hsla(0, 0%, 0%, 0.7); 44 box-shadow: 0 .3em 0 hsl(0, 0%, 20%), 0 .3em 2em hsla(0, 0%, 0%, 0.7); 45 -moz-box-shadow: 0 .3em 0 #333, 0 .3em 2em rgba(0, 0, 0, 0.7); 46 -webkit-box-shadow: 0 .3em 0 #333, 0 .3em 2em rgba(0, 0, 0, 0.7); 47 box-shadow: 0 .3em 0 #333, 0 .3em 2em rgba(0, 0, 0, 0.7); 44 border-bottom: .3em solid hsl(0, 0%, 20%); 45 -moz-box-shadow: 0 .3em 1.5em rgba(0, 0, 0, 0.6) !important; 46 -webkit-box-shadow: 0 .3em 1.5em rgba(0, 0, 0, 0.6) !important; 47 box-shadow: 0 .3em 1.5em rgba(0, 0, 0, 0.6) !important; 48 48 text-align: center; 49 margin: .2em auto .5em ;50 padding: 0. 5em;49 margin: .2em auto .5em auto; 50 padding: 0.4em; 51 51 line-height: 1.2em; 52 52 clear: both; … … 57 57 .ig_popup.persuade input[type="submit"]:hover, 58 58 .ig_popup.persuade input[type="button"]:hover { 59 -moz-box-shadow: 0 .1em 0 hsl(0, 0%, 20%), 0 .1em .2em hsla(0, 0%, 0%, 0.9) !important; 60 -webkit-box-shadow: 0 .1em 0 hsl(0, 0%, 20%), 0 .1em .2em hsla(0, 0%, 0%, 0.9) !important; 61 box-shadow: 0 .1em 0 hsl(0, 0%, 20%), 0 .1em .2em hsla(0, 0%, 0%, 0.9) !important; 62 -moz-box-shadow: 0 .1em 0 #333, 0 .1em .2em rgba(0, 0, 0, 0.9) !important; 63 -webkit-box-shadow: 0 .1em 0 #333, 0 .1em .2em rgba(0, 0, 0, 0.9) !important; 64 box-shadow: 0 .1em 0 #333, 0 .1em .2em rgba(0, 0, 0, 0.9) !important; 65 position: relative; 66 top: .2em 59 border-bottom: .1em solid hsl(0, 0%, 20%); 60 -moz-box-shadow: 0 .1em .2em rgba(0, 0, 0, 0.9) !important; 61 -webkit-box-shadow: 0 .1em .2em rgba(0, 0, 0, 0.9) !important; 62 box-shadow: 0 .1em .2em rgba(0, 0, 0, 0.9) !important; 63 margin: .4em auto .5em auto; 67 64 } 65 68 66 .ig_popup.persuade .ig_button:active, 69 67 .ig_popup.persuade input[type="submit"]:active, 70 68 .ig_popup.persuade input[type="button"]:active { 71 69 border-top: none; 70 margin: .4em auto .5em auto; 72 71 } 73 .ig_popup.persuade.mfp-content {74 border: .5em dashed hsl(0, 100%, 100%);75 -moz-box-shadow: none;76 -webkit-box-shadow: none;77 box-shadow: none;78 background: hsl(1, 83%, 62%);79 } -
icegram/trunk/readme.txt
r1094550 r1113915 4 4 Tags: popup, window, hellobar, optin, lead capture, marketing, form, notification, messenger, targeting, monster, ninja 5 5 Requires at least: 3.9 6 Tested up to: 4.1 7 Stable tag: 1.8. 66 Tested up to: 4.1.1 7 Stable tag: 1.8.7 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 154 154 155 155 == Upgrade Notice == 156 = 1.8.7 = 157 Popups now support custom background and text colors. And a handful of fixes! 158 156 159 = 1.8.6 = 157 160 Fix for "white screen" errors, updated device detection, more readable call to action button colors … … 207 210 208 211 == Changelog == 212 = 1.8.7 = 213 * New: Can now define custom background and text colors for Popups 214 * Fix: Button text color not showing well in some themes 215 * Fix: Analytics not getting tracked 216 * Update: Revisions to theme packs and many addons 217 * New: Support for Split Testing addon 218 209 219 = 1.8.6 = 210 220 * Fix: "Blank / White Screen of death" / Fatal error - Cannot redeclare class Mobile_Detect … … 212 222 * Update: Mobile Detect Library updated to version 2.8.11 213 223 * Update: Improvmetns in complementary colors for call to action button and button text 214 * Update: Action Bar's Bold theme - reduced shadow non button text224 * Update: Action Bar's Bold theme - reduced shadow on button text 215 225 216 226 = 1.8.5 =
Note: See TracChangeset
for help on using the changeset viewer.