page.scss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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: $pageBackground;
  23. position: relative;
  24. padding: 25px 56px 10px 56px;
  25. max-width: 1060px;
  26. margin-left: 0;
  27. height: 100%;
  28. }
  29. .page-header {
  30. padding: 10px 0 39px 0px;
  31. display: flex;
  32. justify-content: space-between;
  33. align-items: center;
  34. display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
  35. display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
  36. display: -ms-flexbox; /* TWEENER - IE 10 */
  37. display: -webkit-flex; /* NEW - Chrome */
  38. flex-wrap: wrap-reverse;
  39. background: transparent url(../img/page_header_line.png) no-repeat left 60px;
  40. h1 {
  41. font-style: italic;
  42. }
  43. }
  44. .admin-page {
  45. max-width: 800px;
  46. margin-left: 10px;
  47. .gf-box {
  48. margin-top: 0;
  49. }
  50. .gf-box-body {
  51. min-height: 0;
  52. }
  53. h2 {
  54. margin-left: 15px;
  55. margin-bottom: 0px;
  56. font-size: $fontSizeLarge;
  57. color: $textColor;
  58. i {
  59. padding-right: 6px;
  60. }
  61. }
  62. }