159 lines
3.2 KiB
CSS
159 lines
3.2 KiB
CSS
/* Estilos atualizados para a tabela de vagas */
|
|
.tc-vagas-wrapper {
|
|
max-width: 1000px;
|
|
margin: 40px auto;
|
|
background: var(--branco);
|
|
border-radius: var(--borda-radius);
|
|
box-shadow: var(--sombra);
|
|
padding: 30px;
|
|
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.tc-vagas-table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
margin: 0;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
font-size: 1.05em;
|
|
background: var(--branco);
|
|
border-radius: var(--borda-radius);
|
|
overflow: hidden;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
.tc-vagas-table th,
|
|
.tc-vagas-table td {
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
padding: 15px 20px;
|
|
text-align: left;
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.tc-vagas-table th {
|
|
background: linear-gradient(135deg, var(--azul-principal) 0%, var(--azul-escuro) 100%);
|
|
color: var(--branco);
|
|
font-weight: 600;
|
|
letter-spacing: 0.3px;
|
|
text-transform: uppercase;
|
|
font-size: 0.9em;
|
|
border-top: none;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.tc-vagas-table tr:nth-child(even) {
|
|
background-color: var(--cinza-claro);
|
|
}
|
|
|
|
.tc-vagas-table tr:hover {
|
|
background: rgba(0, 166, 251, 0.05);
|
|
}
|
|
|
|
.tc-vagas-table tr:hover td {
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
.tc-vagas-table td {
|
|
color: var(--preto);
|
|
vertical-align: middle;
|
|
position: relative;
|
|
}
|
|
|
|
.tc-vagas-table td:first-child {
|
|
font-weight: 500;
|
|
color: var(--azul-escuro);
|
|
}
|
|
|
|
.tc-vagas-table td:last-child {
|
|
text-align: center;
|
|
font-weight: 600;
|
|
color: var(--azul-principal);
|
|
}
|
|
|
|
/* Efeito de destaque para a coluna de quantidade */
|
|
.tc-vagas-table td:last-child::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 3px;
|
|
height: 60%;
|
|
background: var(--azul-brilhante);
|
|
border-radius: 3px;
|
|
opacity: 0;
|
|
transition: var(--transicao);
|
|
}
|
|
|
|
.tc-vagas-table tr:hover td:last-child::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Badge para vagas urgentes */
|
|
.vaga-urgente {
|
|
position: relative;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.vaga-urgente::before {
|
|
content: 'URGENTE';
|
|
position: absolute;
|
|
left: -5px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: var(--vermelho);
|
|
color: white;
|
|
font-size: 0.7em;
|
|
font-weight: 700;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% { opacity: 0.8; }
|
|
50% { opacity: 1; }
|
|
100% { opacity: 0.8; }
|
|
}
|
|
|
|
/* Responsividade */
|
|
@media (max-width: 768px) {
|
|
.tc-vagas-wrapper {
|
|
padding: 15px;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
.tc-vagas-table th,
|
|
.tc-vagas-table td {
|
|
padding: 12px 10px;
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
.tc-vagas-table td:first-child {
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.tc-vagas-wrapper {
|
|
padding: 10px 5px;
|
|
}
|
|
|
|
.tc-vagas-table {
|
|
display: block;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tc-vagas-table th {
|
|
font-size: 0.85em;
|
|
padding: 10px 8px;
|
|
}
|
|
|
|
.tc-vagas-table td {
|
|
padding: 10px 8px;
|
|
font-size: 0.9em;
|
|
}
|
|
} |