index.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. @font-face {
  2. font-family: 'IBM Plex Sans';
  3. src: url(/3rdparty/IBMPlexSans-Regular.ttf);
  4. }
  5. html, body {
  6. margin: 0;
  7. padding: 0;
  8. width: 100%;
  9. height: 100%;
  10. font-family: 'IBM Plex Sans', sans-serif;
  11. }
  12. #app {
  13. position: absolute;
  14. height: 100vh;
  15. width: 100%;
  16. }
  17. .map {
  18. position: absolute;
  19. height: 100vh;
  20. width: 100%;
  21. }
  22. .map-overlay {
  23. position: absolute;
  24. z-index: 500; /* leaflet is on 400 */
  25. }
  26. .container {
  27. display: flex;
  28. border: 1px solid rgba(0,0,0,0.15);
  29. box-shadow: 0 2px 3px rgba(0,0,0,0.06);
  30. border-radius: 3px;
  31. background: white;
  32. }
  33. .query-search-input {
  34. position: absolute;
  35. top: 10px;
  36. left: 10px;
  37. width: 450px;
  38. transition: all 0.25s cubic-bezier(.65,.05,.36,1);
  39. }
  40. .query-search-input.open {
  41. left: 60px;
  42. width: 390px;
  43. }
  44. .query-search-input.second {
  45. top: 60px;
  46. }
  47. .query-search-input-placeholder {
  48. height: 60px;
  49. line-height: 60px;
  50. background-color: #409EFF;
  51. transition: all 0.25s cubic-bezier(.65,.05,.36,1);
  52. }
  53. .query-search-input-placeholder.second {
  54. height: 110px;
  55. }
  56. .query-search-result-container {
  57. overflow: auto;
  58. background: white;
  59. flex-basis: 0;
  60. transition: all 0.25s cubic-bezier(.65,.05,.36,1);
  61. }
  62. .query-search-result-container.open {
  63. flex-basis: 100%;
  64. }
  65. .query-search-result-container-inner {
  66. padding-top: 10px;
  67. }
  68. .query-search-result-container-inner.details {
  69. padding: 10px;
  70. }
  71. .query-search-result-item {
  72. cursor: pointer;
  73. white-space: nowrap;
  74. overflow: hidden;
  75. text-overflow: ellipsis;
  76. padding: 5px 10px;
  77. }
  78. .query-search-result-item:hover {
  79. background: #E7E7E7;
  80. }
  81. .query-search-result-item h4 {
  82. margin: 0;
  83. margin-top: 10px;
  84. margin-bottom: 5px;
  85. }
  86. .query-search-result-item p {
  87. margin: 0;
  88. margin-bottom: 10px;
  89. color: gray;
  90. font-size: 14px;
  91. }
  92. .search-input {
  93. width: 100%;
  94. }
  95. .side-panel {
  96. display: flex;
  97. flex-direction: column;
  98. color: #333;
  99. transition: all 0.25s cubic-bezier(.65,.05,.36,1);
  100. width: 0;
  101. height: 100vh;
  102. overflow: hidden;
  103. }
  104. .side-panel.open {
  105. width: 470px;
  106. }
  107. .side-panel-toggle-button {
  108. position: fixed;
  109. left: 5px;
  110. top: 50vh;
  111. transition: all 0.25s cubic-bezier(.65,.05,.36,1);
  112. }
  113. .side-panel-toggle-button.open {
  114. left: 475px;
  115. }
  116. .search-result-marker {
  117. background-image: url('pin.svg');
  118. background-size: cover;
  119. width: 80px;
  120. height: 80px;
  121. cursor: pointer;
  122. }
  123. /* element ui patches */
  124. .el-carousel__item {
  125. text-align: center;
  126. }