N°4144 - Portal: Fix caselog fullscreen icon too small to be clickable

This commit is contained in:
Molkobain
2021-07-26 12:04:10 +02:00
parent d1fda1dbc6
commit 4410bf7e1f
6 changed files with 38 additions and 3 deletions

View File

@@ -577,7 +577,7 @@ JS
oEditor.on( 'instanceReady', function() {
if(!CKEDITOR.env.iOS && $('#'+oEditor.id+'_toolbox .ibo-vendors-ckeditor--toolbar-fullscreen-button').length == 0)
{
$('#'+oEditor.id+'_toolbox').append('<span class="ibo-vendors-ckeditor--toolbar-fullscreen-button" data-role="ibo-vendors-ckeditor--toolbar-fullscreen-button" title="$sToggleFullScreen" style="background-image:url(\\'$sAbsoluteUrlAppRoot/images/full-screen.png\\')">&nbsp;</span>');
$('#'+oEditor.id+'_toolbox').append('<span class="ibo-vendors-ckeditor--toolbar-fullscreen-button editor-fullscreen-button" data-role="ibo-vendors-ckeditor--toolbar-fullscreen-button" title="$sToggleFullScreen">&nbsp;</span>');
$('#'+oEditor.id+'_toolbox .ibo-vendors-ckeditor--toolbar-fullscreen-button').on('click', function() {
oEditor.execCommand('maximize');
if ($(this).closest('.cke_maximized').length != 0)

View File

@@ -37,6 +37,7 @@ $ibo-vendors-ckeditor--autocomplete-item-title--text-color: #3A3A3A !default;
background-position: center center !important;
background-repeat: no-repeat !important;
background-size: 100% !important;
background-image: url('../../../../images/full-screen.png') !important;
&:hover {
background-color: $ibo-vendors-ckeditor--toolbar-fullscreen-button--background-color--on-hover;

View File

@@ -1630,6 +1630,21 @@ table .group-actions {
.cke_toolbox_collapser, .cke_toolbox_collapser .cke_arrow {
cursor: pointer !important;
}
.cke_toolbox_collapser.cke_toolbox_collapser_min ~ .editor-fullscreen-button {
display: block;
width: 12px;
height: 11px;
border: 1px solid #ddd;
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;
background-image: url('../../../../../images/full-screen.png') !important;
}
.cke_toolbox_collapser.cke_toolbox_collapser_min ~ .editor-fullscreen-button:hover {
background-color: #E5E5E5;
}
/* DataTables : Selection inputs */
.dataTable.table th span.row_input, .dataTable.table td span.row_input {
display: inline-block;

View File

@@ -1772,6 +1772,23 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
.cke_toolbox_collapser .cke_arrow{
cursor: pointer !important;
}
.cke_toolbox_collapser.cke_toolbox_collapser_min ~ .editor-fullscreen-button {
display: block;
width: 12px;
height: 11px;
border: 1px solid $gray-lighter;
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;
background-image: url('../../../../../images/full-screen.png') !important;
&:hover {
background-color: #E5E5E5;
}
}
/* DataTables : Selection inputs */
.dataTable.table th span.row_input,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long