You are here

image_hotspots.css in Image Hotspots 7.2

/* edit hotspots */
.image-hotspot-edit {
  clear: both;
}
.image-hotspot-img {
  float: left;
}
.image-hotspot-form {
  display: none;
}
.image-hotspot-data {
  float: left;
  border: 1px solid #ccc;
  width: 200px;
  margin-left: 10px;
  background-color: #eee;
  padding: 7px;
}
.image-hotspot-data label {
  font-size: 10px;
  font-weight: normal;
}
.image-hotspot-data input {
  width: 100%;
  box-sizing: border-box;
}
.image-hotspot-data-item {
  padding: 3px;
  border: 1px solid #ddd;
  margin-bottom: 3px;
}
.img-hotspot-data-title {
  cursor: pointer;
}

/* view hotspots */
.image-hotspot-wrapper {
  position: relative;
  clear: both;
}
.img-hotspot {
  width: 100%;
  height: 100%;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=20);
}
.img-hotspot-title {
  font-size: 12px;
  line-height: 12px;
}
.img-hotspot-description {
  font-size: 10px;
  line-height: 10px;
  margin-top: 5px;
}
.hotspot-title {
  cursor: pointer;
}
.hotspot-title:hover {
  text-decoration: underline;
}
.hotspot-overlay {
  background: #000;
  opacity: 0.5;
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  z-index: 11;
}
.img-hotspot-highlight {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 12;
  width: 100%;
  height: 100%;
  display: none;
  background-repeat: no-repeat;
}
.form-managed-file div.image-widget-data {
  float: none;
}
.img-hotspot-box {
  position: absolute;
  z-index: 11;
}

File

themes/image_hotspots.css
View source
  1. /* edit hotspots */
  2. .image-hotspot-edit {
  3. clear: both;
  4. }
  5. .image-hotspot-img {
  6. float: left;
  7. }
  8. .image-hotspot-form {
  9. display: none;
  10. }
  11. .image-hotspot-data {
  12. float: left;
  13. border: 1px solid #ccc;
  14. width: 200px;
  15. margin-left: 10px;
  16. background-color: #eee;
  17. padding: 7px;
  18. }
  19. .image-hotspot-data label {
  20. font-size: 10px;
  21. font-weight: normal;
  22. }
  23. .image-hotspot-data input {
  24. width: 100%;
  25. box-sizing: border-box;
  26. }
  27. .image-hotspot-data-item {
  28. padding: 3px;
  29. border: 1px solid #ddd;
  30. margin-bottom: 3px;
  31. }
  32. .img-hotspot-data-title {
  33. cursor: pointer;
  34. }
  35. /* view hotspots */
  36. .image-hotspot-wrapper {
  37. position: relative;
  38. clear: both;
  39. }
  40. .img-hotspot {
  41. width: 100%;
  42. height: 100%;
  43. filter: progid:DXImageTransform.Microsoft.Alpha(opacity=20);
  44. }
  45. .img-hotspot-title {
  46. font-size: 12px;
  47. line-height: 12px;
  48. }
  49. .img-hotspot-description {
  50. font-size: 10px;
  51. line-height: 10px;
  52. margin-top: 5px;
  53. }
  54. .hotspot-title {
  55. cursor: pointer;
  56. }
  57. .hotspot-title:hover {
  58. text-decoration: underline;
  59. }
  60. .hotspot-overlay {
  61. background: #000;
  62. opacity: 0.5;
  63. filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
  64. position: absolute;
  65. top: 0;
  66. left: 0;
  67. display: none;
  68. z-index: 11;
  69. }
  70. .img-hotspot-highlight {
  71. position: absolute;
  72. top: 0;
  73. left: 0;
  74. z-index: 12;
  75. width: 100%;
  76. height: 100%;
  77. display: none;
  78. background-repeat: no-repeat;
  79. }
  80. .form-managed-file div.image-widget-data {
  81. float: none;
  82. }
  83. .img-hotspot-box {
  84. position: absolute;
  85. z-index: 11;
  86. }