_panel_add_panel.scss 1.2 KB

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