diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-15 09:10:07 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-15 12:33:04 +0100 |
commit | 0a4569dff7df2668a856438433bbd3dfabca33b5 (patch) | |
tree | ce776810880ec4e55a3aa6f66abe58c1aed4d862 /apps/files_sharing/css | |
parent | 49a0ea01e53be89c4a8bccf26e2327f6f5c41fc5 (diff) | |
download | nextcloud-server-0a4569dff7df2668a856438433bbd3dfabca33b5.tar.gz nextcloud-server-0a4569dff7df2668a856438433bbd3dfabca33b5.zip |
Move files_sharing additionalscripts over to webpack
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/css')
-rw-r--r-- | apps/files_sharing/css/mergedAdditionalStyles.scss | 2 | ||||
-rw-r--r-- | apps/files_sharing/css/sharebreadcrumb.scss | 34 | ||||
-rw-r--r-- | apps/files_sharing/css/sharetabview.scss | 282 |
3 files changed, 0 insertions, 318 deletions
diff --git a/apps/files_sharing/css/mergedAdditionalStyles.scss b/apps/files_sharing/css/mergedAdditionalStyles.scss deleted file mode 100644 index a95ad59967f..00000000000 --- a/apps/files_sharing/css/mergedAdditionalStyles.scss +++ /dev/null @@ -1,2 +0,0 @@ -@import 'sharetabview.scss'; -@import 'sharebreadcrumb.scss'; diff --git a/apps/files_sharing/css/sharebreadcrumb.scss b/apps/files_sharing/css/sharebreadcrumb.scss deleted file mode 100644 index f3096f45013..00000000000 --- a/apps/files_sharing/css/sharebreadcrumb.scss +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @copyright 2016 Christoph Wurst <christoph@winzerhof-wurst.at> - * - * @author 2016 Christoph Wurst <christoph@winzerhof-wurst.at> - * - * @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/>. - * - */ - -div.crumb span.icon-shared, -div.crumb span.icon-public { - display: inline-block; - cursor: pointer; - opacity: 0.2; - margin-right: 6px; -} - -div.crumb span.icon-shared.shared, -div.crumb span.icon-public.shared { - opacity: 0.7; -} diff --git a/apps/files_sharing/css/sharetabview.scss b/apps/files_sharing/css/sharetabview.scss deleted file mode 100644 index f698697407a..00000000000 --- a/apps/files_sharing/css/sharetabview.scss +++ /dev/null @@ -1,282 +0,0 @@ -.app-files .shareTabView { - min-height: 100px; -} - -.share-autocomplete-item { - display: flex; - - &.merged { - margin-left: 32px; - } - .autocomplete-item-text { - margin-left: 10px; - margin-right: 10px; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - line-height: 32px; - vertical-align: middle; - flex-grow: 1; - .ui-state-highlight { - border: none; - margin: 0; - } - } - &.with-description { - .autocomplete-item-text { - line-height: 100%; - } - } - .autocomplete-item-details { - display: block; - line-height: 130%; - font-size: 90%; - opacity: 0.7; - } - - .icon { - opacity: .7; - margin-right: 7px; - } -} - -.shareTabView { - .oneline { - white-space: nowrap; - position: relative; - } - .shareWithLoading { - padding-left: 10px; - right: 35px; - top: 3px; - } - .shareWithConfirm { - position: absolute; - right: 2px; - top: 6px; - padding: 14px; - opacity: 0.5; - } - .shareWithField:focus ~ .shareWithConfirm { - opacity: 1; - } - .linkMore { - position: absolute; - right: -7px; - top: -4px; - padding: 14px; - } - .popovermenu { - .linkPassMenu { - .share-pass-submit { - width: auto !important; - } - .icon-loading-small { - background-color: var(--color-main-background); - position: absolute; - right: 8px; - margin: 3px; - padding: 10px; - width: 32px; - height: 32px; - z-index: 10; - } - } - .datepicker { - margin-left: 35px; - } - .share-add { - input.share-note-delete { - border: none; - background-color: transparent; - width: 44px !important; - padding: 0; - flex: 0 0 44px; - margin-left: auto; - &.hidden { - display: none; - } - } - } - // note - .share-note-form { - span.icon-note { - position: relative; - } - textarea.share-note { - margin: 0; - width: 200px; - min-height: 70px; - resize: none; - + input.share-note-submit { - position: absolute; - width: 44px !important; - height: 44px; - bottom: 0px; - right: 10px; - margin: 0; - background-color: transparent; - border: none; - opacity: .7; - &:hover, - &:focus, - &:active { - opacity: 1; - } - } - } - // fix for popover link share - &.share-note-link { - margin-bottom: 10px; - } - } - - /* Border above last entry '+ Add another share' to separate it from current link settings */ - .new-share { - border-top: 1px solid var(--color-border); - } - } - .linkPass .icon-loading-small { - margin-right: 0px; - } - .icon { - background-size: 16px 16px; - } - .shareWithList .icon-loading-small:not(.hidden) + span, - .linkShareView .icon-loading-small:not(.hidden) + input + label:before { - /* Hide if loader is visible */ - display: none !important; - } - input { - &[type='checkbox'] { - margin: 0 3px 0 8px; - vertical-align: middle; - } - &[type='text'] { - &.shareWithField, - &.emailField { - width: 100%; - box-sizing: border-box; - padding-right: 32px; - text-overflow: ellipsis; - } - } - &[type='text'].linkText - &[type='password'].linkPassText, - &[type='password'].passwordField { - width: 180px !important; - } - } - form { - font-size: 100%; - margin-left: 0; - margin-right: 0; - } - // share note on the sidebar - .share-note { - border-radius: var(--border-radius); - margin-bottom: 10px; - margin-left: 37px; - } -} - -// Sharing tab users list -.shareWithList { - list-style-type: none; - display: flex; - flex-direction: column; - > li { - height: 44px; - white-space: normal; - display: inline-flex; - align-items: center; - position: relative; - .avatar { - width: 32px; - height: 32px; - background-color: var(--color-primary); - } - } - .unshare img { - vertical-align: text-bottom; - /* properly align icons */ - } - .sharingOptionsGroup { - margin-left: auto; - display: flex; - align-items: center; - white-space: nowrap; - - // icons - > .icon:not(.hidden), - .share-menu > .icon:not(.hidden) { - padding: 14px; - height: 44px; - width: 44px; - opacity: .5; - display: block; - cursor: pointer; - - &:hover, - &:focus, - &:active { - opacity: .7;; - } - } - - // more menu - > .share-menu { - position: relative; - display: block; - } - } - .username { - padding: 0 8px; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } -} - -.ui-autocomplete { - /* limit dropdown height to 6 1/2 entries */ - max-height: calc(36px * 6.5); - overflow-y: auto; - overflow-x: hidden; - z-index: 1550 !important; -} - -.notCreatable { - padding-left: 12px; - padding-top: 12px; - color: var(--color-text-lighter); -} - -.contactsmenu-popover { - left: -6px; - right: auto; - padding: 3px 6px; - top: 100%; - margin-top: 0; - li.hidden { - display: none !important; - } - &:after { - left: 8px; - right: auto; - } -} - -.reshare, -#link label, -#expiration label { - display: inline-flex; - align-items: center; - .avatar { - margin-right: 5px; - } -} - -.resharerInfoView.subView { - position: relative; -} |