fix(css): improve display of category colors (Calendar & Mail)

In the list view, we now use color dots instead of stripes.

Fixes #5337
This commit is contained in:
Francis Lachapelle
2021-06-07 15:03:39 -04:00
parent 54548c550f
commit 322226bd81
5 changed files with 33 additions and 10 deletions
+16 -1
View File
@@ -38,7 +38,22 @@ html * {
top: 0;
bottom: 0;
width: 10%;
z-index: -1;
}
.sg-category-dot {
display: inline-block;
height: .9em;
width: .9em;
margin-bottom: -1px; // border width
margin-right: -.3em; // 1 third overlap
border-radius: 50%;
border-width: 1px;
border-style: solid;
&:last-child {
margin-right: .3em;
}
}
.sg-category-dot-container {
display: inline-block;
}
// Group fields of a form
@@ -18,6 +18,10 @@
content: '';
width: $mg;
}
.sg-category-dot {
border-color: rgba(255, 255, 255, .9);
}
}
// Container for the linear progress bar of the quota
@@ -407,6 +407,7 @@ $quarter_height: 10px;
}
.sg-category {
z-index: -1;
&:first-child {
border-top-right-radius: $block_radius;
border-bottom-right-radius: $block_radius;