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.

125 lines
2.0 KiB

  1. /*
  2. Group map on /group/map
  3. */
  4. .group-map {
  5. height: 100vh;
  6. width: 100%;
  7. .groups {
  8. width: 100%;
  9. height: calc(100vh - 130px);
  10. overflow-y: scroll;
  11. .groupBlock {
  12. cursor: pointer;
  13. &.focused {
  14. //background-color: #AAA;
  15. //.clickable has already a hover state
  16. }
  17. img{
  18. width:92px;
  19. float:left;
  20. margin-right:12px;
  21. }
  22. }
  23. }
  24. //reset padding in containers
  25. #mapContainer{padding:0;}
  26. .form-group-container{
  27. padding-top: 35px;
  28. //the autocomplete field
  29. .form-group {
  30. display: inline-block;
  31. width: 50%;
  32. /*margin-left: auto;
  33. margin-right: auto;
  34. margin-top: 5rem;
  35. */
  36. }
  37. }
  38. #logo{
  39. background-image: url(/img/logo3.png);
  40. background-repeat: no-repeat;
  41. background-position: center;
  42. height: 130px;
  43. }
  44. .leaflet-container{
  45. //compute map height
  46. height: calc(100vh - 130px);
  47. }
  48. .leaflet-popup-content{
  49. .groupName{
  50. text-align: center;
  51. font-weight: bold;
  52. font-size: 1.2em;
  53. font-family:Cabin,Helvetica,Arial,sans-serif;
  54. margin-top: 8px;
  55. }
  56. .groupImage{
  57. max-width: 120px;
  58. max-height: 120px;
  59. display:block;
  60. margin:auto;
  61. }
  62. a{
  63. color:#3c763d;
  64. }
  65. }
  66. /*
  67. AUTOCOMPLETE
  68. */
  69. .autocomplete-input,
  70. .autocomplete-input:focus,
  71. .autocomplete-input:active {
  72. box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
  73. border: honeydew;
  74. display: block;
  75. width: 100%;
  76. padding: 16px;
  77. font-size: 16px;
  78. border-radius: 2px;
  79. outline: none;
  80. }
  81. .autocomplete-results {
  82. position: fixed;
  83. width: 50%;
  84. border-bottom: honeydew;
  85. border-left: honeydew;
  86. border-right: honeydew;
  87. border-top: 1px solid #e6e6e6;
  88. box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  89. border-radius: 0 0 2px 2px;
  90. z-index: 1001;
  91. }
  92. .autocomplete-item {
  93. padding: 4px;
  94. text-align: left;
  95. }
  96. .autocomplete-icon {
  97. margin-right: 8px;
  98. }
  99. .fa.fa-map-marker.header {
  100. color: #e53935;
  101. }
  102. .icon {
  103. cursor: pointer;
  104. }
  105. .popup {
  106. cursor: pointer;
  107. }
  108. }