123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- @use 'variables';
- $footer-height: 65px;
- $footer-padding-height: 16px;
- $download-button-section-height: 200px;
- #preview {
- text-align: center;
- }
- #preview .notCreatable {
- display: none;
- }
- #noPreview {
- display:none;
- padding-top:80px;
- }
- #imgframe {
- height:75%;
- padding-bottom:32px;
- padding-top:32px;
- width:80%;
- margin:0 auto;
- }
- #imgframe #viewer {
- height: 100%;
- width: 100%;
- }
- #imgframe img {
- max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height} - #{$footer-padding-height}) !important;
- max-width: 100% !important;
- width: unset !important;
- }
- #imgframe :not(#viewer) img {
- min-width: 100px;
- }
- #imgframe video {
- max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height} - #{$footer-padding-height});
- }
- #imgframe .plyr:fullscreen video {
- max-height: unset;
- }
- #imgframe audio {
- display: block;
- margin-left: auto;
- margin-right: auto;
- }
- #imgframe #viewer[data-handler=audios] {
- // for speed settings
- margin-top: 400px;
- }
- #imgframe .plyr {
- top: 0px !important;
- }
- #imgframe .text-preview {
- display: inline-block;
- position: relative;
- text-align: left;
- white-space: pre-wrap;
- overflow-y: scroll;
- height: auto;
- min-height: 200px;
- max-height: 800px;
- }
- #imgframe .ellipsis {
- font-size: 1.2em;
- }
- #imgframe .viewer__file {
- height: 100%;
- width: 100%;
- }
- #imgframe .plyr {
- max-height: 100%;
- }
- .app-files_sharing #app-content footer {
- position: sticky !important;
- }
- /* fix multiselect bar offset on shared page */
- thead {
- left: 0 !important;
- }
- #data-upload-form {
- position: relative;
- right: 0;
- height: 32px;
- overflow: hidden;
- padding: 0;
- float: right;
- display: inline;
- margin: 0;
- }
- /* keep long file names in one line to not overflow download button on mobile */
- .directDownload #downloadFile {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- max-width: 90%;
- display: inline-block;
- margin-left: auto;
- margin-right: auto;
- margin-top: 16px;
- }
- .download-size {
- opacity: .5;
- }
- /* 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;
- }
- #public-upload .avatardiv {
- margin: 0 auto;
- }
- .emptycontent {
- &.has-note {
- margin-top: 5vh;
- }
- }
- #public-upload .emptycontent h2 {
- margin: 10px 0 5px 0;
- }
- #public-upload .emptycontent h2+p {
- margin-bottom: 30px;
- }
- #public-upload .emptycontent .icon-folder {
- height: 16px;
- width: 16px;
- background-size: 16px;
- display: inline-block;
- vertical-align: text-top;
- margin-bottom: 0;
- margin-right: 5px;
- opacity: 1;
- }
- #public-upload .emptycontent #displayavatar .icon-folder {
- height: 48px;
- width: 48px;
- background-size: 48px;
- }
- #public-upload .emptycontent .button {
- display: inline-block;
- height: auto;
- width: auto;
- background-size: 16px;
- background-position: 16px;
- opacity: .7;
- font-size: 20px;
- line-height: initial;
- margin: 20px;
- padding: 10px 20px;
- padding-left: 42px;
- }
- #public-upload .emptycontent ul {
- width: 230px;
- margin: 5px auto 5vh;
- text-align: left;
- }
- #public-upload .emptycontent li {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- padding: 7px 0;
- }
- #public-upload .emptycontent li img {
- margin-right: 5px;
- position: relative;
- top: 2px;
- }
- #drop-upload-progress-indicator span.icon-loading-small {
- padding-left: 18px;
- margin-right: 7px;
- }
- #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;
- }
- .disclaimer,
- .note {
- margin: 0 auto 30px;
- max-width: 400px;
- text-align: left;
- }
- #note-content {
- padding: 5px;
- display:inline-block;
- width: 350px;
- .content {
- overflow: auto;
- max-height: 200px;
- }
- }
- #show-terms-dialog {
- cursor: pointer;
- font-weight: bold;
- }
- // hide the download entry on the menu
- // on public share when NOT on mobile
- @media only screen and (min-width: variables.$breakpoint-mobile + 1) {
- #body-public {
- .header-right {
- #header-actions-menu {
- > ul > li#download {
- display: none;
- }
- }
- }
- }
- }
- // hide the primary on public share on mobile
- @media only screen and (max-width: variables.$breakpoint-mobile) {
- #body-public {
- .header-right {
- #header-primary-action {
- display: none;
- }
- }
- }
- }
|