|
195 | 195 | display: flex;
|
196 | 196 | justify-content: center;
|
197 | 197 | align-items: center;
|
| 198 | + flex-shrink: 0; |
198 | 199 | width: 1.25rem;
|
199 | 200 | height: 1.25rem;
|
200 | 201 | margin-right: 0.25rem;
|
|
220 | 221 | .workspace-item .content .workspace-item-definition-doc .show-full-doc {
|
221 | 222 | position: relative;
|
222 | 223 | background: var(--color-workspace-item-bg);
|
223 |
| - padding: 1rem 1.5rem; |
| 224 | + padding: 0 1.5rem; |
224 | 225 | }
|
225 | 226 |
|
226 |
| -/* Gradient border */ |
227 |
| -.workspace-item .content .workspace-item-definition-doc .show-full-doc:after { |
228 |
| - position: absolute; |
229 |
| - top: -1px; |
230 |
| - left: 0; |
231 |
| - right: 0; |
232 |
| - content: " "; |
233 |
| - height: 1px; |
234 |
| - background: linear-gradient( |
235 |
| - 90deg, |
236 |
| - var(--color-workspace-item-bg) 0%, |
237 |
| - var(--color-workspace-item-cropped-control-border) 20%, |
238 |
| - var(--color-workspace-item-bg) 80%, |
239 |
| - var(--color-workspace-item-bg) 100% |
240 |
| - ); |
241 |
| -} |
242 |
| -/* Shadow */ |
| 227 | +/* overlapping gradient for the content to peek out behind, indicating more is |
| 228 | + * below the fold */ |
243 | 229 | .workspace-item .content .workspace-item-definition-doc .show-full-doc:before {
|
244 | 230 | position: absolute;
|
245 |
| - top: -16px; |
| 231 | + top: -4.5rem; |
246 | 232 | left: 0;
|
247 | 233 | right: 0;
|
248 |
| - content: " "; |
249 |
| - height: 1rem; |
250 |
| - background: radial-gradient( |
251 |
| - ellipse at 16.6rem bottom, |
252 |
| - var(--color-workspace-item-cropped-control-shadow) 0%, |
253 |
| - transparent 50% |
| 234 | + content: ""; |
| 235 | + margin: 0; |
| 236 | + height: 4.5rem; |
| 237 | + background: linear-gradient( |
| 238 | + 0deg, |
| 239 | + var(--color-workspace-item-bg) 20%, |
| 240 | + var(--color-workspace-item-bg-faded) 80%, |
| 241 | + rgba(255, 255, 255, 0) |
254 | 242 | );
|
255 | 243 | }
|
256 | 244 |
|
|
333 | 321 | .workspace-item.focused {
|
334 | 322 | --color-workspace-item-fg: var(--color-workspace-item-focus-fg);
|
335 | 323 | --color-workspace-item-bg: var(--color-workspace-item-focus-bg);
|
| 324 | + --color-workspace-item-bg-faded: var(--color-workspace-item-focus-bg-faded); |
336 | 325 | --color-workspace-item-subtle-fg: var(--color-workspace-item-focus-subtle-fg);
|
337 | 326 | --color-workspace-item-subtle-bg: var(--color-workspace-item-focus-subtle-bg);
|
338 | 327 | --color-workspace-item-content-border: var(
|
|
0 commit comments