function custom_admin_pointers_header()
{
    if (custom_admin_pointers_check()) {
        add_action('admin_print_footer_scripts', 'custom_admin_pointers_footer');
        wp_enqueue_script('wp-pointer');
        wp_enqueue_style('wp-pointer');
    }
}
Ejemplo n.º 2
0
function custom_admin_pointers_header()
{
    if (custom_admin_pointers_check()) {
        add_action('admin_print_footer_scripts', 'custom_admin_pointers_footer');
        ?>

	  <style>
.pointerOuter{
	width:100%;
	height:100%;
	overflow:hidden;
	max-width:300px;
	
	-webkit-border-radius: 6px;
	border-radius: 6px;
	
	
}
.po-head{
	background:#46a0fc;
	color:#fff;
	padding:10px ;
	text-align:center;
	font-size:17px;
	font-weight: normal;
	font-family: Arial, sans-serif;
}
.po-innerpart{
	padding:15px 20px 25px;
	background:#fff;
}
.po-innerpart p{
	padding:0;
	margin:0 0 15px;
	font-size:14px;
	line-height:20px;
	font-weight: normal;
	font-family: Arial, sans-serif;
	color:#313131;
}
.po-iconImg{
	display:block;
	width:100%;
	height:auto;
	margin:0 auto 15px;
}
.po-email{
	width:100%;
	padding:8px 15px;
	border:solid 1px #d4d4d4;
	background:#f1f1f1;
	color:#333;
	font-size:15px;
	line-height:21px;
	font-family: Arial, sans-serif;
	margin-bottom:10px;
	outline:none;
	
	-webkit-border-radius: 3px;
	border-radius: 3px;
	
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
.po-subbnt{
	font-size:13px;
	line-height:17px;
	height:33px;
	font-weight:bold;
	text-transform:uppercase;
	font-family: Arial, sans-serif;
	background:#17cc46;
	color:#fff;
	border:none;
	padding:9px 17px 6px;
	margin-right:6px;
	cursor:pointer;
	
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.po-subbnt:hover{
	background:#0bab35;
}
.nobnt{
	font-size:13px;
	line-height:20px;
	height:20px;
	font-weight:bold;
	text-transform:uppercase;
	font-family: Arial, sans-serif;
	background:#343434;
	text-decoration:none;
	color:#fff;
	border:none;
	padding:9px 10px 7px;
	
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.nobnt:hover{
	background:#0c0c0c;
}
</style>  
	  <?php 
        wp_enqueue_script('wp-pointer');
        wp_enqueue_style('wp-pointer');
    }
}