market-sidebar.scss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. // 좌측 사이드바 자리표시 (MarketSidebar) — 관심종목/즐겨찾기 본구현 전 골격 (D6 그리드 셸)
  2. .market-sidebar {
  3. display: flex;
  4. flex-direction: column;
  5. height: 100%;
  6. min-height: 0;
  7. &__header {
  8. display: flex;
  9. align-items: center;
  10. justify-content: space-between;
  11. padding: 10px 12px;
  12. border-bottom: 1px solid var(--border-light);
  13. }
  14. &__title {
  15. font-size: var(--fs-sm);
  16. font-weight: 700;
  17. color: var(--text-secondary);
  18. }
  19. &__collapse-btn {
  20. display: inline-flex;
  21. align-items: center;
  22. justify-content: center;
  23. width: 28px;
  24. height: 28px;
  25. border: none;
  26. border-radius: 4px;
  27. background: transparent;
  28. color: var(--text-muted);
  29. cursor: pointer;
  30. &:hover {
  31. background: var(--bg-subtle);
  32. color: var(--text-primary);
  33. }
  34. }
  35. &__body {
  36. flex: 1;
  37. min-height: 0;
  38. overflow-y: auto;
  39. padding: var(--sp-4);
  40. }
  41. &__empty {
  42. padding: var(--sp-5) 0;
  43. font-size: var(--fs-xs);
  44. color: var(--text-muted);
  45. text-align: center;
  46. }
  47. &__icon-placeholder {
  48. display: flex;
  49. align-items: center;
  50. justify-content: center;
  51. height: 36px;
  52. color: var(--text-muted);
  53. }
  54. &__footer {
  55. display: flex;
  56. align-items: center;
  57. justify-content: center;
  58. gap: var(--sp-3);
  59. padding: var(--sp-3);
  60. border-top: 1px solid var(--border-light);
  61. }
  62. &__icon-btn {
  63. display: inline-flex;
  64. align-items: center;
  65. justify-content: center;
  66. width: 32px;
  67. height: 32px;
  68. border: none;
  69. border-radius: 4px;
  70. background: transparent;
  71. color: var(--text-muted);
  72. cursor: pointer;
  73. &:hover {
  74. background: var(--bg-subtle);
  75. color: var(--text-primary);
  76. }
  77. }
  78. &--collapsed {
  79. .market-sidebar__header {
  80. justify-content: center;
  81. padding: 10px 6px;
  82. }
  83. }
  84. }