You are here

openlayers_plus_behavior_popup.css in OpenLayers Plus 7

/*

There are 3 main groups of openlayers maps on the site

- The big Solr powered maps on the search pages. Currently only ftritem/site visits is implemented.
  -- These maps have a filter on the left, a hover using openlayers_plus in the right top corner and a 
     popup at the same place. There is also a layerswitcher in the same position. On the homepage there is
     a counter on the right lower side.
     We are working on making switch buttons between these. 
- The small maps on node/user pages. 
  -- These have a hoover & popup with only the title of the feature (eg. Location, District etc) this title might
     be a link, but doesnt have to.
*/


/* Pop Up Detail Pages
 Preface second 
 and the sidebar second
 */
#region-preface-second .openlayers-popupbox,
#region-sidebar-second .openlayers-popupbox{
  background-color: #000;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1015;
  width: 100%;
}
.openlayers-popupbox a.popup-close{
  display: block;
  float: right;
  color: #fff; 
  padding: 4px 8px 0 0;
  text-decoration: none;
}

/*
 We do not use the grouping function of openlayers_plus, so we hide it in css
 adding body to be more specific than the default css
 */
body .openlayers-popupbox .popup-pager {
  display: none;
}

body .openlayers-popupbox .popup-count{
  display: none;
}


/*.openlayers-popupbox h2{
  margin-bottom: 10px;
}*/
/*.openlayers-popupbox h2.popup-title {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 5px;
    padding: 8px 0 2px 10px;
    width: 100%;
}*/
.openlayers-popupbox h2.popup-title a{
  letter-spacing: 0.02em;
  font-size: 0.8em;
  font-weight: normal;
  
}

.region-content .openlayers-popupbox a{
  text-decoration: none;
  color: #ECECEC;
}
.region-content .openlayers-popupbox a:hover{
  text-decoration: none;
  color: #fff;
}

.region-content .openlayers-popupbox .field-name-field-ftritem-images img {
	float: left;
	margin-right: 8px;
}

.openlayers-popupbox .popup-content{
  color: #fff;
  letter-spacing: 0.02em;
  font-size: 0.9em;
  font-weight: normal;
  padding: 0 0 0 10px;
}
/*......POP UP.........*/
.openlayers-popup div.field{
    clear: left;
    float: left;
}
.openlayers-popup h3.hiddentitle-done-processed{ 
    color: #FFFFFF; 
    font-size: 1.2em; 
    font-weight: normal;
}
.page-places .openlayers-popup .field-label,
.openlayers-popupbox .popup-content .field-label{
    text-shadow: none;/*color: #989898;*/
}

.openlayers-popupbox .popup-content{
      background-image: url("../images/popup_bkgd.png");
      background-repeat: repeat-x;
      padding-top: 10px; 
      padding-bottom: 5px; 
      color: #fff;
      letter-spacing: 0.02em;
      font-size: 0.9em;
      font-weight: normal;
      text-shadow: 0 1px 0px #000000;
}
.openlayers-popupbox .popup-content .field-name-node-link {
    background-color: #000000;
    line-height: 12px;
    margin-bottom: -5px;
    margin-left: -10px;
    padding: 8px 10px 1px;
}
/*.openlayers-popupbox .popup-content .field-name-node-link a:before{
    content: "> ";
}*/
.openlayers-popup div.field-items{
  clear: right;
}
/*.openlayers-popup .ctools-dropbutton{display: none;}*/
.page-places .openlayers-popup.openlayers-tooltip-name a{
    position: absolute;
    right: 0;
    top: 30px;
    border-color: #DDDDDD #BBBBBB #999999;
    border-radius: 0px;
    border-style: solid;
    border-width: 1px;
    color: #ffffff;
    cursor: pointer;
    font: bold 10px Arial,sans-serif;
    outline: 0 none;
    overflow: visible;
    padding: 3px 6px;
    text-shadow: 0 1px 1px #000000;
    background-image: linear-gradient(bottom, rgb(0,0,0) 0%, rgb(234,0,0) 100%);
    background-image: -o-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(234,0,0) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(234,0,0) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(234,0,0) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(234,0,0) 100%);
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(0,0,0)),
        color-stop(1, rgb(234,0,0))
);
}
.page-places .openlayers-popup.openlayers-tooltip-name a:hover{
    background-image: linear-gradient(bottom, rgb(0,0,0) 0%, rgb(152,152,152) 100%);
background-image: -o-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(152,152,152) 100%);
background-image: -moz-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(152,152,152) 100%);
background-image: -webkit-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(152,152,152) 100%);
background-image: -ms-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(152,152,152) 100%);

background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, rgb(0,0,0)),
        color-stop(1, rgb(152,152,152))
);
}
.popup-content h3.report{ display: none;}
/* from eve.css ends */
.openlayers-popupbox .popup-pager{
  display:block;
  float: right;
  color: #fff;
  letter-spacing: 0.02em;
  font-size: 0.6em;
  font-weight: normal;
  padding: 10px;
}


