Cookie Consent - Version 2.0.5

Version Description

  • Fixed: notification hides correctly when stylesheet is dequeued
Download this release

Release Info

Developer Catapult_Themes
Plugin Icon 128x128 Cookie Consent
Version 2.0.5
Comparing to
See all releases

Code changes from version 2.0.4 to 2.0.5

Thumbs.db ADDED
Binary file
assets/images/Thumbs.db ADDED
Binary file
public/class-ctcc-public.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /*
3
- * Artists and Exhibitions public class
4
  */
5
 
6
  // Exit if accessed directly
@@ -109,6 +109,11 @@ if ( ! class_exists( 'CTCC_Public' ) ) { // Don't initialise if there's already
109
  $css = '<style id="ctcc-css" type="text/css" media="screen">';
110
  $css .= '
111
  #catapult-cookie-bar {
 
 
 
 
 
112
  color: ' . $text_color . ';
113
  ' . $position_css . '
114
  background-color: ' . $bg_color . ';
@@ -122,6 +127,11 @@ if ( ! class_exists( 'CTCC_Public' ) ) { // Don't initialise if there's already
122
  }
123
  #catapult-cookie-bar h3 {
124
  color: ' . $text_color . ';
 
 
 
 
 
125
  }';
126
 
127
  $css .= '</style>';
1
  <?php
2
  /*
3
+ * Public class
4
  */
5
 
6
  // Exit if accessed directly
109
  $css = '<style id="ctcc-css" type="text/css" media="screen">';
110
  $css .= '
111
  #catapult-cookie-bar {
112
+ box-sizing: border-box;
113
+ max-height: 0;
114
+ opacity: 0;
115
+ z-index: 99999;
116
+ overflow: hidden;
117
  color: ' . $text_color . ';
118
  ' . $position_css . '
119
  background-color: ' . $bg_color . ';
127
  }
128
  #catapult-cookie-bar h3 {
129
  color: ' . $text_color . ';
130
+ }
131
+ .has-cookie-bar #catapult-cookie-bar {
132
+ opacity: 1;
133
+ max-height: 999px;
134
+ min-height: 30px;
135
  }';
136
 
137
  $css .= '</style>';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate Link: https://paypal.com
4
  Tags: cookie law, cookies, EU, implied consent, uk cookie consent, compliance, eu cookie law, eu privacy directive, privacy, privacy directive, consent, cookie, cookie compliance, cookie law, eu cookie, notice, notification, notify, cookie notice, cookie notification, cookie notify
5
  Requires at least: 4.3
6
  Tested up to: 4.4.1
7
- Stable tag: 2.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -76,6 +76,9 @@ You will find more details of the regulations on the [Information Commissioner's
76
 
77
  == Changelog ==
78
 
 
 
 
79
  = 2.0.4 =
80
  * Added: Polish translation (thanks to jraczynski for all items in this update)
81
  * Updated: .pot file generated with l18n tool
4
  Tags: cookie law, cookies, EU, implied consent, uk cookie consent, compliance, eu cookie law, eu privacy directive, privacy, privacy directive, consent, cookie, cookie compliance, cookie law, eu cookie, notice, notification, notify, cookie notice, cookie notification, cookie notify
5
  Requires at least: 4.3
6
  Tested up to: 4.4.1
7
+ Stable tag: 2.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
76
 
77
  == Changelog ==
78
 
79
+ = 2.0.5 =
80
+ * Fixed: notification hides correctly when stylesheet is dequeued
81
+
82
  = 2.0.4 =
83
  * Added: Polish translation (thanks to jraczynski for all items in this update)
84
  * Updated: .pot file generated with l18n tool
uk-cookie-consent.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Cookie Consent
4
  Plugin URI: http://catapultthemes.com/cookie-consent/
5
  Description: The only cookie consent plugin you'll ever need.
6
- Version: 2.0.4
7
  Author: Catapult_Themes
8
  Author URI: http://catapultthemes.com/
9
  Text Domain: uk-cookie-consent
3
  Plugin Name: Cookie Consent
4
  Plugin URI: http://catapultthemes.com/cookie-consent/
5
  Description: The only cookie consent plugin you'll ever need.
6
+ Version: 2.0.5
7
  Author: Catapult_Themes
8
  Author URI: http://catapultthemes.com/
9
  Text Domain: uk-cookie-consent