style.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920
  1. /* ===== CSS Variables ===== */
  2. :root {
  3. --color-dark: #2c3e50;
  4. --color-blue: #3498db;
  5. --color-blue-hover: #2980b9;
  6. --color-green: #27ae60;
  7. --color-red: #e74c3c;
  8. --color-red-hover: #c0392b;
  9. --color-gray: #95a5a6;
  10. --color-gray-hover: #7f8c8d;
  11. --color-border: #e0e3e7;
  12. --color-border-light: #f0f0f0;
  13. --color-bg: #f8f9fa;
  14. --color-white: #ffffff;
  15. --color-text: #2c3e50;
  16. --color-text-light: #666666;
  17. --color-text-lighter: #999999;
  18. --sidebar-width: 320px;
  19. --topbar-height: 48px;
  20. --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  21. --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  22. --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  23. --radius-sm: 4px;
  24. --radius-md: 6px;
  25. --radius-lg: 8px;
  26. --radius-xl: 12px;
  27. }
  28. /* ===== Reset ===== */
  29. *, *::before, *::after {
  30. box-sizing: border-box;
  31. margin: 0;
  32. padding: 0;
  33. }
  34. /* ===== Base ===== */
  35. body {
  36. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  37. display: flex;
  38. flex-direction: column;
  39. height: 100vh;
  40. overflow: hidden;
  41. color: var(--color-text);
  42. font-size: 14px;
  43. line-height: 1.5;
  44. }
  45. /* ===== Auth Page ===== */
  46. #auth-page {
  47. position: fixed;
  48. inset: 0;
  49. display: flex;
  50. align-items: center;
  51. justify-content: center;
  52. background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-blue) 100%);
  53. z-index: 10000;
  54. }
  55. .auth-container {
  56. background: var(--color-white);
  57. padding: 40px;
  58. border-radius: var(--radius-xl);
  59. box-shadow: var(--shadow-lg);
  60. min-width: 360px;
  61. width: 100%;
  62. max-width: 420px;
  63. }
  64. .auth-container h1 {
  65. text-align: center;
  66. margin-bottom: 24px;
  67. color: var(--color-dark);
  68. font-size: 24px;
  69. font-weight: 700;
  70. }
  71. .auth-tabs {
  72. display: flex;
  73. margin-bottom: 20px;
  74. border-radius: var(--radius-md);
  75. overflow: hidden;
  76. border: 1px solid var(--color-border);
  77. }
  78. .auth-tab {
  79. flex: 1;
  80. padding: 10px;
  81. border: none;
  82. border-right: 1px solid var(--color-border);
  83. cursor: pointer;
  84. background: var(--color-white);
  85. color: var(--color-text-light);
  86. font-size: 14px;
  87. font-weight: 500;
  88. transition: background 0.2s, color 0.2s;
  89. }
  90. .auth-tab:last-child {
  91. border-right: none;
  92. }
  93. .auth-tab:hover:not(.active) {
  94. background: var(--color-bg);
  95. }
  96. .auth-tab.active {
  97. background: var(--color-blue);
  98. color: var(--color-white);
  99. }
  100. /* ===== Form Inputs ===== */
  101. input[type="text"],
  102. input[type="password"],
  103. input[type="email"] {
  104. display: block;
  105. width: 100%;
  106. padding: 10px 12px;
  107. border: 1px solid #ddd;
  108. border-radius: var(--radius-md);
  109. margin-bottom: 12px;
  110. font-size: 14px;
  111. outline: none;
  112. transition: border-color 0.2s;
  113. color: var(--color-text);
  114. background: var(--color-white);
  115. }
  116. input[type="text"]:focus,
  117. input[type="password"]:focus,
  118. input[type="email"]:focus {
  119. border-color: var(--color-blue);
  120. box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  121. }
  122. form button[type="submit"] {
  123. display: block;
  124. width: 100%;
  125. padding: 12px;
  126. background: var(--color-blue);
  127. color: var(--color-white);
  128. border: none;
  129. border-radius: var(--radius-md);
  130. cursor: pointer;
  131. font-size: 16px;
  132. font-weight: 500;
  133. transition: background 0.2s;
  134. margin-top: 4px;
  135. }
  136. form button[type="submit"]:hover {
  137. background: var(--color-blue-hover);
  138. }
  139. #login-form,
  140. #register-form {
  141. display: flex;
  142. flex-direction: column;
  143. }
  144. /* ===== Messages ===== */
  145. .error-msg {
  146. color: var(--color-red);
  147. font-size: 13px;
  148. margin-bottom: 12px;
  149. padding: 8px 12px;
  150. background: #fdf0ef;
  151. border-radius: var(--radius-sm);
  152. border-left: 3px solid var(--color-red);
  153. }
  154. .success-msg {
  155. color: var(--color-green);
  156. font-size: 13px;
  157. margin-bottom: 12px;
  158. padding: 8px 12px;
  159. background: #eafaf1;
  160. border-radius: var(--radius-sm);
  161. border-left: 3px solid var(--color-green);
  162. }
  163. /* ===== Topbar ===== */
  164. #topbar {
  165. height: var(--topbar-height);
  166. background: var(--color-dark);
  167. color: var(--color-white);
  168. display: flex;
  169. align-items: center;
  170. justify-content: space-between;
  171. padding: 0 16px;
  172. flex-shrink: 0;
  173. z-index: 100;
  174. }
  175. #topbar-left {
  176. display: flex;
  177. align-items: center;
  178. gap: 12px;
  179. }
  180. #topbar-right {
  181. display: flex;
  182. align-items: center;
  183. gap: 8px;
  184. }
  185. #topbar-title {
  186. font-size: 16px;
  187. font-weight: 600;
  188. letter-spacing: 0.3px;
  189. }
  190. #topbar-user {
  191. font-size: 13px;
  192. color: rgba(255, 255, 255, 0.75);
  193. margin-right: 4px;
  194. }
  195. /* ===== Icon & Topbar Buttons ===== */
  196. .icon-btn,
  197. .topbar-btn {
  198. background: transparent;
  199. border: 1px solid rgba(255, 255, 255, 0.3);
  200. color: var(--color-white);
  201. padding: 6px 12px;
  202. border-radius: var(--radius-sm);
  203. cursor: pointer;
  204. font-size: 14px;
  205. transition: background 0.2s, border-color 0.2s;
  206. line-height: 1;
  207. }
  208. .icon-btn:hover,
  209. .topbar-btn:hover {
  210. background: rgba(255, 255, 255, 0.1);
  211. border-color: rgba(255, 255, 255, 0.5);
  212. }
  213. .icon-btn {
  214. font-size: 18px;
  215. padding: 4px 10px;
  216. }
  217. /* ===== Main Content ===== */
  218. #main-content {
  219. display: flex;
  220. flex: 1;
  221. overflow: hidden;
  222. }
  223. /* ===== Sidebar ===== */
  224. #sidebar {
  225. width: var(--sidebar-width);
  226. background: var(--color-white);
  227. border-right: 1px solid var(--color-border);
  228. display: flex;
  229. flex-direction: column;
  230. flex-shrink: 0;
  231. transition: width 0.2s ease;
  232. overflow: hidden;
  233. }
  234. #sidebar.collapsed {
  235. width: 0;
  236. border-right: none;
  237. }
  238. /* ===== Sidebar Tabs ===== */
  239. #sidebar-tabs {
  240. display: flex;
  241. border-bottom: 1px solid var(--color-border);
  242. flex-shrink: 0;
  243. }
  244. .sidebar-tab {
  245. flex: 1;
  246. padding: 12px;
  247. border: none;
  248. background: none;
  249. cursor: pointer;
  250. font-size: 13px;
  251. font-weight: 500;
  252. color: var(--color-text-light);
  253. transition: color 0.2s;
  254. border-bottom: 2px solid transparent;
  255. margin-bottom: -1px;
  256. }
  257. .sidebar-tab:hover:not(.active) {
  258. color: var(--color-text);
  259. background: var(--color-bg);
  260. }
  261. .sidebar-tab.active {
  262. color: var(--color-blue);
  263. border-bottom-color: var(--color-blue);
  264. }
  265. /* ===== Sidebar Tab Content ===== */
  266. .sidebar-tab-content {
  267. display: flex;
  268. flex-direction: column;
  269. flex: 1;
  270. overflow: hidden;
  271. }
  272. #browser-tab {
  273. display: flex;
  274. flex-direction: column;
  275. flex: 1;
  276. overflow: hidden;
  277. }
  278. #stats-tab {
  279. flex: 1;
  280. overflow-y: auto;
  281. padding: 12px;
  282. }
  283. /* ===== Breadcrumb ===== */
  284. #breadcrumb {
  285. padding: 8px 12px;
  286. font-size: 13px;
  287. background: var(--color-bg);
  288. border-bottom: 1px solid var(--color-border);
  289. flex-shrink: 0;
  290. white-space: nowrap;
  291. overflow: hidden;
  292. text-overflow: ellipsis;
  293. }
  294. .bc-item {
  295. cursor: pointer;
  296. color: var(--color-blue);
  297. transition: text-decoration 0.1s;
  298. }
  299. .bc-item:hover {
  300. text-decoration: underline;
  301. }
  302. .bc-item:last-child {
  303. color: var(--color-text);
  304. cursor: default;
  305. font-weight: 500;
  306. }
  307. .bc-item:last-child:hover {
  308. text-decoration: none;
  309. }
  310. .bc-sep {
  311. color: var(--color-text-lighter);
  312. margin: 0 4px;
  313. }
  314. /* ===== Browser Actions ===== */
  315. #browser-actions {
  316. display: flex;
  317. gap: 8px;
  318. padding: 8px;
  319. border-bottom: 1px solid var(--color-border);
  320. flex-shrink: 0;
  321. }
  322. .action-btn {
  323. padding: 6px 12px;
  324. border: 1px solid var(--color-blue);
  325. color: var(--color-blue);
  326. background: var(--color-white);
  327. border-radius: var(--radius-sm);
  328. cursor: pointer;
  329. font-size: 13px;
  330. transition: background 0.2s, color 0.2s;
  331. font-weight: 500;
  332. }
  333. .action-btn:hover {
  334. background: var(--color-blue);
  335. color: var(--color-white);
  336. }
  337. /* ===== Browser List ===== */
  338. #browser-list {
  339. flex: 1;
  340. overflow-y: auto;
  341. }
  342. .dir-item,
  343. .track-item {
  344. display: flex;
  345. align-items: center;
  346. padding: 8px 12px;
  347. border-bottom: 1px solid var(--color-border-light);
  348. cursor: pointer;
  349. position: relative;
  350. gap: 8px;
  351. transition: background 0.15s;
  352. min-height: 40px;
  353. }
  354. .dir-item:hover,
  355. .track-item:hover {
  356. background: var(--color-bg);
  357. }
  358. .item-icon {
  359. flex-shrink: 0;
  360. width: 20px;
  361. text-align: center;
  362. font-size: 15px;
  363. }
  364. .item-name {
  365. flex: 1;
  366. font-size: 13px;
  367. overflow: hidden;
  368. text-overflow: ellipsis;
  369. white-space: nowrap;
  370. color: var(--color-text);
  371. }
  372. .item-meta {
  373. font-size: 12px;
  374. color: var(--color-text-light);
  375. flex-shrink: 0;
  376. }
  377. .item-date {
  378. font-size: 11px;
  379. color: var(--color-text-lighter);
  380. flex-shrink: 0;
  381. }
  382. .item-actions {
  383. display: none;
  384. gap: 4px;
  385. flex-shrink: 0;
  386. }
  387. .dir-item:hover .item-actions,
  388. .track-item:hover .item-actions {
  389. display: flex;
  390. }
  391. .item-btn {
  392. background: none;
  393. border: 1px solid #ddd;
  394. border-radius: var(--radius-sm);
  395. cursor: pointer;
  396. padding: 2px 6px;
  397. font-size: 13px;
  398. line-height: 1.4;
  399. transition: background 0.15s;
  400. color: var(--color-text-light);
  401. }
  402. .item-btn:hover {
  403. background: var(--color-border-light);
  404. border-color: #bbb;
  405. }
  406. .empty-list {
  407. color: var(--color-text-lighter);
  408. font-size: 13px;
  409. text-align: center;
  410. padding: 32px 16px;
  411. }
  412. .loading {
  413. color: var(--color-text-light);
  414. text-align: center;
  415. padding: 24px 16px;
  416. font-size: 13px;
  417. }
  418. /* ===== Map Container ===== */
  419. #map-container {
  420. flex: 1;
  421. position: relative;
  422. overflow: hidden;
  423. }
  424. #map {
  425. width: 100%;
  426. height: 100%;
  427. }
  428. .drag-over {
  429. outline: 4px dashed var(--color-blue);
  430. outline-offset: -4px;
  431. }
  432. /* ===== Track Info Panel ===== */
  433. #track-info-panel {
  434. position: absolute;
  435. bottom: 20px;
  436. right: 20px;
  437. background: var(--color-white);
  438. border-radius: var(--radius-lg);
  439. box-shadow: var(--shadow-md);
  440. padding: 16px;
  441. min-width: 220px;
  442. max-width: 300px;
  443. z-index: 1000;
  444. }
  445. #track-info-panel h3 {
  446. margin-bottom: 8px;
  447. font-size: 14px;
  448. font-weight: 600;
  449. color: var(--color-text);
  450. padding-right: 24px;
  451. }
  452. .info-row {
  453. display: flex;
  454. justify-content: space-between;
  455. font-size: 13px;
  456. padding: 4px 0;
  457. border-bottom: 1px solid var(--color-border-light);
  458. }
  459. .info-row:last-child {
  460. border-bottom: none;
  461. }
  462. .info-row label {
  463. color: var(--color-text-light);
  464. }
  465. .info-row span {
  466. font-weight: 500;
  467. color: var(--color-text);
  468. }
  469. #track-info-close {
  470. position: absolute;
  471. top: 8px;
  472. right: 8px;
  473. background: none;
  474. border: none;
  475. cursor: pointer;
  476. font-size: 20px;
  477. color: var(--color-text-lighter);
  478. line-height: 1;
  479. padding: 2px 4px;
  480. transition: color 0.15s;
  481. }
  482. #track-info-close:hover {
  483. color: var(--color-text);
  484. }
  485. /* ===== Modals ===== */
  486. .modal {
  487. position: fixed;
  488. inset: 0;
  489. background: rgba(0, 0, 0, 0.5);
  490. display: flex;
  491. align-items: center;
  492. justify-content: center;
  493. z-index: 9999;
  494. }
  495. .modal-content {
  496. background: var(--color-white);
  497. border-radius: var(--radius-lg);
  498. padding: 24px;
  499. min-width: 300px;
  500. max-width: 90vw;
  501. max-height: 90vh;
  502. overflow-y: auto;
  503. position: relative;
  504. box-shadow: var(--shadow-lg);
  505. }
  506. .modal-large {
  507. min-width: min(700px, 95vw);
  508. }
  509. .modal-header {
  510. display: flex;
  511. justify-content: space-between;
  512. align-items: center;
  513. margin-bottom: 16px;
  514. }
  515. .modal-header h2 {
  516. font-size: 18px;
  517. font-weight: 600;
  518. color: var(--color-text);
  519. }
  520. .modal-close {
  521. background: none;
  522. border: none;
  523. font-size: 24px;
  524. cursor: pointer;
  525. color: var(--color-text-lighter);
  526. line-height: 1;
  527. padding: 2px 6px;
  528. transition: color 0.15s;
  529. }
  530. .modal-close:hover {
  531. color: var(--color-text);
  532. }
  533. /* ===== Buttons ===== */
  534. .btn-primary {
  535. padding: 8px 16px;
  536. background: var(--color-blue);
  537. color: var(--color-white);
  538. border: none;
  539. border-radius: var(--radius-sm);
  540. cursor: pointer;
  541. font-size: 14px;
  542. font-weight: 500;
  543. transition: background 0.2s;
  544. }
  545. .btn-primary:hover {
  546. background: var(--color-blue-hover);
  547. }
  548. .btn-secondary {
  549. padding: 8px 16px;
  550. background: var(--color-gray);
  551. color: var(--color-white);
  552. border: none;
  553. border-radius: var(--radius-sm);
  554. cursor: pointer;
  555. font-size: 14px;
  556. font-weight: 500;
  557. transition: background 0.2s;
  558. }
  559. .btn-secondary:hover {
  560. background: var(--color-gray-hover);
  561. }
  562. .btn-danger {
  563. padding: 8px 16px;
  564. background: var(--color-red);
  565. color: var(--color-white);
  566. border: none;
  567. border-radius: var(--radius-sm);
  568. cursor: pointer;
  569. font-size: 14px;
  570. font-weight: 500;
  571. transition: background 0.2s;
  572. }
  573. .btn-danger:hover {
  574. background: var(--color-red-hover);
  575. }
  576. .btn-small {
  577. padding: 4px 10px;
  578. font-size: 12px;
  579. border-radius: var(--radius-sm);
  580. cursor: pointer;
  581. border: none;
  582. font-weight: 500;
  583. transition: background 0.2s;
  584. }
  585. .btn-small.btn-primary {
  586. background: var(--color-blue);
  587. color: var(--color-white);
  588. }
  589. .btn-small.btn-primary:hover {
  590. background: var(--color-blue-hover);
  591. }
  592. .btn-small.btn-secondary {
  593. background: var(--color-gray);
  594. color: var(--color-white);
  595. }
  596. .btn-small.btn-secondary:hover {
  597. background: var(--color-gray-hover);
  598. }
  599. .btn-small.btn-danger {
  600. background: var(--color-red);
  601. color: var(--color-white);
  602. }
  603. .btn-small.btn-danger:hover {
  604. background: var(--color-red-hover);
  605. }
  606. /* ===== Upload Toast ===== */
  607. #upload-toast {
  608. position: fixed;
  609. top: 16px;
  610. right: 16px;
  611. background: var(--color-dark);
  612. color: var(--color-white);
  613. padding: 12px 20px;
  614. border-radius: var(--radius-md);
  615. z-index: 99999;
  616. font-size: 14px;
  617. box-shadow: var(--shadow-md);
  618. max-width: 300px;
  619. word-break: break-word;
  620. }
  621. #upload-toast.success {
  622. background: var(--color-green);
  623. }
  624. #upload-toast.error {
  625. background: var(--color-red);
  626. }
  627. /* ===== Stats ===== */
  628. .stats-section {
  629. margin-bottom: 24px;
  630. }
  631. .stats-section h3 {
  632. font-size: 11px;
  633. text-transform: uppercase;
  634. color: var(--color-text-light);
  635. margin-bottom: 12px;
  636. letter-spacing: 0.5px;
  637. font-weight: 600;
  638. }
  639. .stat-row {
  640. display: flex;
  641. align-items: center;
  642. margin-bottom: 6px;
  643. gap: 8px;
  644. }
  645. .stat-row .stat-label {
  646. width: 80px;
  647. font-size: 12px;
  648. color: var(--color-text-light);
  649. flex-shrink: 0;
  650. }
  651. .stat-bar-wrap {
  652. flex: 1;
  653. height: 16px;
  654. background: var(--color-border-light);
  655. border-radius: 8px;
  656. overflow: hidden;
  657. }
  658. .stat-bar {
  659. height: 100%;
  660. background: var(--color-blue);
  661. border-radius: 8px;
  662. transition: width 0.3s ease;
  663. min-width: 2px;
  664. }
  665. .stat-row .stat-value {
  666. width: 80px;
  667. text-align: right;
  668. font-size: 12px;
  669. font-weight: 600;
  670. flex-shrink: 0;
  671. color: var(--color-text);
  672. }
  673. /* ===== Admin Table ===== */
  674. .admin-table {
  675. width: 100%;
  676. border-collapse: collapse;
  677. font-size: 13px;
  678. }
  679. .admin-table th {
  680. background: var(--color-bg);
  681. padding: 10px 12px;
  682. text-align: left;
  683. border-bottom: 2px solid #dee2e6;
  684. font-weight: 600;
  685. color: var(--color-text);
  686. white-space: nowrap;
  687. }
  688. .admin-table td {
  689. padding: 8px 12px;
  690. border-bottom: 1px solid var(--color-border-light);
  691. color: var(--color-text);
  692. vertical-align: middle;
  693. }
  694. .admin-table tr:hover td {
  695. background: var(--color-bg);
  696. }
  697. .admin-table td:last-child {
  698. white-space: nowrap;
  699. display: flex;
  700. gap: 4px;
  701. flex-wrap: wrap;
  702. }
  703. /* ===== Move Dialog ===== */
  704. #move-dir-list {
  705. max-height: 300px;
  706. overflow-y: auto;
  707. border: 1px solid var(--color-border);
  708. border-radius: var(--radius-md);
  709. padding: 4px;
  710. }
  711. .move-dir-item {
  712. padding: 8px 12px;
  713. cursor: pointer;
  714. border-radius: var(--radius-sm);
  715. margin-bottom: 2px;
  716. font-size: 13px;
  717. transition: background 0.15s;
  718. color: var(--color-text);
  719. }
  720. .move-dir-item:hover {
  721. background: var(--color-border-light);
  722. }
  723. .move-dir-item.selected {
  724. background: #e8f4fd;
  725. border: 1px solid var(--color-blue);
  726. color: var(--color-blue);
  727. font-weight: 500;
  728. }
  729. /* ===== Share URL Box ===== */
  730. .share-url-box {
  731. display: flex;
  732. gap: 8px;
  733. margin-top: 8px;
  734. }
  735. .share-url-box input {
  736. flex: 1;
  737. padding: 8px;
  738. border: 1px solid #ddd;
  739. border-radius: var(--radius-sm);
  740. font-size: 13px;
  741. margin-bottom: 0;
  742. color: var(--color-text-light);
  743. background: var(--color-bg);
  744. }
  745. .share-url-box button {
  746. flex-shrink: 0;
  747. padding: 8px 14px;
  748. background: var(--color-blue);
  749. color: var(--color-white);
  750. border: none;
  751. border-radius: var(--radius-sm);
  752. cursor: pointer;
  753. font-size: 13px;
  754. transition: background 0.2s;
  755. }
  756. .share-url-box button:hover {
  757. background: var(--color-blue-hover);
  758. }
  759. /* ===== Responsive ===== */
  760. @media (max-width: 768px) {
  761. #sidebar {
  762. position: absolute;
  763. left: 0;
  764. top: var(--topbar-height);
  765. bottom: 0;
  766. z-index: 500;
  767. box-shadow: var(--shadow-md);
  768. }
  769. #sidebar.collapsed {
  770. width: 0;
  771. }
  772. .modal-large {
  773. min-width: 95vw;
  774. }
  775. #track-info-panel {
  776. bottom: 10px;
  777. right: 10px;
  778. max-width: calc(100vw - 20px);
  779. }
  780. }
  781. @media (max-width: 480px) {
  782. .auth-container {
  783. min-width: unset;
  784. margin: 16px;
  785. padding: 28px 20px;
  786. }
  787. #topbar {
  788. padding: 0 10px;
  789. }
  790. #topbar-title {
  791. font-size: 14px;
  792. }
  793. .admin-table {
  794. font-size: 11px;
  795. }
  796. .admin-table th,
  797. .admin-table td {
  798. padding: 6px 8px;
  799. }
  800. }