Skip to content

Instantly share code, notes, and snippets.

@gingersoulrecords
Last active October 16, 2021 11:31
Show Gist options
  • Save gingersoulrecords/c97132df3c9a1467d7b17533e1331679 to your computer and use it in GitHub Desktop.
Save gingersoulrecords/c97132df3c9a1467d7b17533e1331679 to your computer and use it in GitHub Desktop.
CSS that makes the Beaver Builder toolbar actions more distinct than the defaults.
/* Paste all of this into your Global CSS file, or anywhere else you place CSS in your site. */
[data-action="discard"] {
background: none;
color: #CE3F40!important;
}
[data-action="discard"]:after {
content: "\00a0 changes ×";
}
[data-action="discard"]:hover{
background: #CE3F40!important;
}
[data-action="publish"] {
background: #059669!important;
}
[data-action="publish"]:hover {
background: #047857!important;
}
.fl-builder-publish-actions >.fl-builder-button-group {
gap: 4px;
}
.fl-builder-button-group > .fl-builder-button {
border-radius: 3px!important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment