You are here

ip_geoloc_all.css in IP Geolocation Views & Maps 7

Same filename and directory in other branches
  1. 8 css/ip_geoloc_all.css
/* Geofield proximity exposed filter. Make the distance input shorter.
   Included only when the "Set my location"" block is shown. */
.form-type-geofield-proximity input#edit-field-geofield-distance-distance,
.form-type-geofield-proximity input#edit-field-geofield-distance-1-distance,
.form-type-geofield-proximity input#edit-field-geofield-distance-2-distance {
  max-width: 8ex;
}
/* Geofield proximity exposed filter. Suppress unnecessary labels and inputs.
   Included only when the "Set my location" block is shown. */
span.geofield-proximity-origin-from,
.form-type-geofield-proximity .description,
.form-item-field-geofield-distance-origin,
.form-item-field-geofield-distance-1-origin,
.form-item-field-geofield-distance-2-origin {
  display: none;
}
.geofield-proximity-field-wrapper .form-type-select {
  padding-top: 0;
}

/* Some basic rules to make the "Set my location" block rearrange itself into
 * a single slim line, if the horizontal space allows it.
 * Depending on the theme used, these rules may need tweaking.
 */
#block-ip-geoloc-geocode-address > h2,
.ip-geoloc-address .form-control,
.ip-geoloc-address > div > .form-item,
.ip-geoloc-address > div > button {
  display: inline-table;
}

textarea#edit-street-address {
  resize: horizontal; /* horizontal is not supported in many browsers */
}

path.leaflet-interactive { transition: all 0.5s linear }

/* Throbber from ctools module -- uncomment if you wish to use it over core's.
#set-location-form .ajax-progress.ajax-progress-throbber {
  background: white;
  color: #555;
  border: 1px solid #ccc;
  display: inline-table;
  width: 99%;
}
#set-location-form .ajax-progress.ajax-progress-throbber .throbber {
  background: transparent url("../../ctools/images/throbber.gif") no-repeat center;
  height: 35px;
  width: 35px;
  margin: 0;
  padding: 1px;
}
#set-location-form .ajax-progress.ajax-progress-throbber .message {
  margin-top: 8px;
  white-space: nowrap;
}
*/

File

css/ip_geoloc_all.css
View source
  1. /* Geofield proximity exposed filter. Make the distance input shorter.
  2. Included only when the "Set my location"" block is shown. */
  3. .form-type-geofield-proximity input#edit-field-geofield-distance-distance,
  4. .form-type-geofield-proximity input#edit-field-geofield-distance-1-distance,
  5. .form-type-geofield-proximity input#edit-field-geofield-distance-2-distance {
  6. max-width: 8ex;
  7. }
  8. /* Geofield proximity exposed filter. Suppress unnecessary labels and inputs.
  9. Included only when the "Set my location" block is shown. */
  10. span.geofield-proximity-origin-from,
  11. .form-type-geofield-proximity .description,
  12. .form-item-field-geofield-distance-origin,
  13. .form-item-field-geofield-distance-1-origin,
  14. .form-item-field-geofield-distance-2-origin {
  15. display: none;
  16. }
  17. .geofield-proximity-field-wrapper .form-type-select {
  18. padding-top: 0;
  19. }
  20. /* Some basic rules to make the "Set my location" block rearrange itself into
  21. * a single slim line, if the horizontal space allows it.
  22. * Depending on the theme used, these rules may need tweaking.
  23. */
  24. #block-ip-geoloc-geocode-address > h2,
  25. .ip-geoloc-address .form-control,
  26. .ip-geoloc-address > div > .form-item,
  27. .ip-geoloc-address > div > button {
  28. display: inline-table;
  29. }
  30. textarea#edit-street-address {
  31. resize: horizontal; /* horizontal is not supported in many browsers */
  32. }
  33. path.leaflet-interactive { transition: all 0.5s linear }
  34. /* Throbber from ctools module -- uncomment if you wish to use it over core's.
  35. #set-location-form .ajax-progress.ajax-progress-throbber {
  36. background: white;
  37. color: #555;
  38. border: 1px solid #ccc;
  39. display: inline-table;
  40. width: 99%;
  41. }
  42. #set-location-form .ajax-progress.ajax-progress-throbber .throbber {
  43. background: transparent url("../../ctools/images/throbber.gif") no-repeat center;
  44. height: 35px;
  45. width: 35px;
  46. margin: 0;
  47. padding: 1px;
  48. }
  49. #set-location-form .ajax-progress.ajax-progress-throbber .message {
  50. margin-top: 8px;
  51. white-space: nowrap;
  52. }
  53. */