overrides.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621
  1. // Media queries
  2. // ---------------------
  3. @media (max-width: 767px) {
  4. div.panel {
  5. width: 100% !important;
  6. padding: 0px !important;
  7. }
  8. }
  9. // Containers
  10. // ---------------------
  11. .container-fluid {
  12. padding-left: 0px;
  13. padding-right: 0px;
  14. }
  15. .container.grafana-container {
  16. padding: 5px 10px;
  17. width: 100%;
  18. box-sizing: border-box;
  19. }
  20. // Backgrounds
  21. // ---------------------
  22. .bgNav {
  23. background: @navbarBackground;
  24. }
  25. .bgPrimary {
  26. background: @btnPrimaryBackground;
  27. color: rgba(255,255,255,.90);
  28. }
  29. .bgInfo {
  30. background: @btnInfoBackground;
  31. color: rgba(255,255,255,.90);
  32. }
  33. .bgSuccess {
  34. background: @btnSuccessBackground;
  35. color: rgba(255,255,255,.90);
  36. }
  37. .bgWarning {
  38. background: @btnWarningBackground;
  39. color: rgba(255,255,255,.90);
  40. }
  41. .bgDanger {
  42. background: @btnDangerBackground;
  43. color: rgba(255,255,255,.90);
  44. }
  45. .bgInverse {
  46. background: @btnInverseBackground;
  47. color: rgba(255,255,255,.90);
  48. }
  49. code, pre {
  50. background-color: @grayLighter;
  51. }
  52. .panel {
  53. display: inline-table;
  54. vertical-align: top;
  55. }
  56. .panel-container {
  57. padding: 0px 0px 0px 0px;
  58. background: @kibanaPanelBackground;
  59. margin: 5px;
  60. }
  61. .panel-content {
  62. padding: 0px 10px 10px 10px;
  63. }
  64. .panel-title {
  65. border: 0px;
  66. font-weight: bold;
  67. }
  68. .panel-loading {
  69. position:absolute;
  70. top: 0px;
  71. right: 4px;
  72. z-index: 800;
  73. }
  74. .panel div.panel-extra div.panel-extra-container {
  75. margin-right: -10px;
  76. margin-top: 3px;
  77. text-align: center;
  78. ul {
  79. text-align: left;
  80. }
  81. }
  82. .panel div.panel-extra {
  83. font-size: 0.9em;
  84. margin-bottom: 0px;
  85. }
  86. .panel div.panel-extra .extra {
  87. float:right !important;
  88. }
  89. .panel-error {
  90. color: @white;
  91. padding: 3px 10px 0px 10px;
  92. }
  93. div.editor-row {
  94. vertical-align: top;
  95. }
  96. div.editor-row div.section {
  97. margin-right: 20px;
  98. vertical-align: top;
  99. display: inline-block;
  100. }
  101. div.editor-option {
  102. vertical-align: top;
  103. display: inline-block;
  104. margin-right: 10px;
  105. }
  106. div.editor-option label {
  107. display: block;
  108. }
  109. #events {
  110. font-size: 12px;
  111. }
  112. .version {
  113. font-size: 85%;
  114. }
  115. .legend {
  116. color: @black;
  117. }
  118. div.fake-input {
  119. background-color: @inputBackground;
  120. border: 1px solid @inputBorder;
  121. .border-radius(@inputBorderRadius @inputBorderRadius @inputBorderRadius @inputBorderRadius);
  122. }
  123. hr.small {
  124. margin: 5px 0px;
  125. }
  126. form input.ng-invalid {
  127. color: @errorText;
  128. }
  129. .editor-title {
  130. margin-right: 10px;
  131. font-size: 1.7em;
  132. font-weight: bold;
  133. text-transform:capitalize;
  134. }
  135. .editor-title small {
  136. opacity: 0.5;
  137. font-size: 0.7em;
  138. font-weight: normal;
  139. }
  140. .bordered {
  141. border: 1px solid @tableBorder;
  142. }
  143. .table-unpadded {
  144. th,
  145. td {
  146. padding: 0px 2px;
  147. }
  148. }
  149. .spy {
  150. position:absolute;
  151. right:0px;
  152. top:0px;
  153. }
  154. .navbar-inner {
  155. border-width: 0 0 0px;
  156. }
  157. .kibana-row {
  158. margin-bottom: 5px;
  159. }
  160. .row-tab {
  161. padding: 0px;
  162. cursor: pointer;
  163. width: 30px;
  164. height: 30px;
  165. line-height: 30px;
  166. vertical-align: middle;
  167. }
  168. .row-button {
  169. width: 30px;
  170. text-align: center;
  171. float: left;
  172. cursor: pointer;
  173. }
  174. .row-text {
  175. white-space: nowrap;
  176. text-transform: uppercase;
  177. font-weight: bold;
  178. font-size: 0.9em;
  179. margin: 0px 10px;
  180. }
  181. .row-close {
  182. padding: 0px;
  183. margin: 0px;
  184. min-height: 30px !important;
  185. line-height: 30px;
  186. background: @kibanaPanelBackground;
  187. }
  188. .row-open {
  189. margin-top: 5px;
  190. left:-34px;
  191. position: absolute;
  192. z-index: 100;
  193. transition: .25s left;
  194. transition-delay: .25s;
  195. -webkit-transition-delay: .25s;
  196. }
  197. .row-open:hover {
  198. left:-12px;
  199. }
  200. .odd {
  201. background-color: @tableBackgroundAccent;
  202. }
  203. .nomargin {
  204. margin: 0px;
  205. }
  206. [ng\:cloak], [ng-cloak], .ng-cloak {
  207. display: none !important;
  208. }
  209. .table tbody + tbody {
  210. border-top: 0px;
  211. }
  212. .ui-draggable-dragging {
  213. display: block;
  214. z-index: 9999;
  215. }
  216. .dragInProgress .panel-container {
  217. border: 3px solid rgba(100,100,100,0.50);
  218. }
  219. .link {
  220. color: @linkColor;
  221. cursor: pointer;
  222. }
  223. .link:hover {
  224. color: @linkColorHover;
  225. }
  226. .pointer {
  227. cursor: pointer;
  228. }
  229. .popover {
  230. max-width: 480px;
  231. }
  232. .modal {
  233. width: 100%;
  234. top: 0px !important;
  235. }
  236. .tiny {
  237. font-size: 50%;
  238. }
  239. .smaller {
  240. font-size: 70%;
  241. }
  242. .small {
  243. font-size: 85%;
  244. }
  245. .large {
  246. font-size: 120%;
  247. }
  248. .strong {
  249. font-weight: bold;
  250. }
  251. a {
  252. cursor: pointer;
  253. }
  254. .normal {
  255. font-weight: normal;
  256. }
  257. .light {
  258. font-weight: 200;
  259. }
  260. .input-smaller {
  261. width: 75px;
  262. }
  263. .string {color:lighten(@textColor, 5%)}
  264. .number {color:lighten(@infoText, 5%)}
  265. .boolean {color:lighten(@warningText, 5%)}
  266. .key {color:lighten(@errorText, 5%)}
  267. .btn-active {
  268. background-color: #E6E6E6;
  269. background-image: none;
  270. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
  271. outline: 0 none
  272. }
  273. .remove:hover {
  274. background-color: @btnDangerBackgroundHighlight;
  275. }
  276. .faded {
  277. opacity: 0.2;
  278. }
  279. div.flot-text {
  280. color: @textColor !important;
  281. }
  282. .dashboard-notice {
  283. z-index:8000;
  284. margin-left:0px;
  285. padding:3px 0px 3px 0px;
  286. width:100%;
  287. padding-left:20px;
  288. color: @white;
  289. }
  290. .alert-warning {
  291. background-color: @warningBackground;
  292. border-color: @warningBorder;
  293. color: @warningText;
  294. }
  295. /* ===================================================
  296. * popover-extra-placements.css v0.1
  297. * http://twitter.github.com/bootstrap-popover-extra-placements
  298. * ===================================================
  299. * Copyright 2012 Daniel Kleehammer
  300. *
  301. * Licensed under the Apache License, Version 2.0 (the "License");
  302. * you may not use this file except in compliance with the License.
  303. * You may obtain a copy of the License at
  304. *
  305. * http://www.apache.org/licenses/LICENSE-2.0
  306. *
  307. * Unless required by applicable law or agreed to in writing, software
  308. * distributed under the License is distributed on an "AS IS" BASIS,
  309. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  310. * See the License for the specific language governing permissions and
  311. * limitations under the License.
  312. * ========================================================== */
  313. /*************************
  314. * Top Positions
  315. *************************/
  316. /** Top Left **/
  317. .popover.topLeft {
  318. margin-top: -10px;
  319. }
  320. .popover.topLeft .arrow {
  321. bottom: -10px;
  322. left: 25%;
  323. margin-left: -10px;
  324. border-width: 10px 10px 0;
  325. border-top-color: @popoverTitleBackground;
  326. }
  327. .popover.topLeft .arrow:after {
  328. border-width: 11px 11px 0;
  329. border-top-color: rgba(0, 0, 0, 0.25);
  330. bottom: -1px;
  331. left: -11px;
  332. }
  333. /** Top Right **/
  334. .popover.topRight {
  335. margin-top: -10px;
  336. }
  337. .popover.topRight .arrow {
  338. bottom: -10px;
  339. left: 75%;
  340. margin-left: -10px;
  341. border-width: 10px 10px 0;
  342. border-top-color: @popoverTitleBackground;;
  343. }
  344. .popover.topRight .arrow:after {
  345. border-width: 11px 11px 0;
  346. border-top-color: rgba(0, 0, 0, 0.25);
  347. bottom: -1px;
  348. left: -11px;
  349. }
  350. /*************************
  351. * Right Positions
  352. *************************/
  353. .popover {
  354. &.rightTop .arrow {
  355. top: 10%;
  356. left: -@popoverArrowOuterWidth;
  357. margin-top: -@popoverArrowOuterWidth;
  358. border-left-width: 0;
  359. border-right-color: #999; // IE8 fallback
  360. border-right-color: @popoverArrowOuterColor;
  361. &:after {
  362. left: 1px;
  363. bottom: -@popoverArrowWidth;
  364. border-left-width: 0;
  365. border-right-color: @popoverArrowColor;
  366. }
  367. }
  368. &.rightBottom .arrow {
  369. top: 90%;
  370. left: -@popoverArrowOuterWidth;
  371. margin-top: -@popoverArrowOuterWidth;
  372. border-left-width: 0;
  373. border-right-color: #999; // IE8 fallback
  374. border-right-color: @popoverArrowOuterColor;
  375. &:after {
  376. left: 1px;
  377. bottom: -@popoverArrowWidth;
  378. border-left-width: 0;
  379. border-right-color: @popoverArrowColor;
  380. }
  381. }
  382. &.bottomLeft .arrow {
  383. left: 10%;
  384. margin-left: -@popoverArrowOuterWidth;
  385. border-top-width: 0;
  386. border-bottom-color: #999; // IE8 fallback
  387. border-bottom-color: @popoverArrowOuterColor;
  388. top: -@popoverArrowOuterWidth;
  389. &:after {
  390. top: 1px;
  391. margin-left: -@popoverArrowWidth;
  392. border-top-width: 0;
  393. border-bottom-color: @popoverArrowColor;
  394. }
  395. }
  396. &.bottomRight .arrow {
  397. left: 90%;
  398. margin-left: -@popoverArrowOuterWidth;
  399. border-top-width: 0;
  400. border-bottom-color: #999; // IE8 fallback
  401. border-bottom-color: @popoverArrowOuterColor;
  402. top: -@popoverArrowOuterWidth;
  403. &:after {
  404. top: 1px;
  405. margin-left: -@popoverArrowWidth;
  406. border-top-width: 0;
  407. border-bottom-color: @popoverArrowColor;
  408. }
  409. }
  410. &.leftTop .arrow {
  411. top: 10%;
  412. right: -@popoverArrowOuterWidth;
  413. margin-top: -@popoverArrowOuterWidth;
  414. border-right-width: 0;
  415. border-left-color: #999; // IE8 fallback
  416. border-left-color: @popoverArrowOuterColor;
  417. &:after {
  418. right: 1px;
  419. border-right-width: 0;
  420. border-left-color: @popoverArrowColor;
  421. bottom: -@popoverArrowWidth;
  422. }
  423. }
  424. &.leftBottom .arrow {
  425. top: 90%;
  426. right: -@popoverArrowOuterWidth;
  427. margin-top: -@popoverArrowOuterWidth;
  428. border-right-width: 0;
  429. border-left-color: #999; // IE8 fallback
  430. border-left-color: @popoverArrowOuterColor;
  431. &:after {
  432. right: 1px;
  433. border-right-width: 0;
  434. border-left-color: @popoverArrowColor;
  435. bottom: -@popoverArrowWidth;
  436. }
  437. }
  438. &.topLeft .arrow {
  439. left: 10%;
  440. margin-left: -@popoverArrowOuterWidth;
  441. border-bottom-width: 0;
  442. border-top-color: #999; // IE8 fallback
  443. border-top-color: @popoverArrowOuterColor;
  444. bottom: -@popoverArrowOuterWidth;
  445. &:after {
  446. bottom: 1px;
  447. margin-left: -@popoverArrowWidth;
  448. border-bottom-width: 0;
  449. border-top-color: @popoverArrowColor;
  450. }
  451. }
  452. &.topRight .arrow {
  453. left: 90%;
  454. margin-left: -@popoverArrowOuterWidth;
  455. border-bottom-width: 0;
  456. border-top-color: #999; // IE8 fallback
  457. border-top-color: @popoverArrowOuterColor;
  458. bottom: -@popoverArrowOuterWidth;
  459. &:after {
  460. bottom: 1px;
  461. margin-left: -@popoverArrowWidth;
  462. border-bottom-width: 0;
  463. border-top-color: @popoverArrowColor;
  464. }
  465. }
  466. }
  467. // Labels & Badges
  468. .label-tag {
  469. background-color: @purple;
  470. color: @linkColor;
  471. }
  472. .label-tag:hover {
  473. background-color: darken(@purple, 10%);
  474. color: lighten(@linkColor, 5%);
  475. }
  476. // Filter submenu
  477. .filtering-container {
  478. float: left;
  479. }
  480. .filtering-container label {
  481. float: left;
  482. }
  483. .filtering-container input[type=checkbox] {
  484. margin: 0;
  485. }
  486. .filter-panel-filter {
  487. display:inline-block;
  488. vertical-align: top;
  489. padding: 4px 10px 3px 10px;
  490. border-right: 1px solid @submenuBorder;
  491. }
  492. .filter-panel-filter:first-child {
  493. padding-left: 0;
  494. }
  495. .filter-panel-filter ul {
  496. margin-bottom: 0px;
  497. }
  498. .filter-deselected {
  499. opacity: 0.5;
  500. }
  501. .filter-action {
  502. float:right;
  503. padding-right: 2px;
  504. margin-bottom: 0px !important;
  505. margin-left: 0px;
  506. margin-top: 4px;
  507. }
  508. .add-filter-action {
  509. padding: 3px 10px 0px 5px;
  510. position: relative;
  511. top: 4px;
  512. }
  513. .filter-mandate {
  514. text-decoration: underline;
  515. cursor: pointer;
  516. }
  517. .filter-apply {
  518. float:right;
  519. }