Elastic: Small HTML editor style fixes

pull/5578/merge
Aleksander Machniak 7 years ago
parent 8ed053ccb7
commit 15650a4f2d

@ -35,6 +35,12 @@
box-shadow: none !important; box-shadow: none !important;
} }
.mce-btn {
&.mce-active {
background: @color-btn-secondary-background !important;
}
}
.mce-window { .mce-window {
&.mce-container { &.mce-container {
border: 0; border: 0;
@ -140,6 +146,28 @@
} }
} }
.mce-btn {
.btn-secondary;
border-radius: .3rem;
border-color: transparent;
&:focus {
border-color: transparent !important;
color: @color-btn-secondary;
background: @color-btn-secondary-background;
}
&.mce-primary {
.btn-primary;
}
button:hover,
button {
color: @color-btn-secondary;
padding: .5rem .75rem;
}
}
.mce-btn:last-child button:before { .mce-btn:last-child button:before {
content: @fa-var-times; content: @fa-var-times;
} }
@ -408,6 +436,10 @@
border-bottom-color: transparent; border-bottom-color: transparent;
border-bottom: 0; border-bottom: 0;
} }
&:focus {
outline: unset !important;
}
} }
} }
@ -417,33 +449,6 @@
} }
} }
.mce-btn {
&.mce-active {
background: @color-btn-secondary-background !important;
}
.mce-window .mce-foot & {
.btn-secondary;
border-radius: .3rem;
border-color: transparent;
&:focus {
border-color: transparent !important;
color: @color-btn-secondary;
background: @color-btn-secondary-background;
}
&.mce-primary {
.btn-primary;
}
button:hover,
button {
color: @color-btn-secondary;
padding: .5rem .75rem;
}
}
}
// Menus and popovers, e.g. color selector, emoticons selector, font selector // Menus and popovers, e.g. color selector, emoticons selector, font selector
.mce-menu, .mce-menu,
@ -508,6 +513,10 @@
background: transparent; background: transparent;
} }
&:last-child {
margin: 0;
}
button { button {
color: @color-font; color: @color-font;
padding: .45rem; padding: .45rem;

Loading…
Cancel
Save