Enhance shortcode menu with Thickbox prompt

This commit is contained in:
Brian Miyaji
2014-07-12 02:33:53 +10:00
parent 89276205fd
commit bfb06c64bc
11 changed files with 900 additions and 230 deletions

View File

@@ -74,14 +74,35 @@
text-align: center;
}
.wp-media-buttons .add_sportspress span.wp-media-buttons-icon:before {
font: normal 20px/1 sportspress, dashicons;
/* Prefs */
.sp-prefs .button {
margin: 0 3px 4px 0;
padding: 0 7px 1px 5px;
}
.sp-prefs .button input[type=checkbox] {
background: transparent;
border: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.sp-prefs .button input[type=checkbox]:not(:checked):before {
float: left;
display: inline-block;
vertical-align: middle;
width: 16px;
font: 400 21px/1 dashicons;
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
content: '\f111';
content: '\f335';
margin: -3px 0 0 -4px;
color: #a00;
}
/* TinyMCE */
i.mce-i-sp_shortcodes_button:before, span.mce_sp_shortcodes_button:before {
font-family: 'sportspress';
speak: none;