index.css 2.3 KB

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