2023-05-15 08:51:32 +08:00
|
|
|
.filePreview {
|
2025-03-19 11:19:57 +08:00
|
|
|
@apply flex flex-col border-l border-components-panel-border shrink-0 bg-background-default-lighter;
|
2024-12-26 12:01:51 +08:00
|
|
|
width: 100%;
|
2023-05-15 08:51:32 +08:00
|
|
|
}
|
2025-04-29 18:04:33 +08:00
|
|
|
|
2023-05-15 08:51:32 +08:00
|
|
|
.previewHeader {
|
2025-03-19 11:19:57 +08:00
|
|
|
@apply border-b border-divider-subtle shrink-0;
|
2023-05-15 08:51:32 +08:00
|
|
|
margin: 42px 32px 0;
|
|
|
|
padding-bottom: 16px;
|
|
|
|
}
|
2025-04-29 18:04:33 +08:00
|
|
|
|
2023-05-15 08:51:32 +08:00
|
|
|
.previewHeader .title {
|
2025-03-19 11:19:57 +08:00
|
|
|
@apply flex justify-between items-center text-text-primary;
|
2023-05-15 08:51:32 +08:00
|
|
|
}
|
2025-04-29 18:04:33 +08:00
|
|
|
|
2023-05-15 08:51:32 +08:00
|
|
|
.previewHeader .fileName {
|
2025-03-19 11:19:57 +08:00
|
|
|
@apply text-text-tertiary;
|
2023-05-15 08:51:32 +08:00
|
|
|
}
|
2025-04-29 18:04:33 +08:00
|
|
|
|
2023-05-15 08:51:32 +08:00
|
|
|
.previewHeader .filetype {
|
2025-03-19 11:19:57 +08:00
|
|
|
@apply text-text-tertiary;
|
2023-05-15 08:51:32 +08:00
|
|
|
}
|
2025-04-29 18:04:33 +08:00
|
|
|
|
2023-05-15 08:51:32 +08:00
|
|
|
.previewContent {
|
2025-03-19 11:19:57 +08:00
|
|
|
@apply overflow-y-auto grow text-text-secondary;
|
2023-05-15 08:51:32 +08:00
|
|
|
padding: 20px 32px;
|
|
|
|
}
|
2025-04-29 18:04:33 +08:00
|
|
|
|
2023-05-15 08:51:32 +08:00
|
|
|
.previewContent .loading {
|
|
|
|
width: 100%;
|
|
|
|
height: 180px;
|
2025-04-14 15:45:23 +08:00
|
|
|
background: transparent center no-repeat url(../assets/Loading.svg);
|
2023-05-15 08:51:32 +08:00
|
|
|
background-size: contain;
|
|
|
|
}
|
2025-04-29 18:04:33 +08:00
|
|
|
|
2023-05-22 09:09:53 +08:00
|
|
|
.fileContent {
|
|
|
|
white-space: pre-line;
|
2024-12-26 12:01:51 +08:00
|
|
|
word-break: break-all;
|
2023-05-22 09:09:53 +08:00
|
|
|
}
|