_dashboard.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. .panel {
  2. height: 100%;
  3. }
  4. .panel-height-helper {
  5. display: block;
  6. height: 100%;
  7. }
  8. .panel-container {
  9. background-color: $panel-bg;
  10. border: $panel-border;
  11. position: relative;
  12. border-radius: 3px;
  13. height: 100%;
  14. width: 100%;
  15. display: flex;
  16. flex-direction: column;
  17. flex: 1 1 0;
  18. box-shadow: $panel-box-shadow;
  19. &--transparent {
  20. background-color: transparent;
  21. border: 1px solid transparent;
  22. box-shadow: none;
  23. }
  24. &:hover {
  25. .panel-menu-toggle {
  26. visibility: visible;
  27. transition: opacity 0.1s ease-in 0.2s;
  28. opacity: 1;
  29. }
  30. }
  31. &--is-editing {
  32. height: auto;
  33. }
  34. &--absolute {
  35. position: absolute;
  36. }
  37. }
  38. .panel-content {
  39. padding: $panel-padding;
  40. width: 100%;
  41. flex-grow: 1;
  42. contain: strict;
  43. height: calc(100% - #{$panel-header-height});
  44. &--no-padding {
  45. padding: 0;
  46. }
  47. }
  48. div.flot-text {
  49. color: $text-color !important;
  50. }
  51. .dashboard-solo {
  52. .footer,
  53. .sidemenu {
  54. display: none;
  55. }
  56. }
  57. .template-variable {
  58. color: $variable;
  59. }
  60. .panel-solo {
  61. position: fixed;
  62. bottom: 0;
  63. right: 0;
  64. margin: 0;
  65. left: 0;
  66. top: 0;
  67. width: '100%';
  68. height: '100%';
  69. .panel-container {
  70. border: none;
  71. }
  72. .panel-menu-toggle,
  73. .panel-menu {
  74. display: none;
  75. }
  76. }