mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
Move some CSS vars to ckeditor, align variable overload in portal and backoffice
This commit is contained in:
@@ -38,13 +38,9 @@ $ibo-vendors-ckeditor--ck-mentions--item--padding-y: $ibo-spacing-200 !default;
|
|||||||
--ck-text-small-font-size: #{$ibo-vendors-ckeditor--ck-text-small-font-size};
|
--ck-text-small-font-size: #{$ibo-vendors-ckeditor--ck-text-small-font-size};
|
||||||
--ck-text-big-font-size: #{$ibo-vendors-ckeditor--ck-text-big-font-size};
|
--ck-text-big-font-size: #{$ibo-vendors-ckeditor--ck-text-big-font-size};
|
||||||
--ck-text-huge-font-size: #{$ibo-vendors-ckeditor--ck-text-huge-font-size};
|
--ck-text-huge-font-size: #{$ibo-vendors-ckeditor--ck-text-huge-font-size};
|
||||||
--ck-content-font-size: #{$ibo-font-size-100} !important; /* Important to overload the CKE native rule */
|
|
||||||
--ck-content-font-family: #{$ibo-font-family-base}, #{$ibo-font-family-fallbacks};
|
--ck-content-font-family: #{$ibo-font-family-base}, #{$ibo-font-family-fallbacks};
|
||||||
|
|
||||||
--ck-color-image-caption-text: #{$ibo-vendors-ckeditor--ck-color-image-caption-text};
|
--ck-color-image-caption-text: #{$ibo-vendors-ckeditor--ck-color-image-caption-text};
|
||||||
--ck-icon-size: 1.3rem;
|
|
||||||
--ck-ui-component-min-height: 1rem;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Base style */
|
/* Base style */
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -18,7 +18,6 @@
|
|||||||
@import 'common/main.scss';
|
@import 'common/main.scss';
|
||||||
@import 'variables.scss';
|
@import 'variables.scss';
|
||||||
@import "utils/all";
|
@import "utils/all";
|
||||||
@import '../node_modules/ckeditor5-itop-build/build/styles/compiled-theme';
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Combodo portal template v1.0.0
|
* Combodo portal template v1.0.0
|
||||||
@@ -541,11 +540,6 @@ table .group-actions a.glyphicon-menu-hamburger{
|
|||||||
/*********/
|
/*********/
|
||||||
/* Forms */
|
/* Forms */
|
||||||
/*********/
|
/*********/
|
||||||
/* - Ensure HTML contents are displayed like in CKEditor */
|
|
||||||
.ipb-is-html-content {
|
|
||||||
@extend .ck-content;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Note: We don't put the .form_field selector as it must work for read-only */
|
/* Note: We don't put the .form_field selector as it must work for read-only */
|
||||||
.form-control-static img{
|
.form-control-static img{
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
@import "datatables";
|
@import "datatables";
|
||||||
|
@import "ckeditor";
|
||||||
9
datamodels/2.x/itop-portal-base/portal/public/css/vendors/_ckeditor.scss
vendored
Normal file
9
datamodels/2.x/itop-portal-base/portal/public/css/vendors/_ckeditor.scss
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
@import '../node_modules/ckeditor5-itop-build/build/styles/compiled-theme';
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--ck-content-font-family: #{$common-font-family-base}, #{$common-font-family-fallbacks};
|
||||||
|
}
|
||||||
|
|
||||||
|
.ipb-is-html-content {
|
||||||
|
@extend .ck-content;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user