style.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927
  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. /* ===== App Container ===== */
  218. #app {
  219. flex: 1;
  220. flex-direction: column;
  221. overflow: hidden;
  222. }
  223. /* ===== Main Content ===== */
  224. #main-content {
  225. display: flex;
  226. flex: 1;
  227. overflow: hidden;
  228. }
  229. /* ===== Sidebar ===== */
  230. #sidebar {
  231. width: var(--sidebar-width);
  232. background: var(--color-white);
  233. border-right: 1px solid var(--color-border);
  234. display: flex;
  235. flex-direction: column;
  236. flex-shrink: 0;
  237. transition: width 0.2s ease;
  238. overflow: hidden;
  239. }
  240. #sidebar.collapsed {
  241. width: 0;
  242. border-right: none;
  243. }
  244. /* ===== Sidebar Tabs ===== */
  245. #sidebar-tabs {
  246. display: flex;
  247. border-bottom: 1px solid var(--color-border);
  248. flex-shrink: 0;
  249. }
  250. .sidebar-tab {
  251. flex: 1;
  252. padding: 12px;
  253. border: none;
  254. background: none;
  255. cursor: pointer;
  256. font-size: 13px;
  257. font-weight: 500;
  258. color: var(--color-text-light);
  259. transition: color 0.2s;
  260. border-bottom: 2px solid transparent;
  261. margin-bottom: -1px;
  262. }
  263. .sidebar-tab:hover:not(.active) {
  264. color: var(--color-text);
  265. background: var(--color-bg);
  266. }
  267. .sidebar-tab.active {
  268. color: var(--color-blue);
  269. border-bottom-color: var(--color-blue);
  270. }
  271. /* ===== Sidebar Tab Content ===== */
  272. .sidebar-tab-content {
  273. display: flex;
  274. flex-direction: column;
  275. flex: 1;
  276. overflow: hidden;
  277. }
  278. #browser-tab {
  279. display: flex;
  280. flex-direction: column;
  281. flex: 1;
  282. overflow: hidden;
  283. }
  284. #stats-tab {
  285. flex: 1;
  286. overflow-y: auto;
  287. padding: 12px;
  288. }
  289. /* ===== Breadcrumb ===== */
  290. #breadcrumb {
  291. padding: 8px 12px;
  292. font-size: 13px;
  293. background: var(--color-bg);
  294. border-bottom: 1px solid var(--color-border);
  295. flex-shrink: 0;
  296. white-space: nowrap;
  297. overflow: hidden;
  298. text-overflow: ellipsis;
  299. }
  300. .bc-item {
  301. cursor: pointer;
  302. color: var(--color-blue);
  303. transition: text-decoration 0.1s;
  304. }
  305. .bc-item:hover {
  306. text-decoration: underline;
  307. }
  308. .bc-item:last-child {
  309. color: var(--color-text);
  310. cursor: default;
  311. font-weight: 500;
  312. }
  313. .bc-item:last-child:hover {
  314. text-decoration: none;
  315. }
  316. .bc-sep {
  317. color: var(--color-text-lighter);
  318. margin: 0 4px;
  319. }
  320. /* ===== Browser Actions ===== */
  321. #browser-actions {
  322. display: flex;
  323. gap: 8px;
  324. padding: 8px;
  325. border-bottom: 1px solid var(--color-border);
  326. flex-shrink: 0;
  327. }
  328. .action-btn {
  329. padding: 6px 12px;
  330. border: 1px solid var(--color-blue);
  331. color: var(--color-blue);
  332. background: var(--color-white);
  333. border-radius: var(--radius-sm);
  334. cursor: pointer;
  335. font-size: 13px;
  336. transition: background 0.2s, color 0.2s;
  337. font-weight: 500;
  338. }
  339. .action-btn:hover {
  340. background: var(--color-blue);
  341. color: var(--color-white);
  342. }
  343. /* ===== Browser List ===== */
  344. #browser-list {
  345. flex: 1;
  346. overflow-y: auto;
  347. }
  348. .dir-item,
  349. .track-item {
  350. display: flex;
  351. align-items: center;
  352. padding: 8px 12px;
  353. border-bottom: 1px solid var(--color-border-light);
  354. cursor: pointer;
  355. position: relative;
  356. gap: 8px;
  357. transition: background 0.15s;
  358. min-height: 40px;
  359. }
  360. .dir-item:hover,
  361. .track-item:hover {
  362. background: var(--color-bg);
  363. }
  364. .item-icon {
  365. flex-shrink: 0;
  366. width: 20px;
  367. text-align: center;
  368. font-size: 15px;
  369. }
  370. .item-name {
  371. flex: 1;
  372. font-size: 13px;
  373. overflow: hidden;
  374. text-overflow: ellipsis;
  375. white-space: nowrap;
  376. color: var(--color-text);
  377. }
  378. .item-meta {
  379. font-size: 12px;
  380. color: var(--color-text-light);
  381. flex-shrink: 0;
  382. }
  383. .item-date {
  384. font-size: 11px;
  385. color: var(--color-text-lighter);
  386. flex-shrink: 0;
  387. }
  388. .item-actions {
  389. display: none;
  390. gap: 4px;
  391. flex-shrink: 0;
  392. }
  393. .dir-item:hover .item-actions,
  394. .track-item:hover .item-actions {
  395. display: flex;
  396. }
  397. .item-btn {
  398. background: none;
  399. border: 1px solid #ddd;
  400. border-radius: var(--radius-sm);
  401. cursor: pointer;
  402. padding: 2px 6px;
  403. font-size: 13px;
  404. line-height: 1.4;
  405. transition: background 0.15s;
  406. color: var(--color-text-light);
  407. }
  408. .item-btn:hover {
  409. background: var(--color-border-light);
  410. border-color: #bbb;
  411. }
  412. .empty-list {
  413. color: var(--color-text-lighter);
  414. font-size: 13px;
  415. text-align: center;
  416. padding: 32px 16px;
  417. }
  418. .loading {
  419. color: var(--color-text-light);
  420. text-align: center;
  421. padding: 24px 16px;
  422. font-size: 13px;
  423. }
  424. /* ===== Map Container ===== */
  425. #map-container {
  426. flex: 1;
  427. position: relative;
  428. overflow: hidden;
  429. }
  430. #map {
  431. width: 100%;
  432. height: 100%;
  433. }
  434. .drag-over {
  435. outline: 4px dashed var(--color-blue);
  436. outline-offset: -4px;
  437. }
  438. /* ===== Track Info Panel ===== */
  439. #track-info-panel {
  440. position: absolute;
  441. bottom: 20px;
  442. right: 20px;
  443. background: var(--color-white);
  444. border-radius: var(--radius-lg);
  445. box-shadow: var(--shadow-md);
  446. padding: 16px;
  447. min-width: 220px;
  448. max-width: 300px;
  449. z-index: 1000;
  450. }
  451. #track-info-panel h3 {
  452. margin-bottom: 8px;
  453. font-size: 14px;
  454. font-weight: 600;
  455. color: var(--color-text);
  456. padding-right: 24px;
  457. }
  458. .info-row {
  459. display: flex;
  460. justify-content: space-between;
  461. font-size: 13px;
  462. padding: 4px 0;
  463. border-bottom: 1px solid var(--color-border-light);
  464. }
  465. .info-row:last-child {
  466. border-bottom: none;
  467. }
  468. .info-row label {
  469. color: var(--color-text-light);
  470. }
  471. .info-row span {
  472. font-weight: 500;
  473. color: var(--color-text);
  474. }
  475. #track-info-close {
  476. position: absolute;
  477. top: 8px;
  478. right: 8px;
  479. background: none;
  480. border: none;
  481. cursor: pointer;
  482. font-size: 20px;
  483. color: var(--color-text-lighter);
  484. line-height: 1;
  485. padding: 2px 4px;
  486. transition: color 0.15s;
  487. }
  488. #track-info-close:hover {
  489. color: var(--color-text);
  490. }
  491. /* ===== Modals ===== */
  492. .modal {
  493. position: fixed;
  494. inset: 0;
  495. background: rgba(0, 0, 0, 0.5);
  496. display: flex;
  497. align-items: center;
  498. justify-content: center;
  499. z-index: 9999;
  500. }
  501. .modal-content {
  502. background: var(--color-white);
  503. border-radius: var(--radius-lg);
  504. padding: 24px;
  505. min-width: 300px;
  506. max-width: 90vw;
  507. max-height: 90vh;
  508. overflow-y: auto;
  509. position: relative;
  510. box-shadow: var(--shadow-lg);
  511. }
  512. .modal-large {
  513. min-width: min(700px, 95vw);
  514. }
  515. .modal-header {
  516. display: flex;
  517. justify-content: space-between;
  518. align-items: center;
  519. margin-bottom: 16px;
  520. }
  521. .modal-header h2 {
  522. font-size: 18px;
  523. font-weight: 600;
  524. color: var(--color-text);
  525. }
  526. .modal-close {
  527. background: none;
  528. border: none;
  529. font-size: 24px;
  530. cursor: pointer;
  531. color: var(--color-text-lighter);
  532. line-height: 1;
  533. padding: 2px 6px;
  534. transition: color 0.15s;
  535. }
  536. .modal-close:hover {
  537. color: var(--color-text);
  538. }
  539. /* ===== Buttons ===== */
  540. .btn-primary {
  541. padding: 8px 16px;
  542. background: var(--color-blue);
  543. color: var(--color-white);
  544. border: none;
  545. border-radius: var(--radius-sm);
  546. cursor: pointer;
  547. font-size: 14px;
  548. font-weight: 500;
  549. transition: background 0.2s;
  550. }
  551. .btn-primary:hover {
  552. background: var(--color-blue-hover);
  553. }
  554. .btn-secondary {
  555. padding: 8px 16px;
  556. background: var(--color-gray);
  557. color: var(--color-white);
  558. border: none;
  559. border-radius: var(--radius-sm);
  560. cursor: pointer;
  561. font-size: 14px;
  562. font-weight: 500;
  563. transition: background 0.2s;
  564. }
  565. .btn-secondary:hover {
  566. background: var(--color-gray-hover);
  567. }
  568. .btn-danger {
  569. padding: 8px 16px;
  570. background: var(--color-red);
  571. color: var(--color-white);
  572. border: none;
  573. border-radius: var(--radius-sm);
  574. cursor: pointer;
  575. font-size: 14px;
  576. font-weight: 500;
  577. transition: background 0.2s;
  578. }
  579. .btn-danger:hover {
  580. background: var(--color-red-hover);
  581. }
  582. .btn-small {
  583. padding: 4px 10px;
  584. font-size: 12px;
  585. border-radius: var(--radius-sm);
  586. cursor: pointer;
  587. border: none;
  588. font-weight: 500;
  589. transition: background 0.2s;
  590. }
  591. .btn-small.btn-primary {
  592. background: var(--color-blue);
  593. color: var(--color-white);
  594. }
  595. .btn-small.btn-primary:hover {
  596. background: var(--color-blue-hover);
  597. }
  598. .btn-small.btn-secondary {
  599. background: var(--color-gray);
  600. color: var(--color-white);
  601. }
  602. .btn-small.btn-secondary:hover {
  603. background: var(--color-gray-hover);
  604. }
  605. .btn-small.btn-danger {
  606. background: var(--color-red);
  607. color: var(--color-white);
  608. }
  609. .btn-small.btn-danger:hover {
  610. background: var(--color-red-hover);
  611. }
  612. /* ===== Upload Toast ===== */
  613. #upload-toast {
  614. position: fixed;
  615. top: 16px;
  616. right: 16px;
  617. background: var(--color-dark);
  618. color: var(--color-white);
  619. padding: 12px 20px;
  620. border-radius: var(--radius-md);
  621. z-index: 99999;
  622. font-size: 14px;
  623. box-shadow: var(--shadow-md);
  624. max-width: 300px;
  625. word-break: break-word;
  626. }
  627. #upload-toast.success {
  628. background: var(--color-green);
  629. }
  630. #upload-toast.error {
  631. background: var(--color-red);
  632. }
  633. /* ===== Stats ===== */
  634. .stats-section {
  635. margin-bottom: 24px;
  636. }
  637. .stats-section h3 {
  638. font-size: 11px;
  639. text-transform: uppercase;
  640. color: var(--color-text-light);
  641. margin-bottom: 12px;
  642. letter-spacing: 0.5px;
  643. font-weight: 600;
  644. }
  645. .stat-row {
  646. display: flex;
  647. align-items: center;
  648. margin-bottom: 6px;
  649. gap: 8px;
  650. }
  651. .stat-row .stat-label {
  652. width: 80px;
  653. font-size: 12px;
  654. color: var(--color-text-light);
  655. flex-shrink: 0;
  656. }
  657. .stat-bar-wrap {
  658. flex: 1;
  659. height: 16px;
  660. background: var(--color-border-light);
  661. border-radius: 8px;
  662. overflow: hidden;
  663. }
  664. .stat-bar {
  665. height: 100%;
  666. background: var(--color-blue);
  667. border-radius: 8px;
  668. transition: width 0.3s ease;
  669. min-width: 2px;
  670. }
  671. .stat-row .stat-value {
  672. width: 80px;
  673. text-align: right;
  674. font-size: 12px;
  675. font-weight: 600;
  676. flex-shrink: 0;
  677. color: var(--color-text);
  678. }
  679. /* ===== Admin Table ===== */
  680. .admin-table {
  681. width: 100%;
  682. border-collapse: collapse;
  683. font-size: 13px;
  684. }
  685. .admin-table th {
  686. background: var(--color-bg);
  687. padding: 10px 12px;
  688. text-align: left;
  689. border-bottom: 2px solid #dee2e6;
  690. font-weight: 600;
  691. color: var(--color-text);
  692. white-space: nowrap;
  693. }
  694. .admin-table td {
  695. padding: 8px 12px;
  696. border-bottom: 1px solid var(--color-border-light);
  697. color: var(--color-text);
  698. vertical-align: middle;
  699. }
  700. .admin-table tr:hover td {
  701. background: var(--color-bg);
  702. }
  703. .admin-table td:last-child {
  704. white-space: nowrap;
  705. display: flex;
  706. gap: 4px;
  707. flex-wrap: wrap;
  708. }
  709. /* ===== Move Dialog ===== */
  710. #move-dir-list {
  711. max-height: 300px;
  712. overflow-y: auto;
  713. border: 1px solid var(--color-border);
  714. border-radius: var(--radius-md);
  715. padding: 4px;
  716. }
  717. .move-dir-item {
  718. padding: 8px 12px;
  719. cursor: pointer;
  720. border-radius: var(--radius-sm);
  721. margin-bottom: 2px;
  722. font-size: 13px;
  723. transition: background 0.15s;
  724. color: var(--color-text);
  725. }
  726. .move-dir-item:hover {
  727. background: var(--color-border-light);
  728. }
  729. .move-dir-item.selected {
  730. background: #e8f4fd;
  731. border: 1px solid var(--color-blue);
  732. color: var(--color-blue);
  733. font-weight: 500;
  734. }
  735. /* ===== Share URL Box ===== */
  736. .share-url-box {
  737. display: flex;
  738. gap: 8px;
  739. margin-top: 8px;
  740. }
  741. .share-url-box input {
  742. flex: 1;
  743. padding: 8px;
  744. border: 1px solid #ddd;
  745. border-radius: var(--radius-sm);
  746. font-size: 13px;
  747. margin-bottom: 0;
  748. color: var(--color-text-light);
  749. background: var(--color-bg);
  750. }
  751. .share-url-box button {
  752. flex-shrink: 0;
  753. padding: 8px 14px;
  754. background: var(--color-blue);
  755. color: var(--color-white);
  756. border: none;
  757. border-radius: var(--radius-sm);
  758. cursor: pointer;
  759. font-size: 13px;
  760. transition: background 0.2s;
  761. }
  762. .share-url-box button:hover {
  763. background: var(--color-blue-hover);
  764. }
  765. /* ===== Responsive ===== */
  766. @media (max-width: 768px) {
  767. #sidebar {
  768. position: absolute;
  769. left: 0;
  770. top: var(--topbar-height);
  771. bottom: 0;
  772. z-index: 500;
  773. box-shadow: var(--shadow-md);
  774. }
  775. #sidebar.collapsed {
  776. width: 0;
  777. }
  778. .modal-large {
  779. min-width: 95vw;
  780. }
  781. #track-info-panel {
  782. bottom: 10px;
  783. right: 10px;
  784. max-width: calc(100vw - 20px);
  785. }
  786. }
  787. @media (max-width: 480px) {
  788. .auth-container {
  789. min-width: unset;
  790. margin: 16px;
  791. padding: 28px 20px;
  792. }
  793. #topbar {
  794. padding: 0 10px;
  795. }
  796. #topbar-title {
  797. font-size: 14px;
  798. }
  799. .admin-table {
  800. font-size: 11px;
  801. }
  802. .admin-table th,
  803. .admin-table td {
  804. padding: 6px 8px;
  805. }
  806. }