|
32 | 32 | margin-bottom: .5rem; |
33 | 33 | } |
34 | 34 | } |
| 35 | + |
| 36 | +.outline-sidebar { |
| 37 | + // Keep the header at the very top of the sidebar column (aligned with the |
| 38 | + // StatusBar on the content side). |
| 39 | + margin-top: 0; |
| 40 | +} |
| 41 | + |
| 42 | +.outline-sidebar .outline-sidebar-header { |
| 43 | + // Offset the header so the FIRST collapsible card lines up with the top of |
| 44 | + // the "Optimize your course with AI" box on the content side (the heading |
| 45 | + // sits above it). |
| 46 | + margin-top: 2.25rem; |
| 47 | + |
| 48 | + .outline-sidebar-header-title { |
| 49 | + font: normal var(--pgn-typography-font-weight-bold) 1.375rem/1.75rem var(--pgn-typography-font-family-base); |
| 50 | + color: var(--pgn-color-info-500); |
| 51 | + } |
| 52 | +} |
| 53 | + |
| 54 | +.outline-sidebar .outline-sidebar-sections { |
| 55 | + // Align the first collapsible with the top border of the section cards on |
| 56 | + // the content side. |
| 57 | + margin-top: 1.5rem; |
| 58 | + display: flex; |
| 59 | + flex-direction: column; |
| 60 | + gap: .75rem; |
| 61 | +} |
| 62 | + |
| 63 | +.outline-sidebar .outline-sidebar-section.collapsible-card-lg { |
| 64 | + border: 1px solid var(--pgn-color-light-400) !important; |
| 65 | + border-radius: .5rem; |
| 66 | + background: var(--pgn-color-white); |
| 67 | + overflow: hidden; |
| 68 | + transition: border-color .15s ease, box-shadow .15s ease; |
| 69 | + |
| 70 | + &:hover { |
| 71 | + border-color: var(--pgn-color-info-300) !important; |
| 72 | + box-shadow: 0 .125rem .5rem rgba(15, 14, 40, .06); |
| 73 | + } |
| 74 | + |
| 75 | + &.is-open { |
| 76 | + border-color: var(--pgn-color-info-300) !important; |
| 77 | + box-shadow: 0 .125rem .75rem rgba(15, 14, 40, .08); |
| 78 | + } |
| 79 | + |
| 80 | + .collapsible-trigger { |
| 81 | + justify-content: space-between; |
| 82 | + align-items: center; |
| 83 | + text-decoration: none; |
| 84 | + color: var(--pgn-color-black); |
| 85 | + padding: .875rem 1rem; |
| 86 | + border: 0; |
| 87 | + cursor: pointer; |
| 88 | + transition: background .15s ease; |
| 89 | + |
| 90 | + &:hover { |
| 91 | + background: var(--pgn-color-light-200); |
| 92 | + } |
| 93 | + } |
| 94 | + |
| 95 | + .help-sidebar-about-title { |
| 96 | + font: normal var(--pgn-typography-font-weight-bold) .9375rem/1.375rem var(--pgn-typography-font-family-base); |
| 97 | + color: var(--pgn-color-black); |
| 98 | + } |
| 99 | + |
| 100 | + .collapsible-icon { |
| 101 | + color: var(--pgn-color-gray-500); |
| 102 | + margin-left: .5rem; |
| 103 | + flex-shrink: 0; |
| 104 | + } |
| 105 | + |
| 106 | + &.is-open .collapsible-icon { |
| 107 | + color: var(--pgn-color-info-500); |
| 108 | + } |
| 109 | + |
| 110 | + .collapsible-body { |
| 111 | + padding: 0 1rem 1rem; |
| 112 | + } |
| 113 | + |
| 114 | + .help-sidebar-about-descriptions { |
| 115 | + font: normal var(--pgn-typography-font-weight-normal) .875rem/1.5rem var(--pgn-typography-font-family-base); |
| 116 | + color: $text-color-base; |
| 117 | + margin-bottom: .75rem; |
| 118 | + |
| 119 | + &:last-of-type { |
| 120 | + margin-bottom: 0; |
| 121 | + } |
| 122 | + } |
| 123 | + |
| 124 | + .outline-sidebar-section-link { |
| 125 | + margin-top: .75rem; |
| 126 | + color: var(--pgn-color-info-500); |
| 127 | + font-weight: var(--pgn-typography-font-weight-bold); |
| 128 | + text-decoration: none; |
| 129 | + |
| 130 | + &:hover { |
| 131 | + text-decoration: underline; |
| 132 | + } |
| 133 | + |
| 134 | + .outline-sidebar-section-link-icon { |
| 135 | + width: 1rem; |
| 136 | + height: 1rem; |
| 137 | + margin-left: .25rem; |
| 138 | + } |
| 139 | + } |
| 140 | +} |
0 commit comments