2020-08-19 05:14:28 +02:00
|
|
|
.badge-wrapper {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
font-weight: bold;
|
|
|
|
white-space: nowrap;
|
|
|
|
position: relative;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: baseline;
|
|
|
|
|
|
|
|
.badge-category {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: baseline;
|
2021-02-24 08:43:35 +01:00
|
|
|
|
2020-08-19 05:14:28 +02:00
|
|
|
.category-name {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2021-02-24 08:43:35 +01:00
|
|
|
|
2020-08-19 05:14:28 +02:00
|
|
|
.d-icon {
|
|
|
|
margin-right: 3px;
|
|
|
|
width: 0.74em;
|
|
|
|
height: 0.74em;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bullet {
|
2021-02-18 04:40:59 +01:00
|
|
|
margin-right: 8px;
|
2021-02-24 08:43:35 +01:00
|
|
|
|
2020-08-19 05:14:28 +02:00
|
|
|
span.badge-category {
|
2020-08-19 06:41:20 +02:00
|
|
|
color: var(--primary-high);
|
2020-08-19 05:14:28 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
.extra-info-wrapper & {
|
|
|
|
color: $header-primary;
|
|
|
|
}
|
|
|
|
}
|
2021-02-24 08:43:35 +01:00
|
|
|
|
2020-08-19 05:14:28 +02:00
|
|
|
.badge-category-parent-bg,
|
|
|
|
.badge-category-bg {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
width: 9px;
|
|
|
|
height: 9px;
|
|
|
|
margin-right: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2021-02-24 08:43:35 +01:00
|
|
|
|
2020-08-19 05:14:28 +02:00
|
|
|
.badge-category-parent-bg {
|
|
|
|
width: 5px;
|
|
|
|
margin-right: 0;
|
|
|
|
+ .badge-category-bg {
|
|
|
|
width: 5px;
|
|
|
|
}
|
|
|
|
}
|
2021-02-24 08:43:35 +01:00
|
|
|
|
2020-08-19 05:14:28 +02:00
|
|
|
.d-icon {
|
2020-08-19 06:41:20 +02:00
|
|
|
color: var(--primary-medium);
|
2020-08-19 05:14:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.box {
|
|
|
|
margin-right: 5px;
|
|
|
|
padding: 2px 4px 2px 4px;
|
|
|
|
display: inline-flex;
|
2021-02-24 08:43:35 +01:00
|
|
|
|
2020-08-19 05:14:28 +02:00
|
|
|
span {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2021-02-24 08:43:35 +01:00
|
|
|
|
2020-08-19 05:14:28 +02:00
|
|
|
&.badge-category-bg,
|
|
|
|
&.badge-category-parent-bg {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-category-parent-bg {
|
|
|
|
width: calc(100% - 5px);
|
2021-02-24 08:43:35 +01:00
|
|
|
|
2020-08-19 05:14:28 +02:00
|
|
|
& + .badge-category-bg {
|
|
|
|
left: 5px;
|
|
|
|
width: calc(100% - 5px);
|
2021-02-24 08:43:35 +01:00
|
|
|
|
2020-08-19 05:14:28 +02:00
|
|
|
& + .badge-category {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-category {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
2021-02-24 08:43:35 +01:00
|
|
|
|
2020-08-19 05:14:28 +02:00
|
|
|
+ .topic-header-extra {
|
|
|
|
padding: 2px 4px 2px 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bar {
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
|
|
span.badge-category {
|
2020-08-19 06:41:20 +02:00
|
|
|
color: var(--primary-high);
|
2020-08-19 05:14:28 +02:00
|
|
|
padding: 1px 3px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
.extra-info-wrapper & {
|
|
|
|
color: $header-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-category-parent-bg,
|
|
|
|
.badge-category-bg {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 1px;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: "\a0";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.none {
|
2020-08-19 06:41:20 +02:00
|
|
|
color: var(--primary-high);
|
2020-08-19 05:14:28 +02:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2021-02-24 08:43:35 +01:00
|
|
|
}
|