feat: add pause and delete actions for users
This commit is contained in:
34
src/app.css
34
src/app.css
@@ -133,7 +133,8 @@ button {
|
||||
|
||||
button,
|
||||
.button-secondary,
|
||||
.copy-button {
|
||||
.copy-button,
|
||||
.button-danger {
|
||||
height: 36px;
|
||||
padding: 0 12px;
|
||||
border-radius: 8px;
|
||||
@@ -150,6 +151,19 @@ button,
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.button-danger {
|
||||
border-color: #ef4444;
|
||||
background: #ef4444;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.button-small {
|
||||
min-width: 72px;
|
||||
height: 32px;
|
||||
padding: 0 10px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.copy-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -499,6 +513,15 @@ tbody tr:last-child td {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.status-pill.paused {
|
||||
color: #475569;
|
||||
}
|
||||
|
||||
.row-actions {
|
||||
display: inline-flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin: 0;
|
||||
padding: 14px;
|
||||
@@ -530,10 +553,19 @@ pre {
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.confirm-card {
|
||||
width: min(100%, 400px);
|
||||
}
|
||||
|
||||
.modal-form {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.confirm-copy {
|
||||
margin: 0;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.modal-preview {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
|
||||
Reference in New Issue
Block a user