123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- /*!
- * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
- * SPDX-FileCopyrightText: 2013-2016 ownCloud, Inc.
- * SPDX-License-Identifier: AGPL-3.0-only
- */
- #upload {
- box-sizing: border-box;
- height: 36px;
- width: 39px;
- padding: 0 !important; /* override default control bar button padding */
- margin-inline-start: 3px;
- overflow: hidden;
- vertical-align: top;
- position: relative;
- z-index: -20;
- }
- #upload .icon-upload {
- position: relative;
- display: block;
- width: 100%;
- height: 44px;
- width: 44px;
- margin: -5px -3px;
- cursor: pointer;
- z-index: 10;
- opacity: .65;
- }
- .file_upload_target { display:none; }
- .file_upload_form { display:inline; float:left; margin:0; padding:0; cursor:pointer; overflow:visible; }
- .uploadprogresswrapper, .uploadprogresswrapper * {
- box-sizing: border-box;
- }
- .uploadprogresswrapper {
- display: inline-block;
- vertical-align: top;
- height: 36px;
- margin-inline-start: 3px;
- }
- .uploadprogresswrapper > input[type='button'] {
- height: 36px;
- margin-inline-start: 3px;
- }
- #uploadprogressbar {
- border-color: var(--color-border-dark);
- border-radius: var(--border-radius-pill) 0 0 var(--border-radius-pill);
- border-inline-end: 0;
- position:relative;
- float: left;
- width: 200px;
- height: 44px;
- display:inline-block;
- text-align: center;
- .ui-progressbar-value {
- margin-top:.1em;
- }
- }
- #uploadprogressbar .ui-progressbar-value.ui-widget-header.ui-corner-left {
- height: calc(100% + 2px);
- top: -2px;
- inset-inline-start: -1px;
- position: absolute;
- overflow: hidden;
- background-color: var(--color-primary-element);
- }
- #uploadprogressbar .label {
- top: 8px;
- opacity: 1;
- overflow: hidden;
- white-space: nowrap;
- font-weight: normal;
- }
- #uploadprogressbar .label.inner {
- color: var(--color-primary-element-text);
- position: absolute;
- display: block;
- width: 200px;
- }
- #uploadprogressbar .label.outer {
- position: relative;
- color: var(--color-main-text);
- }
- #uploadprogressbar .desktop {
- display: block;
- }
- #uploadprogressbar .mobile {
- display: none;
- }
- #uploadprogressbar + .stop {
- border-start-start-radius: 0;
- border-end-start-radius: 0;
- }
- .oc-dialog .fileexists {
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- margin-bottom: 30px;
- }
- .oc-dialog .fileexists .conflict .filename,
- .oc-dialog .fileexists .conflict .mtime,
- .oc-dialog .fileexists .conflict .size {
- -webkit-touch-callout: initial;
- -webkit-user-select: initial;
- -khtml-user-select: initial;
- -moz-user-select: initial;
- -ms-user-select: initial;
- user-select: initial;
- }
- .oc-dialog .fileexists .conflict .message {
- color: #e9322d;
- }
- .oc-dialog .fileexists table {
- width: 100%;
- }
- .oc-dialog .fileexists th {
- padding-inline: 0;
- }
- .oc-dialog .fileexists th input[type='checkbox'] {
- margin-inline-end: 3px;
- }
- .oc-dialog .fileexists th:first-child {
- width: 225px;
- }
- .oc-dialog .fileexists th label {
- font-weight: normal;
- color: var(--color-main-text);
- }
- .oc-dialog .fileexists th .count {
- margin-inline-start: 3px;
- }
- .oc-dialog .fileexists .conflicts .template {
- display: none;
- }
- .oc-dialog .fileexists .conflict {
- width: 100%;
- height: 85px;
- }
- .oc-dialog .fileexists .conflict .filename {
- color:#777;
- word-break: break-all;
- clear: left;
- }
- .oc-dialog .fileexists .icon {
- width: 64px;
- height: 64px;
- margin: 0px 5px 5px 5px;
- background-repeat: no-repeat;
- background-size: 64px 64px;
- float: left;
- }
- .oc-dialog .fileexists .original,
- .oc-dialog .fileexists .replacement {
- float: left;
- width: 50%;
- }
- .oc-dialog .fileexists .conflicts {
- overflow-y: auto;
- max-height: 225px;
- }
- .oc-dialog .fileexists .conflict input[type='checkbox'] {
- float: left;
- }
- .oc-dialog .fileexists #allfileslabel {
- float:right;
- }
- .oc-dialog .fileexists #allfiles {
- vertical-align: bottom;
- position: relative;
- top: -3px;
- }
- .oc-dialog .fileexists #allfiles + span{
- vertical-align: bottom;
- }
- .oc-dialog .oc-dialog-buttonrow {
- width:100%;
- text-align:right;
- .cancel {
- float:left;
- }
- }
- .highlightUploaded {
- -webkit-animation: highlightAnimation 2s 1;
- -moz-animation: highlightAnimation 2s 1;
- -o-animation: highlightAnimation 2s 1;
- animation: highlightAnimation 2s 1;
- }
- @-webkit-keyframes highlightAnimation {
- 0% { background-color: rgba(255, 255, 140, 1); }
- 100% { background-color: rgba(0, 0, 0, 0); }
- }
- @-moz-keyframes highlightAnimation {
- 0% { background-color: rgba(255, 255, 140, 1); }
- 100% { background-color: rgba(0, 0, 0, 0); }
- }
- @-o-keyframes highlightAnimation {
- 0% { background-color: rgba(255, 255, 140, 1); }
- 100% { background-color: rgba(0, 0, 0, 0); }
- }
- @keyframes highlightAnimation {
- 0% { background-color: rgba(255, 255, 140, 1); }
- 100% { background-color: rgba(0, 0, 0, 0); }
- }
|