.grid { letter-spacing: -0.31em; *letter-spacing: normal; word-spacing: -0.43em; } button::-moz-focus-inner { border: 0; padding: 0; margin: 0; } .grid .g-u { display: inline-block; zoom: 1; *display: inline; /* IE < 8: fake inline-block */ letter-spacing: normal; word-spacing: normal; vertical-align: top; _vertical-align: text-bottom; } .grid .g-u input { *vertical-align: middle; } .file-input-wrapper { width: 120px; height: 120px; position: absolute; z-index: 12; top: 0; left: 0; overflow: hidden; filter: ms:alpha(opacity = @o); opacity: 0; } .file-input-wrapper .file-input { display: block; height: 500px; width: 220px; cursor: pointer; font-size: 100px; margin-top: -50px; position: absolute; left: 0; top: -200px; filter: ms:alpha(opacity = @o); opacity: 0; z-index: 14; } .ks-progress-bar { height: 8px; width: 90px; background: #b2b2b2; border-radius: 5px; display: block; overflow: hidden; } .ks-progress-bar .ks-progress-bar-value { width: 0%; height: 8px; background: #db0869; display: block; } .ks-uploader-button { text-decoration: none; } .imageUploader-button { width: 74px; height: 25px; line-height: 25px; margin-right: 6px; overflow: hidden; position: relative; border: 1px solid #ddd; font-size: 12px; cursor: pointer; color: #333333; text-align: center; background-color: #fdfcfc; background: -webkit-gradient(linear, left top, left bottom, from(#fdfcfc), to(#eeeeee)); background: -moz-linear-gradient(top, #fdfcfc, #eeeeee); border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; } .imageUploader-button .file-input-wrapper { width: 74px; height: 25px; } .imageUploader-button:hover { color: #333333; text-decoration: none; border: 1px solid #369BD7; background-color: #fdfcfc; background: -webkit-gradient(linear, left top, left bottom, from(#fdfcfc), to(#e2f1fc)); background: -moz-linear-gradient(top, #fdfcfc, #e2f1fc); } .imageUploader-button:active { background-color: #e2f1fc; background: -webkit-gradient(linear, left top, left bottom, from(#e2f1fc), to(#e2f1fc)); background: -moz-linear-gradient(top, #e2f1fc, #e2f1fc); outline: 0 none; } .uploader-button-disabled, .uploader-button-disabled:hover { border: 1px solid #EEEEEE; color: #404040; background: #EEEEEE; } .upload-count-wrapper { margin-top: 4px; color: #ccc; } .upload-count-wrapper em { color: #999999; font-style: normal; } .imageUploader-queue { margin: 0; margin-top: 10px; padding: 0; font-size: 12px; } .imageUploader-queue li { border: solid 1px #e0e0e0; margin: 0 10px 10px 0; width: 120px; height: 120px; position: relative; padding: 0; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; background-color: #fff; -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); } .imageUploader-queue li.error { border: 1px solid red; } .imageUploader-queue li.start, .imageUploader-queue li.upload { border: 1px solid #369BD7; } .imageUploader-queue li .wrapper { position: relative; z-index: 10; } .imageUploader-queue li .del-pic { color: #676767; display: none; width: 60px; height: 24px; line-height: 24px; position: absolute; top: 50px; left: 50px; margin-left: -20px; text-decoration: none; z-index: 3000; border: 1px solid #ddd; background-color: #fff; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; text-align: center; } .imageUploader-queue .status-wrapper { position: absolute; top: 50%; left: 0; width: 100%; margin-top: -6px; z-index: 30; } .imageUploader-queue .status-wrapper .status { margin-left: 2px; } .imageUploader-queue .status-wrapper .waiting-status { color: #404040; } .imageUploader-queue .status-wrapper .error-status { color: red; } .imageUploader-queue .status-wrapper p { margin: 0; padding-left: 10px; } .imageUploader-queue .pic-mask { position: absolute; top: 0; left: 0; width: 120px; height: 120px; filter: ms:alpha(opacity = @o); opacity: 0.8; background: #fff; z-index: 7; } .imageUploader-queue .pic { *overflow: hidden; display: table; text-align: center; table-layout: fixed; } .imageUploader-queue .pic img { display: none; border: none; vertical-align: middle; max-width: 116px; max-height: 116px; margin: 0; padding: 0; } .imageUploader-queue .pic a { width: 118px; height: 118px; padding: 1px; display: table-cell; /*非IE、IE8、IE9的主流浏览器识别的垂直居中的方法*/ vertical-align: middle; /*text-align: center;*/ *display: block; *font-family: Arial; /*防止非utf-8引起的hack失效问题,如gbk编码*/ *line-height: 1; /* 避免行高导致垂直居中有误 */ *font-size: 105px; } .imageUploader-queue .drop-wrapper { cursor: pointer; } .imageUploader-queue .ks-progress-bar { height: 8px; width: 100px; margin: 0 auto; } .imageUploader-queue .ks-progress-bar .ks-progress-bar-value { background: #75b9f0; } .imageUploader-queue .ks-progress-bar .status-wrapper .status { text-align: center; }