Botão Excluir

This commit is contained in:
2025-08-12 08:29:33 -03:00
parent 605fda213f
commit b773ea969c
3 changed files with 56 additions and 5 deletions

View File

@@ -1,4 +1,15 @@
/* Simple File List Styles */
:root {
--azul-principal: #006494;
--azul-brilhante: #00a6fb;
--azul-claro: #0582ca;
--azul-escuro: #003554;
--verde: #4caf50;
--cinza: #e0e0e0;
--borda-radius: 4px;
--sombra: 0 2px 10px rgba(0, 0, 0, 0.05);
--transicao: all 0.2s ease;
}
.sfl-upload-container {
background: #fff;
border-radius: var(--borda-radius);
@@ -224,6 +235,21 @@
margin-right: 4px;
}
.sfl-action-link[data-action="excluir"]::before {
font-family: "Dashicons";
content: "\f182";
font-size: 1.1em;
margin-right: 4px;
}
.sfl-action-link.sfl-delete-file {
background-color: #d63638;
}
.sfl-action-link.sfl-delete-file:hover {
background-color: #b32d2e;
}
/* Drag and drop styles */
.sfl-upload-area.drag-over {
background-color: rgba(0, 166, 251, 0.1);
@@ -275,4 +301,20 @@
color: #222; /* preto para o texto das opções */
background: #fff;
font-weight: 500;
}
/* Estilo para o botão de excluir no painel admin */
button.sfl-delete-file {
background-color: #d63638;
color: white;
border: none;
border-radius: var(--borda-radius);
padding: 7px 16px;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s;
}
button.sfl-delete-file:hover {
background-color: #b32d2e;
}