/* ============================================ DOCLOUD - Dark Theme (ICSManager Style) ============================================ */ /* Variables del tema */ :root { /* Colores base - estilo ICSManager */ --bg-primary: #1a1f2e; --bg-secondary: #252b3b; --bg-tertiary: #2d3548; --bg-card: rgba(55, 65, 81, 0.5); --text-primary: #e5e7eb; --text-secondary: #d1d5db; --text-muted: #9ca3af; --accent-blue: #2299dd; --accent-green: #10b981; --accent-red: #dc2626; --accent-yellow: #f59e0b; --border-color: #4b5563; --border-light: #374151; --link-color: #2299dd; --link-hover: #3baaee; --header-bg: #111827; --cta-bg: #2299dd; --cta-hover: #1d88c9; --input-bg: #374151; } /* Modo claro (alto contraste) */ [data-theme="light"] { --bg-primary: #f3f4f6; --bg-secondary: #ffffff; --bg-tertiary: #e5e7eb; --bg-card: rgba(255, 255, 255, 0.9); --text-primary: #111827; --text-secondary: #374151; --text-muted: #6b7280; --border-color: #d1d5db; --border-light: #e5e7eb; --header-bg: #ffffff; --input-bg: #f9fafb; } /* ============================================ BASE ============================================ */ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background-color: var(--bg-primary); color: var(--text-primary); line-height: 1.6; font-size: 16px; margin: 0; padding: 0; min-height: 100vh; } /* ============================================ OCULTAR ELEMENTOS DE DOCMD ============================================ */ .sidebar-nav, nav.sidebar-nav, .toc-sidebar, .toc-container, .toc-list, div.toc-sidebar, .page-footer, .branding-footer, footer.page-footer, .sidebar-menu-button, .sidebar .mobile-view, .sidebar-header h1, .sidebar h1 { display: none !important; } /* Ocultar primera línea horizontal (frontmatter) */ .content > hr:first-child, .main-content > hr:first-child, article > hr:first-child, .content-area > hr:first-child, .main-content article > hr:first-child { display: none !important; } /* ============================================ HEADER ============================================ */ .sidebar { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; height: 64px !important; background: var(--header-bg) !important; border-bottom: 1px solid var(--border-color) !important; display: flex !important; align-items: center !important; padding: 0 24px !important; z-index: 1000 !important; } .sidebar-header { display: flex !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; height: 100% !important; border-bottom: none !important; padding: 0 !important; margin: 0 !important; } .sidebar-header .logo-link { display: flex !important; align-items: center !important; gap: 12px; } .sidebar-header .logo-link img { max-height: 40px !important; width: auto !important; filter: brightness(0) invert(1); } [data-theme="light"] .sidebar-header .logo-link img { filter: none; } /* ============================================ CONTENIDO PRINCIPAL ============================================ */ .main-content, main.content, .content-wrapper, .page-container, .main-content-wrapper { margin-left: 0 !important; margin-right: 0 !important; padding-top: 64px !important; max-width: 100% !important; width: 100% !important; background: var(--bg-primary) !important; } .content, .main-content article, .content-area { max-width: 960px; margin: 0 auto; padding: 48px 24px; } /* ============================================ TIPOGRAFÍA ============================================ */ h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; color: var(--text-primary); font-weight: 600; margin-top: 2em; margin-bottom: 0.75em; line-height: 1.3; } h1 { font-size: 2.25rem; font-weight: 700; margin-top: 0; } h2 { font-size: 1.5rem; color: var(--text-primary); padding-bottom: 0.5em; border-bottom: 1px solid var(--border-light); } h3 { font-size: 1.25rem; color: var(--text-secondary); } p { margin: 1em 0; color: var(--text-secondary); } strong { color: var(--text-primary); font-weight: 600; } /* ============================================ ENLACES ============================================ */ a { color: var(--link-color); text-decoration: none; transition: color 0.2s ease; } a:hover, a:focus { color: var(--link-hover); text-decoration: underline; } nav a, .sidebar a, .logo-link, .header-login-btn { text-decoration: none !important; } /* ============================================ BOTÓN CTA - Acceso ICSManager ============================================ */ .header-login-btn { display: inline-flex !important; align-items: center; gap: 8px; background: var(--cta-bg) !important; color: #ffffff !important; padding: 10px 20px !important; border-radius: 8px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; text-decoration: none !important; transition: all 0.2s ease; border: none; cursor: pointer; } .header-login-btn:hover { background: var(--cta-hover) !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(34, 153, 221, 0.3); color: #ffffff !important; } .header-login-btn::before { content: none; } .header-login-btn svg { display: none; } /* ============================================ TOGGLE MODO CLARO/OSCURO ============================================ */ .theme-toggle-btn { background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-secondary); padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 16px; transition: all 0.2s ease; margin-right: 12px; } .theme-toggle-btn:hover { border-color: var(--accent-blue); background: var(--bg-tertiary); } /* ============================================ BLOQUES DE CÓDIGO ============================================ */ pre, code { font-family: ui-monospace, 'SF Mono', 'Fira Code', Consolas, monospace; font-size: 14px; } code { background: var(--bg-tertiary); color: var(--accent-blue); padding: 2px 8px; border-radius: 6px; border: 1px solid var(--border-light); } pre { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; overflow-x: auto; } pre code { background: none; border: none; padding: 0; color: var(--text-secondary); } /* ============================================ TABLAS ============================================ */ table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; } th { background: var(--bg-tertiary) !important; color: var(--text-primary) !important; font-weight: 600; padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border-color); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; } td { padding: 14px 16px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); } tr:hover td { background: var(--bg-tertiary); } tr:last-child td { border-bottom: none; } /* ============================================ CARDS / SECCIONES ============================================ */ .section-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; margin: 24px 0; } /* ============================================ LISTAS ============================================ */ ul, ol { padding-left: 1.5em; color: var(--text-secondary); } li { margin: 0.5em 0; } ul li::marker { color: var(--accent-blue); } ol li::marker { color: var(--accent-blue); } /* ============================================ BLOCKQUOTES ============================================ */ blockquote { border-left: 4px solid var(--accent-blue); margin: 1.5em 0; padding: 16px 24px; background: var(--bg-secondary); border-radius: 0 12px 12px 0; color: var(--text-secondary); } /* ============================================ HR ============================================ */ hr { border: none; border-top: 1px solid var(--border-light); margin: 48px 0; } /* ============================================ BOTÓN CONTACTAR (Zammad) ============================================ */ #zammad-feedback-form { position: fixed; bottom: 24px; right: 24px; background: var(--cta-bg); color: #ffffff; border: none; padding: 12px 24px; border-radius: 8px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: 0 4px 16px rgba(34, 153, 221, 0.3); transition: all 0.2s ease; z-index: 999; display: inline-flex; align-items: center; gap: 8px; } #zammad-feedback-form:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34, 153, 221, 0.4); } #zammad-feedback-form::before { content: none; } /* Modal Zammad */ .zammad-form-modal { font-family: 'Inter', sans-serif !important; } .zammad-form-modal .zammad-form-modal-body { background: var(--bg-secondary) !important; border: 1px solid var(--border-color) !important; border-radius: 12px !important; color: var(--text-primary) !important; } .zammad-form-modal input, .zammad-form-modal textarea, .zammad-form-modal select { background: var(--input-bg) !important; border: 1px solid var(--border-color) !important; border-radius: 8px !important; padding: 12px 16px !important; color: var(--text-primary) !important; font-family: 'Inter', sans-serif !important; } .zammad-form-modal input:focus, .zammad-form-modal textarea:focus { border-color: var(--accent-blue) !important; outline: none !important; box-shadow: 0 0 0 3px rgba(34, 153, 221, 0.2) !important; } .zammad-form-modal button[type="submit"] { background: var(--cta-bg) !important; border: none !important; border-radius: 8px !important; padding: 12px 24px !important; font-weight: 600 !important; color: white !important; } /* ============================================ FOOTER ============================================ */ div[align="center"]:last-of-type { border-top: 1px solid var(--border-light); padding: 32px 24px; margin-top: 64px; background: var(--bg-secondary); } div[align="center"]:last-of-type p { color: var(--text-muted); font-size: 14px; margin: 8px 0; } div[align="center"]:last-of-type a { color: var(--text-secondary); } div[align="center"]:last-of-type a:hover { color: var(--accent-blue); } /* ============================================ RESPONSIVE ============================================ */ @media (max-width: 768px) { .sidebar { padding: 0 16px !important; height: 56px !important; } .main-content, main.content, .content-wrapper, .page-container { padding-top: 56px !important; } .header-login-btn { padding: 8px 16px !important; font-size: 13px; } .content, .main-content article, .content-area { padding: 32px 16px; } h1 { font-size: 1.75rem; } h2 { font-size: 1.25rem; } #zammad-feedback-form { bottom: 16px; right: 16px; padding: 10px 20px; } } /* ============================================ SELECCIÓN DE TEXTO ============================================ */ ::selection { background: var(--accent-blue); color: white; } ::-moz-selection { background: var(--accent-blue); color: white; } /* ============================================ SCROLLBAR ============================================ */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: var(--bg-primary); } ::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }