mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4144 - Portal: Fix caselog fullscreen icon too small to be clickable
This commit is contained in:
@@ -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\\')"> </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"> </span>');
|
||||
$('#'+oEditor.id+'_toolbox .ibo-vendors-ckeditor--toolbar-fullscreen-button').on('click', function() {
|
||||
oEditor.execCommand('maximize');
|
||||
if ($(this).closest('.cke_maximized').length != 0)
|
||||
|
||||
1
css/backoffice/vendors/_ckeditor.scss
vendored
1
css/backoffice/vendors/_ckeditor.scss
vendored
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user