swfupload.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. /**
  2. * SWFUpload table
  3. */
  4. table.swfupload {
  5. border: none;
  6. border-bottom: #c2c2c2 1px solid;
  7. margin-top: 1px;
  8. margin-bottom: 10px;
  9. }
  10. table.swfupload tr.even,
  11. table.swfupload tr.odd,
  12. table.swfupload tbody,
  13. table.swfupload tbody th,
  14. table.swfupload tr td:last-child {
  15. border: none;
  16. }
  17. table.swfupload tr.even {
  18. border-top: solid 1px #f00;
  19. }
  20. table.swfupload .border {
  21. background: #c2c2c2;
  22. width: 1px;
  23. }
  24. table.swfupload th,
  25. table.swfupload td {
  26. border-width: 0;
  27. border-top: solid 1px #d3d3d3;
  28. line-height: 100%;
  29. padding: 0px;
  30. white-space: nowrap;
  31. vertical-align: top;
  32. }
  33. table.swfupload th {
  34. border-bottom: solid 1px #c2c2c2;
  35. background: url('images/thead.png') 0px 100% white repeat-x;
  36. }
  37. table.swfupload div.wrapper {
  38. display: block;
  39. height: 100%;
  40. width: 100%;
  41. position: relative;
  42. }
  43. table.swfupload td div.wrapper {
  44. padding: 5px 0px;
  45. }
  46. table.swfupload tr.hidden {
  47. display: none;
  48. }
  49. /**
  50. * Table headers
  51. */
  52. table.swfupload th {
  53. text-align: center;
  54. }
  55. table.swfupload div.left,
  56. table.swfupload div.right {
  57. width: 1px;
  58. height: 100%;
  59. position: absolute;
  60. top: 0px;
  61. font-size: 1px;
  62. }
  63. table.swfupload div.left {
  64. background: #c2c2c2;
  65. right: 1px;
  66. }
  67. table.swfupload div.right {
  68. background: #fff;
  69. right: 0px;
  70. }
  71. table.swfupload th div.center {
  72. font-size: 12px;
  73. padding: 3px 5px 3px 3px;
  74. }
  75. table.swfupload th.first {
  76. width: 50%;
  77. }
  78. /**
  79. * Table drawers
  80. */
  81. table.swfupload td {
  82. background: url('images/row_background.png') white repeat-x 0px 1px;
  83. }
  84. table.swfupload td.drag {
  85. width: 20px;
  86. vertical-align: middle;
  87. }
  88. table.swfupload td.icon {
  89. width: 32px;
  90. padding-top: 2px;
  91. }
  92. table.swfupload td.text {
  93. font-size: 12px;
  94. min-width: 100px;
  95. padding: 9px 5px;
  96. }
  97. table.swfupload td.text.title {
  98. width: 45%;
  99. }
  100. table.swfupload td.last {
  101. width: 40px;
  102. }
  103. table.swfupload td.checkbox {
  104. text-align: center;
  105. padding-top: 5px;
  106. }
  107. table.swfupload td textarea,
  108. table.swfupload td.text input {
  109. border: solid silver 1px;
  110. width: 90%;
  111. }
  112. table.swfupload td textarea {
  113. height: 100px;
  114. }
  115. table.swfupload td span {
  116. width: 100%;
  117. }
  118. /**
  119. * Editable
  120. */
  121. table.swfupload td .toggle-editable {
  122. position: absolute;
  123. right: 0px;
  124. visibility: hidden;
  125. }
  126. table.swfupload td:hover .toggle-editable {
  127. visibility: visible;
  128. }
  129. table.swfupload td .editable-enabled .toggle-editable {
  130. display: none;
  131. }
  132. /**
  133. * Drag
  134. */
  135. table.swfupload tr.dragging td {
  136. opacity: .40;
  137. filter: alpha(opacity=40);
  138. -moz-opacity: 0.4;
  139. }
  140. table.swfupload td.drag a.tabledrag-handle {
  141. margin: 0;
  142. padding: 0;
  143. }
  144. table.swfupload td.drag a.tabledrag-handle .handle {
  145. margin: 2px 10px;
  146. }
  147. /**
  148. * Warning / tabledrag changed
  149. */
  150. table.swfupload span.tabledrag-changed {
  151. position: absolute;
  152. top: 0;
  153. left: 3px;
  154. }
  155. /**
  156. * Progressbar
  157. */
  158. table.swfupload td.progress {
  159. padding: 0px 10px;
  160. }
  161. .sfwupload-list-progressbar {
  162. width: 100%;
  163. height: 14px;
  164. margin-top: 12px;
  165. background: url('images/progress_animated_back.gif') repeat-x;
  166. position: relative;
  167. border-top: 1px solid #acacac;
  168. border-bottom: 1px solid #686868;
  169. border-left: 1px solid #9c9c9c;
  170. border-right: 1px solid #9c9c9c;
  171. }
  172. .sfwupload-list-progressbar.complete,
  173. .sfwupload-list-progressbar.stopped {
  174. background: url('images/progress_back.gif') repeat-x;
  175. }
  176. .sfwupload-list-progressbar-status {
  177. position: absolute;
  178. background: url('images/progress.png') 0px 0px repeat-x;
  179. height: 14px;
  180. }
  181. .sfwupload-list-progressbar.stopped .sfwupload-list-progressbar-status {
  182. background-position: 0px -14px;
  183. }
  184. .sfwupload-list-progressbar-glow {
  185. position: absolute;
  186. background: url('images/glow.png') repeat-x;
  187. height: 14px;
  188. font-weight: normal;
  189. text-align: center;
  190. font-size: 11px;
  191. line-height: 110%;
  192. color: white;
  193. width: 100%;
  194. }
  195. /* Cancel button */
  196. .sfwupload-list-cancel {
  197. height: 14px;
  198. width: 14px;
  199. background-image: url('images/cancel.png');
  200. margin: 10px;
  201. overflow: hidden;
  202. cursor: pointer;
  203. }
  204. /* Filename wrapper */
  205. .swfupload-markup {
  206. display: none;
  207. }
  208. /**
  209. * Upload button
  210. */
  211. .swfupload_button {
  212. margin: 10px 0px;
  213. }
  214. .swfupload_button.disabled {
  215. opacity: .40;
  216. filter: alpha(opacity=40);
  217. -moz-opacity: 0.4;
  218. }
  219. .swfupload_button div.swfupload-wrapper {
  220. float: left;
  221. width: 1px;
  222. height: 1px;
  223. position: relative;
  224. }
  225. html.js fieldset.collapsed .fieldset-wrapper,
  226. html.js fieldset.collapsed #edit-upload,
  227. html.js fieldset.collapsed #edit-upload .swfupload-wrapper,
  228. html.js fieldset.collapsed #edit-upload .swfupload-wrapper .swfupload {
  229. display: block;
  230. height: 0px;
  231. overflow: hidden;
  232. }
  233. .swfupload_button div.swfupload-wrapper .swfupload {
  234. position: absolute;
  235. top: 1px;
  236. }
  237. .swfupload_button.disabled div.swfupload-wrapper .swfupload {
  238. height: 0px;
  239. overflow: hidden;
  240. }
  241. .swfupload_button div.left,
  242. .swfupload_button div.center,
  243. .swfupload_button div.right {
  244. height: 15px;
  245. line-height: 100%;
  246. float: left;
  247. padding-top: 1px;
  248. background: url('images/button.png') no-repeat 0px 0px;
  249. }
  250. .swfupload_button div.left {
  251. width: 20px;
  252. }
  253. .swfupload_button.active div.left {
  254. background-position: 0px -16px;
  255. }
  256. .swfupload_button div.center {
  257. background-position: 50% 0px;
  258. }
  259. .swfupload_button.active div.center {
  260. background-position: 50% -16px;
  261. }
  262. .swfupload_button div.right {
  263. width: 20px;
  264. background-position: 100% 0px;
  265. }
  266. .swfupload_button.active div.right {
  267. background-position: 100% -16px;
  268. }
  269. .swfupload-error div.left,
  270. .swfupload-error div.center,
  271. .swfupload-error div.right {
  272. background-position-y: -48px;
  273. }
  274. .swfupload-error.active div.left,
  275. .swfupload-error.active div.center,
  276. .swfupload-error.active div.right {
  277. background-position-y: -32px;
  278. }
  279. /**
  280. * Messages
  281. */
  282. .swfupload .messages {
  283. margin: 0px;
  284. }
  285. /**
  286. * Mime types
  287. */
  288. .sfwupload-list-mime {
  289. width: 32px;
  290. height: 32px;
  291. background-position: 50% 50%;
  292. background-repeat: no-repeat;
  293. }
  294. .sfwupload-list-mime.ai {background-image: url('images/mime/ai.png');}
  295. .sfwupload-list-mime.bmp {background-image: url('images/mime/bmp.png');}
  296. .sfwupload-list-mime.doc {background-image: url('images/mime/doc.png');}
  297. .sfwupload-list-mime.gif {background-image: url('images/mime/gif.png');}
  298. .sfwupload-list-mime.html {background-image: url('images/mime/html.png');}
  299. .sfwupload-list-mime.jpeg {background-image: url('images/mime/jpeg.png');}
  300. .sfwupload-list-mime.jpg {background-image: url('images/mime/jpg.png');}
  301. .sfwupload-list-mime.mov {background-image: url('images/mime/mov.png');}
  302. .sfwupload-list-mime.pdf {background-image: url('images/mime/pdf.png');}
  303. .sfwupload-list-mime.png {background-image: url('images/mime/png.png');}
  304. .sfwupload-list-mime.psd {background-image: url('images/mime/psd.png');}
  305. .sfwupload-list-mime.rar {background-image: url('images/mime/rar.png');}
  306. .sfwupload-list-mime.swf {background-image: url('images/mime/swf.png');}
  307. .sfwupload-list-mime.txt {background-image: url('images/mime/txt.png');}
  308. .sfwupload-list-mime.wmv {background-image: url('images/mime/wmv.png');}
  309. .sfwupload-list-mime.xls {background-image: url('images/mime/xls.png');}
  310. .sfwupload-list-mime.zip {background-image: url('images/mime/zip.png');}