upload.css 4.3 KB

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