custominputfile_monti.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. /*
  2. jQuery Custom Input File Plugin - version 1.0
  3. Copyright 2014, Ángel Espro, www.aesolucionesweb.com.ar,
  4. Licence : GNU General Public License
  5. Site: www.aesolucionesweb.com.ar/plugins/custom-input-file
  6. You must not remove these lines. Read gpl.txt for further legal information.
  7. */
  8. /*File Picker*/
  9. .cif-file-picker{
  10. position:relative;
  11. width: 100%;
  12. height:180px;
  13. padding:0;
  14. border:4px dashed rgba(0,0,0,.2);
  15. display:flex;
  16. flex-direction: column;
  17. justify-content: center;
  18. align-items: center;
  19. cursor: pointer;
  20. opacity:.5;
  21. box-sizing:border-box; -moz-box-sizing:border-box;
  22. }
  23. .cif-icon-picker{
  24. background:url(./images/cif-icons-20xy.png) 0 0 no-repeat;
  25. width:80px;
  26. height:60px;
  27. display:inline-block
  28. }
  29. .cif-file-picker h3{
  30. margin:0;
  31. font-size:20px;
  32. text-align:center
  33. }
  34. .cif-file-picker p{
  35. margin:0 0 10px 0;
  36. font-size:16px;
  37. text-align:center
  38. }
  39. .cif-file-picker:hover{
  40. opacity:1
  41. }
  42. .cif-file-picker.dragover:not(.inactive){
  43. border-color: #46be5e;
  44. opacity:1;
  45. box-shadow:0 0 50px rgba(0,0,0,.5)
  46. }
  47. .cif-file-picker.inactive{
  48. opacity:.2
  49. }
  50. .cif-file-picker.inactive.dragover{
  51. cursor:pointer
  52. }
  53. /*Container item File*/
  54. .cif-file-container{
  55. /* height: 165px;*/
  56. max-height: 165px;
  57. overflow-y: auto;
  58. margin: 0;
  59. padding: 0;
  60. }
  61. .cif-parent{
  62. cursor: pointer;
  63. position: relative;
  64. padding: 5px;
  65. margin: 0;
  66. transition: 0.2s;
  67. -webkit-user-select: none;
  68. -moz-user-select: none;
  69. -ms-user-select: none;
  70. user-select: none;
  71. }
  72. .foto-file-row .field-wr-int{
  73. position:relative
  74. }
  75. /*.cif-close{
  76. opacity:.5;
  77. width:14px;
  78. height:14px;
  79. cursor:default;
  80. color:#555;
  81. }
  82. .cif-file-container.cif-type-image .cif-close{
  83. top: 0px;
  84. left:0px;
  85. position:absolute;
  86. }
  87. .cif-close:hover{
  88. background: #CE0E2D;
  89. color: white;
  90. opacity:1
  91. }*/
  92. /*Container All type*/
  93. .cif-file-container.cif-container-all-type .cif-file-row{
  94. margin: 0
  95. }
  96. .cif-file-container.cif-container-all-type .cif-file-row:nth-child(odd) {
  97. background: #EFEFEF;
  98. }
  99. .cif-file-container.cif-container-all-type .cif-parent{
  100. width:100%;
  101. box-sizing:border-box;
  102. -moz-box-sizing:border-box;
  103. padding:10px 30px 10px 10px;
  104. }
  105. .cif-file-container.cif-container-all-type .cif-all-type{
  106. font-size:0.65rem;
  107. line-height:1.25;
  108. }
  109. .cif-file-container.cif-container-all-type .cif-close{
  110. position:absolute;
  111. right: 0;
  112. top: 0;
  113. padding: 5px 9px;
  114. color: #CE0E2D;
  115. opacity: 0.25;
  116. }
  117. .cif-file-container.cif-container-all-type .cif-close:hover{
  118. background: #CE0E2D;
  119. color: white;
  120. height: 100%;
  121. opacity: 1;
  122. }
  123. .cif-file-container.cif-container-all-type .cif-file-size{
  124. opacity:.8
  125. }
  126. /*Container Image*/
  127. .cif-file-container.cif-container-image-type{display: none}
  128. .cif-file-container.cif-container-image-type .cif-file-row{border-bottom:1px solid #f2f2f2; padding: 20px 0}
  129. .cif-file-container.cif-container-image-type .cif-parent{padding-top:30px;}
  130. .cif-file-container.cif-container-image-type .cif-close{top: 5px}
  131. .cif-img{max-height:300px; max-width:380px;}
  132. /*message*/
  133. #cif-msg-wr{
  134. position:fixed;
  135. z-index:10000;
  136. top: 100px;
  137. }
  138. #cif-msg-wr .cif-msg-close{
  139. opacity: .5;
  140. position:absolute;
  141. right:0;
  142. top:0;
  143. padding: 2px 5px;
  144. }
  145. #cif-msg-wr .cif-msg-close:hover{
  146. opacity: 1;
  147. }
  148. /*Progressbar*/
  149. .cf-progressbar-wr{position:fixed; top:0; left:0; background:rgba(0,0,0,.7); width:100%; height:100%; z-index:50000}
  150. .cf-progressbar{
  151. height: 12px;
  152. position: absolute;
  153. top:50%; margin-top:-6px;
  154. left: 50%; margin-left:-125px;
  155. width:250px;
  156. background: #dadada;
  157. padding: 2px;
  158. box-sizing:border-box;
  159. border:1px solid #000;
  160. }
  161. .cf-progressbar>span {
  162. display: block;
  163. height: 100%;
  164. background: rgb(43,194,83);
  165. background-image: url(./images/bg-progress-bar.png);
  166. position: relative;
  167. transition: width 200ms;
  168. overflow: hidden;
  169. }
  170. /*Jcrop for Custom Inpur File plugin*/
  171. .jcrop-holder .preview-pane {
  172. display: block;
  173. position: absolute;
  174. z-index: 2000;
  175. top: 00px;
  176. left: 102%;
  177. padding: 6px;
  178. border: 1px rgba(0,0,0,.4) solid;
  179. background-color: white;
  180. -webkit-border-radius: 6px;
  181. -moz-border-radius: 6px;
  182. border-radius: 6px;
  183. -webkit-box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
  184. -moz-box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
  185. box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.2);
  186. }
  187. .preview-pane .preview-container { overflow: hidden;}