diff --git a/README.md b/README.md index 55c871b..63e14e3 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Issues](https://img.shields.io/github/issues/JayWood/content-warning-v3.svg)](https://github.com/JayWood/content-warning-v3/issues) **Current Version:** 3.6.9 -**Tested Up To:** 4.5 +**Tested Up To:** 4.5.2 **Author:** [Jay Wood](http://github.com/JayWood) **Author URI:** http://plugish.com **License:** GPLv2+ @@ -70,6 +70,9 @@ Please do not contact me with questions like this. If you cannot be descriptive ## Changelog +### 3.6.9 +* Small cleanup + ### 3.6.8 * Use background-image css property instead of just background - thanks to [95CivicSi](https://github.com/95CivicSi) diff --git a/content-warning-v3.php b/content-warning-v3.php index fec70c9..0533cba 100644 --- a/content-warning-v3.php +++ b/content-warning-v3.php @@ -28,4 +28,3 @@ add_action( 'plugins_loaded', 'jw_cwv3_load_text_domain' ); function jw_cwv3_load_text_domain() { load_plugin_textdomain( 'cwv3', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' ); } - diff --git a/css/cwv3.css b/css/cwv3.css index 7638ed0..e878012 100644 --- a/css/cwv3.css +++ b/css/cwv3.css @@ -41,6 +41,10 @@ padding: 0 .75em; overflow: auto; margin-bottom: 0.25em; + color: #000000; +} +.cwv3_dialog .cwv3_content p { + color: #000000; } .cwv3_dialog .cwv3_btns { background: rgba(50, 50, 50, 0.5); diff --git a/css/cwv3.min.css b/css/cwv3.min.css index ff0cc8c..4bbff4f 100644 --- a/css/cwv3.min.css +++ b/css/cwv3.min.css @@ -1 +1 @@ -.cwv3.dialog-overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99998}.cwv3_dialog{border:3px solid #CCC;background:#FFF;max-width:60%;max-height:90%;position:fixed;top:25%;left:25%;-webkit-box-shadow:2px 11px 48px #000;-moz-box-shadow:2px 11px 48px #000;box-shadow:2px 11px 48px #000;overflow:hidden;z-index:99999}.cwv3_dialog div{padding:.25em}.cwv3_dialog .cwv3.auth,.cwv3_dialog .cwv3.denied{height:100%}.cwv3_dialog .cwv3_title{color:#FFF;font-weight:700;text-align:center;background:red;margin-bottom:.25em}.cwv3_dialog .cwv3_content{height:80%;max-height:700px;padding:0 .75em;overflow:auto;margin-bottom:.25em}.cwv3_dialog .cwv3_btns{background:rgba(50,50,50,.5);bottom:0;overflow:hidden;padding:.45em .75em}.cwv3_dialog .cwv3_btns a{display:block;width:100%;text-align:center;color:#FFF;font-weight:700;text-decoration:none;padding:.35em 0}.cwv3_dialog .cwv3_btns div{width:30%;display:inline-block}.cwv3_dialog .cwv3_btns .cwv3_exit{float:right}.cwv3_dialog .cwv3_btns .cwv3_exit a{background-color:red}.cwv3_dialog .cwv3_btns .cwv3_enter{float:left}.cwv3_dialog .cwv3_btns .cwv3_enter a{background-color:#0C3} \ No newline at end of file +.cwv3.dialog-overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99998}.cwv3_dialog{border:3px solid #CCC;background:#FFF;max-width:60%;max-height:90%;position:fixed;top:25%;left:25%;-webkit-box-shadow:2px 11px 48px #000;-moz-box-shadow:2px 11px 48px #000;box-shadow:2px 11px 48px #000;overflow:hidden;z-index:99999}.cwv3_dialog div{padding:.25em}.cwv3_dialog .cwv3.auth,.cwv3_dialog .cwv3.denied{height:100%}.cwv3_dialog .cwv3_title{color:#FFF;font-weight:700;text-align:center;background:red;margin-bottom:.25em}.cwv3_dialog .cwv3_content{height:80%;max-height:700px;padding:0 .75em;overflow:auto;margin-bottom:.25em;color:#000}.cwv3_dialog .cwv3_content p{color:#000}.cwv3_dialog .cwv3_btns{background:rgba(50,50,50,.5);bottom:0;overflow:hidden;padding:.45em .75em}.cwv3_dialog .cwv3_btns a{display:block;width:100%;text-align:center;color:#FFF;font-weight:700;text-decoration:none;padding:.35em 0}.cwv3_dialog .cwv3_btns div{width:30%;display:inline-block}.cwv3_dialog .cwv3_btns .cwv3_exit{float:right}.cwv3_dialog .cwv3_btns .cwv3_exit a{background-color:red}.cwv3_dialog .cwv3_btns .cwv3_enter{float:left}.cwv3_dialog .cwv3_btns .cwv3_enter a{background-color:#0C3} \ No newline at end of file diff --git a/css/sass/partials/_cwv3.scss b/css/sass/partials/_cwv3.scss index 00591dd..8a05bff 100644 --- a/css/sass/partials/_cwv3.scss +++ b/css/sass/partials/_cwv3.scss @@ -44,6 +44,11 @@ padding: 0 .75em; overflow: auto; margin-bottom: 0.25em; + color: $dialog-text-color; + + p{ + color: $dialog-text-color; + } } .cwv3_btns{ diff --git a/css/sass/partials/_variables.scss b/css/sass/partials/_variables.scss index 9e1e31d..cf8bdce 100644 --- a/css/sass/partials/_variables.scss +++ b/css/sass/partials/_variables.scss @@ -11,4 +11,5 @@ $title-background : #FF0000; $title-font-color : #FFFFFF; $dialog-background : #FFFFFF; +$dialog-text-color : #000000; $dialog-border-color : #CCCCCC; diff --git a/readme.txt b/readme.txt index 3ec9418..ae3418a 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: Phyrax Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=U5M6JBDKGF3EJ Tags: warning, message, lading page, front page, enter page, adult content, consent, age verification, validation Requires at least: 3.5 -Tested up to: 4.5 +Tested up to: 4.5.2 Stable tag: 3.6.9 A plugin that provides a warning box with a ton more options completely re-written from the ground up.