_add_data_source.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. .add-data-source-header {
  2. margin-bottom: $space-xl;
  3. padding-top: $spacer;
  4. text-align: center;
  5. }
  6. .add-data-source-search {
  7. display: flex;
  8. justify-content: center;
  9. margin-bottom: $space-lg;
  10. }
  11. .add-data-source-category {
  12. margin-bottom: $space-md;
  13. }
  14. .add-data-source-category__header {
  15. font-size: $font-size-h5;
  16. margin-bottom: $space-sm;
  17. }
  18. .add-data-source-item {
  19. padding: $space-md;
  20. display: flex;
  21. align-items: center;
  22. cursor: pointer;
  23. box-shadow: $card-shadow;
  24. background: $panel-editor-viz-item-bg;
  25. border: 1px solid transparent;
  26. border-radius: 3px;
  27. margin-bottom: $space-xxs;
  28. &:hover {
  29. box-shadow: $panel-editor-viz-item-shadow-hover;
  30. background: $panel-editor-viz-item-bg-hover;
  31. border: $panel-editor-viz-item-border-hover;
  32. color: $text-color-strong;
  33. .add-data-source-item-actions {
  34. opacity: 1;
  35. transition: 0.15s opacity ease-in-out;
  36. }
  37. }
  38. }
  39. .add-data-source-item-text-wrapper {
  40. display: flex;
  41. flex-direction: column;
  42. flex-grow: 1;
  43. }
  44. .add-data-source-item-desc {
  45. font-size: $font-size-sm;
  46. color: $text-color-weak;
  47. }
  48. .add-data-source-item-text {
  49. font-size: $font-size-h5;
  50. }
  51. .add-data-source-item-logo {
  52. margin-right: $space-lg;
  53. margin-left: $space-sm;
  54. width: 55px;
  55. max-height: 55px;
  56. }
  57. .add-data-source-item-actions {
  58. opacity: 0;
  59. padding-left: $space-md;
  60. display: flex;
  61. align-items: center;
  62. > button {
  63. margin-left: $space-md;
  64. cursor: pointer;
  65. }
  66. }
  67. .add-data-source-more {
  68. text-align: center;
  69. margin: $space-xl;
  70. }