_panel_add_panel.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. .add-panel {
  2. height: 100%;
  3. }
  4. .add-panel__header {
  5. padding: 5px 15px;
  6. display: flex;
  7. align-items: center;
  8. i {
  9. font-size: 30px;
  10. margin-right: $spacer;
  11. }
  12. }
  13. .add-panel__title {
  14. font-size: $font-size-md;
  15. margin-right: $spacer/2;
  16. }
  17. .add-panel__sub-title {
  18. font-style: italic;
  19. color: $text-muted;
  20. position: relative;
  21. top: 1px;
  22. }
  23. .add-panel__items {
  24. padding: 3px 8px;
  25. display: flex;
  26. flex-direction: row;
  27. flex-wrap: wrap;
  28. overflow: auto;
  29. height: calc(100% - 43px);
  30. align-content: flex-start;
  31. justify-content: space-around;
  32. position: relative;
  33. }
  34. .add-panel__item {
  35. background: $card-background;
  36. box-shadow: $card-shadow;
  37. border-radius: 3px;
  38. padding: $spacer/3 $spacer;
  39. width: 31%;
  40. height: 60px;
  41. text-align: center;
  42. margin: $gf-form-margin;
  43. cursor: pointer;
  44. &.active,
  45. &:hover {
  46. background: $card-background-hover;
  47. }
  48. }
  49. .add-panel__item-name {
  50. text-overflow: ellipsis;
  51. overflow: hidden;
  52. white-space: nowrap;
  53. font-size: $font-size-sm;
  54. }
  55. .add-panel__item-img {
  56. height: calc(100% - 15px);
  57. }
  58. .add-panel__item-icon {
  59. padding: 2px;
  60. }