mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
Replace the counterintuitive unlabeled material toggle switch on the card details Activities panel with an eye / eye-slash icon toggle: open eye means activities are shown, crossed eye means they are hidden. Clicking flips the state, the icon reflects the current visibility, and the tooltip states the action (Show activities / Hide activities). The same eye pattern from the login/register password-visibility toggle is reused for consistency. For consistency the board sidebar Activities toggle (same showActivities state) is switched from the check / empty-square icon to the same eye / eye-slash icon toggle.
79 lines
1.8 KiB
CSS
79 lines
1.8 KiB
CSS
.activity-title {
|
|
margin: 0 0.7vw 1vh;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.reactions-popup .add-comment-reaction {
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
border-radius: 0.7vw;
|
|
font-size: clamp(18px, 4vw, 22px);
|
|
text-align: center;
|
|
line-height: 1.3;
|
|
width: 5vw;
|
|
}
|
|
.reactions-popup .add-comment-reaction:hover {
|
|
background-color: #b0c4de;
|
|
}
|
|
/* Eye / eye-slash icon toggle for showing/hiding activities. Open eye
|
|
(.eye-icon) = activities shown; crossed eye (.eye-slash-icon) = hidden.
|
|
Matches the password-visibility toggle used on the login/register pages. */
|
|
.activities-eye-toggle {
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4em;
|
|
text-decoration: none;
|
|
}
|
|
.activities-eye-toggle .eye-icon,
|
|
.activities-eye-toggle .eye-slash-icon {
|
|
line-height: 1;
|
|
}
|
|
.activities {
|
|
clear: both;
|
|
}
|
|
.activities .activity {
|
|
margin: 0.1vh 0;
|
|
padding: 0.8vh 0;
|
|
display: flex;
|
|
}
|
|
.activities .activity .member {
|
|
width: 4vw;
|
|
height: 4vw;
|
|
}
|
|
.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: 0.4vw;
|
|
overflow: hidden;
|
|
word-break: break-word;
|
|
}
|
|
.activities .activity .activity-desc .activity-comment {
|
|
display: block;
|
|
border-radius: 0.4vw;
|
|
background: #fff;
|
|
text-decoration: none;
|
|
box-shadow: 0 0.2vh 0.3vh rgba(0,0,0,0.2);
|
|
margin-top: 0.7vh;
|
|
padding: 0.7vh 0.7vw;
|
|
}
|
|
.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;
|
|
}
|