grafana.less 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. @import "type.less";
  2. @import "login.less";
  3. @import "submenu.less";
  4. @import "graph.less";
  5. @import "bootstrap-tagsinput.less";
  6. @import "tables_lists.less";
  7. @import "search.less";
  8. @import "panel.less";
  9. @import "forms.less";
  10. @import "singlestat.less";
  11. @import "tightform.less";
  12. @import "sidemenu.less";
  13. @import "navbar.less";
  14. @import "gfbox.less";
  15. @import "dashlist.less";
  16. @import "admin.less";
  17. @import "validation.less";
  18. @import "fonts.less";
  19. @import "tabs.less";
  20. @import "timepicker.less";
  21. .row-control-inner {
  22. padding:0px;
  23. margin:0px;
  24. position:relative;
  25. }
  26. .hide-controls {
  27. padding: 0;
  28. .row-tab {
  29. display: none;
  30. }
  31. .add-row-panel-hint {
  32. display: none;
  33. }
  34. }
  35. .playlist-active {
  36. .grafana-menu-zoom-out,
  37. .add-row-panel-hint,
  38. .grafana-menu-refresh,
  39. .top-nav-dash-actions {
  40. display:none;
  41. }
  42. .grafana-menu-stop-playlist {
  43. display: list-item;
  44. }
  45. }
  46. .row-button {
  47. width: 24px;
  48. }
  49. .modal {
  50. max-width: 800px;
  51. left: 0;
  52. right: 0;
  53. margin-left: auto;
  54. margin-right: auto;
  55. top: 20%;
  56. }
  57. .histogram-chart {
  58. position:relative;
  59. }
  60. .scrollable {
  61. max-height: 300px;
  62. overflow: auto;
  63. }
  64. //
  65. // Srollbars
  66. //
  67. ::-webkit-scrollbar {
  68. width: 8px;
  69. height: 8px;
  70. }
  71. ::-webkit-scrollbar:hover {
  72. height: 8px;
  73. }
  74. ::-webkit-scrollbar-button:start:decrement,
  75. ::-webkit-scrollbar-button:end:increment { display: none; }
  76. ::-webkit-scrollbar-button:horizontal:decrement { display: none; }
  77. ::-webkit-scrollbar-button:horizontal:increment { display: none; }
  78. ::-webkit-scrollbar-button:vertical:decrement { display: none; }
  79. ::-webkit-scrollbar-button:vertical:increment { display: none; }
  80. ::-webkit-scrollbar-button:horizontal:decrement:active { background-image: none; }
  81. ::-webkit-scrollbar-button:horizontal:increment:active { background-image: none; }
  82. ::-webkit-scrollbar-button:vertical:decrement:active { background-image: none; }
  83. ::-webkit-scrollbar-button:vertical:increment:active {background-image: none; }
  84. ::-webkit-scrollbar-track-piece { background-color: transparent; }
  85. ::-webkit-scrollbar-thumb:vertical {
  86. height: 50px;
  87. background: -webkit-gradient(linear, left top, right top, color-stop(0%, @scrollbarBackground), color-stop(100%, @scrollbarBackground2));
  88. border: 1px solid @scrollbarBorder;
  89. border-top: 1px solid @scrollbarBorder;
  90. border-left: 1px solid @scrollbarBorder;
  91. }
  92. ::-webkit-scrollbar-thumb:horizontal {
  93. width: 50px;
  94. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, @scrollbarBackground), color-stop(100%, @scrollbarBackground2));
  95. border: 1px solid @scrollbarBorder;
  96. border-top: 1px solid @scrollbarBorder;
  97. border-left: 1px solid @scrollbarBorder;
  98. }
  99. // SPECTRUM CSS overrides
  100. .sp-replacer {
  101. background: inherit;
  102. border: none;
  103. color: inherit;
  104. padding: 0;
  105. }
  106. .sp-replacer:hover, .sp-replacer.sp-active {
  107. border-color: inherit;
  108. color: inherit;
  109. }
  110. .sp-container {
  111. border-radius: 0;
  112. background-color: @heroUnitBackground;
  113. border: none;
  114. padding: 0;
  115. }
  116. .sp-palette-container, .sp-picker-container {
  117. border: none;
  118. }
  119. .sp-dd {
  120. display: none;
  121. }
  122. .sp-preview {
  123. position: relative;
  124. width: 15px;
  125. height: 15px;
  126. border: none;
  127. margin-right: 5px;
  128. float: left;
  129. z-index: 0;
  130. }
  131. .datapoints-warning {
  132. pointer: none;
  133. position: absolute;
  134. top: 50%;
  135. left: 50%;
  136. z-index: 10;
  137. margin-top: -50px;
  138. margin-left: -100px;
  139. width: 200px;
  140. text-align: center;
  141. cursor: auto;
  142. padding: 10px;
  143. }
  144. .metrics-editor-help:hover {
  145. .hide {
  146. display: block;
  147. }
  148. }
  149. .grafana-tooltip {
  150. position : absolute;
  151. top: -1000;
  152. left: 0;
  153. color: @tooltipColor;
  154. padding: 10px;
  155. font-size: 11pt;
  156. font-weight : 200;
  157. background-color: @tooltipBackground;
  158. border-radius: 5px;
  159. z-index: 9999;
  160. max-width: 800px;
  161. max-height: 600px;
  162. overflow: hidden;
  163. line-height: 14px;
  164. a {
  165. color: @tooltipLinkColor;
  166. }
  167. }
  168. .grafana-tooltip hr {
  169. padding: 2px;
  170. color: #c8c8c8;
  171. margin: 0px;
  172. border-bottom:0px solid #c8c8c8;
  173. }
  174. .tooltip.in {
  175. .opacity(100);
  176. }
  177. .tooltip-inner {
  178. max-width: 400px;
  179. }
  180. .grafana-version-info {
  181. position: absolute;
  182. bottom: 2px;
  183. left: 3px;
  184. font-size: 80%;
  185. color: darken(@gray, 25%);
  186. a { color: darken(@gray, 25%); }
  187. }
  188. .template-variable {
  189. color: @variable;
  190. }
  191. .grafana-info-box:before {
  192. content: "\f05a";
  193. font-family:'FontAwesome';
  194. position: absolute;
  195. top: -8px;
  196. left: -8px;
  197. font-size: 20px;
  198. color: @blue;
  199. }
  200. .grafana-info-box {
  201. position: relative;
  202. padding: 5px 15px;
  203. background-color: @grafanaTargetBackground;
  204. border: 1px solid @grafanaTargetBorder;
  205. h5 {
  206. margin-top: 5px;
  207. }
  208. }
  209. .grafana-tip {
  210. padding-left: 5px;
  211. }
  212. .shortcut-table {
  213. td { padding: 3px; }
  214. th:last-child { text-align: left; }
  215. td:first-child { text-align: right; }
  216. }
  217. .modal-no-header {
  218. border: 1px solid @grafanaTargetFuncBackground;
  219. text-align: center;
  220. h3 {
  221. margin-top: 30px;
  222. }
  223. .modal-close {
  224. float: right;
  225. font-size: 140%;
  226. padding: 10px;
  227. }
  228. .modal-tagline {
  229. font-size: 16px;
  230. }
  231. }
  232. .confirm-modal {
  233. max-width: 500px;
  234. .confirm-modal-icon {
  235. padding-top: 41px;
  236. font-size: 280%;
  237. color: @green;
  238. padding-bottom: 20px;
  239. }
  240. .confirm-modal-title {
  241. font-size: 18px;
  242. color: @linkColor;
  243. margin-bottom: 15px;
  244. }
  245. .confirm-modal-buttons {
  246. margin-top: 35px;
  247. margin-bottom: 35px;
  248. button {
  249. margin-right: 5px
  250. }
  251. }
  252. }
  253. .share-modal-body {
  254. text-align: center;
  255. padding: 10px 0;
  256. .tight-form {
  257. text-align: left;
  258. }
  259. .share-modal-options {
  260. margin: 11px 20px 33px 20px;
  261. }
  262. .share-modal-big-icon {
  263. .fa, .gf-icon {
  264. font-size: 70px;
  265. }
  266. }
  267. .share-snapshot-info-text {
  268. margin: 10px 105px;
  269. strong {
  270. color: @headingsColor;
  271. font-weight: 500;
  272. }
  273. }
  274. .share-snapshot-header {
  275. margin: 20px 0 22px 0;
  276. }
  277. .tight-form {
  278. text-align: left;
  279. }
  280. .share-snapshot-link {
  281. max-width: 716px;
  282. white-space: nowrap;
  283. overflow: hidden;
  284. display: block;
  285. text-overflow: ellipsis;
  286. }
  287. }
  288. .query-keyword {
  289. font-weight: bold;
  290. color: @blue;
  291. }
  292. .query-segment-key {
  293. border-right: none;
  294. padding-right: 1px;
  295. }
  296. .query-segment-operator {
  297. padding-right: 1px;
  298. border-right: none;
  299. color: @orange;
  300. }
  301. .highlight-word {
  302. color: @orange;
  303. }
  304. .body-copy-emphasis {
  305. color: @headingsColor;
  306. }
  307. .signup-page-container {
  308. position: fixed;
  309. top: 0;
  310. left: 0;
  311. right: 0;
  312. bottom: 0;
  313. height: 100%;
  314. width: 100%;
  315. background-image: url(/img/background_tease.jpg);
  316. .signup-logo-container {
  317. width: 150px;
  318. margin: 0 auto;
  319. padding: 80px 0;
  320. }
  321. }
  322. .typeahead strong {
  323. color: @yellow;
  324. }