mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°3882 - Refactor display of field badges (meta enums / enums) in lists to match original mockups
This commit is contained in:
@@ -77,11 +77,6 @@ $ibo-fieldsorter--selected--background-color: $ibo-color-blue-200 !default;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.ibo-datatable .ibo-field-badge {
|
||||
margin: 0;
|
||||
padding: 0px 4px;
|
||||
}
|
||||
|
||||
// Datatables configure this list dialog
|
||||
// Could be in a separate component, but is only used in datatables as of now
|
||||
|
||||
|
||||
@@ -10,10 +10,15 @@ $ibo-field-badge--border-radius: $ibo-border-radius-300 !default;
|
||||
$ibo-field-badge--label--spacing-x: 0.5rem !default;
|
||||
|
||||
.ibo-field-badge {
|
||||
display: inline-flex;
|
||||
align-items: baseline;
|
||||
margin: $ibo-field-badge--margin;
|
||||
padding: $ibo-field-badge--padding;
|
||||
border-radius: $ibo-field-badge--border-radius;
|
||||
display: inline;
|
||||
|
||||
/* Mind the use of these "generic" variables that allow to automatically use the right colors for a field and its value depending on which class will be append to it (see those defined in the DM) */
|
||||
background-color: var(--ibo-main-color);
|
||||
color: var(--ibo-complementary-color);
|
||||
}
|
||||
|
||||
.ibo-field-badge--decoration + .ibo-field-badge--label {
|
||||
|
||||
Reference in New Issue
Block a user