Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-04 10:56:50 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-13 17:13:00 +0300
commit73918b8af9626d445f8b58faed15b32dc195ce7f (patch)
tree6eefbb1d5cd1b793de6224d635dfbb40b3271fee /apps/files_sharing/css
parent3e29e0ad13b427b6ba4b62c7a35497e9a75de976 (diff)
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/css')
-rw-r--r--apps/files_sharing/css/icons.css94
-rw-r--r--apps/files_sharing/css/icons.css.map1
-rw-r--r--apps/files_sharing/css/mobile.css86
-rw-r--r--apps/files_sharing/css/mobile.css.map1
-rw-r--r--apps/files_sharing/css/public.css237
-rw-r--r--apps/files_sharing/css/public.css.map1
-rw-r--r--apps/files_sharing/css/publicView.css320
-rw-r--r--apps/files_sharing/css/publicView.css.map1
8 files changed, 741 insertions, 0 deletions
diff --git a/apps/files_sharing/css/icons.css b/apps/files_sharing/css/icons.css
new file mode 100644
index 00000000000..ff5c5844df6
--- /dev/null
+++ b/apps/files_sharing/css/icons.css
@@ -0,0 +1,94 @@
+@charset "UTF-8";
+/**
+ * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
+ *
+ * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+/**
+ * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
+ *
+ * @author John Molakvoæ <skjnldsv@protonmail.com>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+/**
+ * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
+ *
+ * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+/**
+ * @see core/src/icons.js
+ */
+/**
+ * SVG COLOR API
+ *
+ * @param string $icon the icon filename
+ * @param string $dir the icon folder within /core/img if $core or app name
+ * @param string $color the desired color in hexadecimal
+ * @param int $version the version of the file
+ * @param bool [$core] search icon in core
+ *
+ * @returns A background image with the url to the set to the requested icon.
+ */
+.icon-room {
+ /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
+ background-image: var(--icon-app-dark);
+}
+
+.icon-circle {
+ /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
+ background-image: var(--icon-circles-dark);
+}
+
+.icon-guests {
+ /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
+ background-image: var(--icon-app-dark);
+}
+
+/*# sourceMappingURL=icons.css.map */
diff --git a/apps/files_sharing/css/icons.css.map b/apps/files_sharing/css/icons.css.map
new file mode 100644
index 00000000000..a2766ac03f7
--- /dev/null
+++ b/apps/files_sharing/css/icons.css.map
@@ -0,0 +1 @@
+{"version":3,"sourceRoot":"","sources":["../../../core/css/variables.scss","icons.scss","../../../core/css/functions.scss"],"names":[],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBA;AAAA;AAAA;AA4BA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ADzBA;ACsCC;EAEA;;;ADrCD;ACmCC;EAEA;;;ADlCD;ACgCC;EAEA","file":"icons.css"} \ No newline at end of file
diff --git a/apps/files_sharing/css/mobile.css b/apps/files_sharing/css/mobile.css
new file mode 100644
index 00000000000..63acecb90c8
--- /dev/null
+++ b/apps/files_sharing/css/mobile.css
@@ -0,0 +1,86 @@
+@charset "UTF-8";
+/**
+ * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
+ *
+ * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+@media only screen and (max-width: 1024px) {
+ /* make header scroll up for single shares, more view of content on small screens */
+ #header.share-file {
+ position: absolute !important;
+ }
+
+ /* hide size and date columns */
+ table th#headerSize,
+table td.filesize,
+table th#headerDate,
+table td.date {
+ display: none;
+ }
+
+ /* restrict length of displayed filename to prevent overflow */
+ table td.filename .nametext {
+ max-width: 75% !important;
+ }
+
+ /* on mobile, show single shared image at full width without margin */
+ #imgframe {
+ width: 100%;
+ padding: 0;
+ margin-bottom: 35px;
+ }
+
+ /* some margin for the file type icon */
+ #imgframe .publicpreview {
+ margin-top: 32px;
+ }
+
+ /* some padding for better clickability */
+ #fileList a.action img {
+ padding: 0 6px 0 12px;
+ }
+
+ /* hide text of the actions on mobile */
+ #fileList a.action:not(.menuitem) span {
+ display: none;
+ }
+
+ /* ellipsis on file names */
+ .nametext {
+ width: 60%;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
+ #header .menutoggle {
+ padding-right: 14px;
+ background-position: center;
+ }
+
+ .note {
+ padding: 0 20px;
+ }
+
+ #emptycontent {
+ margin-top: 10vh;
+ }
+}
+
+/*# sourceMappingURL=mobile.css.map */
diff --git a/apps/files_sharing/css/mobile.css.map b/apps/files_sharing/css/mobile.css.map
new file mode 100644
index 00000000000..36f4289e94a
--- /dev/null
+++ b/apps/files_sharing/css/mobile.css.map
@@ -0,0 +1 @@
+{"version":3,"sourceRoot":"","sources":["../../../core/css/variables.scss","mobile.scss"],"names":[],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACEA;AAEA;EACA;IACC;;;AAGD;EACA;AAAA;AAAA;AAAA;IAIC;;;AAGD;EACA;IACC;;;AAGD;EACA;IACC;IACA;IACA;;;AAED;EACA;IACC;;;AAGD;EACA;IACC;;;AAED;EACA;IACC;;;AAGD;EACA;IACC;IACA;IACA;IACA;;;EAGD;IACI;IACA;;;EAEJ;IACC;;;EAGD;IACC","file":"mobile.css"} \ No newline at end of file
diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css
new file mode 100644
index 00000000000..21dd876905c
--- /dev/null
+++ b/apps/files_sharing/css/public.css
@@ -0,0 +1,237 @@
+@charset "UTF-8";
+/**
+ * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
+ *
+ * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+#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 img {
+ max-height: 100% !important;
+ max-width: 100% !important;
+}
+
+#imgframe audio {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+#imgframe .text-preview {
+ display: inline-block;
+ position: relative;
+ text-align: left;
+ white-space: pre-wrap;
+ overflow-y: hidden;
+ height: auto;
+ min-height: 200px;
+ max-height: 800px;
+}
+
+#imgframe .ellipsis {
+ font-size: 1.2em;
+}
+
+/* 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: 0.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: 0.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;
+}
+#note-content .content {
+ overflow: auto;
+ max-height: 200px;
+}
+
+#show-terms-dialog {
+ cursor: pointer;
+ font-weight: bold;
+}
+
+@media only screen and (min-width: 1025px) {
+ #body-public .header-right #header-actions-menu > ul > li#download {
+ display: none;
+ }
+}
+@media only screen and (max-width: 1024px) {
+ #body-public .header-right #header-primary-action {
+ display: none;
+ }
+}
+
+/*# sourceMappingURL=public.css.map */
diff --git a/apps/files_sharing/css/public.css.map b/apps/files_sharing/css/public.css.map
new file mode 100644
index 00000000000..c100a63b6d8
--- /dev/null
+++ b/apps/files_sharing/css/public.css.map
@@ -0,0 +1 @@
+{"version":3,"sourceRoot":"","sources":["../../../core/css/variables.scss","public.scss"],"names":[],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACEA;EACC;;;AAGD;EACC;;;AAGD;EACC;EACA;;;AAGD;EACC;EACA;EACA;EACA;EACA;;;AAID;EACC;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;;;AAGD;AACA;EACC;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;;;AAGD;AACA;EACC;;;AAED;AAAA;AAAA;EAGC;EACA;;;AAED;AAAA;AAAA;AAGC;EACA;;;AAGD;EACC;;;AAIA;EACC;;;AAIF;EACC;;;AAGD;EACC;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;;;AAGD;EACC;EACA;EACA;EACA;EACA;;;AAGD;EACC;;;AAGD;AAAA;EAEC;EACA;EACA;;;AAGD;EACC;EACA;EACA;;AACA;EACC;EACA;;;AAIF;EACC;EACA;;;AAKD;EAII;IACC;;;AAQL;EAGG;IACC","file":"public.css"} \ No newline at end of file
diff --git a/apps/files_sharing/css/publicView.css b/apps/files_sharing/css/publicView.css
new file mode 100644
index 00000000000..c10620e59bf
--- /dev/null
+++ b/apps/files_sharing/css/publicView.css
@@ -0,0 +1,320 @@
+@charset "UTF-8";
+/**
+ * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
+ *
+ * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+#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 img {
+ max-height: 100% !important;
+ max-width: 100% !important;
+}
+
+#imgframe audio {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+#imgframe .text-preview {
+ display: inline-block;
+ position: relative;
+ text-align: left;
+ white-space: pre-wrap;
+ overflow-y: hidden;
+ height: auto;
+ min-height: 200px;
+ max-height: 800px;
+}
+
+#imgframe .ellipsis {
+ font-size: 1.2em;
+}
+
+/* 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: 0.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: 0.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;
+}
+#note-content .content {
+ overflow: auto;
+ max-height: 200px;
+}
+
+#show-terms-dialog {
+ cursor: pointer;
+ font-weight: bold;
+}
+
+@media only screen and (min-width: 1025px) {
+ #body-public .header-right #header-actions-menu > ul > li#download {
+ display: none;
+ }
+}
+@media only screen and (max-width: 1024px) {
+ #body-public .header-right #header-primary-action {
+ display: none;
+ }
+}
+/**
+ * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
+ *
+ * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+@media only screen and (max-width: 1024px) {
+ /* make header scroll up for single shares, more view of content on small screens */
+ #header.share-file {
+ position: absolute !important;
+ }
+
+ /* hide size and date columns */
+ table th#headerSize,
+table td.filesize,
+table th#headerDate,
+table td.date {
+ display: none;
+ }
+
+ /* restrict length of displayed filename to prevent overflow */
+ table td.filename .nametext {
+ max-width: 75% !important;
+ }
+
+ /* on mobile, show single shared image at full width without margin */
+ #imgframe {
+ width: 100%;
+ padding: 0;
+ margin-bottom: 35px;
+ }
+
+ /* some margin for the file type icon */
+ #imgframe .publicpreview {
+ margin-top: 32px;
+ }
+
+ /* some padding for better clickability */
+ #fileList a.action img {
+ padding: 0 6px 0 12px;
+ }
+
+ /* hide text of the actions on mobile */
+ #fileList a.action:not(.menuitem) span {
+ display: none;
+ }
+
+ /* ellipsis on file names */
+ .nametext {
+ width: 60%;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
+ #header .menutoggle {
+ padding-right: 14px;
+ background-position: center;
+ }
+
+ .note {
+ padding: 0 20px;
+ }
+
+ #emptycontent {
+ margin-top: 10vh;
+ }
+}
+
+/*# sourceMappingURL=publicView.css.map */
diff --git a/apps/files_sharing/css/publicView.css.map b/apps/files_sharing/css/publicView.css.map
new file mode 100644
index 00000000000..e49de3e17ba
--- /dev/null
+++ b/apps/files_sharing/css/publicView.css.map
@@ -0,0 +1 @@
+{"version":3,"sourceRoot":"","sources":["../../../core/css/variables.scss","public.scss","mobile.scss"],"names":[],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACEA;EACC;;;AAGD;EACC;;;AAGD;EACC;EACA;;;AAGD;EACC;EACA;EACA;EACA;EACA;;;AAID;EACC;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;;;AAGD;AACA;EACC;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;;;AAGD;AACA;EACC;;;AAED;AAAA;AAAA;EAGC;EACA;;;AAED;AAAA;AAAA;AAGC;EACA;;;AAGD;EACC;;;AAIA;EACC;;;AAIF;EACC;;;AAGD;EACC;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;;;AAGD;EACC;EACA;EACA;EACA;EACA;;;AAGD;EACC;;;AAGD;AAAA;EAEC;EACA;EACA;;;AAGD;EACC;EACA;EACA;;AACA;EACC;EACA;;;AAIF;EACC;EACA;;;AAKD;EAII;IACC;;;AAQL;EAGG;IACC;;;ADjOJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AEEA;AAEA;EACA;IACC;;;AAGD;EACA;AAAA;AAAA;AAAA;IAIC;;;AAGD;EACA;IACC;;;AAGD;EACA;IACC;IACA;IACA;;;AAED;EACA;IACC;;;AAGD;EACA;IACC;;;AAED;EACA;IACC;;;AAGD;EACA;IACC;IACA;IACA;IACA;;;EAGD;IACI;IACA;;;EAEJ;IACC;;;EAGD;IACC","file":"publicView.css"} \ No newline at end of file