grafana.less 6.6 KB

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