popup.scss 4.8 KB

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