You are here

geolocation_googlemaps_d8.css in Geolocation Field 7

CSS for Google Map widget of Geolocation field.

File

modules/geolocation_googlemaps_d8/geolocation_googlemaps_d8.css
View source
  1. /**
  2. * @file
  3. * CSS for Google Map widget of Geolocation field.
  4. */
  5. .geolocation-map {
  6. /* Clear floated elements */
  7. overflow: auto;
  8. }
  9. .geolocation-map-canvas {
  10. height: 350px;
  11. width: 100%;
  12. }
  13. /* Fix Google Maps v3 controls */
  14. .geolocation-map-canvas .gmnoprint img {
  15. max-width: none;
  16. }
  17. .geocode-controlls-wrapper {
  18. display: block;
  19. width: 100%;
  20. font-size: 14px;
  21. margin: 1em 0 0 1em;
  22. }
  23. .geocode-controlls-wrapper input,
  24. .geocode-controlls-wrapper button {
  25. position: relative;
  26. padding: 0;
  27. font-size: inherit;
  28. height: 32px;
  29. outline: none;
  30. vertical-align: top;
  31. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  32. text-overflow: ellipsis;
  33. border: 1px solid transparent;
  34. -webkit-box-sizing: content-box;
  35. -moz-box-sizing: content-box;
  36. box-sizing: content-box;
  37. -webkit-appearance: none;
  38. -moz-appearance: none;
  39. appearance: none;
  40. }
  41. .geocode-controlls-wrapper input {
  42. padding: 0 1em;
  43. border-radius: 2px 0 0 2px;
  44. background-color: #fff;
  45. width: 40%;
  46. max-width: 350px;
  47. z-index: 2;
  48. }
  49. .geocode-controlls-wrapper input:focus {
  50. border-color: #4d90fe;
  51. }
  52. .geocode-controlls-wrapper button {
  53. color: #FFF;
  54. cursor: pointer;
  55. height: 32px;
  56. text-align: center;
  57. }
  58. button.submit {
  59. background-color: #4d90fe;
  60. background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
  61. border-radius: 0 2px 2px 0;
  62. width: 72px;
  63. }
  64. button.submit::before {
  65. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAABVUlEQVRYw+2YQRGEMAxFkVAJlYAEJCABCUhAQiWshJWABCRUAg7+XsrMTkibNDBdDvtnek0fSfqToQPQPeE8AuK5IDkBGAC8AESctQEIAHxXKTUIgB7ACr0CAHcrCIAJNm0A+ltALkAc2jWlKoKkcnCKCdCR0i3p4lNmroJwPRGEgC6VhGo2gaTXUQUhwEQryKsmUOaZU40WEOoTk8Eb3iTGYgGhcgaQmcRYL4N0BjHl+RnIeDuI1iFJ8EBivC0gm7bRCsGj1ktKIIGx6pohNjNZ9RYQnxliTgHRM1a/XrH4kIEZhEzstT0mgeTmBpJZzemJjgk65naTO9aAPvOFtavAWMqKdjHyhcxIW9quGRVVO2uh/lTr8fWMqbEw1cvzV/AlXXico2c884IgwZhADMY2STBNQDQwzUAkmKYgAoxvClKAGZqDMDBb89IwRjlI0/f/W+ID3tQLQPib2qQAAAAASUVORK5CYII=);
  66. background-size: 17px;
  67. content: "";
  68. display: block;
  69. height: 17px;
  70. margin: 0 auto;
  71. width: 17px;
  72. }
  73. button.clear {
  74. margin: 0 0.5em;
  75. background-color: #736648;
  76. background-image: -webkit-linear-gradient(top,#736648,#685C41);
  77. border-radius: 2px;
  78. width: 36px;
  79. }
  80. button.clear::before {
  81. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAA3CAYAAACo29JGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPH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cBVsCVcDLCWBgvB5QCiwEJxnEA0WAyOA4gKi8VRAtFhKTgKIAksFYcJJIOtwWEASWFrcWuA5DAMXAqQBYaFiwHecMEwcaHALy6YzcWfEK8qyB6ySTj3HfIIOWENUxa41UEeIIfcMApcCpAEZgv7a+nXNeSjf52qI+QO8kkxQEkEs7+95wWY+wCeILUWnIW9QLaB/ff9Eqql42JhpMCSGXbkBJaMMLsVbxe2KC6Q8Z6Hf23ZRvRnu/yKhRWcwBwwNmAuGAswJ4wcmBtGCpQAIwNKgZEAJcHQgdJgqMBsa5oDKBWGModk2Op5pMNWzaUBljyfFljSnJpg0cCQp/YkwWKAjXtCtlMECwFaz8417kaAkmFzwK73nG1LH6gBNgb8cbCx/zn7RqMI5gMbH2bzK8AAUThtyVYr9bAAAAAASUVORK5CYII=);
  82. background-size: 12px;
  83. content: "";
  84. display: block;
  85. height: 12px;
  86. margin: 0 auto;
  87. width: 12px;
  88. }