/* Overrides/replaces kim.css line 224 */
div.openlayers-map .openlayers_plus-blockswitcher{
  background-color: #000;
  opacity: 0.8;
  filter:alpha(opacity=80); /* For IE8 and earlier */
  width: 15%;
  padding: 10px 5%;
}

/* Overrides/replaces kim.css line 231 */
#block-openlayers-plus-blockswitcher h2.block-title {
  font-size: 1.2em;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  padding: 5px 5% 2px;
  background-color: #000;
  width: 90%;
}

/* Overrides/replaces kim.css line 666 */
.openlayers-popupbox h2.popup-title {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 5px;
    padding: 8px 5% 2px;
    width: 90%;
}

/* Overrides/replaces kim.css line 626 */
.openlayers-popupbox{
  background-color: #000;
  display: block;
  position: absolute;
  top: 300px;
  right: 0px;
  z-index: 1015;
  width: 25%;
  float: right;
  /* little trick to make sure we at least overlap the layerswitcher, until we can just flip that */
   /*min-height: 105px;*/
  opacity: 0.8;
  filter:alpha(opacity=80); /* For IE8 and earlier */
}

/* less height on node+ user pages for the title */
#region-preface-second .openlayers-popupbox,
#region-sidebar-second .openlayers-popupbox {
    min-height: 0px;
}

File

