mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Merge remote-tracking branch 'origin/support/3.2' into develop
# Conflicts: # .doc/itop-version-history.md
This commit is contained in:
@@ -195,8 +195,6 @@ $ibo-field--enable-bulk--checkbox--margin-left: $ibo-spacing-300 !default;
|
||||
/* Hack to force a table to fit its container without overflow (see N°2127) */
|
||||
/* Note that along with with, we now display a "expand" icon on large fields so we can have a better view of its content */
|
||||
.HTML {
|
||||
@extend .ibo-vendors-ckeditor--display-content;
|
||||
|
||||
table {
|
||||
table-layout: fixed;
|
||||
width: 100%;
|
||||
|
||||
@@ -18,7 +18,6 @@ $ibo-caselog-entry--main-information--decoration--width: 3px !default;
|
||||
display: none;
|
||||
}
|
||||
.ibo-activity-entry--main-information-content{
|
||||
@extend .ibo-vendors-ckeditor--display-content;
|
||||
}
|
||||
|
||||
/* Highlight color */
|
||||
|
||||
@@ -19,6 +19,9 @@ $ibo-hyperlink-text-decoration--on-hover: $ibo-hyperlink-text-decoration !defaul
|
||||
$ibo-hyperlink-color--on-active: $ibo-color-primary-900 !default;
|
||||
$ibo-hyperlink-text-decoration--on-active: $ibo-hyperlink-text-decoration !default;
|
||||
|
||||
$ibo-figure--spacing-x: 2em !default; /* Mind that this matches Bulma rule for figure */
|
||||
$ibo-figure--spacing-y: 2em !default;
|
||||
|
||||
/* CSS variables */
|
||||
:root{
|
||||
--ibo-hyperlink-color: #{$ibo-hyperlink-color};
|
||||
@@ -132,4 +135,22 @@ $ibo-hyperlink-text-decoration--on-active: $ibo-hyperlink-text-decoration !defau
|
||||
code:not(.hljs) {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0.25em;
|
||||
margin-bottom: 0.25em;
|
||||
}
|
||||
|
||||
figure {
|
||||
display: inline-block; /* So the figure doesn't take all width and can be aligned on the left */
|
||||
margin-left: $ibo-figure--spacing-x !important; /* !important to overload the CKE inline style */
|
||||
margin-right: $ibo-figure--spacing-x !important; /* !important to overload the CKE inline style */
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-bottom: $ibo-figure--spacing-y !important; /* !important to overload the CKE inline style */
|
||||
}
|
||||
&:not(:first-child) {
|
||||
margin-top: $ibo-figure--spacing-y !important; /* !important to overload the CKE inline style */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
36
css/backoffice/vendors/_ckeditor.scss
vendored
36
css/backoffice/vendors/_ckeditor.scss
vendored
@@ -19,14 +19,17 @@ $ibo-vendors-ckeditor--autocomplete-item-image--border: 1px solid $ibo-color-gre
|
||||
$ibo-vendors-ckeditor--autocomplete-item-title--text-color: #3A3A3A !default;
|
||||
|
||||
/* - Following SCSS variables are only there to overlaod the CSS3 variables of CKEditor (see `src/resources/styles/default-theme.css` in CKEditor) */
|
||||
$ibo-vendors-ckeditor--ck-color-list-button-on-background: $ibo-color-grey-200;
|
||||
$ibo-vendors-ckeditor--ck-color-list-button-on-background-focus: $ibo-color-grey-200;
|
||||
$ibo-vendors-ckeditor--ck-color-list-button-hover-background: $ibo-color-grey-200;
|
||||
$ibo-vendors-ckeditor--ck-color-list-button-on-text: $ibo-color-grey-900;
|
||||
$ibo-vendors-ckeditor--ck-text-tiny-font-size: $ibo-font-size-20;
|
||||
$ibo-vendors-ckeditor--ck-text-small-font-size: $ibo-font-size-50;
|
||||
$ibo-vendors-ckeditor--ck-text-big-font-size: $ibo-font-size-200;
|
||||
$ibo-vendors-ckeditor--ck-text-huge-font-size: $ibo-font-size-350;
|
||||
$ibo-vendors-ckeditor--ck-color-list-button-on-background: $ibo-color-grey-200 !default;
|
||||
$ibo-vendors-ckeditor--ck-color-list-button-on-background-focus: $ibo-color-grey-200 !default;
|
||||
$ibo-vendors-ckeditor--ck-color-list-button-hover-background: $ibo-color-grey-200 !default;
|
||||
$ibo-vendors-ckeditor--ck-color-list-button-on-text: $ibo-color-grey-900 !default;
|
||||
|
||||
$ibo-vendors-ckeditor--ck-text-tiny-font-size: $ibo-font-size-20 !default;
|
||||
$ibo-vendors-ckeditor--ck-text-small-font-size: $ibo-font-size-50 !default;
|
||||
$ibo-vendors-ckeditor--ck-text-big-font-size: $ibo-font-size-200 !default;
|
||||
$ibo-vendors-ckeditor--ck-text-huge-font-size: $ibo-font-size-350 !default;
|
||||
|
||||
$ibo-vendors-ckeditor--ck-color-image-caption-text: $ibo-color-grey-900 !default;
|
||||
|
||||
/* CSS3 variables */
|
||||
.ck {
|
||||
@@ -34,10 +37,13 @@ $ibo-vendors-ckeditor--ck-text-huge-font-size: $ibo-font-size-350;
|
||||
--ck-color-list-button-on-background-focus: #{$ibo-vendors-ckeditor--ck-color-list-button-on-background-focus};
|
||||
--ck-color-list-button-hover-background: #{$ibo-vendors-ckeditor--ck-color-list-button-hover-background};
|
||||
--ck-color-list-button-on-text: #{$ibo-vendors-ckeditor--ck-color-list-button-on-text};
|
||||
|
||||
--ck-text-tiny-font-size: #{$ibo-vendors-ckeditor--ck-text-tiny-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-huge-font-size: #{$ibo-vendors-ckeditor--ck-text-huge-font-size};
|
||||
|
||||
--ck-color-image-caption-text: #{$ibo-vendors-ckeditor--ck-color-image-caption-text};
|
||||
}
|
||||
|
||||
/* Base style */
|
||||
@@ -132,17 +138,3 @@ ul.cke_autocomplete_panel{
|
||||
@extend %ibo-font-weight-700;
|
||||
}
|
||||
}
|
||||
|
||||
.ibo-vendors-ckeditor--display-content{
|
||||
.cke_editable{
|
||||
line-height: 1.4;
|
||||
}
|
||||
figure{
|
||||
border: solid 1px #ccc;
|
||||
border-radius: 2px;
|
||||
}
|
||||
p{
|
||||
margin-top: 0.25em;
|
||||
margin-bottom: 0.25em;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user