/* cyrillic-ext */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(cyrillic-ext-400.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; } /* cyrillic */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(cyrillic-400.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* greek */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(greek-400.woff2) format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; } /* vietnamese */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(vietnamese-400.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; } /* latin-ext */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* cyrillic-ext */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(cyrillic-ext-400.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; } /* cyrillic */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(cyrillic-400.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* greek */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(greek-400.woff2) format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; } /* vietnamese */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(vietnamese-400.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; } /* latin-ext */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* cyrillic-ext */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(cyrillic-ext-400.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; } /* cyrillic */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(cyrillic-400.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* greek */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(greek-400.woff2) format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; } /* vietnamese */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(vietnamese-400.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; } /* latin-ext */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url(latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } * { box-sizing: border-box; } body { font-family: 'JetBrains Mono', 'Courier New', monospace; margin: 0; padding: 20px; background: #0f0f0f; color: #c0c0c0; min-height: 100vh; font-size: 13px; line-height: 1.4; } .container { max-width: 1400px; margin: 0 auto; background: #1e1e1e; border: 1px solid #333; border-radius: 2px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); position: relative; /* <-- Add this */ } /* Clickable column headers */ .sortable-header { color: #ffffff; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; display: block; padding: 2px 0; transition: color 0.2s; } .sortable-header:hover { color: #ffcc66; text-decoration: none; } .sortable-header.active { color: #ffcc66; } .header { background: #2a2a2a; color: #ffffff; padding: 15px 20px; border-bottom: 2px solid #333; } .header h1 { margin: 0 0 8px 0; font-size: 18px; font-weight: 700; letter-spacing: 1px; } .breadcrumbs { font-size: 12px; color: #888; font-weight: 400; } .breadcrumbs a { color: #aaa; text-decoration: none; } .breadcrumbs a:hover { color: #ffffff; text-decoration: underline; } .file-list { background: #1a1a1a; } .file-item { display: flex; align-items: center; padding: 8px 20px; border-bottom: 1px solid #2a2a2a; font-family: 'JetBrains Mono', monospace; } .file-item:hover { background: #252525; } .file-icon { width: 24px; height: 24px; margin-right: 12px; display: flex; align-items: center; justify-content: center; } .file-icon img { width: 20px; height: 20px; object-fit: contain; } .file-icon-emoji { font-size: 14px; text-align: center; } /* Icon disabled state - completely hide the icon container */ .icon-disabled .file-icon { display: none; } /* Adjust spacing when icons are disabled - remove the margin that would have been for the icon */ .icon-disabled .file-name { margin-left: 0; margin-right: 20px; } /* Ensure proper alignment when icons are disabled */ .icon-disabled .file-item { padding-left: 20px; } .file-name { flex: 1; margin-right: 20px; min-width: 0; } .file-name a { color: #c0c0c0; text-decoration: none; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .file-name a:hover { color: #ffffff; text-decoration: underline; } .file-size { width: 80px; text-align: right; color: #888; font-size: 11px; margin-right: 20px; font-weight: 500; } .file-date { width: 140px; text-align: right; color: #888; font-size: 11px; margin-right: 20px; font-weight: 400; } .download-btn { background: #404040; color: #ffffff; border: 1px solid #555; padding: 4px 8px; border-radius: 2px; cursor: pointer; text-decoration: none; font-size: 10px; font-family: 'JetBrains Mono', monospace; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; min-width: 45px; text-align: center; } .download-btn:hover { background: #505050; border-color: #666; } .parent-dir { background: #242424; border-bottom: 2px solid #333; } .parent-dir .file-name a { color: #ffcc66; font-weight: 700; } .parent-dir .file-icon-emoji { color: #ffcc66; } .directory { background: #1a1a1a; } .directory .file-icon-emoji { color: #6699ff; } .directory .file-name a { color: #6699ff; } .file { background: #1a1a1a; } .file .file-icon-emoji { color: #c0c0c0; } .header-row { background: #333; color: #ffffff; font-weight: 700; border-bottom: 2px solid #444; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; } .header-row .file-item { border-bottom: none; padding: 10px 20px; background: #333; } .header-row .file-item:hover { background: #333 !important; } .sort-controls { display: flex; align-items: center; gap: 10px; padding: 8px 20px; background: #2a2a2a; border-bottom: 1px solid #333; } .sort-link { color: #ffffff; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; padding: 4px 8px; border-radius: 2px; transition: background-color 0.2s; } .sort-link:hover { background: #404040; text-decoration: none; } .sort-link.active { background: #505050; color: #ffcc66; } /* Remove all sort-controls CSS and replace with this */ .options-menu-container { width: 65px; display: flex; justify-content: center; align-items: center; } .options-menu { position: relative; z-index: 1000; /* <-- Add this */ } .options-toggle { background: #404040; color: #ffffff; border: 1px solid #555; padding: 4px 8px; border-radius: 2px; cursor: pointer; font-size: 12px; font-family: 'JetBrains Mono', monospace; font-weight: 700; text-decoration: none; display: inline-block; } .options-toggle:hover { background: #505050; border-color: #666; color: #ffffff; text-decoration: none; } .options-dropdown { position: absolute; top: 100%; right: 0; background: #2a2a2a; border: 1px solid #555; border-radius: 2px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); z-index: 1001; /* <-- Increase this value */ min-width: 200px; margin-top: 2px; max-height: 80vh; /* <-- Add this */ overflow-y: auto; /* <-- Add this */ } .options-dropdown a { display: block; padding: 8px 12px; color: #c0c0c0; text-decoration: none; font-size: 11px; border-bottom: 1px solid #333; transition: background-color 0.2s; } .options-dropdown a:last-child { border-bottom: none; } .options-dropdown a:hover { background: #404040; color: #ffffff; } .options-dropdown a.active { background: #505050; color: #ffcc66; } /* Scrollbar styling */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #1a1a1a; } ::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; } ::-webkit-scrollbar-thumb:hover { background: #444; } /* Responsive design */ @media (max-width: 768px) { body { padding: 10px; font-size: 12px; } .file-size, .file-date { display: none; } .download-btn { font-size: 9px; padding: 3px 6px; } .file-icon img { width: 16px; height: 16px; } }