Set body color of dialog text to black, closes #43
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
[](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)
|
||||
|
||||
|
@ -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' );
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
2
css/cwv3.min.css
vendored
2
css/cwv3.min.css
vendored
@ -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}
|
||||
.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}
|
@ -44,6 +44,11 @@
|
||||
padding: 0 .75em;
|
||||
overflow: auto;
|
||||
margin-bottom: 0.25em;
|
||||
color: $dialog-text-color;
|
||||
|
||||
p{
|
||||
color: $dialog-text-color;
|
||||
}
|
||||
}
|
||||
|
||||
.cwv3_btns{
|
||||
|
@ -11,4 +11,5 @@ $title-background : #FF0000;
|
||||
$title-font-color : #FFFFFF;
|
||||
|
||||
$dialog-background : #FFFFFF;
|
||||
$dialog-text-color : #000000;
|
||||
$dialog-border-color : #CCCCCC;
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user