N°4283 Centralize blocks spacing between each other in block-integration

This commit is contained in:
Stephen Abello
2021-11-24 14:55:46 +01:00
parent ccf1bba235
commit 9dac061b04
40 changed files with 249 additions and 81 deletions

View File

@@ -0,0 +1,7 @@
/*
* @copyright Copyright (C) 2010-2021 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
*/
@import "input-with-label";
@import "input-within-datatable";

View File

@@ -0,0 +1,14 @@
/*
* @copyright Copyright (C) 2010-2021 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
*/
$ibo-input--spacing-left--with-label: $ibo-spacing-300 !default;
/* Input reset */
/* - Standard spacing between label and input */
select + label, label + select, label > select,
input + label, label + input, label > input {
margin-left: $ibo-input--spacing-left--with-label;
}

View File

@@ -0,0 +1,24 @@
/*
* @copyright Copyright (C) 2010-2021 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
*/
$ibo-input-within-datatable--attribute-set-item--padding-x: $ibo-input-set--item--padding-x !default;
$ibo-input-within-datatable--attribute-set-item--padding-y: $ibo-input-set--item--padding-y !default;
$ibo-input-within-datatable--attribute-set-item--box-shadow: $ibo-elevation-100 !default;
$ibo-input-within-datatable--attribute-set-item--siblings-spacing: 0.5rem !default;
.ibo-datatable {
.attribute-set {
.attribute-set-item {
display: inline;
margin: 0;
padding: $ibo-input-within-datatable--attribute-set-item--padding-y $ibo-input-within-datatable--attribute-set-item--padding-x;
box-shadow: $ibo-input-within-datatable--attribute-set-item--box-shadow;
+ .attribute-set-item {
margin-left: $ibo-input-within-datatable--attribute-set-item--siblings-spacing;
}
}
}
}