Merge pull request #10987 from jibees/10979-white-label-trix-link-unlink-buttons-are-white-text-on-white-background

[White Label] Fix colors of custom content editor to have beautiful toolbar
This commit is contained in:
Filipe
2023-06-22 16:12:25 +01:00
committed by GitHub
3 changed files with 4 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
input[type="submit"],
input[type="button"],
button:not(.plain),
input[type="button"]:not(.trix-button),
button:not(.plain):not(.trix-button),
.button {
position: relative;
cursor: pointer;

View File

@@ -254,7 +254,8 @@ text-angular {
display: inline;
margin-right: 8px;
button {
padding: 5px 10px;
padding: 5px 10px !important; // Add `!important` to be more specific than the default button styles (app/webpacker/css/admin/components/buttons.scss)
// Hope this (text-angular) will be removed soon in order to use trix editor
margin-right: 0.25em;
}
button.active:not(:hover) {

View File

@@ -8,15 +8,3 @@ trix-editor {
margin-left: 1.5em;
}
}
trix-toolbar .trix-button {
background-color: transparent;
&:hover {
background-color: transparent;
}
&:disabled {
cursor: default;
}
}