[IMP] web: bs5 utility-classes, add border-width

Define "Bootstrap v5 ready" utility-classes to handle border-width.
These classes definitions can be safely removed after migrating to v5.

task-2842691

Part-of: odoo/odoo#91298
This commit is contained in:
xlu-odoo
2022-05-25 14:37:49 +02:00
parent f8ea8abf2e
commit 9b98352f5f
@@ -93,3 +93,22 @@ $position-properties: (
.fst-normal {
font-style: normal !important;
}
// == Border-width
//------------------------------------------------------------------------------
// "Bootstrap v5 ready" utility-classes to handle border-width.
// These classes definitions can be safely removed after migrating to BTS v5.
$border-widths: (
1: 1px,
2: 2px,
3: 3px,
4: 4px,
5: 5px
);
@each $length, $border-width in $border-widths {
.border-#{$length} {
border-width: $border-width !important;
}
}