N°3547 - Fix fullscreen button on HTML field not displaying correctly

This commit is contained in:
Molkobain
2020-12-15 11:35:04 +01:00
parent 3cce93be95
commit 64fca3306f
6 changed files with 4321 additions and 3807 deletions

View File

@@ -3,6 +3,11 @@
* @license http://opensource.org/licenses/AGPL-3.0
*/
$ibo-vendors-ckeditor--toolbar-fullscreen-button--background-color--on-hover: #CCC !default;
$ibo-vendors-ckeditor--toolbar-fullscreen-button--width: 12px !default;
$ibo-vendors-ckeditor--toolbar-fullscreen-button--height: 11px !default;
$ibo-vendors-ckeditor--toolbar-fullscreen-button--border: 1px #A6A6A6 solid !default;
$ibo-vendors-highlightjs--padding: 0.9rem !default;
$ibo-vendors-highlightjs--border-radius: $ibo-border-radius-300 !default;
@@ -17,6 +22,27 @@ $ibo-vendors-ckeditor--autocomplete-item-image--border: 1px solid $ibo-color-gre
$ibo-vendors-ckeditor--autocomplete-item-title--text-color: #3A3A3A !default;
/* Fullscreen button (Combodo custom) */
.ibo-vendors-ckeditor--toolbar-fullscreen-button {
display: none;
}
.cke_toolbox_collapser.cke_toolbox_collapser_min ~ .ibo-vendors-ckeditor--toolbar-fullscreen-button {
display: block;
width: $ibo-vendors-ckeditor--toolbar-fullscreen-button--width;
height: $ibo-vendors-ckeditor--toolbar-fullscreen-button--height;
border: $ibo-vendors-ckeditor--toolbar-fullscreen-button--border;
cursor: pointer;
/* !important so it overrides the .cke_reset_all style */
background-position: center center !important;
background-repeat: no-repeat !important;
background-size: 100% !important;
&:hover {
background-color: $ibo-vendors-ckeditor--toolbar-fullscreen-button--background-color--on-hover;
}
}
/* Highlight JS */
.hljs {
padding: $ibo-vendors-highlightjs--padding !important;