behaviors/openlayers_plus_behavior_popup.css
View source
  1. /*
  2. There are 3 main groups of openlayers maps on the site
  3. - The big Solr powered maps on the search pages. Currently only ftritem/site visits is implemented.
  4. -- These maps have a filter on the left, a hover using openlayers_plus in the right top corner and a
  5. popup at the same place. There is also a layerswitcher in the same position. On the homepage there is
  6. a counter on the right lower side.
  7. We are working on making switch buttons between these.
  8. - The small maps on node/user pages.
  9. -- These have a hoover & popup with only the title of the feature (eg. Location, District etc) this title might
  10. be a link, but doesnt have to.
  11. */
  12. /* Pop Up Detail Pages
  13. Preface second
  14. and the sidebar second
  15. */
  16. #region-preface-second .openlayers-popupbox,
  17. #region-sidebar-second .openlayers-popupbox{
  18. background-color: #000;
  19. display: block;
  20. position: absolute;
  21. top: 0;
  22. left: 0;
  23. z-index: 1015;
  24. width: 100%;
  25. }
  26. .openlayers-popupbox a.popup-close{
  27. display: block;
  28. float: right;
  29. color: #fff;
  30. padding: 4px 8px 0 0;
  31. text-decoration: none;
  32. }
  33. /*
  34. We do not use the grouping function of openlayers_plus, so we hide it in css
  35. adding body to be more specific than the default css
  36. */
  37. body .openlayers-popupbox .popup-pager {
  38. display: none;
  39. }
  40. body .openlayers-popupbox .popup-count{
  41. display: none;
  42. }
  43. /*.openlayers-popupbox h2{
  44. margin-bottom: 10px;
  45. }*/
  46. /*.openlayers-popupbox h2.popup-title {
  47. font-size: 18px;
  48. line-height: 1;
  49. margin-bottom: 5px;
  50. padding: 8px 0 2px 10px;
  51. width: 100%;
  52. }*/
  53. .openlayers-popupbox h2.popup-title a{
  54. letter-spacing: 0.02em;
  55. font-size: 0.8em;
  56. font-weight: normal;
  57. }
  58. .region-content .openlayers-popupbox a{
  59. text-decoration: none;
  60. color: #ECECEC;
  61. }
  62. .region-content .openlayers-popupbox a:hover{
  63. text-decoration: none;
  64. color: #fff;
  65. }
  66. .region-content .openlayers-popupbox .field-name-field-ftritem-images img {
  67. float: left;
  68. margin-right: 8px;
  69. }
  70. .openlayers-popupbox .popup-content{
  71. color: #fff;
  72. letter-spacing: 0.02em;
  73. font-size: 0.9em;
  74. font-weight: normal;
  75. padding: 0 0 0 10px;
  76. }
  77. /*......POP UP.........*/
  78. .openlayers-popup div.field{
  79. clear: left;
  80. float: left;
  81. }
  82. .openlayers-popup h3.hiddentitle-done-processed{
  83. color: #FFFFFF;
  84. font-size: 1.2em;
  85. font-weight: normal;
  86. }
  87. .page-places .openlayers-popup .field-label,
  88. .openlayers-popupbox .popup-content .field-label{
  89. text-shadow: none;/*color: #989898;*/
  90. }
  91. .openlayers-popupbox .popup-content{
  92. background-image: url("../images/popup_bkgd.png");
  93. background-repeat: repeat-x;
  94. padding-top: 10px;
  95. padding-bottom: 5px;
  96. color: #fff;
  97. letter-spacing: 0.02em;
  98. font-size: 0.9em;
  99. font-weight: normal;
  100. text-shadow: 0 1px 0px #000000;
  101. }
  102. .openlayers-popupbox .popup-content .field-name-node-link {
  103. background-color: #000000;
  104. line-height: 12px;
  105. margin-bottom: -5px;
  106. margin-left: -10px;
  107. padding: 8px 10px 1px;
  108. }
  109. /*.openlayers-popupbox .popup-content .field-name-node-link a:before{
  110. content: "> ";
  111. }*/
  112. .openlayers-popup div.field-items{
  113. clear: right;
  114. }
  115. /*.openlayers-popup .ctools-dropbutton{display: none;}*/
  116. .page-places .openlayers-popup.openlayers-tooltip-name a{
  117. position: absolute;
  118. right: 0;
  119. top: 30px;
  120. border-color: #DDDDDD #BBBBBB #999999;
  121. border-radius: 0px;
  122. border-style: solid;
  123. border-width: 1px;
  124. color: #ffffff;
  125. cursor: pointer;
  126. font: bold 10px Arial,sans-serif;
  127. outline: 0 none;
  128. overflow: visible;
  129. padding: 3px 6px;
  130. text-shadow: 0 1px 1px #000000;
  131. background-image: linear-gradient(bottom, rgb(0,0,0) 0%, rgb(234,0,0) 100%);
  132. background-image: -o-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(234,0,0) 100%);
  133. background-image: -moz-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(234,0,0) 100%);
  134. background-image: -webkit-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(234,0,0) 100%);
  135. background-image: -ms-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(234,0,0) 100%);
  136. background-image: -webkit-gradient(
  137. linear,
  138. left bottom,
  139. left top,
  140. color-stop(0, rgb(0,0,0)),
  141. color-stop(1, rgb(234,0,0))
  142. );
  143. }
  144. .page-places .openlayers-popup.openlayers-tooltip-name a:hover{
  145. background-image: linear-gradient(bottom, rgb(0,0,0) 0%, rgb(152,152,152) 100%);
  146. background-image: -o-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(152,152,152) 100%);
  147. background-image: -moz-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(152,152,152) 100%);
  148. background-image: -webkit-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(152,152,152) 100%);
  149. background-image: -ms-linear-gradient(bottom, rgb(0,0,0) 0%, rgb(152,152,152) 100%);
  150. background-image: -webkit-gradient(
  151. linear,
  152. left bottom,
  153. left top,
  154. color-stop(0, rgb(0,0,0)),
  155. color-stop(1, rgb(152,152,152))
  156. );
  157. }
  158. .popup-content h3.report{ display: none;}
  159. /* from eve.css ends */
  160. .openlayers-popupbox .popup-pager{
  161. display:block;
  162. float: right;
  163. color: #fff;
  164. letter-spacing: 0.02em;
  165. font-size: 0.6em;
  166. font-weight: normal;
  167. padding: 10px;
  168. }
  169. /* Overrides/replaces kim.css line 224 */
  170. div.openlayers-map .openlayers_plus-blockswitcher{
  171. background-color: #000;
  172. opacity: 0.8;
  173. filter:alpha(opacity=80); /* For IE8 and earlier */
  174. width: 15%;
  175. padding: 10px 5%;
  176. }
  177. /* Overrides/replaces kim.css line 231 */
  178. #block-openlayers-plus-blockswitcher h2.block-title {
  179. font-size: 1.2em;
  180. color: #FFFFFF;
  181. letter-spacing: 0.02em;
  182. padding: 5px 5% 2px;
  183. background-color: #000;
  184. width: 90%;
  185. }
  186. /* Overrides/replaces kim.css line 666 */
  187. .openlayers-popupbox h2.popup-title {
  188. font-size: 18px;
  189. line-height: 1;
  190. margin-bottom: 5px;
  191. padding: 8px 5% 2px;
  192. width: 90%;
  193. }
  194. /* Overrides/replaces kim.css line 626 */
  195. .openlayers-popupbox{
  196. background-color: #000;
  197. display: block;
  198. position: absolute;
  199. top: 300px;
  200. right: 0px;
  201. z-index: 1015;
  202. width: 25%;
  203. float: right;
  204. /* little trick to make sure we at least overlap the layerswitcher, until we can just flip that */
  205. /*min-height: 105px;*/
  206. opacity: 0.8;
  207. filter:alpha(opacity=80); /* For IE8 and earlier */
  208. }
  209. /* less height on node+ user pages for the title */
  210. #region-preface-second .openlayers-popupbox,
  211. #region-sidebar-second .openlayers-popupbox {
  212. min-height: 0px;
  213. }