popup.scss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. // Colors for buttons.
  2. $button-background-color: #f7f7f7;
  3. $button-hover-color: #e6ebf5;
  4. .highcharts-popup.highcharts-annotation-toolbar {
  5. right: 10%;
  6. left: auto;
  7. height: 40px;
  8. overflow: hidden;
  9. padding-right: 40px;
  10. width: auto;
  11. min-width: 0;
  12. }
  13. .highcharts-popup.highcharts-annotation-toolbar button {
  14. margin-top:0px;
  15. }
  16. .highcharts-popup.highcharts-annotation-toolbar > span {
  17. display:block;
  18. float:left;
  19. padding: 12px;
  20. }
  21. .highcharts-popup {
  22. background-color: #fff;
  23. color: #666;
  24. display: none;
  25. font-size: 0.876em;
  26. max-height: 90%;
  27. top: 5%;
  28. left: 15%;
  29. overflow-x: hidden;
  30. overflow-y: auto;
  31. width: 75%;
  32. min-width: 300px;
  33. max-width: 600px;
  34. position: absolute;
  35. z-index: 100;
  36. -webkit-box-shadow: 0px 0px 8px 0px rgba(61,61,61,0.3);
  37. -moz-box-shadow: 0px 0px 8px 0px rgba(61,61,61,0.3);
  38. box-shadow: 0px 0px 8px 0px rgba(61,61,61,0.3);
  39. }
  40. .highcharts-popup div, .highcharts-popup span {
  41. box-sizing: content-box;
  42. }
  43. .highcharts-popup input, .highcharts-popup label, .highcharts-popup select {
  44. clear: both;
  45. float: left;
  46. width: 100%;
  47. margin-bottom: 10px;
  48. }
  49. .highcharts-popup input {
  50. border: 1px solid #e6e6e6;
  51. padding: 5px;
  52. width: calc(100% - 12px);
  53. }
  54. .highcharts-popup-lhs-col, .highcharts-popup-rhs-col {
  55. padding: 20px;
  56. height: calc(100% - 84px); /* 44px - padding, 40px - tabs*/
  57. float: left;
  58. }
  59. .highcharts-popup-lhs-col.highcharts-popup-lhs-full {
  60. width: calc(100% - 52px);
  61. overflow-y: auto;
  62. overflow-x: hidden;
  63. height: calc(100% - 140px);
  64. border: none;
  65. padding: 0px 20px 20px 20px;
  66. }
  67. .highcharts-popup-lhs-col.highcharts-popup-lhs-full + .highcharts-popup-bottom-row {
  68. width: calc(100% - 32px);
  69. }
  70. .highcharts-popup-lhs-col {
  71. clear: both;
  72. width: calc(30% - 44px);
  73. border-right: 1px solid #e6e6e6;
  74. }
  75. .highcharts-popup-bottom-row {
  76. float: left;
  77. padding: 0px 20px;
  78. width: calc(100% - 40px);
  79. }
  80. .highcharts-popup-rhs-col {
  81. width: calc(70% - 40px);
  82. }
  83. .highcharts-popup-rhs-col-wrapper {
  84. float: left;
  85. width: calc(100% - 20px);
  86. padding-right: 20px;
  87. height: calc(100% - 40px);
  88. overflow-y: auto;
  89. overflow-x: hidden;
  90. }
  91. .highcharts-popup-rhs-col-wrapper h3 {
  92. margin-top:0px;
  93. padding-bottom:0px;
  94. }
  95. .highcharts-bindings-wrapper ul.highcharts-indicator-list,
  96. .highcharts-indicator-list {
  97. float: left;
  98. color: #666;
  99. height: 100%;
  100. width: 100%;
  101. overflow-y: auto;
  102. overflow-x: hidden;
  103. margin: 0px;
  104. padding: 0px;
  105. }
  106. .highcharts-indicator-list li {
  107. cursor: pointer;
  108. padding: 0px 0px 5px 0px;
  109. margin: 0px;
  110. width: 100%;
  111. height: auto;
  112. overflow: hidden;
  113. word-break: break-all;
  114. }
  115. .highcharts-indicator-list li:hover {
  116. background-color: $button-hover-color;
  117. }
  118. .highcharts-tab-item {
  119. background-color: $button-background-color;
  120. cursor: pointer;
  121. display: block;
  122. float:left;
  123. padding: 10px;
  124. height: 20px;
  125. }
  126. .highcharts-tab-item.highcharts-tab-item-active {
  127. background-color: $button-hover-color;
  128. }
  129. .highcharts-tab-item-content {
  130. display: none;
  131. float: left;
  132. height: 100%;
  133. overflow: hidden;
  134. width: 100%;
  135. border-top: 1px solid #e6e6e6;
  136. }
  137. .highcharts-tab-item-show {
  138. display: block;
  139. }
  140. .highcharts-popup-close {
  141. background-repeat: no-repeat;
  142. background-position: 50% 50%;
  143. width: 20px;
  144. height: 20px;
  145. cursor: pointer;
  146. position: absolute;
  147. padding: 10px;
  148. top: 0%;
  149. right: 0%;
  150. color: #333333;
  151. }
  152. .highcharts-popup-close:hover,
  153. .highcharts-popup button:hover,
  154. .highcharts-popup button.highcharts-annotation-edit-button:hover,
  155. .highcharts-popup button.highcharts-annotation-remove-button:hover {
  156. background-color: $button-hover-color;
  157. }
  158. .highcharts-popup button {
  159. float: right;
  160. border: none;
  161. background: $button-background-color;
  162. color: #666;
  163. margin-left:5px;
  164. margin-top:12px;
  165. }
  166. .highcharts-popup button:first-child {
  167. margin-left: 0;
  168. }
  169. .highcharts-tab-disabled {
  170. color: #ccc;
  171. }
  172. /* annotation edit small popup */
  173. .highcharts-popup button.highcharts-annotation-edit-button,
  174. .highcharts-popup button.highcharts-annotation-remove-button {
  175. width: 20px;
  176. height: 40px;
  177. padding: 20px;
  178. }
  179. .highcharts-popup button.highcharts-annotation-edit-button {
  180. background-repeat: no-repeat;
  181. background-position: 50% 50%;
  182. text-indent: -9999px;
  183. }
  184. .highcharts-popup button.highcharts-annotation-remove-button {
  185. background-repeat: no-repeat;
  186. background-position: 50% 50%;
  187. text-indent: -9999px;
  188. }
  189. .highcharts-popup .highcharts-annotation-title {
  190. display: block;
  191. float: left;
  192. font-size: 1.2em;
  193. font-weight: bold;
  194. margin-bottom: 15px;
  195. width: 100%;
  196. }
  197. .highcharts-popup .highcharts-popup-main-title {
  198. border-bottom: 1px solid #e6e6e6;
  199. margin: 0px 0px 20px 0px;
  200. padding: 8px 0px 6px 20px;
  201. }
  202. .highcharts-indicator-title {
  203. float: left;
  204. padding-bottom: 15px;
  205. }