list.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. /* Common styles for List Pages (Middle Column) */
  2. body {
  3. padding: 20px;
  4. display: block;
  5. background-color: transparent;
  6. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  7. }
  8. /* Header & Search */
  9. .search-header {
  10. margin-bottom: 40px;
  11. }
  12. .search-title {
  13. font-size: 14px;
  14. font-weight: 600;
  15. color: #888;
  16. margin-bottom: 20px;
  17. }
  18. .search-input-container {
  19. position: relative;
  20. width: 100%;
  21. }
  22. .search-input {
  23. width: 100%;
  24. background: #1a1a1a;
  25. border: 1px solid #333;
  26. color: #fff;
  27. padding: 12px 40px;
  28. border-radius: 6px;
  29. font-size: 14px;
  30. box-sizing: border-box;
  31. outline: none;
  32. transition: border-color 0.2s;
  33. }
  34. .search-input:focus {
  35. border-color: var(--orange, #FF8F42);
  36. }
  37. .search-icon {
  38. position: absolute;
  39. left: 15px;
  40. top: 50%;
  41. transform: translateY(-50%);
  42. width: 14px;
  43. height: 14px;
  44. border: 2px solid #666;
  45. border-radius: 50%;
  46. box-sizing: border-box;
  47. }
  48. .search-icon:after {
  49. content: '';
  50. position: absolute;
  51. top: 8px; /* adjusted for box-sizing */
  52. left: 8px;
  53. width: 4px;
  54. height: 2px;
  55. background: #666;
  56. transform: rotate(45deg);
  57. }
  58. /* Grid Sections */
  59. .grid-section {
  60. margin-bottom: 40px;
  61. }
  62. .section-title {
  63. font-size: 14px;
  64. color: #888;
  65. font-weight: 500;
  66. }
  67. /* Card Grid */
  68. .card-grid {
  69. display: grid;
  70. /* Default to single column per screenshot reference for lists, but allow grid if needed */
  71. grid-template-columns: 1fr;
  72. gap: 30px; /* Explicit vertical spacing */
  73. }
  74. /* Cards */
  75. .card {
  76. background: #1a1a1a;
  77. border-radius: 8px;
  78. padding: 20px;
  79. margin-bottom: 17px;
  80. display: flex;
  81. flex-direction: column;
  82. cursor: pointer;
  83. transition: background 0.2s, border-color 0.2s;
  84. position: relative;
  85. min-height: 80px;
  86. justify-content: space-between;
  87. border: 1px solid transparent;
  88. }
  89. .card:hover {
  90. background: #222;
  91. border-color: #333;
  92. }
  93. .card.active {
  94. border-color: var(--orange, #FF8F42);
  95. background: #222;
  96. }
  97. .card-footer {
  98. margin-top: auto; /* Push to bottom if flex column */
  99. padding-top: 15px;
  100. font-size: 12px;
  101. color: #ccc;
  102. font-weight: 500;
  103. text-align: left;
  104. }
  105. /* Common Card Visuals */
  106. .card-large-icon {
  107. font-size: 32px;
  108. color: #444;
  109. display: flex;
  110. justify-content: center;
  111. align-items: center;
  112. height: 50px;
  113. background: #222;
  114. border-radius: 4px;
  115. margin-bottom: 10px;
  116. font-family: monospace;
  117. font-weight: bold;
  118. }
  119. .tag {
  120. font-size: 10px;
  121. background: #333;
  122. padding: 2px 4px;
  123. border-radius: 2px;
  124. color: #888;
  125. margin-left: 5px;
  126. display: inline-block;
  127. }
  128. /* Previews (Tween types etc) */
  129. .preview-box { width: 40px; height: 40px; background: #555; border-radius: 4px; }
  130. .preview-colors { display: flex; gap: 8px; }
  131. .color-dot { width: 20px; height: 20px; border-radius: 50%; background: #555; }
  132. .preview-vars { display: flex; gap: 10px; }
  133. .var-dot { width: 14px; height: 14px; border-radius: 2px; background: #555; }
  134. .preview-circle {
  135. width: 40px; height: 40px; border-radius: 50%;
  136. border: 2px solid #555; position: relative;
  137. display: flex; align-items: center; justify-content: center;
  138. box-sizing: border-box;
  139. }
  140. .preview-circle:after {
  141. content: ''; width: 2px; height: 14px; background: #555;
  142. position: absolute; top: 4px;
  143. }