grafana.less 6.7 KB

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