_page.scss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .grafana-app {
  2. display: block;
  3. height: 100%;
  4. }
  5. .dashboard-container {
  6. padding: 5px 5px;
  7. width: 100%;
  8. box-sizing: border-box;
  9. }
  10. .main-view {
  11. // background-image: url(/img/grafana_pattern.png);
  12. // background-position: 100% -550px;
  13. // background-repeat: no-repeat;
  14. height: 100%;
  15. }
  16. .page-dashboard {
  17. .main-view {
  18. background-image: none;
  19. }
  20. }
  21. .page-container {
  22. background-color: $page-bg;
  23. position: relative;
  24. padding: ($spacer * 2) ($spacer * 4);
  25. max-width: 1060px;
  26. margin-left: 0;
  27. min-height: calc(100% - 54px);
  28. padding-bottom: $spacer * 5;
  29. }
  30. .page-header {
  31. padding: 10px 0 39px 0px;
  32. display: flex;
  33. justify-content: space-between;
  34. align-items: center;
  35. display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
  36. display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
  37. display: -ms-flexbox; /* TWEENER - IE 10 */
  38. display: -webkit-flex; /* NEW - Chrome */
  39. flex-wrap: wrap-reverse;
  40. background: transparent url(../img/page_header_line.png) no-repeat left 60px;
  41. h1 {
  42. font-style: italic;
  43. }
  44. margin-bottom: 2rem;
  45. }
  46. .admin-page {
  47. max-width: 800px;
  48. margin-left: 10px;
  49. .gf-box {
  50. margin-top: 0;
  51. }
  52. .gf-box-body {
  53. min-height: 0;
  54. }
  55. h2 {
  56. margin-left: 15px;
  57. margin-bottom: 0px;
  58. font-size: $font-size-lg;
  59. color: $text-color;
  60. i {
  61. padding-right: 6px;
  62. }
  63. }
  64. }