_viz_editor.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .viz-editor {
  2. display: flex;
  3. height: 100%;
  4. }
  5. .viz-editor-col1 {
  6. width: 210px;
  7. height: 100%;
  8. margin-right: 40px;
  9. }
  10. .viz-editor-col2 {
  11. flex-grow: 1;
  12. }
  13. .viz-picker {
  14. display: flex;
  15. flex-direction: column;
  16. height: 100%;
  17. }
  18. .viz-picker-list {
  19. padding-top: $spacer;
  20. display: flex;
  21. flex-direction: column;
  22. overflow: hidden;
  23. flex-grow: 1;
  24. }
  25. .viz-picker__item {
  26. background: $card-background;
  27. box-shadow: $card-shadow;
  28. border-radius: 3px;
  29. padding: $spacer;
  30. width: 100%;
  31. height: 60px;
  32. text-align: center;
  33. margin-bottom: 6px;
  34. cursor: pointer;
  35. display: flex;
  36. flex-shrink: 0;
  37. border: 1px solid transparent;
  38. &:hover {
  39. background: $card-background-hover;
  40. }
  41. &--selected {
  42. border: 1px solid $orange;
  43. .viz-picker__item-name {
  44. color: $text-color;
  45. }
  46. .viz-picker__item-img {
  47. filter: saturate(100%);
  48. }
  49. }
  50. }
  51. .viz-picker__item-name {
  52. text-overflow: ellipsis;
  53. overflow: hidden;
  54. white-space: nowrap;
  55. font-size: $font-size-h5;
  56. display: flex;
  57. flex-direction: column;
  58. align-self: center;
  59. padding-left: $spacer;
  60. font-size: $font-size-md;
  61. color: $text-muted;
  62. }
  63. .viz-picker__item-img {
  64. height: 100%;
  65. filter: saturate(30%);
  66. }