ssi-upload.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. .icon, span.ban7, span.ban7w, span.ban10, span.ban23, span.check7, span.check23, span.exclamation7, span.exclamation23, span.trash7, span.trash10 {
  2. background-image:url(img/sprite.png);
  3. }
  4. .icon, span.ban7, span.ban7w, span.ban10, span.ban23, span.check7, span.check23, span.exclamation7, span.exclamation23, span.trash7, span.trash10 {
  5. background-image:url(img/sprite.png)
  6. }
  7. .ssi-infoTooltip, .ssi-tooltipText {
  8. border: 1px #ed6d06 solid;
  9. border-radius: 6px;
  10. padding: 7px;
  11. color: #fff;
  12. display: none;
  13. background-color: #151515;
  14. position: absolute;
  15. font-size: 14px;
  16. font-weight: 500;
  17. opacity: 1;
  18. z-index: 30000;
  19. }
  20. .ssi-button {
  21. display: inline-block;
  22. text-align: center;
  23. vertical-align: middle;
  24. font-size: 12px;
  25. text-decoration: none;
  26. border: 1px solid #ed6d06;
  27. cursor: pointer;
  28. padding: 6px 6px;
  29. margin: 0 0 0 2px;
  30. border-radius: 3px;
  31. color: whitesmoke;
  32. }
  33. .ssi-button.error {
  34. background: #ed6d06;
  35. }
  36. .ssi-button.error:hover {
  37. background: #ed6d06;
  38. }
  39. .ssi-button.error:active {
  40. background: #ed6d06;
  41. }
  42. .ssi-button.info {
  43. background: #ed6d06;
  44. }
  45. .ssi-button.info:hover {
  46. background: #ed6d06;
  47. }
  48. .ssi-button.info:active {
  49. background: #ed6d06;
  50. }
  51. .ssi-button.success {
  52. background: #ed6d06;
  53. }
  54. .ssi-button.success:hover {
  55. background: #ed6d06;
  56. }
  57. .ssi-button.success:active {
  58. background: #ed6d06;
  59. }
  60. .ssi-button[disabled] {
  61. opacity: 0.8;
  62. pointer-events: none;
  63. }
  64. .ssi-statusLabel {
  65. padding: 2px 6px;
  66. text-align: center;
  67. font-size: 10px;
  68. color: #fff;
  69. font-weight: 600;
  70. border-radius: 2px;
  71. }
  72. .ssi-statusLabel.error {
  73. background: #ed6d06;
  74. }
  75. .ssi-statusLabel.success {
  76. background: #ed6d06;
  77. }
  78. .selected {
  79. opacity: 0.4;
  80. }
  81. .ssi-previewBox {
  82. float: left;
  83. width: 100%;
  84. color: #ccc;
  85. padding: 10px;
  86. margin-left:80px;
  87. }
  88. .ssi-dropZonePreview {
  89. min-height: 300px;
  90. border: 2px dashed #ccc;
  91. content: 'Drag n Drop Files';
  92. }
  93. #ssi-DropZoneBack {
  94. z-index: -1;
  95. overflow: hidden;
  96. }
  97. .ssi-removeBtn {
  98. margin: 5px 0 5px 0;
  99. padding: 0;
  100. }
  101. .ssi-uploader::after {
  102. content: ' ';
  103. display: block;
  104. clear: both;
  105. }
  106. .ssi-uploadFiles {
  107. position: relative;
  108. float: left;
  109. border: 1px solid #aaaaaa;
  110. overflow: hidden;
  111. border-radius: 3px;
  112. width: 180px;
  113. min-height: 32px;
  114. margin: 2px 2px 2px 0;
  115. font-size: 15px;
  116. vertical-align: middle;
  117. line-height: 30px;
  118. -webkit-transition: height .3s;
  119. transition: height .3s;
  120. background: #FFFFFF;
  121. padding-right: 1px;
  122. }
  123. span.ban7 {
  124. background-position: 0px -18px;
  125. background-repeat: no-repeat;
  126. overflow: hidden;
  127. display: block;
  128. width: 18px;
  129. height: 18px;
  130. }
  131. span.ban7w {
  132. background-position: 0px -36px;
  133. background-repeat: no-repeat;
  134. overflow: hidden;
  135. display: block;
  136. width: 18px;
  137. height: 18px;
  138. background-color: #cf5144;
  139. margin-top: 2px;
  140. height: 17px;
  141. }
  142. span.ban10 {
  143. background-position: 0px 0px;
  144. background-repeat: no-repeat;
  145. overflow: hidden;
  146. display: block;
  147. width: 18px;
  148. height: 18px;
  149. }
  150. span.ban23 {
  151. background-position: 0px -126px;
  152. background-repeat: no-repeat;
  153. overflow: hidden;
  154. display: block;
  155. width: 31px;
  156. height: 31px;
  157. }
  158. span.check7 {
  159. background-position: 0px -54px;
  160. background-repeat: no-repeat;
  161. overflow: hidden;
  162. display: block;
  163. width: 18px;
  164. height: 18px;
  165. background-color: #40b056;
  166. margin-top: 2px;
  167. height: 17px;
  168. }
  169. span.check23 {
  170. background-position: 0px -157px;
  171. background-repeat: no-repeat;
  172. overflow: hidden;
  173. display: block;
  174. width: 31px;
  175. height: 31px;
  176. }
  177. span.exclamation7 {
  178. background-position: 0px -72px;
  179. background-repeat: no-repeat;
  180. overflow: hidden;
  181. display: block;
  182. width: 18px;
  183. height: 18px;
  184. margin-top: 2px;
  185. background-color: #cf5144;
  186. height: 17px;
  187. border-radius: 3px;
  188. }
  189. span.exclamation23 {
  190. background-position: 0px -188px;
  191. background-repeat: no-repeat;
  192. overflow: hidden;
  193. display: block;
  194. width: 31px;
  195. height: 31px;
  196. }
  197. span.trash7 {
  198. background-position: 0px -108px;
  199. background-repeat: no-repeat;
  200. overflow: hidden;
  201. display: block;
  202. width: 18px;
  203. height: 18px;
  204. }
  205. span.trash10 {
  206. background-position: 0px -90px;
  207. background-repeat: no-repeat;
  208. overflow: hidden;
  209. display: block;
  210. width: 18px;
  211. height: 18px;
  212. }
  213. .ssi-previewBox.ssi-dragOver, .ssi-dragOver .ssi-dropZone {
  214. color: #ba2919;
  215. border-color: #ba2919;
  216. }
  217. .ssi-buttonWrapper {
  218. float: left;
  219. margin-left:75px;
  220. padding: 5px;
  221. }
  222. .ssi-noPreviewMessage {
  223. position: relative;
  224. z-index: 1;
  225. border-radius: 4px;
  226. margin: 1px;
  227. float: right;
  228. width: 35px;
  229. height: 31px;
  230. padding: 0;
  231. }
  232. .ssi-noPreviewMessage span {
  233. margin: 0 auto;
  234. }
  235. .ssi-noPreviewSubMessage {
  236. width: 15px;
  237. height: 15px;
  238. padding: 0;
  239. }
  240. .ssi-totalvalue {
  241. float: right;
  242. margin: 2px;
  243. }
  244. .ssi-upImgTd {
  245. position: relative;
  246. }
  247. .ssi-upImgTd .fa-spin {
  248. display: inline-block;
  249. position: absolute;
  250. top: 45%;
  251. left: 45%;
  252. }
  253. .ssi-uploadProgressNoPreview {
  254. position: absolute;
  255. display: block;
  256. text-align: center;
  257. width: 0;
  258. height: 35px;
  259. background: #5cb85c;
  260. -webkit-transition: width .3s;
  261. transition: width .3s;
  262. opacity: 0.6;
  263. }
  264. .ssi-uploadNoDropZone {
  265. border: 1px solid #ccc;
  266. }
  267. .ssi-uploadProgress {
  268. margin-top: 4px;
  269. display: block;
  270. text-align: center;
  271. width: 0;
  272. height: 10px;
  273. background: #5cb85c;
  274. -webkit-transition: width .3s;
  275. transition: width .3s;
  276. }
  277. .ssi-uploadProgressNoPre {
  278. position: absolute;
  279. height: 19px;
  280. margin-top: 0;
  281. opacity: 0.6;
  282. }
  283. .ssi-uploaderNP {
  284. position: relative;
  285. }
  286. .ssi-uploaderNP::after {
  287. content: ' ';
  288. display: block;
  289. clear: both;
  290. }
  291. .ssi-uploadDetails {
  292. width: 180px;
  293. max-height: 0;
  294. top: 37px;
  295. background: #FFFFFF;
  296. position: absolute;
  297. -webkit-transition: max-height .2s ease-out;
  298. transition: max-height .2s ease-out;
  299. border-radius: 3px;
  300. overflow: hidden;
  301. padding-right: 2px;
  302. }
  303. .ssi-uploadBoxWrapper {
  304. float: left;
  305. }
  306. .ssi-uploadBoxOpened {
  307. max-height: 200px;
  308. z-index: 2000;
  309. overflow: auto;
  310. border: 0.1mm solid #dcdcdc;
  311. -webkit-transition: max-height .5s ease-out;
  312. transition: max-height .5s ease-out;
  313. }
  314. table.ssi-fileList {
  315. font-size: 10px;
  316. margin: 5px;
  317. }
  318. table.ssi-fileList tr td:first-child {
  319. border: 0.1mm solid #dcdcdc;
  320. /*border: 0.1mm solid black;*/
  321. width: 89%;
  322. position: relative;
  323. }
  324. table.ssi-fileList tr td:nth-child(2) {
  325. padding-left: 7px;
  326. }
  327. table.ssi-fileList tr {
  328. line-height: 18px;
  329. }
  330. table.ssi-fileList tr.ssi-space > td {
  331. border: none;
  332. padding-bottom: 2px;
  333. }
  334. .ssi-uploadProgress.hide {
  335. margin-top: 0;
  336. opacity: 0;
  337. -webkit-transition: opacity 1.3s;
  338. transition: opacity 1.3s;
  339. }
  340. .ssi-canceledProgressBar {
  341. width: 100% !important;
  342. background: #d9534f;
  343. }
  344. .ssi-imgToUploadTable h2 {
  345. margin: 0;
  346. }
  347. .ssi-hidden {
  348. display: none;
  349. }
  350. .ssi-imgToUploadTable tr:first-child td:first-child {
  351. height: 126px;
  352. }
  353. .ssi-imgToUploadTable tr td {
  354. width: 140px;
  355. }
  356. .ssi-imgToUploadTable {
  357. border: 1px solid #e1e1e1;
  358. color: #000000;
  359. font-size: 15px;
  360. margin-right: 4px;
  361. box-shadow: 0 10px 6px -6px #777;
  362. padding: 5px;
  363. display: inline-block;
  364. width: 150px;
  365. -ms-word-break: break-all;
  366. word-break: break-all;
  367. word-break: break-word;
  368. -webkit-hyphens: auto;
  369. -ms-hyphens: auto;
  370. hyphens: auto;
  371. }
  372. .ssi-imgToUpload {
  373. width: 140px;
  374. height: 128px;
  375. }
  376. .ssi-btnIn {
  377. float: left;
  378. }
  379. .ssi-ieCompatibilityForm {
  380. display: none;
  381. }
  382. span.ssi-InputLabel input[type="file"] {
  383. display: none;
  384. }
  385. .ssi-abortUpload {
  386. padding: 0;
  387. }
  388. .ssi-abortUpload .ban7w {
  389. margin: 0;
  390. }
  391. .ssi-removeBtnNP {
  392. border: none;
  393. color: #ff696d;
  394. font-size: 11px;
  395. margin: 0;
  396. padding: 0;
  397. }
  398. .ssi-InputLabel.disabled, .ssi-InputLabel.disabled:hover, .ssi-InputLabel.disabled:active {
  399. cursor: not-allowed;
  400. background: #5cb85c;
  401. opacity: .65;
  402. }
  403. .ssi-check {
  404. color: #005900;
  405. }
  406. .ssi-boxHover {
  407. cursor: pointer;
  408. }
  409. .ssi-upI.imgTd {
  410. position: relative;
  411. }
  412. /*@author http://codepen.io/tevko/pen/DdsnK*/
  413. .document-item {
  414. display: inline-block;
  415. width: 69px;
  416. height: 74px;
  417. color: black;
  418. position: absolute;
  419. top: 50%;
  420. left: 50%;
  421. -webkit-transform: translate(-50%, -50%);
  422. transform: translate(-50%, -50%);
  423. background: inherit;
  424. }
  425. .document-item::before {
  426. position: absolute;
  427. width: 69px;
  428. height: 74px;
  429. left: 0;
  430. top: -7px;
  431. content: '';
  432. border: solid 2px #920035;
  433. }
  434. .document-item::after {
  435. content: attr(filetype);
  436. left: -4px;
  437. padding: 0px 2px;
  438. text-align: right;
  439. line-height: 1.3;
  440. position: absolute;
  441. background-color: #000;
  442. color: #fff;
  443. font-size: 11px;
  444. text-transform: uppercase;
  445. letter-spacing: 1px;
  446. top: 9px;
  447. }
  448. .document-item .fileCorner {
  449. width: 0;
  450. height: 0;
  451. border-style: solid;
  452. border-width: 13px 0 0 13px;
  453. border-color: white transparent transparent #920035;
  454. position: absolute;
  455. top: -7px;
  456. left: 61px;
  457. }