2021-06-10 07:26:04 -04:00
|
|
|
.file-view,
|
2014-07-03 12:05:50 -04:00
|
|
|
.binary-file {
|
2019-12-05 14:09:31 -05:00
|
|
|
padding: @line-height-computed / 2;
|
|
|
|
background-color: @gray-lightest;
|
|
|
|
text-align: center;
|
|
|
|
overflow: auto;
|
2024-10-10 03:38:28 -04:00
|
|
|
|
|
|
|
.file-view-buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: @spacing-03;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-view-error {
|
|
|
|
margin: @spacing-08 -15px auto;
|
|
|
|
|
|
|
|
> .alert {
|
|
|
|
max-width: 400px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tpr-refresh-error {
|
|
|
|
.btn {
|
|
|
|
color: @neutral-90;
|
|
|
|
background-color: @white;
|
|
|
|
&:hover {
|
|
|
|
background-color: @neutral-20;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-03 07:11:33 -04:00
|
|
|
img,
|
|
|
|
.file-view-pdf {
|
2019-12-05 14:09:31 -05:00
|
|
|
max-width: 100%;
|
|
|
|
max-height: 90%;
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
margin-top: @line-height-computed / 2;
|
|
|
|
border: 1px solid @gray;
|
|
|
|
.box-shadow(0 2px 3px @gray;);
|
|
|
|
background-color: white;
|
|
|
|
}
|
2023-11-03 07:11:33 -04:00
|
|
|
.file-view-pdf {
|
|
|
|
overflow: auto;
|
|
|
|
width: max-content;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
.pdf-page:not(:last-of-type) {
|
|
|
|
border-bottom: 1px solid @gray;
|
|
|
|
}
|
|
|
|
}
|
2019-12-05 14:09:31 -05:00
|
|
|
p.no-preview {
|
|
|
|
margin-top: @line-height-computed / 2;
|
|
|
|
font-size: 24px;
|
|
|
|
color: @gray;
|
|
|
|
}
|
|
|
|
.text-loading {
|
|
|
|
margin-top: @line-height-computed / 2;
|
|
|
|
font-size: 24px;
|
|
|
|
color: @gray;
|
|
|
|
}
|
|
|
|
.text-preview {
|
|
|
|
margin-top: @line-height-computed / 2;
|
|
|
|
.scroll-container {
|
|
|
|
background-color: white;
|
|
|
|
font-size: 0.8em;
|
|
|
|
line-height: 1.1em;
|
|
|
|
overflow: auto;
|
|
|
|
border: 1px solid @gray-lighter;
|
2024-10-10 03:38:28 -04:00
|
|
|
padding: 8px 12px;
|
2019-12-05 14:09:31 -05:00
|
|
|
text-align: left;
|
|
|
|
white-space: pre;
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.linked-file-icon {
|
|
|
|
color: @blue;
|
|
|
|
}
|
2015-01-19 17:34:49 -05:00
|
|
|
}
|