[SCI-3784] Small RTF improvements (#2061)

[SCI-3784] Small RTF improvements
This commit is contained in:
Jure Grabnar 2019-09-27 10:27:57 +02:00 committed by GitHub
commit 0c24210f6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,21 +44,36 @@
z-index: 5;
}
.mce-widget.mce-btn[aria-label="Restore last draft"] {
background: $brand-primary;
border-radius: 4px;
transition: $md-transaction;
.mce-widget.mce-btn {
border-color: $color-white !important;
i {
color: $color-white;
transition: $md-transaction;
&:not(.mce-active):hover,
&:not(.mce-active):active {
span,
i {
color: $brand-primary;
}
}
&.mce-disabled {
background: transparent;
&.mce-active,
&.mce-active:hover,
&.mce-active:active,
&.mce-active:focus {
background-color: $brand-primary;
span,
i {
color: inherit;
color: $color-white;
}
}
}
// Caret symbol has unneeded border-left
.mce-splitbtn:hover .mce-open {
border-left: $color-white !important;
}
// Selected item list should be $brand-primary
.mce-menu-item.mce-active.mce-menu-item-normal {
background-color: $brand-primary !important;
}