Files
wekan/client/components/activities/activities.css
T
Lauri Ojansivu 1896660a9a Render activity labels with matching card label badges
Preserve shared named palette classes, rounded badge styling and validated custom color contrast after sanitizing activity prose and rich label content. Global user CSS restrictions remain unchanged. Guard missing labels. Five positive/negative viewer checks passed; live browser rendering not verified.

Thanks to xet7.
2026-09-14 17:27:02 +03:00

76 lines
1.9 KiB
CSS

/* The board sidebar's Activities heading. It is the section's own control now -
a caret, the icon and the name, clicked to show the activities under it - so
it is a row of three things beside each other rather than a heading with a
toggle pushed to the far end. client/components/sidebar/sidebar.jade */
.activity-title {
margin: 0 10px 9px;
display: flex;
align-items: center;
gap: 0.4em;
cursor: pointer;
}
.reactions-popup .add-comment-reaction {
display: inline-block;
cursor: pointer;
border-radius: 10px;
font-size: calc(18px * var(--wekan-ui-font-scale, 1));
text-align: center;
line-height: 1.3;
width: 70px;
}
.reactions-popup .add-comment-reaction:hover {
background-color: #b0c4de;
}
.activities {
clear: both;
}
.activities .activity {
margin: 1px 0;
padding: 7px 0;
display: flex;
}
.activities .activity .member {
width: 56px;
height: 56px;
}
.activities .activity .activity-member {
font-weight: 700;
}
.activities .activity .activity-desc {
word-wrap: break-word;
overflow: hidden;
flex: 1;
align-self: center;
margin: 0;
margin-inline-start: 6px;
overflow: hidden;
word-break: break-word;
}
.activities .activity .activity-desc .activity-comment {
display: block;
border-radius: 6px;
background: #fff;
text-decoration: none;
box-shadow: 0 2px 3px rgba(0,0,0,0.2);
margin-top: 6px;
padding: 6px 10px;
}
.activities .activity .activity-desc .activity-checklist {
display: block;
border-radius: 3px;
background: #fff;
text-decoration: none;
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
margin-top: 5px;
padding: 5px;
}
.activities .activity .activity-desc .activity-meta {
font-size: 0.8em;
color: #999;
}
/* The label chip uses the same card-label palette/contrast and radius as cards.
Keep rich label content compact inside activity prose. */
.activity .activity-label .viewer { display: inline; min-height: 0; }
.activity .activity-label p { display: inline; margin: 0; }