2024-06-06 13:48:28 -04:00
|
|
|
/*!
|
|
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-FileCopyrightText: 2012-2016 ownCloud, Inc.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
*/
|
2022-05-04 03:56:06 -04:00
|
|
|
@use 'variables';
|
|
|
|
|
|
2022-09-12 07:56:32 -04:00
|
|
|
$footer-height: 65px;
|
2022-10-03 09:37:14 -04:00
|
|
|
$footer-padding-height: 16px;
|
2022-09-12 07:56:32 -04:00
|
|
|
$download-button-section-height: 200px;
|
|
|
|
|
|
2012-10-24 07:09:05 -04:00
|
|
|
#preview {
|
2013-11-21 07:33:04 -05:00
|
|
|
text-align: center;
|
2013-10-28 15:22:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#preview .notCreatable {
|
|
|
|
|
display: none;
|
2012-10-23 17:57:55 -04:00
|
|
|
}
|
2012-10-24 07:09:05 -04:00
|
|
|
|
|
|
|
|
#noPreview {
|
|
|
|
|
display:none;
|
2014-01-16 10:36:14 -05:00
|
|
|
padding-top:80px;
|
2012-10-23 17:57:55 -04:00
|
|
|
}
|
2012-10-24 07:09:05 -04:00
|
|
|
|
|
|
|
|
#imgframe {
|
2014-01-16 09:56:18 -05:00
|
|
|
height:75%;
|
2013-10-06 14:08:24 -04:00
|
|
|
padding-bottom:32px;
|
|
|
|
|
padding-top:32px;
|
2014-01-16 09:56:18 -05:00
|
|
|
width:80%;
|
|
|
|
|
margin:0 auto;
|
2012-10-23 17:57:55 -04:00
|
|
|
}
|
2012-10-24 07:09:05 -04:00
|
|
|
|
2022-07-25 14:17:15 -04:00
|
|
|
#imgframe #viewer {
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2016-07-28 05:49:08 -04:00
|
|
|
|
2018-01-22 04:58:23 -05:00
|
|
|
#imgframe img {
|
2022-10-03 09:37:14 -04:00
|
|
|
max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height} - #{$footer-padding-height}) !important;
|
2016-07-28 05:49:08 -04:00
|
|
|
max-width: 100% !important;
|
2022-09-12 07:56:32 -04:00
|
|
|
width: unset !important;
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-29 10:08:40 -04:00
|
|
|
#imgframe :not(#viewer) img {
|
|
|
|
|
min-width: 100px;
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-12 07:56:32 -04:00
|
|
|
#imgframe video {
|
2022-10-03 09:37:14 -04:00
|
|
|
max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height} - #{$footer-padding-height});
|
2016-07-28 05:49:08 -04:00
|
|
|
}
|
2013-02-11 06:35:39 -05:00
|
|
|
|
2022-12-27 10:31:11 -05:00
|
|
|
#imgframe .plyr:fullscreen video {
|
|
|
|
|
max-height: unset;
|
|
|
|
|
}
|
|
|
|
|
|
2019-06-27 07:33:22 -04:00
|
|
|
#imgframe audio {
|
|
|
|
|
display: block;
|
2023-12-19 13:12:52 -05:00
|
|
|
margin-inline: auto;
|
2019-06-27 07:33:22 -04:00
|
|
|
}
|
|
|
|
|
|
2022-09-14 05:11:43 -04:00
|
|
|
#imgframe #viewer[data-handler=audios] {
|
2022-09-13 10:38:47 -04:00
|
|
|
// for speed settings
|
|
|
|
|
margin-top: 400px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#imgframe .plyr {
|
|
|
|
|
top: 0px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2015-04-16 09:28:04 -04:00
|
|
|
#imgframe .text-preview {
|
|
|
|
|
display: inline-block;
|
2015-04-18 16:11:36 -04:00
|
|
|
position: relative;
|
2023-12-19 13:12:52 -05:00
|
|
|
text-align: start;
|
2015-04-16 09:28:04 -04:00
|
|
|
white-space: pre-wrap;
|
2022-09-12 07:56:32 -04:00
|
|
|
overflow-y: scroll;
|
2015-04-16 09:28:04 -04:00
|
|
|
height: auto;
|
|
|
|
|
min-height: 200px;
|
|
|
|
|
max-height: 800px;
|
2015-04-18 16:11:36 -04:00
|
|
|
}
|
|
|
|
|
|
2015-04-23 12:15:11 -04:00
|
|
|
#imgframe .ellipsis {
|
|
|
|
|
font-size: 1.2em;
|
2015-04-16 09:28:04 -04:00
|
|
|
}
|
|
|
|
|
|
2022-07-25 14:17:15 -04:00
|
|
|
#imgframe .viewer__file {
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#imgframe .plyr {
|
|
|
|
|
max-height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2022-10-03 09:37:14 -04:00
|
|
|
|
|
|
|
|
.app-files_sharing #app-content footer {
|
|
|
|
|
position: sticky !important;
|
|
|
|
|
}
|
|
|
|
|
|
2014-08-19 09:51:10 -04:00
|
|
|
/* fix multiselect bar offset on shared page */
|
2014-01-23 09:35:30 -05:00
|
|
|
thead {
|
2023-12-19 13:12:52 -05:00
|
|
|
inset-inline-start: 0 !important;
|
2013-02-11 06:35:39 -05:00
|
|
|
}
|
2013-06-25 06:24:14 -04:00
|
|
|
|
|
|
|
|
#data-upload-form {
|
|
|
|
|
position: relative;
|
2023-12-19 13:12:52 -05:00
|
|
|
inset-inline-end: 0;
|
2013-10-29 11:08:11 -04:00
|
|
|
height: 32px;
|
2013-06-25 06:24:14 -04:00
|
|
|
overflow: hidden;
|
|
|
|
|
padding: 0;
|
|
|
|
|
float: right;
|
|
|
|
|
display: inline;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2014-04-17 10:58:57 -04:00
|
|
|
/* keep long file names in one line to not overflow download button on mobile */
|
2015-07-06 07:37:14 -04:00
|
|
|
.directDownload #downloadFile {
|
2014-04-17 10:58:57 -04:00
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
max-width: 90%;
|
|
|
|
|
display: inline-block;
|
2023-12-19 13:12:52 -05:00
|
|
|
margin-inline: auto;
|
2021-09-01 09:14:27 -04:00
|
|
|
margin-top: 16px;
|
2014-04-17 10:58:57 -04:00
|
|
|
}
|
|
|
|
|
|
2017-09-26 08:09:09 -04:00
|
|
|
.download-size {
|
|
|
|
|
opacity: .5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-22 11:25:02 -05:00
|
|
|
/* header buttons */
|
|
|
|
|
#details {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
}
|
|
|
|
|
#details button,
|
|
|
|
|
#details input,
|
|
|
|
|
#details .button {
|
|
|
|
|
margin: 0 5px;
|
|
|
|
|
line-height: normal;
|
|
|
|
|
}
|
|
|
|
|
#details button:hover,
|
|
|
|
|
#details input:hover,
|
|
|
|
|
#details .button:hover {
|
|
|
|
|
/* No */
|
|
|
|
|
border-color: rgba(0,0,0,0.3) !important;
|
|
|
|
|
}
|
|
|
|
|
|
2016-06-09 11:45:16 -04:00
|
|
|
#public-upload .avatardiv {
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-22 10:11:01 -04:00
|
|
|
.emptycontent {
|
2018-10-03 03:40:22 -04:00
|
|
|
&.has-note {
|
|
|
|
|
margin-top: 5vh;
|
|
|
|
|
}
|
2016-09-08 03:13:59 -04:00
|
|
|
}
|
|
|
|
|
|
2022-07-22 10:11:01 -04:00
|
|
|
#public-upload .emptycontent h2 {
|
2016-06-09 06:05:02 -04:00
|
|
|
margin: 10px 0 5px 0;
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-22 10:11:01 -04:00
|
|
|
#public-upload .emptycontent h2+p {
|
2016-06-09 06:05:02 -04:00
|
|
|
margin-bottom: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-22 10:11:01 -04:00
|
|
|
#public-upload .emptycontent .icon-folder {
|
2016-06-09 06:05:02 -04:00
|
|
|
height: 16px;
|
|
|
|
|
width: 16px;
|
|
|
|
|
background-size: 16px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
vertical-align: text-top;
|
|
|
|
|
margin-bottom: 0;
|
2023-12-19 13:12:52 -05:00
|
|
|
margin-inline-end: 5px;
|
2016-06-09 06:05:02 -04:00
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-22 10:11:01 -04:00
|
|
|
#public-upload .emptycontent #displayavatar .icon-folder {
|
2020-03-12 12:38:18 -04:00
|
|
|
height: 48px;
|
|
|
|
|
width: 48px;
|
|
|
|
|
background-size: 48px;
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-22 10:11:01 -04:00
|
|
|
#public-upload .emptycontent .button {
|
2016-10-24 17:26:56 -04:00
|
|
|
display: inline-block;
|
|
|
|
|
height: auto;
|
|
|
|
|
width: auto;
|
2016-06-09 11:45:16 -04:00
|
|
|
background-size: 16px;
|
|
|
|
|
background-position: 16px;
|
2016-06-09 06:05:02 -04:00
|
|
|
opacity: .7;
|
|
|
|
|
font-size: 20px;
|
2016-10-24 17:26:56 -04:00
|
|
|
line-height: initial;
|
2016-06-09 06:05:02 -04:00
|
|
|
margin: 20px;
|
|
|
|
|
padding: 10px 20px;
|
2023-12-19 13:12:52 -05:00
|
|
|
padding-inline-start: 42px;
|
2016-06-09 06:05:02 -04:00
|
|
|
}
|
|
|
|
|
|
2022-07-22 10:11:01 -04:00
|
|
|
#public-upload .emptycontent ul {
|
2020-03-31 10:21:28 -04:00
|
|
|
width: 230px;
|
2020-03-31 13:47:22 -04:00
|
|
|
margin: 5px auto 5vh;
|
2023-12-19 13:12:52 -05:00
|
|
|
text-align: start;
|
2016-06-09 11:45:16 -04:00
|
|
|
}
|
|
|
|
|
|
2022-07-22 10:11:01 -04:00
|
|
|
#public-upload .emptycontent li {
|
2016-06-09 11:45:16 -04:00
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
padding: 7px 0;
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-22 10:11:01 -04:00
|
|
|
#public-upload .emptycontent li img {
|
2023-12-19 13:12:52 -05:00
|
|
|
margin-inline-end: 5px;
|
2018-12-29 05:53:51 -05:00
|
|
|
position: relative;
|
|
|
|
|
top: 2px;
|
2016-06-09 11:45:16 -04:00
|
|
|
}
|
|
|
|
|
|
2020-03-31 10:21:28 -04:00
|
|
|
#drop-upload-progress-indicator span.icon-loading-small {
|
2023-12-19 13:12:52 -05:00
|
|
|
padding-inline-start: 18px;
|
|
|
|
|
margin-inline-end: 7px;
|
2016-06-09 11:45:16 -04:00
|
|
|
}
|
2016-09-08 03:13:59 -04:00
|
|
|
|
2020-03-31 10:21:28 -04:00
|
|
|
#drop-uploaded-files li #drop-upload-name {
|
|
|
|
|
float: left;
|
|
|
|
|
max-width: 180px;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#drop-uploaded-files li #drop-upload-status {
|
|
|
|
|
float: right;
|
2020-03-31 06:56:59 -04:00
|
|
|
}
|
|
|
|
|
|
2018-10-03 03:40:22 -04:00
|
|
|
.disclaimer,
|
|
|
|
|
.note {
|
|
|
|
|
margin: 0 auto 30px;
|
2016-09-08 03:13:59 -04:00
|
|
|
max-width: 400px;
|
2023-12-19 13:12:52 -05:00
|
|
|
text-align: start;
|
2016-09-08 14:11:21 -04:00
|
|
|
}
|
2017-07-21 12:28:36 -04:00
|
|
|
|
2018-08-24 10:45:40 -04:00
|
|
|
#note-content {
|
|
|
|
|
padding: 5px;
|
|
|
|
|
display:inline-block;
|
|
|
|
|
width: 350px;
|
|
|
|
|
.content {
|
|
|
|
|
overflow: auto;
|
|
|
|
|
max-height: 200px;
|
|
|
|
|
}
|
2018-07-12 10:58:36 -04:00
|
|
|
}
|
2018-08-24 09:45:39 -04:00
|
|
|
|
2018-10-28 09:58:21 -04:00
|
|
|
#show-terms-dialog {
|
|
|
|
|
cursor: pointer;
|
2018-11-06 04:55:32 -05:00
|
|
|
font-weight: bold;
|
2018-10-28 09:58:21 -04:00
|
|
|
}
|