You are here

geolocation-widget-html5.css in Geolocation Field 8

CSS for Google Map widget of Geolocation field.

File

css/geolocation-widget-html5.css
View source
  1. /**
  2. * @file
  3. * CSS for Google Map widget of Geolocation field.
  4. */
  5. .geolocation-html5-button {
  6. padding: 0 0.75em 0 3.5em;
  7. position: relative;
  8. background-color: #eee;
  9. width: 100%;
  10. min-height: 34px;
  11. line-height: 34px;
  12. cursor: pointer;
  13. border: 0;
  14. border-radius: 2px;
  15. -webkit-box-sizing: border-box;
  16. -moz-box-sizing: border-box;
  17. box-sizing: border-box;
  18. }
  19. .geolocation-html5-button.disabled {
  20. cursor: default;
  21. }
  22. /**
  23. * Location icon by: http://jxnblk.github.io/
  24. */
  25. .geolocation-html5-button::before {
  26. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAMoElEQVR4Xu2dCbD3UxnHX2QrS0mL/SWRXhmRIZl4MQqlQiLlNdmXapJRqmFKWcoWIUVIiy1EE14Tb4s2TFGMfSkmKtosydb3w/+6f5f33t/5nec855zf7//MPHP/997fOec5z/n+f7/ze86zzDOtu/RyTW3VCbysfl9UvMjQTzTwkPg/Qz/v0eebh/gmff5XF1U1T4cm9QrNZUPxTPHG4tWN5/YH9XfFgH+mn/807j9Ld7UDYAlpbTvxh8VvFXvN5ymN9SvxmeJzxP/IsnoGg3opzEDU57qYV5+2FM8Sv1u8gGXnLfr6n9pcJD5D/GMx4KiGagLA/NLqDuIDxW8oVMM3Sq7DxGeJnyhUxueJVQMAWPiPiD8tnl6DUiXjHeLDxaeVDoTSAfB2KfBE8YxKFn6imNfrD3uLrypV/lIB8Bop7MvinUpVXKBcp+v6A8R/C2yX/PISAbCNZn2KmPf4LhFvCjzKLixpUiUBYEEp5kjxviUpKIEsXx3cDXh7yE6lAOB10gTv02tl14iPANdomA+I2SxmpRIAgAHnR2KMOn2iBzTZLcS/zTnp3ADYXJP/gXjhnErIOPbDGps9z2W5ZMgJgA9p0rwnvyTX5AsZF4MR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CcKx0dpVupmuoWy2eNstoBgD7I88t+wNtSiOMKJ3yUb6mWugAAlD9djLn41U4rQSgX5WtDM5A7idd8mK4AgBmTmJJaBQs2n36rK7Ht48J+davWhTXqEgBQ7XbisxPrmNpIFIvqBHUNACxKynoF9E3+ns5QFwHAnKhmvpvxKtHnXuIi3Lmt5tZFAKAbzgw4jSPq1oLoizyH1dj4m066qwBg/vgOzBHHln4hy+nG4oebKrWm67oMANaBQBNsBKRda0O3qxE2/mICOdpMYrI2XQcAc195AIJQGwFRPBh6AEFnqQ8AYPE4PeRxsGjDlSRxw0Zi14xdDWUzvawvAEBpOJFcKqbS+WT0mP7J5hHAdJ76BAAWk9z7ZC6fW91f6vHie8gBUy+obwBgUScLNik6iCMFIvsIAPRI4CkBqMPE33qXx7ivAGDhcSTBoQQiaheP495RnwHAYh8sxrT7hd6t/GDC/weHF8CQmg8i1AAAAABJRU5ErkJggg==) no-repeat scroll center center transparent;
  27. background-size: 20px;
  28. height: 20px;
  29. width: 20px;
  30. content: "";
  31. display: block;
  32. position: absolute;
  33. top: 0.55em;
  34. left: 1em;
  35. opacity: 0.4;
  36. }
  37. .geolocation-html5-button .clear,
  38. .geolocation-html5-button .search {
  39. border-radius: 0 2px 2px 0;
  40. height: 100%;
  41. width: 40px;
  42. position: absolute;
  43. top: 0;
  44. right: 0;
  45. cursor: pointer;
  46. }
  47. .geolocation-html5-button .clear {
  48. display: none;
  49. background: #736648 -webkit-linear-gradient(top, #736648, #685C41);
  50. z-index: 10;
  51. }
  52. .geolocation-html5-button .clear::after {
  53. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAA3CAYAAACo29JGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEge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AB2UlEQVR42tTaS07DQAwG4JANCSu4AuIstN3BJWFJyYaUy3ACRFclrAYPZKRplMfMxPbYln5VSh3JX9W6UZTCGFN42UL2kGpwXHou+7m3/vEh7Nv8V6sIaGFv/dydD3QNGw9mFAF9mBkCp2AagGOwM6BtejXzJRE4B3PV2MYaclAEDIFZz5U7QQuwCoUNt6V0YBRsiHPAViAwGjaGkwhMgk3hJAGTYXM4CcBVsCVcDLCWBgvB5QCiwEJxnEA0WAyOA4gKi8VRAtFhKTgKIAksFYcJJIOtwWEASWFrcWuA5DAMXAqQBYaFiwHecMEwcaHALy6YzcWfEK8qyB6ySTj3HfIIOWENUxa41UEeIIfcMApcCpAEZgv7a+nXNeSjf52qI+QO8kkxQEkEs7+95wWY+wCeILUWnIW9QLaB/ff9Eqql42JhpMCSGXbkBJaMMLsVbxe2KC6Q8Z6Hf23ZRvRnu/yKhRWcwBwwNmAuGAswJ4wcmBtGCpQAIwNKgZEAJcHQgdJgqMBsa5oDKBWGModk2Op5pMNWzaUBljyfFljSnJpg0cCQp/YkwWKAjXtCtlMECwFaz8417kaAkmFzwK73nG1LH6gBNgb8cbCx/zn7RqMI5gMbH2bzK8AAUThtyVYr9bAAAAAASUVORK5CYII=) no-repeat center center transparent;
  54. background-size: 12px;
  55. content: "";
  56. display: block;
  57. height: 100%;
  58. }
  59. .geolocation-html5-button .search {
  60. background: #4d90fe -webkit-linear-gradient(top, #4d90fe, #4787ed);
  61. }
  62. .geolocation-html5-button .search::before {
  63. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAABVUlEQVRYw+2YQRGEMAxFkVAJlYAEJCABCUhAQiWshJWABCRUAg7+XsrMTkibNDBdDvtnek0fSfqToQPQPeE8AuK5IDkBGAC8AESctQEIAHxXKTUIgB7ACr0CAHcrCIAJNm0A+ltALkAc2jWlKoKkcnCKCdCR0i3p4lNmroJwPRGEgC6VhGo2gaTXUQUhwEQryKsmUOaZU40WEOoTk8Eb3iTGYgGhcgaQmcRYL4N0BjHl+RnIeDuI1iFJ8EBivC0gm7bRCsGj1ktKIIGx6pohNjNZ9RYQnxliTgHRM1a/XrH4kIEZhEzstT0mgeTmBpJZzemJjgk65naTO9aAPvOFtavAWMqKdjHyhcxIW9quGRVVO2uh/lTr8fWMqbEw1cvzV/AlXXico2c884IgwZhADMY2STBNQDQwzUAkmKYgAoxvClKAGZqDMDBb89IwRjlI0/f/W+ID3tQLQPib2qQAAAAASUVORK5CYII=) no-repeat center center transparent;
  64. background-size: 17px;
  65. content: "";
  66. display: block;
  67. height: 100%;
  68. }