Convert-it/wwwroot/css/site.css

620 lines
13 KiB
CSS

/* ========== FORÇA TEMA CLARO - SOBREPÕE BOOTSTRAP ========== */
html, body {
background-color: #ffffff !important;
color: #212529 !important;
}
body {
--bs-body-bg: #ffffff !important;
--bs-body-color: #212529 !important;
--bs-text-muted: #6c757d !important;
background: #ffffff !important;
}
/* ========== VARIÁVEIS CUSTOMIZADAS ========== */
:root {
--primary-color: #0d6efd;
--primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
--secondary-color: #6c757d;
--success-color: #198754;
--light-color: #f8f9fa;
--dark-color: #212529;
--border-color: #dee2e6;
--text-color: #212529;
--text-muted: #6c757d;
--card-bg: #ffffff;
--body-bg: #ffffff;
--card-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
--card-shadow-hover: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
/* ========== LAYOUT PRINCIPAL ========== */
.container {
animation: fadeInUp 0.6s ease-out;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ========== NAVBAR ========== */
.navbar-brand {
font-weight: 700;
font-size: 1.5rem;
color: white !important;
}
.navbar-nav .nav-link {
color: rgba(255, 255, 255, 0.9) !important;
}
.navbar-nav .nav-link:hover {
color: white !important;
}
/* ========== TÍTULOS E TEXTOS ========== */
.display-4 {
font-weight: 800;
background: var(--primary-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 1.5rem;
font-size: 2.5rem;
}
.lead {
font-size: 1.1rem;
color: var(--text-muted) !important;
font-weight: 400;
line-height: 1.7;
}
.text-muted {
color: var(--text-muted) !important;
}
.text-primary {
color: var(--primary-color) !important;
}
/* ========== MENU DE CONVERSORES ========== */
.converter-menu-container {
background: var(--card-bg) !important;
border: 1px solid var(--border-color);
border-radius: 1rem;
box-shadow: var(--card-shadow);
overflow: hidden;
max-height: 400px;
margin-bottom: 2rem;
}
.converter-menu {
max-height: 400px;
overflow-y: auto;
padding: 0;
}
.converter-item {
display: flex;
align-items: center;
padding: 1rem 1.5rem;
text-decoration: none;
color: var(--text-color) !important;
border-bottom: 1px solid var(--border-color);
transition: all 0.3s ease;
position: relative;
background-color: var(--card-bg) !important;
}
.converter-item:last-child {
border-bottom: none;
}
.converter-item:hover {
background-color: var(--light-color) !important;
color: var(--primary-color) !important;
text-decoration: none;
transform: translateX(8px);
}
.converter-icon {
display: flex;
align-items: center;
justify-content: center;
width: 3rem;
height: 3rem;
background: var(--primary-gradient) !important;
color: white !important;
border-radius: 0.75rem;
margin-right: 1rem;
flex-shrink: 0;
font-size: 1.25rem;
transition: all 0.3s ease;
}
.converter-item:hover .converter-icon {
transform: scale(1.1);
box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}
.converter-content {
flex: 1;
min-width: 0;
}
.converter-content h4 {
margin: 0 0 0.25rem 0;
font-size: 1rem;
font-weight: 600;
color: inherit !important;
}
.converter-content p {
margin: 0;
font-size: 0.875rem;
color: var(--text-muted) !important;
line-height: 1.4;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.converter-item:hover .converter-content p {
color: var(--text-muted) !important;
}
.converter-arrow {
display: flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
color: var(--text-muted) !important;
transition: all 0.3s ease;
flex-shrink: 0;
}
.converter-item:hover .converter-arrow {
color: var(--primary-color) !important;
transform: translateX(4px);
}
/* Título da seção */
h3.h4.mb-3.text-center {
color: var(--text-color) !important;
font-weight: 600;
}
/* ========== ACCORDION ========== */
.accordion {
border-radius: 1rem;
overflow: hidden;
box-shadow: var(--card-shadow);
}
.accordion-item {
border: none;
background-color: var(--card-bg) !important;
}
.accordion-item:not(:last-child) {
border-bottom: 1px solid var(--border-color);
}
.accordion-button {
background-color: var(--card-bg) !important;
color: var(--text-color) !important;
border: none;
font-weight: 600;
padding: 1.25rem 1.5rem;
transition: all 0.3s ease;
}
.accordion-button:not(.collapsed) {
background-color: var(--light-color) !important;
color: var(--primary-color) !important;
box-shadow: none !important;
}
.accordion-button:focus {
border: none;
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}
.accordion-button::after {
color: var(--primary-color) !important;
}
.accordion-body {
padding: 1.5rem;
color: var(--text-muted) !important;
line-height: 1.7;
background-color: var(--card-bg) !important;
}
/* ========== CARDS (para as páginas About, Contact, etc) ========== */
.card {
background-color: var(--card-bg) !important;
border: 1px solid var(--border-color);
box-shadow: var(--card-shadow);
border-radius: 1rem;
color: var(--text-color) !important;
}
.shadow-custom {
box-shadow: var(--card-shadow-hover) !important;
}
.text-gradient {
background: var(--primary-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* ========== DROPDOWN DE IDIOMAS ========== */
.dropdown-toggle {
background: rgba(255, 255, 255, 0.2) !important;
border: 1px solid rgba(255, 255, 255, 0.3) !important;
color: white !important;
transition: all 0.3s ease;
border-radius: 0.5rem;
}
.dropdown-toggle:hover {
background: rgba(255, 255, 255, 0.3) !important;
color: white !important;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.dropdown-menu {
background-color: var(--card-bg) !important;
border: 1px solid var(--border-color);
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
border-radius: 0.5rem;
padding: 0.5rem;
}
.dropdown-item {
transition: all 0.2s ease;
border-radius: 0.375rem;
padding: 0.5rem 1rem;
color: var(--text-color) !important;
}
.dropdown-item:hover {
background-color: var(--light-color) !important;
color: var(--primary-color) !important;
}
/* ========== FOOTER ========== */
.footer {
background-color: var(--light-color) !important;
border-top: 1px solid var(--border-color);
color: var(--text-muted) !important;
margin-top: auto;
}
.footer a {
transition: all 0.3s ease;
color: var(--text-muted) !important;
}
.footer a:hover {
color: var(--primary-color) !important;
text-decoration: underline !important;
}
/* ========== PLACEHOLDERS DE ANÚNCIO ========== */
.ad-placeholder {
background-color: var(--light-color) !important;
border: 2px dashed var(--border-color);
border-radius: 1rem;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: var(--text-muted) !important;
font-size: 1rem;
transition: all 0.3s ease;
font-weight: 500;
}
.ad-placeholder:hover {
border-color: rgba(13, 110, 253, 0.3);
background-color: #e9ecef !important;
}
.ad-top {
min-height: 90px;
margin-bottom: 2rem;
}
.ad-side {
min-height: 600px;
position: sticky;
top: 2rem;
}
/* ========== FORÇA TEXTO ESCURO EM TUDO ========== */
h1, h2, h3, h4, h5, h6, p, div, span, a {
color: inherit;
}
.container h1, .container h2, .container h3, .container h4, .container h5, .container h6 {
color: var(--text-color) !important;
}
.container p, .container div, .container span {
color: inherit;
}
/* ========== RESPONSIVIDADE ========== */
@media (max-width: 768px) {
.display-4 {
font-size: 2rem;
}
.lead {
font-size: 1rem;
}
.accordion-button,
.accordion-body {
padding: 1rem;
}
.converter-item {
padding: 0.875rem 1rem;
}
.converter-icon {
width: 2.5rem;
height: 2.5rem;
font-size: 1rem;
margin-right: 0.75rem;
}
.converter-content h4 {
font-size: 0.9rem;
}
.converter-content p {
font-size: 0.8rem;
}
.converter-arrow {
width: 1.5rem;
height: 1.5rem;
}
}
@media (max-width: 576px) {
.container {
padding-left: 1rem;
padding-right: 1rem;
}
.display-4 {
font-size: 1.75rem;
}
.lead {
font-size: 0.95rem;
}
}
/* ========== SCROLLBAR PERSONALIZADA ========== */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--light-color);
}
::-webkit-scrollbar-thumb {
background: var(--border-color);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
/* ========== HOUSE ADS (BANNERS PRÓPRIOS) ========== */
/* Banner Topo - QR Rápido */
.house-ad-top {
display: block;
background: linear-gradient(135deg, #6610f2 0%, #d63384 100%);
border-radius: 1rem;
padding: 1rem 2rem;
color: white !important;
position: relative;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
margin-bottom: 2rem;
border: none;
text-decoration: none !important;
}
.house-ad-top:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(102, 16, 242, 0.3);
color: white !important;
}
.house-ad-top .ad-content {
display: flex;
align-items: center;
justify-content: space-between;
z-index: 2;
position: relative;
}
.house-ad-top .qr-animation {
width: 60px;
height: 60px;
background: rgba(255, 255, 255, 0.2);
border-radius: 8px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
margin-right: 1.5rem;
}
.house-ad-top .qr-box {
width: 40px;
height: 40px;
border: 3px solid white;
border-radius: 4px;
position: relative;
}
.house-ad-top .qr-box::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 16px;
height: 16px;
background: white;
}
.house-ad-top .scan-line {
position: absolute;
width: 100%;
height: 2px;
background: #00ff00;
top: 10%;
left: 0;
animation: scanMove 1.5s infinite alternate ease-in-out;
box-shadow: 0 0 4px #00ff00;
}
@keyframes scanMove {
0% { top: 10%; }
100% { top: 90%; }
}
.house-ad-top .ad-text h5 {
margin: 0;
font-weight: 700;
font-size: 1.25rem;
color: white !important;
}
.house-ad-top .ad-text p {
margin: 0;
font-size: 0.9rem;
opacity: 0.9;
color: white !important;
}
.house-ad-top .cta-button {
background: white;
color: #6610f2;
padding: 0.5rem 1rem;
border-radius: 2rem;
font-weight: 600;
font-size: 0.9rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
/* Banner Lateral - JobMaker */
.house-ad-side {
display: block;
background-color: #0f172a; /* Slate 900 */
border-radius: 1rem;
border: 1px solid #1e293b;
color: #e2e8f0 !important;
overflow: hidden;
position: sticky;
top: 2rem;
text-decoration: none !important;
transition: border-color 0.3s ease;
min-height: auto; /* Remove min-height fixo se necessário */
}
.house-ad-side:hover {
border-color: #3b82f6;
color: #e2e8f0 !important;
}
.house-ad-side .terminal-header {
background: #1e293b;
padding: 0.75rem 1rem;
display: flex;
gap: 6px;
border-bottom: 1px solid #334155;
}
.house-ad-side .dot {
width: 10px;
height: 10px;
border-radius: 50%;
}
.house-ad-side .dot.red { background: #ef4444; }
.house-ad-side .dot.yellow { background: #f59e0b; }
.house-ad-side .dot.green { background: #22c55e; }
.house-ad-side .ad-body {
padding: 1.5rem;
font-family: 'Consolas', 'Monaco', monospace;
}
.house-ad-side .code-typing {
font-size: 0.85rem;
line-height: 1.6;
margin-bottom: 1.5rem;
}
.house-ad-side .comment { color: #64748b; }
.house-ad-side .keyword { color: #c084fc; }
.house-ad-side .method { color: #60a5fa; }
.house-ad-side .success { color: #4ade80; display: block; margin-top: 0.5rem; font-weight: bold;}
.house-ad-side h5 {
font-family: system-ui, -apple-system, sans-serif;
color: white !important;
font-weight: 700;
font-size: 1.1rem;
margin-bottom: 1rem;
}
.house-ad-side .text-muted {
color: #94a3b8 !important; /* Slate 400 */
}
.house-ad-side .btn-outline-primary {
border-color: #3b82f6;
color: #3b82f6;
}
.house-ad-side .btn-outline-primary:hover {
background-color: #3b82f6;
color: white;
}
/* Responsividade para o House Ad Top */
@media (max-width: 992px) {
.house-ad-top {
display: none;
}
}