picker.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. :root {
  2. --font-sans: -apple-system, BlinkMacSystemFont, avenir next, avenir, Segoe UI Variable Text, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, tahoma, arial, sans-serif;
  3. }
  4. html {
  5. width: 100%;
  6. height: 100%;
  7. padding: 0;
  8. margin: 0;
  9. }
  10. body {
  11. font-family: var(--font-sans);
  12. width: 100%;
  13. height: 100%;
  14. padding: 0;
  15. margin: 0;
  16. background-color: var(--td-window-bg);
  17. color: var(--td-window-fg);
  18. }
  19. html.custom_scroll ::-webkit-scrollbar {
  20. border-radius: 5px !important;
  21. border: 3px solid transparent !important;
  22. background-color: var(--td-scroll-bg) !important;
  23. background-clip: content-box !important;
  24. width: 10px !important;
  25. }
  26. html.custom_scroll ::-webkit-scrollbar:hover {
  27. background-color: var(--td-scroll-bg-over) !important;
  28. }
  29. html.custom_scroll ::-webkit-scrollbar-thumb {
  30. border-radius: 5px !important;
  31. border: 3px solid transparent !important;
  32. background-color: var(--td-scroll-bar-bg) !important;
  33. background-clip: content-box !important;
  34. }
  35. html.custom_scroll ::-webkit-scrollbar-thumb:hover {
  36. background-color: var(--td-scroll-bar-bg-over) !important;
  37. }
  38. #map {
  39. position: relative;
  40. width: 100%;
  41. height: 100%;
  42. }
  43. #marker {
  44. pointer-events: none;
  45. display: none;
  46. z-index: 2;
  47. position: absolute;
  48. width: 100%;
  49. height: 100%;
  50. justify-content: center;
  51. align-items: center;
  52. }
  53. #marker_drop {
  54. margin-bottom: 0px;
  55. transition: margin 160ms ease-in-out;
  56. }
  57. #marker_drop.moving {
  58. margin-bottom: 24px;
  59. }
  60. #marker_shadow {
  61. position: absolute;
  62. }
  63. #search_venues {
  64. position: absolute;
  65. left: 50%;
  66. transform: translateX(-50%);
  67. z-index: 2;
  68. top: -30px;
  69. transition: top 200ms ease-in-out;
  70. }
  71. #search_venues.shown {
  72. top: 6px;
  73. }
  74. #search_venues_inner {
  75. position: relative;
  76. overflow: hidden;
  77. font-size: 13px;
  78. font-weight: 500;
  79. background: var(--td-window-bg);
  80. color: var(--td-window-active-text-fg);
  81. cursor: pointer;
  82. border-radius: 14px;
  83. padding: 5px 12px 6px;
  84. box-shadow: 0 0 3px 0px var(--td-history-to-down-shadow);
  85. }
  86. #search_venues_inner:hover {
  87. background: var(--td-window-bg-over);
  88. }
  89. #search_venues_content {
  90. position: relative;
  91. z-index: 2;
  92. }
  93. #search_venues_content:before {
  94. content: var(--td-lng-maps-places-in-area);
  95. }
  96. #search_venues_inner .ripple .inner {
  97. position: absolute;
  98. border-radius: 50%;
  99. transform: scale(0);
  100. opacity: 1;
  101. animation: ripple 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  102. background-color: var(--td-window-bg-ripple);
  103. }
  104. #search_venues_inner .ripple.hiding {
  105. animation: fadeOut 200ms linear forwards;
  106. }
  107. @keyframes ripple {
  108. to {
  109. transform: scale(2);
  110. }
  111. }
  112. @keyframes fadeOut {
  113. to {
  114. opacity: 0;
  115. }
  116. }