mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°4283 Replace hardcoded spacing values by SCSS spacing variables
This commit is contained in:
@@ -12,13 +12,13 @@ $ibo-attachment--datatable--first-column--line-height: 0px !default;
|
||||
|
||||
$ibo-attachment--drag-in--border: 2px $ibo-color-grey-400 dashed !default;
|
||||
$ibo-attachment--upload-file--drop-zone-hint--max-height: 200px !default;
|
||||
$ibo-attachment--upload-file--drop-zone-hint--margin: 22px 0px !default;
|
||||
$ibo-attachment--upload-file--drop-zone-hint--margin: 22px $ibo-spacing-0 !default;
|
||||
$ibo-attachment--upload-file--drop-zone-hint--color: $ibo-color-grey-700 !default;
|
||||
$ibo-attachment--upload-file--drop-zone-hint--image--margin-bottom: 5px !default;
|
||||
|
||||
$ibo-attachment--tab-header--drop-in--background-color: $ibo-color-blue-200 !default;
|
||||
$ibo-attachment--tab-header--drop-in--color: $ibo-color-blue-800 !default;
|
||||
$ibo-attachment--tab-header--drop-in--icon--padding-left: 8px !default;
|
||||
$ibo-attachment--tab-header--drop-in--icon--padding-left: $ibo-spacing-300 !default;
|
||||
$ibo-attachment--tab-header--drop-in--icon--content: "\f382" !default;
|
||||
$ibo-attachment--tab-header--drop-in--icon--color: $ibo-color-blue-600 !default;
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@ $ibo-audit--audit-category--panel--body--padding-y: 10px !default;
|
||||
$ibo-audit--audit-category--panel--body--padding-x: $ibo-panel--body--padding-x !default;
|
||||
|
||||
$ibo-audit--dashboard--padding-y: 18px !default;
|
||||
$ibo-audit--dashboard--padding-x: 0 !default;
|
||||
$ibo-audit--dashboard--padding-x: $ibo-spacing-0 !default;
|
||||
|
||||
$ibo-audit--first-error-alert--margin-top: 24px !default;
|
||||
$ibo-audit--first-error-alert--margin-top: $ibo-spacing-600 !default;
|
||||
|
||||
$ibo-audit--audit-line--csv-download--height: 2.5em !default;
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@ $ibo-body-background-color: $ibo-color-white-200 !default;
|
||||
|
||||
$ibo-page-container--elements-padding-x: 36px !default;
|
||||
|
||||
$ibo-main-content--padding-top: 16px !default;
|
||||
$ibo-main-content--padding-bottom: 16px !default;
|
||||
$ibo-main-content--padding-top: $ibo-spacing-500 !default;
|
||||
$ibo-main-content--padding-bottom: $ibo-spacing-500 !default;
|
||||
|
||||
/* CSS variables (can be changed directly from the browser) */
|
||||
:root{
|
||||
|
||||
@@ -9,7 +9,7 @@ $ibo-data-synchro-source--replicas-table--cell--padding: 10px !default;
|
||||
$ibo-data-synchro-source--replicas-table--cell--min-width: 200px !default;
|
||||
$ibo-data-synchro-source--replicas-table--cell--arrow--min-width: 100px !default;
|
||||
|
||||
$ibo-data-synchro-source--replicas-status--warning--margin: 0 5px 0 8px !default;
|
||||
$ibo-data-synchro-source--replicas-status--warning--margin: $ibo-spacing-0 5px $ibo-spacing-0 $ibo-spacing-300 !default;
|
||||
|
||||
$ibo-data-synchro-source--replicas-status--color: (
|
||||
'grey': (
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
$ibo-datamodel-viewer--parent--spacer--padding-y: 0 !default;
|
||||
$ibo-datamodel-viewer--parent--spacer--padding-x: 8px !default;
|
||||
$ibo-datamodel-viewer--parent--spacer--padding-y: $ibo-spacing-0 !default;
|
||||
$ibo-datamodel-viewer--parent--spacer--padding-x: $ibo-spacing-300 !default;
|
||||
|
||||
$ibo-datamodel-viewer--attributes-table--first-column--width: 3px !default;
|
||||
|
||||
@@ -13,7 +13,7 @@ $ibo-datamodel-viewer--origin-cell--border-radius: $ibo-border-radius-full !defa
|
||||
|
||||
$ibo-datamodel-viewer--classes-list--height: 100% !default;
|
||||
$ibo-datamodel-viewer--classes-list--max-width: 350px !default;
|
||||
$ibo-datamodel-viewer--classes-list--padding-left: 24px !default;
|
||||
$ibo-datamodel-viewer--classes-list--padding-left: $ibo-spacing-600 !default;
|
||||
|
||||
$ibo-datamodel-viewer--lifecycle--code--color: $ibo-color-grey-700 !default;
|
||||
$ibo-datamodel-viewer--lifecycle--stimuli--color: $ibo-color-blue-900 !default;
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
$ibo-global-search--result--title--image--max-height: 48px !default;
|
||||
$ibo-global-search--result--title--image--max-height: $ibo-spacing-800 !default;
|
||||
$ibo-global-search--result--title--image--max-width: $ibo-global-search--result--title--image--max-height !default;
|
||||
$ibo-global-search--result--title--image--margin-right: 8px !default;
|
||||
$ibo-global-search--result--title--image--margin-right: $ibo-spacing-300 !default;
|
||||
|
||||
.ibo-global-search--result--title{
|
||||
@extend %ibo-font-ral-nor-150;
|
||||
|
||||
@@ -15,9 +15,9 @@ $ibo-simple-graph--grouping-threshold-additional-context--container--margin-righ
|
||||
$ibo-simple-graph--grouping-threshold-additional-context--content--margin-right: 1em !default;
|
||||
|
||||
$ibo-impact-analysis--graph-zoom-slider--width: 10em !default;
|
||||
$ibo-impact-analysis--impacted-objects-lists--elements-spacing: 24px !default;
|
||||
$ibo-impact-analysis--impacted-objects-lists--elements-spacing: $ibo-spacing-600 !default;
|
||||
|
||||
$ibo-display-graph--search-box--criterion--content--padding-y: 0 !default;
|
||||
$ibo-display-graph--search-box--criterion--content--padding-y: $ibo-spacing-0 !default;
|
||||
$ibo-display-graph--search-box--criterion--content--padding-x: 15px !default;
|
||||
|
||||
$ibo-display-graph--search-box--criterion--content--checkbox--margin-right: 10px !default;
|
||||
|
||||
@@ -7,7 +7,7 @@ $ibo-preferences--panel--margin-x: auto !default;
|
||||
|
||||
$ibo-preferences--user-preferences--picture-placeholder--image--diameter: 54px !default;
|
||||
$ibo-preferences--user-preferences--picture-placeholder--image--border-radius: $ibo-border-radius-full !default;
|
||||
$ibo-preferences--user-preferences--picture-placeholder--image--margin: 12px !default;
|
||||
$ibo-preferences--user-preferences--picture-placeholder--image--margin: $ibo-spacing-400 !default;
|
||||
$ibo-preferences--user-preferences--picture-placeholder--image--background-color: $ibo-color-grey-300 !default;
|
||||
|
||||
$ibo-preferences--user-preferences--picture-placeholder--image--active--border-color: $ibo-color-blue-800;
|
||||
@@ -19,8 +19,8 @@ $ibo-keyboard-shortcut--input--color: $ibo-color-grey-800 !default;
|
||||
$ibo-keyboard-shortcut--input--background-color: transparent !default;
|
||||
$ibo-keyboard-shortcut--input--border-color: $ibo-color-grey-500 !default;
|
||||
$ibo-keyboard-shortcut--input--border-radius: $ibo-border-radius-300 !default;
|
||||
$ibo-keyboard-shortcut--input--padding-y: 2px !default;
|
||||
$ibo-keyboard-shortcut--input--padding-x: 4px !default;
|
||||
$ibo-keyboard-shortcut--input--padding-y: $ibo-spacing-100 !default;
|
||||
$ibo-keyboard-shortcut--input--padding-x: $ibo-spacing-200 !default;
|
||||
$ibo-keyboard-shortcut--input--margin-bottom: 5px !default;
|
||||
|
||||
$ibo-keyboard-shortcut--input--is-focus--color: $ibo-color-primary-800 !default;
|
||||
|
||||
Reference in New Issue
Block a user