_add_data_source.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. background: $panel-editor-viz-item-bg;
  24. border: 1px solid transparent;
  25. border-radius: 3px;
  26. margin-bottom: $space-xxs;
  27. &:hover {
  28. box-shadow: $panel-editor-viz-item-shadow-hover;
  29. background: $panel-editor-viz-item-bg-hover;
  30. border: $panel-editor-viz-item-border-hover;
  31. color: $text-color-strong;
  32. .add-data-source-item-actions {
  33. opacity: 1;
  34. transition: 0.15s opacity ease-in-out;
  35. }
  36. }
  37. }
  38. .add-data-source-item-text-wrapper {
  39. display: flex;
  40. flex-direction: column;
  41. flex-grow: 1;
  42. }
  43. .add-data-source-item-desc {
  44. font-size: $font-size-sm;
  45. color: $text-color-weak;
  46. }
  47. .add-data-source-item-badge {
  48. margin-top: 6px;
  49. }
  50. .add-data-source-item-text {
  51. font-size: $font-size-h5;
  52. }
  53. .add-data-source-item-logo {
  54. margin-right: $space-lg;
  55. margin-left: $space-sm;
  56. width: 55px;
  57. max-height: 55px;
  58. }
  59. .add-data-source-item-actions {
  60. opacity: 0;
  61. padding-left: $space-md;
  62. display: flex;
  63. align-items: center;
  64. > button {
  65. margin-left: $space-md;
  66. cursor: pointer;
  67. }
  68. }
  69. .add-datasource-item-actions__btn-icon {
  70. margin-left: $space-sm;
  71. }
  72. .add-data-source-more {
  73. text-align: center;
  74. margin: $space-xl;
  75. }