style.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /* Custom styling & animations for DebTik - Debian Linux Router */
  2. @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
  3. :root {
  4. font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  5. }
  6. .font-mono {
  7. font-family: 'JetBrains Mono', monospace;
  8. }
  9. /* Custom scrollbars */
  10. ::-webkit-scrollbar {
  11. width: 6px;
  12. height: 6px;
  13. }
  14. ::-webkit-scrollbar-track {
  15. background: rgba(15, 23, 42, 0.6);
  16. }
  17. ::-webkit-scrollbar-thumb {
  18. background: #334155;
  19. border-radius: 9999px;
  20. }
  21. ::-webkit-scrollbar-thumb:hover {
  22. background: #475569;
  23. }
  24. /* Smooth modal entry */
  25. @keyframes modalIn {
  26. from {
  27. opacity: 0;
  28. transform: scale(0.96) translateY(8px);
  29. }
  30. to {
  31. opacity: 1;
  32. transform: scale(1) translateY(0);
  33. }
  34. }
  35. .animate-in {
  36. animation: modalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  37. }
  38. /* Accordion chevron transitions */
  39. .chevron-icon {
  40. transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  41. }
  42. .chevron-open {
  43. transform: rotate(90deg);
  44. }
  45. /* Tree line hierarchy styling */
  46. .tree-branch {
  47. position: relative;
  48. }
  49. .tree-branch::before {
  50. content: "";
  51. position: absolute;
  52. left: -12px;
  53. top: 14px;
  54. width: 10px;
  55. height: 2px;
  56. background-color: #06b6d4;
  57. opacity: 0.6;
  58. }
  59. /* Glowing card effects */
  60. .glow-brand {
  61. box-shadow: 0 0 25px -5px rgba(16, 185, 129, 0.2);
  62. }
  63. .glow-cyan {
  64. box-shadow: 0 0 25px -5px rgba(6, 182, 212, 0.2);
  65. }
  66. /* Sortable Table Headers (WinBox / WebFig Style) */
  67. th.table-sortable {
  68. cursor: pointer !important;
  69. user-select: none !important;
  70. transition: background-color 0.15s ease, color 0.15s ease;
  71. position: relative;
  72. }
  73. th.table-sortable:hover {
  74. background-color: rgba(30, 41, 59, 0.6) !important;
  75. color: #ffffff !important;
  76. }
  77. th.table-sorted-active {
  78. color: #38bdf8 !important;
  79. background-color: rgba(14, 165, 233, 0.08) !important;
  80. }
  81. .table-sort-icon {
  82. display: inline-block;
  83. margin-left: 5px;
  84. font-size: 10px;
  85. line-height: 1;
  86. vertical-align: middle;
  87. font-family: monospace;
  88. transition: opacity 0.15s ease, color 0.15s ease;
  89. }