gui.scss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. // Colors for buttons.
  2. $button-background-color: #f7f7f7;
  3. $button-hover-color: #e6ebf5;
  4. .chart:-webkit-full-screen {
  5. width: 100%;
  6. height: 100%;
  7. }
  8. .chart:-moz-full-screen {
  9. width: 100%;
  10. height: 100%;
  11. }
  12. .chart:-ms-fullscreen {
  13. width: 100%;
  14. height: 100%;
  15. }
  16. .chart:fullscreen {
  17. width: 100%;
  18. height: 100%;
  19. }
  20. .chart {
  21. width: 100%;
  22. float: left;
  23. height: 400px;
  24. position: relative;
  25. }
  26. .highcharts-draw-mode { cursor: crosshair; }
  27. .highcharts-bindings-wrapper * {
  28. box-sizing: content-box;
  29. }
  30. .highcharts-bindings-wrapper {
  31. display: block;
  32. width: 40px;
  33. height: 100%;
  34. position: absolute;
  35. z-index: 10;
  36. top: 0px;
  37. }
  38. .highcharts-stocktools-popup {
  39. width: 100%;
  40. }
  41. .highcharts-menu-wrapper {
  42. float: left;
  43. width: 40px;
  44. height: calc(100% - 50px);
  45. overflow: hidden;
  46. position: absolute;
  47. left: 0px;
  48. top: 0px;
  49. padding: 10px;
  50. }
  51. .highcharts-bindings-wrapper .highcharts-submenu-wrapper {
  52. display: none;
  53. position: absolute;
  54. z-index: 10;
  55. left: 0px;
  56. top: 0px;
  57. background: #fff;
  58. width: 40px;
  59. }
  60. .highcharts-bindings-wrapper .highcharts-arrow-wrapper {
  61. text-align: center;
  62. width: 40px;
  63. position: absolute;
  64. left: 10px;
  65. bottom: 10px;
  66. font-size: 1.5em;
  67. }
  68. .highcharts-bindings-wrapper .highcharts-arrow-wrapper > div {
  69. cursor: pointer;
  70. }
  71. .highcharts-bindings-wrapper .highcharts-arrow-down {
  72. background-size: cover;
  73. /* Safari */
  74. -webkit-transform: rotate(90deg);
  75. /* Firefox */
  76. -moz-transform: rotate(90deg);
  77. /* IE */
  78. -ms-transform: rotate(90deg);
  79. /* Opera */
  80. -o-transform: rotate(90deg);
  81. /* Internet Explorer */
  82. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
  83. transform: rotate(90deg);
  84. }
  85. .highcharts-bindings-wrapper .highcharts-arrow-up {
  86. background-size: cover;
  87. outline: none;
  88. display: inline-block;
  89. width: 25px;
  90. cursor: pointer;
  91. -webkit-user-select: none;
  92. /* Chrome/Safari */
  93. -moz-user-select: none;
  94. /* Firefox */
  95. -ms-user-select: none;
  96. /* IE10+ */
  97. /* Rules below not implemented in browsers yet */
  98. -o-user-select: none;
  99. user-select: none;
  100. /* Safari */
  101. -webkit-transform: rotate(-90deg);
  102. /* Firefox */
  103. -moz-transform: rotate(-90deg);
  104. /* IE */
  105. -ms-transform: rotate(-90deg);
  106. /* Opera */
  107. -o-transform: rotate(-90deg);
  108. /* Internet Explorer */
  109. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  110. transform: rotate(-90deg);
  111. }
  112. .highcharts-bindings-wrapper .highcharts-arrow-right {
  113. background-repeat: no-repeat;
  114. background-position: right bottom;
  115. background-size: contain;
  116. }
  117. .highcharts-bindings-wrapper .highcharts-arrow-left.highcharts-arrow-right {
  118. /* Safari */
  119. -webkit-transform: rotate(0deg);
  120. /* Firefox */
  121. -moz-transform: rotate(0deg);
  122. /* IE */
  123. -ms-transform: rotate(0deg);
  124. /* Opera */
  125. -o-transform: rotate(0deg);
  126. /* Internet Explorer */
  127. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  128. transform: rotate(0deg);
  129. }
  130. .highcharts-bindings-wrapper .highcharts-arrow-left {
  131. /* Safari */
  132. -webkit-transform: rotate(180deg);
  133. /* Firefox */
  134. -moz-transform: rotate(180deg);
  135. /* IE */
  136. -ms-transform: rotate(180deg);
  137. /* Opera */
  138. -o-transform: rotate(180deg);
  139. /* Internet Explorer */
  140. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  141. transform: rotate(180deg);
  142. }
  143. .highcharts-bindings-wrapper ul {
  144. width: 40px;
  145. /* 30px spacing for arrows to scroll */
  146. margin: 0px;
  147. padding: 0px;
  148. float: left;
  149. transition: margin 250ms;
  150. }
  151. .highcharts-bindings-wrapper>ul {
  152. width: 40px;
  153. position: relative;
  154. }
  155. .highcharts-bindings-wrapper .highcharts-stocktools-toolbar li {
  156. list-style: none;
  157. margin-bottom: 3px;
  158. padding: 0px;
  159. clear: both;
  160. width: 100%;
  161. height: 40px;
  162. cursor: pointer;
  163. position: relative;
  164. background-color: $button-background-color;
  165. }
  166. .highcharts-bindings-wrapper .highcharts-stocktools-toolbar li.highcharts-disabled-btn {
  167. cursor: default;
  168. }
  169. .highcharts-bindings-wrapper .highcharts-stocktools-toolbar li.highcharts-disabled-btn > .highcharts-menu-item-btn {
  170. opacity: 0.5;
  171. }
  172. .highcharts-bindings-wrapper .highcharts-stocktools-toolbar li.highcharts-disabled-btn.highcharts-active {
  173. background: $button-background-color;
  174. }
  175. .highcharts-bindings-wrapper .highcharts-stocktools-toolbar li.highcharts-disabled-btn .highcharts-menu-item-btn:hover {
  176. background-color: transparent;
  177. }
  178. .highcharts-bindings-wrapper li>span.highcharts-menu-item-btn {
  179. display: block;
  180. float: left;
  181. width: 100%;
  182. height: 100%;
  183. background-repeat: no-repeat;
  184. background-position: 50% 50%;
  185. }
  186. .highcharts-submenu-wrapper li>span.highcharts-menu-item-btn {
  187. width: 40px;
  188. }
  189. .highcharts-bindings-wrapper li>span.highcharts-submenu-item-arrow {
  190. float: left;
  191. width: 10px;
  192. height: 100%;
  193. cursor: pointer;
  194. position: absolute;
  195. bottom: 0px;
  196. right: 0px;
  197. }
  198. .highcharts-bindings-wrapper li.highcharts-separator {
  199. height: 15px;
  200. background-color: transparent;
  201. width: 36px;
  202. pointer-events: none;
  203. }
  204. .highcharts-bindings-wrapper li.highcharts-separator>span.highcharts-menu-item-btn {
  205. width: 100%;
  206. }
  207. .highcharts-bindings-wrapper li.highcharts-active>span.highcharts-menu-item-btn,
  208. .highcharts-bindings-wrapper li>span.highcharts-menu-item-btn:hover,
  209. .highcharts-bindings-wrapper .highcharts-arrow-wrapper > div:hover,
  210. .highcharts-bindings-wrapper li.highcharts-active,
  211. .highcharts-toggle-toolbar:hover {
  212. background-color: $button-hover-color;
  213. transition: background-color 100ms;
  214. }
  215. .highcharts-toggle-toolbar {
  216. position: absolute;
  217. cursor: pointer;
  218. width: 10px;
  219. height: 10px;
  220. background-color: $button-background-color;
  221. background-size: cover;
  222. }
  223. .highcharts-hide {
  224. display: none;
  225. }
  226. .highcharts-bindings-wrapper li:hover, .highcharts-submenu-item-arrow:hover {
  227. background-color: $button-hover-color;
  228. }
  229. .highcharts-bindings-wrapper .highcharts-arrow-down, .highcharts-bindings-wrapper .highcharts-arrow-up {
  230. width: 50%;
  231. height: 20px;
  232. float: left;
  233. }
  234. li.highcharts-disabled-btn:hover, .highcharts-disabled-btn .highcharts-submenu-item-arrow:hover {
  235. background-color: $button-background-color;
  236. }