Skip to content

Instantly share code, notes, and snippets.

@SantiagoInteractive
Last active February 20, 2020 16:55
Show Gist options
  • Save SantiagoInteractive/a40333b1e420f67e1451 to your computer and use it in GitHub Desktop.
Save SantiagoInteractive/a40333b1e420f67e1451 to your computer and use it in GitHub Desktop.
Visual Render & Editor from WP TinyMCE on Codestar Framework Shortcodes - Stylesheet
.wpview-wrap {
width: 95%;
margin: 15px auto;
padding: 0;
border: none;
}
.wpview-wrap[data-mce-selected],
.wpview-wrap:hover {
border: none;
}
.wpview-wrap.wp-mce-view-show-toolbar .toolbar {
display: block;
}
.visual-shortcode {
background-color: #2ea2cc;
color: #fff;
font-size: 13px;
font-family: Arial, sans-serif;
text-transform: capitalize;
padding: 6px 0 5px 0;
}
.visual-shortcode span {
padding: 0 9px;
}
.wpview-wrap[data-mce-selected] .visual-shortcode,
.visual-shortcode:hover {
background-color: #ea5340;
}
.loading-placeholder {
height: 32px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment