upload.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. #upload {
  2. box-sizing: border-box;
  3. height: 36px;
  4. width: 39px;
  5. padding: 0 !important; /* override default control bar button padding */
  6. margin-left: 3px;
  7. overflow: hidden;
  8. vertical-align: top;
  9. position: relative;
  10. z-index: -20;
  11. }
  12. #upload .icon-upload {
  13. position: relative;
  14. display: block;
  15. width: 100%;
  16. height: 44px;
  17. width: 44px;
  18. margin: -5px -3px;
  19. cursor: pointer;
  20. z-index: 10;
  21. opacity: .65;
  22. }
  23. .file_upload_target { display:none; }
  24. .file_upload_form { display:inline; float:left; margin:0; padding:0; cursor:pointer; overflow:visible; }
  25. #uploadprogresswrapper, #uploadprogresswrapper * {
  26. box-sizing: border-box;
  27. }
  28. #uploadprogresswrapper {
  29. display: inline-block;
  30. vertical-align: top;
  31. height: 36px;
  32. margin-left: 3px;
  33. }
  34. #uploadprogresswrapper > input[type='button'] {
  35. height: 36px;
  36. margin-left: 3px;
  37. }
  38. #uploadprogressbar {
  39. border-color: var(--color-border-dark);
  40. border-radius: 18px 0 0 18px;
  41. border-right: 0;
  42. position:relative;
  43. float: left;
  44. width: 200px;
  45. height: 36px;
  46. display:inline-block;
  47. text-align: center;
  48. .ui-progressbar-value {
  49. margin: 0;
  50. }
  51. }
  52. #uploadprogressbar .ui-progressbar-value.ui-widget-header.ui-corner-left {
  53. height: calc(100% + 2px);
  54. top: -1px;
  55. left: -1px;
  56. position: absolute;
  57. overflow: hidden;
  58. background-color: var(--color-primary);
  59. }
  60. #uploadprogressbar .label {
  61. top: 8px;
  62. opacity: 1;
  63. overflow: hidden;
  64. white-space: nowrap;
  65. font-weight: normal;
  66. }
  67. #uploadprogressbar .label.inner {
  68. color: var(--color-primary-text);
  69. position: absolute;
  70. display: block;
  71. width: 200px;
  72. }
  73. #uploadprogressbar .label.outer {
  74. position: relative;
  75. color: var(--color-main-text);
  76. }
  77. #uploadprogressbar .desktop {
  78. display: block;
  79. }
  80. #uploadprogressbar .mobile {
  81. display: none;
  82. }
  83. #uploadprogressbar + .stop {
  84. border-top-left-radius: 0;
  85. border-bottom-left-radius: 0;
  86. }
  87. .oc-dialog .fileexists {
  88. -webkit-touch-callout: none;
  89. -webkit-user-select: none;
  90. -khtml-user-select: none;
  91. -moz-user-select: none;
  92. -ms-user-select: none;
  93. user-select: none;
  94. margin-bottom: 30px;
  95. }
  96. .oc-dialog .fileexists .conflict .filename,
  97. .oc-dialog .fileexists .conflict .mtime,
  98. .oc-dialog .fileexists .conflict .size {
  99. -webkit-touch-callout: initial;
  100. -webkit-user-select: initial;
  101. -khtml-user-select: initial;
  102. -moz-user-select: initial;
  103. -ms-user-select: initial;
  104. user-select: initial;
  105. }
  106. .oc-dialog .fileexists .conflict .message {
  107. color: #e9322d;
  108. }
  109. .oc-dialog .fileexists table {
  110. width: 100%;
  111. }
  112. .oc-dialog .fileexists th {
  113. padding-left: 0;
  114. padding-right: 0;
  115. }
  116. .oc-dialog .fileexists th input[type='checkbox'] {
  117. margin-right: 3px;
  118. }
  119. .oc-dialog .fileexists th:first-child {
  120. width: 225px;
  121. }
  122. .oc-dialog .fileexists th label {
  123. font-weight: normal;
  124. color:black;
  125. }
  126. .oc-dialog .fileexists th .count {
  127. margin-left: 3px;
  128. }
  129. .oc-dialog .fileexists .conflicts .template {
  130. display: none;
  131. }
  132. .oc-dialog .fileexists .conflict {
  133. width: 100%;
  134. height: 85px;
  135. }
  136. .oc-dialog .fileexists .conflict .filename {
  137. color:#777;
  138. word-break: break-all;
  139. clear: left;
  140. }
  141. .oc-dialog .fileexists .icon {
  142. width: 64px;
  143. height: 64px;
  144. margin: 0px 5px 5px 5px;
  145. background-repeat: no-repeat;
  146. background-size: 64px 64px;
  147. float: left;
  148. }
  149. .oc-dialog .fileexists .original,
  150. .oc-dialog .fileexists .replacement {
  151. float: left;
  152. width: 225px;
  153. }
  154. .oc-dialog .fileexists .conflicts {
  155. overflow-y: auto;
  156. max-height: 225px;
  157. }
  158. .oc-dialog .fileexists .conflict input[type='checkbox'] {
  159. float: left;
  160. }
  161. .oc-dialog .fileexists #allfileslabel {
  162. float:right;
  163. }
  164. .oc-dialog .fileexists #allfiles {
  165. vertical-align: bottom;
  166. position: relative;
  167. top: -3px;
  168. }
  169. .oc-dialog .fileexists #allfiles + span{
  170. vertical-align: bottom;
  171. }
  172. .oc-dialog .oc-dialog-buttonrow {
  173. width:100%;
  174. text-align:right;
  175. .cancel {
  176. float:left;
  177. }
  178. }
  179. .highlightUploaded {
  180. -webkit-animation: highlightAnimation 2s 1;
  181. -moz-animation: highlightAnimation 2s 1;
  182. -o-animation: highlightAnimation 2s 1;
  183. animation: highlightAnimation 2s 1;
  184. }
  185. @-webkit-keyframes highlightAnimation {
  186. 0% { background-color: rgba(255, 255, 140, 1); }
  187. 100% { background-color: rgba(0, 0, 0, 0); }
  188. }
  189. @-moz-keyframes highlightAnimation {
  190. 0% { background-color: rgba(255, 255, 140, 1); }
  191. 100% { background-color: rgba(0, 0, 0, 0); }
  192. }
  193. @-o-keyframes highlightAnimation {
  194. 0% { background-color: rgba(255, 255, 140, 1); }
  195. 100% { background-color: rgba(0, 0, 0, 0); }
  196. }
  197. @keyframes highlightAnimation {
  198. 0% { background-color: rgba(255, 255, 140, 1); }
  199. 100% { background-color: rgba(0, 0, 0, 0); }
  200. }