N°2847 - Dashboard: Improve grid alignments and design of the badge dashlet

This commit is contained in:
Molkobain
2020-10-09 18:42:53 +02:00
parent ecf678f39f
commit 64a96ac001
5 changed files with 41 additions and 22 deletions

View File

@@ -6,15 +6,13 @@
/* SCSS variables */
$ibo-dashlet--width: 100% !default;
$ibo-dashlet--width--is-inline: auto !default;
$ibo-dashlet--margin-bottom--is-last: 16px !default;
$ibo-dashlet--elements-spacing-x: 24px !default;
$ibo-dashlet--elements-spacing-y: 24px !default;
/* Rules */
.ibo-dashlet{
width: $ibo-dashlet--width;
&:not(:last-of-type){
margin-bottom: $ibo-dashlet--margin-bottom--is-last;
}
margin: calc(#{$ibo-dashlet--elements-spacing-y} / 2) calc(#{$ibo-dashlet--elements-spacing-x} / 2);
}
.ibo-dashlet--is-inline{
width: $ibo-dashlet--width--is-inline;