Files
parceiros/css/parceiros.css

308 lines
5.4 KiB
CSS
Raw Permalink Normal View History

2025-10-01 23:56:12 -03:00
/* Sistema de Parceiros - Estilos Modernos */
.parceiros-container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.parceiros-filtros {
background: #f8f9fa;
padding: 20px;
border-radius: 10px;
margin-bottom: 30px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.filtro-grupo {
margin-bottom: 15px;
}
.filtro-grupo label {
display: block;
margin-bottom: 5px;
font-weight: 600;
color: #333;
}
.filtro-grupo input,
.filtro-grupo select {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 14px;
}
.botao-filtrar {
background: #007cba;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
transition: background 0.3s;
}
.botao-filtrar:hover {
background: #005a87;
}
.grid-parceiros {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 25px;
margin-top: 30px;
}
.card-parceiro {
background: white;
border-radius: 12px;
padding: 25px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
border: 1px solid #eaeaea;
}
.card-parceiro:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.parceiro-logo {
text-align: center;
margin-bottom: 20px;
}
.parceiro-logo img {
max-width: 120px;
max-height: 80px;
object-fit: contain;
}
.parceiro-logo .logo-placeholder {
width: 120px;
height: 80px;
background: #f0f0f0;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 8px;
color: #999;
font-size: 12px;
}
.parceiro-nome {
font-size: 18px;
font-weight: 700;
color: #333;
margin-bottom: 15px;
text-align: center;
}
.parceiro-info {
margin-bottom: 12px;
display: flex;
align-items: flex-start;
}
.parceiro-info i {
width: 20px;
margin-right: 10px;
color: #007cba;
text-align: center;
}
.parceiro-setor,
.parceiro-categoria {
display: inline-block;
background: #e9f7fe;
color: #007cba;
padding: 4px 10px;
border-radius: 20px;
font-size: 12px;
margin-right: 8px;
margin-bottom: 8px;
}
.parceiro-acoes {
margin-top: 20px;
text-align: center;
}
.botao-contato {
display: inline-block;
background: #28a745;
color: white;
padding: 8px 16px;
border-radius: 5px;
text-decoration: none;
font-size: 14px;
transition: background 0.3s;
}
.botao-contato:hover {
background: #218838;
color: white;
}
.sem-parceiros {
text-align: center;
padding: 40px;
color: #666;
font-style: italic;
}
.search-box {
margin-bottom: 20px;
display: flex;
}
.search-box input[type="search"] {
flex-grow: 1;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px 0 0 4px;
}
.search-box input[type="submit"] {
background: #007cba;
color: white;
border-radius: 0 4px 4px 0;
}
/* Responsividade */
@media (max-width: 768px) {
.grid-parceiros {
grid-template-columns: 1fr;
}
.parceiros-filtros {
padding: 15px;
}
}
/* Admin Styles */
.wrap h1 {
color: #23282d;
}
.parceiros-lista-admin {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
margin-bottom: 20px;
}
.parceiros-lista-admin table {
width: 100%;
border-collapse: collapse;
}
.parceiros-lista-admin th {
background: #f8f9fa;
padding: 15px;
text-align: left;
border-bottom: 1px solid #eaeaea;
font-weight: 600;
}
.parceiros-lista-admin td {
padding: 12px;
border-bottom: 1px solid #eaeaea;
}
.parceiros-lista-admin tr:hover {
background: #f8f9fa;
}
/* Melhorias responsivas para a tabela */
@media screen and (max-width: 782px) {
.parceiros-lista-admin table {
display: block;
overflow-x: auto; /* Adiciona barra de rolagem horizontal em telas pequenas */
white-space: nowrap; /* Evita que as células quebrem o layout */
}
}
.acao-botao {
padding: 6px 12px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 12px;
margin-right: 5px;
text-decoration: none;
}
.botao-editar {
background: #007cba;
color: white;
}
.botao-excluir {
padding: 6px 12px;
border: none;
border-radius: 4px;
cursor: pointer;
background: #dc3545;
color: white;
}
.botao-adicionar {
background: #28a745;
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
display: inline-block;
font-size: 14px;
margin-bottom: 20px;
}
.form-parceiro {
background: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
max-width: 700px;
}
.form-grupo {
margin-bottom: 20px;
}
.form-grupo label {
display: block;
margin-bottom: 5px;
font-weight: 600;
}
.form-grupo input,
.form-grupo select,
.form-grupo textarea {
width: 100%;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
}
.form-grupo textarea {
height: 100px;
resize: vertical;
}
.botao-submit {
background: #007cba;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
}