diff options
Diffstat (limited to 'apps/files_sharing/css')
-rw-r--r-- | apps/files_sharing/css/3rdparty/gs-share/style.css | 49 | ||||
-rw-r--r-- | apps/files_sharing/css/404.css | 7 | ||||
-rw-r--r-- | apps/files_sharing/css/authenticate.css | 20 | ||||
-rw-r--r-- | apps/files_sharing/css/icons.css | 4 | ||||
-rw-r--r-- | apps/files_sharing/css/icons.css.map | 1 | ||||
-rw-r--r-- | apps/files_sharing/css/icons.css.map.license | 2 | ||||
-rw-r--r-- | apps/files_sharing/css/icons.scss | 19 | ||||
-rw-r--r-- | apps/files_sharing/css/mobile.css | 62 | ||||
-rw-r--r-- | apps/files_sharing/css/public.css | 160 | ||||
-rw-r--r-- | apps/files_sharing/css/settings-personal.css | 33 | ||||
-rw-r--r-- | apps/files_sharing/css/sharedfilelist.css | 3 | ||||
-rw-r--r-- | apps/files_sharing/css/sharetabview.css | 93 |
12 files changed, 31 insertions, 422 deletions
diff --git a/apps/files_sharing/css/3rdparty/gs-share/style.css b/apps/files_sharing/css/3rdparty/gs-share/style.css deleted file mode 100644 index c699ddb3db5..00000000000 --- a/apps/files_sharing/css/3rdparty/gs-share/style.css +++ /dev/null @@ -1,49 +0,0 @@ -.js-gs-share, .gs-share [aria-hidden="true"], .gs-share-form[aria-hidden="true"] { - display: none; -} - -.js-gs-share-enabled .js-gs-share { - display: inline; - float: left; -} - -.gs-share .js-gs-share[href] { - display: inline; -} - -.gs-share [aria-hidden="false"], .gs-share-form[aria-hidden="false"] { - display: block; - margin-top: 40px; -} - -.gs-share { - position: relative; -} - -.gs-share-form { - background: #FFF; - border: 1px solid #000; - border-radius: 5px; - padding: 5px; - position: absolute; - z-index: 1; -} - -.gs-share [for="gs-account"], .gs-share [type="text"] { - display: block; - margin-bottom: 8px; -} - -.gs-share [type="submit"] { - display: block; - margin-top: 8px; -} - -.gs-share--icon { - border: none; - cursor: pointer; - min-height: 32px; - padding: 0; - padding-left: 33px; - background: transparent url('../../../img/gs-share.png') no-repeat left center; -} diff --git a/apps/files_sharing/css/404.css b/apps/files_sharing/css/404.css index 2ed81df3b86..7542c7cfae1 100644 --- a/apps/files_sharing/css/404.css +++ b/apps/files_sharing/css/404.css @@ -1,6 +1,9 @@ - +/** + * SPDX-FileCopyrightText: 2013 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-or-later + */ #body-login .error-broken-link{ - text-align:left;color:#fff; + text-align:start;color:#fff; } #body-login .error-broken-link ul{ diff --git a/apps/files_sharing/css/authenticate.css b/apps/files_sharing/css/authenticate.css deleted file mode 100644 index 55a40cf508d..00000000000 --- a/apps/files_sharing/css/authenticate.css +++ /dev/null @@ -1,20 +0,0 @@ -#password { - padding: 10px; - margin: 6px; -} - -input[type='submit'] { - width: 45px; - height: 45px; - margin: 6px; -} - -#body-login input[type='submit'] { - position: absolute; - top: 0; - border: none; -} - -fieldset > p { - position: relative; -} diff --git a/apps/files_sharing/css/icons.css b/apps/files_sharing/css/icons.css new file mode 100644 index 00000000000..3a81b66561f --- /dev/null +++ b/apps/files_sharing/css/icons.css @@ -0,0 +1,4 @@ +/*! + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */.icon-room{background-image:var(--icon-talk-dark)}.icon-circle{background-image:var(--icon-circles-dark)}.icon-guests{background-image:var(--icon-user-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..8a0933ead82 --- /dev/null +++ b/apps/files_sharing/css/icons.css.map @@ -0,0 +1 @@ +{"version":3,"sourceRoot":"","sources":["icons.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA,GAQA,WACC,uCAGD,aACC,0CAGD,aACC","file":"icons.css"}
\ No newline at end of file diff --git a/apps/files_sharing/css/icons.css.map.license b/apps/files_sharing/css/icons.css.map.license new file mode 100644 index 00000000000..cbd71b0f672 --- /dev/null +++ b/apps/files_sharing/css/icons.css.map.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/apps/files_sharing/css/icons.scss b/apps/files_sharing/css/icons.scss new file mode 100644 index 00000000000..6dcbd14d478 --- /dev/null +++ b/apps/files_sharing/css/icons.scss @@ -0,0 +1,19 @@ +/*! + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + +// This is the icons used in the sharing ui (SharingInput component) +// loaded by apps/files_sharing/lib/Listener/LoadAdditionalListener.php + +.icon-room { + background-image: var(--icon-talk-dark); +} + +.icon-circle { + background-image: var(--icon-circles-dark); +} + +.icon-guests { + background-image: var(--icon-user-dark); +}
\ No newline at end of file diff --git a/apps/files_sharing/css/mobile.css b/apps/files_sharing/css/mobile.css deleted file mode 100644 index 2a630f552ee..00000000000 --- a/apps/files_sharing/css/mobile.css +++ /dev/null @@ -1,62 +0,0 @@ -@media only screen and (max-width: 768px) { - -/* make header scroll up for single shares, more view of content on small screens */ -#header.share-file { - position: absolute !important; -} - -/* hide text of download button, only show icon */ -#download-text { - display: none; -} - -/* 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; -} - -/* always show actions on mobile */ -#fileList a.action { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)" !important; - filter: alpha(opacity=20) !important; - opacity: .2 !important; - display: inline !important; -} -/* some padding for better clickability */ -#fileList a.action img { - padding: 0 6px 0 12px; -} -/* hide text of the actions on mobile */ -#fileList a.action span { - display: none; -} - -/* ellipsis on file names */ -.nametext { - width: 60%; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - - -} diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css deleted file mode 100644 index d09947dab26..00000000000 --- a/apps/files_sharing/css/public.css +++ /dev/null @@ -1,160 +0,0 @@ -#content { - height: initial; - min-height: calc(100vh - 120px); -} - -/* force layout to make sure the content element's height matches its contents' height */ -.ie #content { - display: inline-block; -} - -#preview { - background: #fff; - 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, -#imgframe video { - max-height:100%; - max-width:100%; -} - -#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; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -#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; -} - - -.directDownload, -.directLink { - margin-bottom: 20px; -} - -/* 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; -} - -.directLink label { - font-weight: normal; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; - filter: alpha(opacity=50); - opacity: .5; -} -.directLink input { - margin-left: 5px; - width: 300px; - max-width: 90%; -} - -/* within #save */ -#save .save-form { - position: relative; -} - -#remote_address { - margin: 0; - width: 130px; - height: 14px; - padding: 6px; - padding-right: 24px; -} - -.ie8 #remote_address { - padding-right: 30px; -} - -#save #save-button, -#save #save-button-confirm { - margin: 0 5px; - height: 28px; - padding-bottom: 4px; - line-height: 14px; -} - -#save-button-confirm { - position: absolute; - background-color: transparent; - border: none; - margin: 2px 4px !important; - right: 0; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; - filter: alpha(opacity=50); - opacity: .5; -} - -.ie8 #save-button-confirm { - margin: 2px 0 !important; -} - -#save-button-confirm:disabled, -#save-button-confirm:disabled:hover, -#save-button-confirm:disabled:focus { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; - filter: alpha(opacity=20); - opacity: .2; - cursor: default; -} - -#save-button-confirm:hover, -#save-button-confirm:focus { - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; - filter: alpha(opacity=100); - opacity: 1; - cursor: pointer; -} diff --git a/apps/files_sharing/css/settings-personal.css b/apps/files_sharing/css/settings-personal.css deleted file mode 100644 index f53365c9371..00000000000 --- a/apps/files_sharing/css/settings-personal.css +++ /dev/null @@ -1,33 +0,0 @@ -#fileSharingSettings img { - cursor: pointer; -} - -#fileSharingSettings xmp { - margin-top: 0; - white-space: pre-wrap; -} - -[class^="social-"], [class*=" social-"] { - background-repeat: no-repeat; - background-position: 2px; - min-width: 16px; - min-height: 16px; - padding-left: 29px; - background-size: 24px; -} - -.social-gnu { - background-image: url('../img/social-gnu.svg'); -} -.social-diaspora { - background-image: url('../img/social-diaspora.svg'); -} -.social-twitter { - background-image: url('../img/social-twitter.svg'); -} -.social-facebook { - background-image: url('../img/social-facebook.svg'); -} -.social-googleplus { - background-image: url('../img/social-googleplus.svg'); -} diff --git a/apps/files_sharing/css/sharedfilelist.css b/apps/files_sharing/css/sharedfilelist.css deleted file mode 100644 index 6b0c7d2226e..00000000000 --- a/apps/files_sharing/css/sharedfilelist.css +++ /dev/null @@ -1,3 +0,0 @@ -#filestable.shareList .summary .filesize { - display: none; -} diff --git a/apps/files_sharing/css/sharetabview.css b/apps/files_sharing/css/sharetabview.css deleted file mode 100644 index 04338820881..00000000000 --- a/apps/files_sharing/css/sharetabview.css +++ /dev/null @@ -1,93 +0,0 @@ -.app-files .shareTabView { - min-height: 100px; -} - -.shareTabView .oneline { white-space: nowrap; } - -.shareTabView .shareWithLoading { - padding-left: 10px; - right: 30px; - top: 2px; -} - -.shareTabView .shareWithRemoteInfo { - padding: 11px 20px; -} - -.shareTabView label { - white-space: nowrap; -} - -.shareTabView input[type="checkbox"] { - margin: 0 3px 0 8px; - vertical-align: middle; -} - -.shareTabView input[type="text"], -.shareTabView input[type="password"] { - width: 94%; - margin-left: 0; -} -.shareTabView input[type="text"].shareWithField { - width: 80%; -} - -.shareTabView form { - font-size: 100%; - margin-left: 0; - margin-right: 0; -} - -#shareWithList { - list-style-type: none; - padding: 0 0 16px; -} - -#shareWithList li { - padding-top: 5px; - padding-bottom: 5px; - font-weight: bold; - white-space: normal; -} - -#shareWithList .unshare img, #shareWithList .showCruds img { - vertical-align:text-bottom; /* properly align icons */ -} - -#shareWithList label input[type=checkbox]{ - margin-left: 0; - position: relative; -} -#shareWithList .username{ - padding-right: 8px; - white-space: nowrap; - text-overflow: ellipsis; - max-width: 254px; - display: inline-block; - overflow: hidden; - vertical-align: middle; -} -#shareWithList li label{ - margin-right: 8px; -} - -.shareTabView .icon-loading-small { - display: inline-block; - z-index: 1; - background-color: white; - padding: 2px 0; -} - -.shareTabView .shareWithList .icon-loading-small, -.shareTabView .linkShareView .icon-loading-small { - position: absolute; -} - -.shareTabView .linkPass .icon-loading-small { - margin-top: 9px; -} - -.shareTabView .icon { - display: inline-block; - background-size: 16px 16px; -} |