_viz_editor.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. .panel-editor-container {
  2. display: flex;
  3. flex-direction: column;
  4. height: 100%;
  5. }
  6. .panel-editor-container__panel {
  7. flex: 1 1 0;
  8. }
  9. .panel-editor-container__editor {
  10. margin-top: $panel-margin*2;
  11. display: flex;
  12. flex-direction: row;
  13. height: 65%;
  14. position: relative;
  15. }
  16. .panel-editor__content {
  17. flex-grow: 1;
  18. min-width: 0;
  19. height: 100%;
  20. padding: 0 20px;
  21. }
  22. .panel-in-fullscreen {
  23. .scroll-canvas--dashboard {
  24. height: 100%;
  25. }
  26. .sidemenu {
  27. display: none;
  28. }
  29. .main-view {
  30. background: unset;
  31. }
  32. .dashboard-container {
  33. padding: 0;
  34. }
  35. .submenu-controls {
  36. padding: $dashboard-padding $dashboard-padding $panel-margin $dashboard-padding;
  37. }
  38. .panel-editor-container__panel {
  39. margin: 0 $dashboard-padding;
  40. }
  41. }
  42. .viz-picker__search {
  43. flex-grow: 0;
  44. }
  45. .viz-picker__items {
  46. display: flex;
  47. // for scrollbar
  48. margin-bottom: 13px;
  49. }
  50. .viz-picker__item {
  51. background: $card-background;
  52. box-shadow: $card-shadow;
  53. border-radius: 3px;
  54. height: 70px;
  55. width: 130px;
  56. flex-shrink: 0;
  57. flex-direction: column;
  58. text-align: center;
  59. cursor: pointer;
  60. display: flex;
  61. margin-right: 6px;
  62. border: 1px solid transparent;
  63. align-items: center;
  64. &:hover {
  65. background: $card-background-hover;
  66. }
  67. &--selected {
  68. .viz-picker__item-name {
  69. color: $text-color;
  70. }
  71. }
  72. }
  73. .viz-picker__item-name {
  74. text-overflow: ellipsis;
  75. overflow: hidden;
  76. white-space: nowrap;
  77. font-size: $font-size-sm;
  78. display: flex;
  79. flex-direction: column;
  80. align-self: center;
  81. height: 20px;
  82. }
  83. .viz-picker__item-img {
  84. height: 40px;
  85. }
  86. .panel-editor__aside {
  87. background: $panel-bg;
  88. display: flex;
  89. flex-direction: column;
  90. }
  91. .panel-editor__aside-item {
  92. padding: 8px 20px;
  93. color: $text-color;
  94. font-size: $font-size-md;
  95. @include left-brand-border;
  96. &.active {
  97. @include left-brand-border-gradient();
  98. background: $page-bg;
  99. }
  100. i {
  101. width: 23px;
  102. }
  103. .gicon {
  104. margin-bottom: 2px;
  105. }
  106. .fa {
  107. font-size: 17px;
  108. }
  109. }
  110. .panel-editor__aside-actions {
  111. display: flex;
  112. flex-direction: column;
  113. height: 100%;
  114. flex-grow: 1;
  115. padding: 30px 0 0 0;
  116. a {
  117. text-align: left;
  118. padding-left: 20px;
  119. }
  120. }
  121. .panel-editor__aside-header {
  122. color: $text-muted;
  123. font-size: $font-size-h3;
  124. padding: 20px 30px 10px 20px;
  125. white-space: nowrap;
  126. i {
  127. font-size: 25px;
  128. position: relative;
  129. top: 1px;
  130. padding-right: 5px;
  131. }
  132. }
  133. .viz-picker__bar {
  134. display: flex;
  135. margin-bottom: $spacer;
  136. }
  137. .panel-editor-resizer {
  138. position: absolute;
  139. height: 2px;
  140. width: 100%;
  141. top: 1px;
  142. padding-left: 32px;
  143. }
  144. .panel-editor-resizer__handle {
  145. display: inline-block;
  146. width: 100px;
  147. position: relative;
  148. background: $input-label-bg;
  149. top: -12px;
  150. border-radius: 2px;
  151. box-shadow: 0 0 8px $black;
  152. height: 8px;
  153. cursor: grabbing;
  154. }
  155. .panel-editor-resizer__handle-dots {
  156. border-top: 2px dotted $text-color-faint;
  157. position: relative;
  158. top: 3px;
  159. }
  160. .panel-editor {
  161. height: calc(100% - 10px);
  162. }