Feature: иконки карандаш и красный крестик вместо надписей Изменить/Удалить в списках

Made-with: Cursor
This commit is contained in:
2026-02-26 16:50:51 +00:00
parent daf93d81b9
commit 7811253056
7 changed files with 57 additions and 15 deletions

View File

@@ -247,6 +247,43 @@ body {
white-space: nowrap;
}
/* Иконки действий в списках: карандаш (редактировать), крестик (удалить) */
.ws-table .ws-btn-icon-edit,
.ws-table .ws-btn-icon-delete {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
padding: 0;
margin: 0 2px;
border-radius: 6px;
text-decoration: none;
vertical-align: middle;
}
.ws-table .ws-btn-icon-edit:hover {
background: rgba(13, 173, 187, 0.2);
}
.ws-table .ws-btn-icon-edit svg {
width: 16px;
height: 16px;
fill: var(--ws-accent);
}
.ws-table .ws-btn-icon-edit:hover svg {
fill: var(--ws-accent-hover);
}
.ws-table .ws-btn-icon-delete:hover {
background: rgba(239, 83, 80, 0.2);
}
.ws-table .ws-btn-icon-delete svg {
width: 16px;
height: 16px;
fill: var(--ws-danger);
}
.ws-table .ws-btn-icon-delete:hover svg {
fill: var(--ws-danger-dark);
}
.ws-table .ws-link {
color: var(--ws-accent);
text-decoration: none;