云计算课程实验
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

202 lines
3.0 KiB

  1. html,
  2. body {
  3. padding: 0;
  4. color: #aaa;
  5. box-sizing: border-box;
  6. font-family: "Titillium Web", sans-serif;
  7. margin: 0;
  8. }
  9. .github-corner:hover .octo-arm {
  10. animation: octocat-wave 560ms ease-in-out;
  11. }
  12. @keyframes octocat-wave {
  13. 0%,
  14. 100% {
  15. transform: rotate(0);
  16. }
  17. 20%,
  18. 60% {
  19. transform: rotate(-25deg);
  20. }
  21. 40%,
  22. 80% {
  23. transform: rotate(10deg);
  24. }
  25. }
  26. @media (max-width: 500px) {
  27. .github-corner:hover .octo-arm {
  28. animation: none;
  29. }
  30. .github-corner .octo-arm {
  31. animation: octocat-wave 560ms ease-in-out;
  32. }
  33. }
  34. i {
  35. color: #3a3a3a;
  36. }
  37. div.intro a,
  38. div.intro a:visited {
  39. color: #fded39;
  40. }
  41. div.intro {
  42. padding: 10px;
  43. }
  44. div.intro h3 {
  45. color: #fded39;
  46. text-transform: uppercase;
  47. }
  48. h1 i {
  49. color: black;
  50. text-shadow: none;
  51. font-size: 21px;
  52. }
  53. textarea,
  54. input,
  55. button {
  56. outline: none;
  57. }
  58. .container {
  59. height: 90vh;
  60. display: flex;
  61. }
  62. #map {
  63. flex: 3;
  64. }
  65. #sidebar {
  66. background: #1a1a1a;
  67. border-left: 1px solid #444444;
  68. width: 320px;
  69. flex: 1;
  70. overflow-y: scroll;
  71. }
  72. #sidebar div#results-area {
  73. overflow-y: scroll;
  74. }
  75. div#heading {
  76. background: #fded39;
  77. margin: 0;
  78. height: 10vh;
  79. text-align: center;
  80. }
  81. div#heading h1 {
  82. font-size: 25px;
  83. text-transform: uppercase;
  84. text-shadow: -2px 2px black;
  85. margin: 0;
  86. color: #fded39;
  87. }
  88. div#heading p {
  89. color: black;
  90. font-style: italic;
  91. font-size: 12px;
  92. margin: 0;
  93. }
  94. div#search-area {
  95. padding: 10px;
  96. border-bottom: 1px solid #444444;
  97. }
  98. div#search-area input,
  99. div#search-area button {
  100. padding: 10px 8px;
  101. border: none;
  102. }
  103. div#search-area input {
  104. width: 195px;
  105. }
  106. div#search-area button {
  107. background: #fded39;
  108. font-weight: 600;
  109. text-transform: uppercase;
  110. }
  111. div#results-area {
  112. padding: 10px;
  113. }
  114. div#results-area h5 {
  115. font-weight: 200;
  116. font-style: italic;
  117. margin: 0;
  118. color: #ddd;
  119. }
  120. div#results-area h5 span.highlight {
  121. color: #fded39;
  122. font-weight: 600;
  123. }
  124. div#results-area ul {
  125. padding: 0;
  126. list-style-type: none;
  127. }
  128. div#results-area ul li {
  129. border: 1px solid #444;
  130. padding: 5px 10px;
  131. margin-bottom: 10px;
  132. cursor: pointer;
  133. }
  134. div#results-area ul li:hover {
  135. border: 1px solid #fded39;
  136. }
  137. div#results-area ul li p {
  138. margin: 0;
  139. font-size: 14px;
  140. }
  141. div#results-area ul li p.truck-name {
  142. color: #fded39;
  143. text-transform: uppercase;
  144. margin: 0;
  145. font-size: 16px;
  146. margin-bottom: 5px;
  147. }
  148. div#results-area ul li div.row {
  149. display: flex;
  150. flex-direction: row;
  151. }
  152. div#results-area ul li div.row div.icons {
  153. flex-shrink: 0;
  154. width: 16px;
  155. }
  156. div#results-area ul li div.row div.content {
  157. margin-left: 8px;
  158. }
  159. .mapboxgl-popup-content {
  160. background: black;
  161. font-family: "Titillium Web", sans-serif;
  162. }
  163. .mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
  164. border-top-color: black;
  165. }
  166. .mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
  167. border-bottom-color: black;
  168. }
  169. .mapboxgl-popup-close-button {
  170. color: white;
  171. }
  172. .mapboxgl-popup-content .marker-title {
  173. color: #fded39;
  174. text-transform: uppercase;
  175. font-size: 14px;
  176. }
  177. .mapboxgl-popup-content h4 {
  178. margin: 0;
  179. margin-top: 10px;
  180. }