upload.css 4.7 KB

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