Mudanças entre as edições de "Predefinição:BossLayout/styles.css"
Ir para navegação
Ir para pesquisar
| Linha 17: | Linha 17: | ||
text-align: center; | text-align: center; | ||
display: block; | display: block; | ||
font-size: | font-size: 5em; | ||
font-weight: bold; | font-weight: bold; | ||
background: linear-gradient(to bottom, #459cca, #5684c8); | background: linear-gradient(to bottom, #459cca, #5684c8); | ||
Edição das 20h13min de 23 de abril de 2026
/* Container Principal */
.boss-main-wrapper {
background: #f4f4f4;
padding: 20px;
border-radius: 12px;
border: 1px solid #ddd;
font-family: sans-serif;
background-color: grey;
}
.home-card-WorldBoss {
overflow: hidden;
margin-bottom: 20px;
}
.home-title-WorldBoss{
text-align: center;
display: block;
font-size: 5em;
font-weight: bold;
background: linear-gradient(to bottom, #459cca, #5684c8);
color: white;
border-radius: 8px 8px 0 0;
margin: 0;
position: relative;
}
.home-card-WorldBoss-list{
border: 1px solid #e0e0e0;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
overflow: hidden;
margin-bottom: 20px;
background: #fff;
}
/* Navegação por Botões ALINHADA À ESQUERDA */
.boss-navigation {
display: flex;
gap: 12px;
justify-content: flex-start; /* Botões para a esquerda */
margin: 20px 0;
flex-wrap: wrap;
}
/* Estilo dos Botões */
.boss-nav-btn {
padding: 10px 22px;
background: #fff;
border: 2px solid #459cca;
color: #459cca;
border-radius: 6px;
font-weight: bold;
cursor: pointer;
transition: all 0.2s ease;
text-transform: uppercase;
font-size: 15px;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
border-radius: 15px;
}
.boss-nav-btn:hover {
background: #eef7ff;
transform: translateY(-2px);
}
.boss-nav-btn.active {
background: linear-gradient(to bottom, #459cca, #5684c8);
color: #fff;
border-color: #3b86ae;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
/* Remove a borda padrão do tabber e centraliza os botões */
.tabber__tabs {
border-bottom: none !important;
display: flex !important;
flex-wrap: wrap !important;
justify-content: center !important;
gap: 10px !important;
margin: 20px 0 !important;
}
/* Transforma os links do tabber em botões redondos (estilo Home) */
.tabber__tab {
background: #fff !important;
border: 1px solid #bbb !important;
border-radius: 8px !important;
padding: 10px 20px !important;
color: #0645AD !important;
font-weight: bold !important;
text-transform: uppercase !important;
font-size: 13px !important;
transition: all 0.2s ease !important;
box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
}
/* Efeito de Hover (Igual aos cards da Home) */
.tabber__tab:hover {
transform: translateY(-2px) !important;
border-color: #007bff !important;
text-decoration: none !important;
box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}
/* Estilo do Botão Ativo (Selecionado) */
.tabber__tab[aria-selected="true"] {
background: #007bff !important;
color: #fff !important;
border-color: #007bff !important;
}
/* Garante que os cards dentro do tabber usem o Grid */
.boss-grid {
display: grid !important;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
gap: 20px !important;
}
.boss-card {
background: #fff;
border: 1px solid #bbb;
border-radius: 12px;
overflow: hidden;
transition: transform 0.2s;
}
/* Grid de Fases e Cards */
.boss-grid {
display: flex;
flex-wrap: wrap;
gap: 15px;
}
.boss-card {
flex: 1 1 300px;
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
/* Controle de Exibição */
.boss-section {
display: none;
}
.boss-section.active {
display: block;
animation: fadeIn 0.4s ease;
}
@keyframes clearAndIn {
0% {
opacity: 0;
filter: brightness(2);
transform: scale(0.98); /* Leve redução para dar sensação de recuo */
}
40% { /* Aumentamos de 20% para 40% para segurar o "vazio" */
opacity: 0;
filter: brightness(2);
}
100% {
opacity: 1;
filter: brightness(1);
transform: scale(1);
}
}
/* Limpa o fundo e aplica a animação com prioridade */
.tabber__panel {
background: transparent !important;
border: none !important;
/* Adicionamos backwards para ele garantir que comece invisível */
animation: clearAndIn 0.6s ease-in-out forwards !important;
}
/* Garante que os painéis escondidos não interfiram */
.tabber__panel[hidden] {
display: none !important;
}