/* =======================================================
NOOTEE CODE EDITOR THEME - UNIFIED DESIGN SYSTEM
Version: 2026.01 | Authentic VS Code Dark Theme
======================================================= */
:root {
/* === VS CODE COLOR PALETTE === */
--editor-bg: #1e1e1e;
--editor-sidebar: #252526;
--editor-panel: #2d2d30;
--editor-hover: #37373d;
--editor-active: #404040;
--editor-border: #454545;
--editor-divider: #3e3e42;
/* === SYNTAX HIGHLIGHTING === */
--syntax-text: #d4d4d4;
--syntax-comment: #6a9955;
--syntax-keyword: #569cd6;
--syntax-string: #ce9178;
--syntax-number: #b5cea8;
--syntax-function: #dcdcaa;
--syntax-variable: #9cdcfe;
--syntax-error: #f14c4c;
--syntax-warning: #ffcc02;
--syntax-success: #73c991;
/* === UI ELEMENTS === */
--text-primary: #cccccc;
--text-secondary: #9d9d9d;
--text-muted: #6f6f6f;
--accent-blue: #007acc;
--accent-orange: #ff8c00;
--accent-green: #16825d;
--accent-red: #f14c4c;
/* === MEASUREMENTS === */
--editor-radius: 4px;
--editor-spacing: 1rem;
--editor-font-size: 14px;
--editor-line-height: 1.4;
/* === SHADOWS === */
--shadow-editor: 0 2px 8px rgba(0, 0, 0, 0.3);
--shadow-panel: 0 1px 4px rgba(0, 0, 0, 0.5);
--shadow-tooltip: 0 4px 12px rgba(0, 0, 0, 0.4);
/* === FONTS === */
--font-editor: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
--font-ui: 'Inter', 'Segoe UI', system-ui, sans-serif;
}
/* === BASE RESET === */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
*::selection {
background-color: var(--accent-blue);
color: white;
}
html, body {
height: 100%;
font-family: var(--font-ui);
background: var(--editor-bg);
color: var(--text-primary);
font-size: var(--editor-font-size);
line-height: var(--editor-line-height);
overflow-x: hidden;
}
/* === EDITOR LAYOUT STRUCTURE === */
.editor-layout {
min-height: 100vh;
display: flex;
flex-direction: column;
background: var(--editor-bg);
}
/* === TITLE BAR (macOS style) === */
.editor-titlebar {
height: 28px;
background: var(--editor-sidebar);
border-bottom: 1px solid var(--editor-border);
display: flex;
align-items: center;
padding: 0 12px;
position: relative;
}
.window-controls {
display: flex;
gap: 8px;
}
.control-btn {
width: 12px;
height: 12px;
border-radius: 50%;
border: none;
cursor: pointer;
}
.control-close { background: #ff5f56; }
.control-minimize { background: #ffbd2e; }
.control-maximize { background: #27ca3f; }
.window-title {
position: absolute;
left: 50%;
transform: translateX(-50%);
color: var(--text-secondary);
font-size: 12px;
font-weight: 400;
}
/* === MENU BAR === */
.editor-menubar {
height: 35px;
background: var(--editor-sidebar);
border-bottom: 1px solid var(--editor-border);
display: flex;
align-items: center;
padding: 0 12px;
gap: 20px;
}
.menu-item {
color: var(--text-secondary);
font-size: 13px;
padding: 6px 12px;
border-radius: var(--editor-radius);
text-decoration: none;
transition: all 0.15s ease;
position: relative;
}
.menu-item:hover {
background: var(--editor-hover);
color: var(--text-primary);
}
.menu-item.active {
background: var(--editor-active);
color: var(--syntax-keyword);
}
.menu-item.active::after {
content: '';
position: absolute;
bottom: -1px;
left: 12px;
right: 12px;
height: 2px;
background: var(--syntax-keyword);
border-radius: 1px;
}
/* === MAIN EDITOR AREA === */
.editor-main {
flex: 1;
display: flex;
background: var(--editor-bg);
}
/* === FORMS === */
.editor-form-group {
margin-bottom: 16px;
}
.editor-label {
display: block;
color: var(--text-primary);
font-size: 13px;
font-weight: 500;
margin-bottom: 6px;
display: flex;
align-items: center;
gap: 6px;
}
.editor-input {
width: 100%;
padding: 8px 12px;
background: var(--editor-bg);
border: 1px solid var(--editor-border);
border-radius: var(--editor-radius);
color: var(--text-primary);
font-family: var(--font-editor);
font-size: 13px;
transition: all 0.15s ease;
}
.editor-input:focus {
outline: none;
border-color: var(--syntax-keyword);
box-shadow: 0 0 0 2px rgba(86, 156, 214, 0.2);
}
.editor-input::placeholder {
color: var(--text-muted);
}
.editor-textarea {
min-height: 100px;
resize: vertical;
font-family: var(--font-editor);
}
/* === BUTTONS === */
.editor-btn {
padding: 8px 16px;
border: 1px solid var(--editor-border);
border-radius: var(--editor-radius);
background: var(--editor-panel);
color: var(--text-primary);
font-size: 13px;
font-weight: 500;
cursor: pointer;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 6px;
transition: all 0.15s ease;
}
.editor-btn:hover {
background: var(--editor-hover);
border-color: var(--syntax-keyword);
}
.editor-btn-primary {
background: var(--syntax-keyword);
border-color: var(--syntax-keyword);
color: white;
}
.editor-btn-primary:hover {
background: #4a8bc2;
border-color: #4a8bc2;
}
.editor-btn-success {
background: var(--syntax-success);
border-color: var(--syntax-success);
color: white;
}
.editor-btn-danger {
background: var(--syntax-error);
border-color: var(--syntax-error);
color: white;
}
/* === ALERTS === */
.editor-alert {
padding: 12px 16px;
border-radius: var(--editor-radius);
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 8px;
border-left: 4px solid;
}
.editor-alert-error {
background: rgba(241, 76, 76, 0.1);
border-color: var(--syntax-error);
color: #ffcccc;
}
.editor-alert-success {
background: rgba(115, 201, 145, 0.1);
border-color: var(--syntax-success);
color: #ccffcc;
}
.editor-alert-warning {
background: rgba(255, 204, 2, 0.1);
border-color: var(--syntax-warning);
color: #ffffcc;
}
/* === LANGUAGE SWITCHER === */
.language-switcher {
display: flex;
gap: 4px;
}
.lang-btn {
padding: 4px 8px;
background: var(--editor-panel);
border: 1px solid var(--editor-border);
border-radius: var(--editor-radius);
color: var(--text-secondary);
text-decoration: none;
font-size: 11px;
font-weight: 500;
transition: all 0.15s ease;
}
.lang-btn:hover {
background: var(--editor-hover);
color: var(--text-primary);
}
.lang-btn.active {
background: var(--syntax-keyword);
border-color: var(--syntax-keyword);
color: white;
}
/* === STATUS BAR === */
.editor-statusbar {
height: 22px;
background: var(--syntax-keyword);
border-top: 1px solid var(--editor-border);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
font-size: 12px;
color: white;
}
.status-left, .status-right {
display: flex;
align-items: center;
gap: 16px;
}
.status-item {
display: flex;
align-items: center;
gap: 4px;
}
/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
.editor-sidebar {
position: fixed;
left: -240px;
top: 63px;
height: calc(100vh - 63px);
z-index: 1000;
transition: left 0.3s ease;
}
.editor-sidebar.open {
left: 0;
}
.editor-content {
margin-left: 0;
}
.editor-menubar {
flex-wrap: wrap;
height: auto;
padding: 8px 12px;
}
.menu-item {
font-size: 12px;
padding: 4px 8px;
}
}
/* === SCROLLBARS (Webkit) === */
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
::-webkit-scrollbar-track {
background: var(--editor-sidebar);
}
::-webkit-scrollbar-thumb {
background: var(--editor-border);
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--editor-hover);
}
/* === UTILITY CLASSES === */
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: var(--syntax-success) !important; }
.text-error { color: var(--syntax-error) !important; }
.text-warning { color: var(--syntax-warning) !important; }
.bg-editor { background: var(--editor-bg) !important; }
.bg-sidebar { background: var(--editor-sidebar) !important; }
.bg-panel { background: var(--editor-panel) !important; }
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
/* === ANIMATIONS === */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
from { transform: translateX(-100%); }
to { transform: translateX(0); }
}
.fade-in {
animation: fadeIn 0.3s ease;
}
.slide-in {
animation: slideIn 0.3s ease;
}
NOOTEE
1.2K+
Problemas
980+
Soluciones
450+