common.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. /**
  2. * 描 述: 定义公共类名及jquery插件样式
  3. * 作用范围: 公共,独立样式
  4. */
  5. /* 实心小三角 */
  6. .arrow {
  7. display: inline-block;
  8. width: 0;
  9. height: 0;
  10. line-height: 0;
  11. vertical-align: middle;
  12. border: 4px dashed transparent;
  13. }
  14. .arrow-down {
  15. border-top-style: solid;
  16. border-top-color: #000;
  17. border-bottom-width: 0;
  18. }
  19. .arrow-up {
  20. border-bottom-style: solid;
  21. border-bottom-color: #000;
  22. border-top-width: 0;
  23. }
  24. .arrow-left {
  25. border-right-style: solid;
  26. border-right-color: #000;
  27. border-left-width: 0;
  28. }
  29. .arrow-right {
  30. border-left-style: solid;
  31. border-left-color: #000;
  32. border-right-width: 0;
  33. }
  34. /* 提醒框 */
  35. .alert {
  36. color: #c09853;
  37. font-weight: bold;
  38. border: 1px solid #fbeed5;
  39. background-color: #fcf8e3;
  40. }
  41. .alert .close {
  42. float: right;
  43. position: relative;
  44. top: -2px;
  45. right: -21px;
  46. font: bold 20px/20px arial;
  47. color: #c09853;
  48. opacity: 0.4;
  49. }
  50. .alert .close:hover {
  51. opacity: 0.6;
  52. }
  53. button.close {
  54. padding: 0;
  55. cursor: pointer;
  56. border: 0 none;
  57. background: none;
  58. }
  59. .close {
  60. float: right;
  61. font-size: 20px;
  62. font-weight: bold;
  63. line-height: 20px;
  64. color: #000000;
  65. text-shadow: 0 1px 0 #ffffff;
  66. opacity: 0.2;
  67. filter: alpha(opacity=20);
  68. }
  69. .alert-info {
  70. background-color: #D9EDF7;
  71. border-color: #BCE8F1;
  72. color: #3A87AD;
  73. }
  74. .alert-error {
  75. color: white;
  76. border-color: #eed3d7;
  77. background-color: #FF6666;
  78. }
  79. .alert-success {
  80. color: #468847;
  81. background-color: #CCFF99;
  82. border-color: #eed3d7;
  83. }
  84. #top-alert {
  85. display: block;
  86. top: 50px;
  87. left: 220px;
  88. right: 20px;
  89. z-index: 3000;
  90. margin-top: 20px;
  91. padding-top: 12px;
  92. padding-bottom: 12px;
  93. overflow: hidden;
  94. font-size: 16px;
  95. }
  96. #top-alert .close{
  97. right:35px;
  98. position: fixed;
  99. top:75px;
  100. }
  101. .alert-content{
  102. margin-left: 14px;
  103. max-width:600px;
  104. word-wrap: break-word;
  105. word-break: break-word;
  106. }
  107. /* = Thinkbox弹出层插件样式
  108. ------------------------------------------ */
  109. .thinkbox-content{
  110. padding: 15px;
  111. min-width: 100px;
  112. }
  113. .thinkbox-default .thinkbox-tools {
  114. border:none!important;
  115. background-color: #fff!important;
  116. }
  117. .thinkbox-default .thinkbox-top-left {
  118. border-radius: 0!important;
  119. }
  120. .thinkbox-default .thinkbox-top-right {
  121. border-radius: 0!important;
  122. }
  123. .thinkbox-default .thinkbox-bottom-left {
  124. border-radius: 0!important;
  125. }
  126. .thinkbox-default .thinkbox-bottom-right {
  127. border-radius: 0!important;
  128. }
  129. .thinkbox-default .thinkbox-window-actions button {
  130. margin-right: 6px!important;
  131. /* background-image:none!important; */
  132. /* background-color:#dd0000!important; */
  133. }
  134. /* = uploadify上传插件样式
  135. ------------------------------------------ */
  136. .uploadify-button {
  137. position: relative;
  138. text-align: center;
  139. color: #fff;
  140. cursor: pointer;
  141. background-color: #27ae60;
  142. }
  143. .uploadify-queue-item {
  144. position: absolute;
  145. margin-top: 4px;
  146. padding: 15px;
  147. width: 470px;
  148. border: 1px solid #ccc;
  149. background-color: #fff;
  150. }
  151. .uploadify-queue-item .cancel {
  152. float: right;
  153. }
  154. .uploadify-queue-item .cancel a,
  155. .uploadify-queue-item .cancel a:hover {
  156. font-family: Consolas;
  157. color: #404040;
  158. text-decoration: none;
  159. border-bottom: 0 none;
  160. }
  161. .uploadify-queue-item .fileName {
  162. color: #2D7200;
  163. }
  164. .uploadify-error {
  165. background-color: #FDE5DD !important;
  166. }
  167. .uploadify-queue-item.completed {
  168. background-color: #E5E5E5;
  169. }
  170. .uploadify-progress {
  171. background-color: #E5E5E5;
  172. margin-top: 10px;
  173. width: 100%;
  174. }
  175. .uploadify-progress-bar {
  176. background-color: #0099FF;
  177. height: 3px;
  178. width: 1px;
  179. }
  180. .upload-img-box {
  181. margin-top: 4px;
  182. }
  183. .upload-img-box .upload-pre-item {
  184. padding: 1px;
  185. width: 120px;
  186. max-height: 120px;
  187. overflow: hidden;
  188. text-align: center;
  189. cursor: pointer;
  190. border: 1px solid #ccc;
  191. transition: all .3s linear;
  192. }
  193. .upload-img-box .upload-pre-item img {
  194. vertical-align: top;
  195. }
  196. .upload-img-box .upload-pre-file {
  197. padding: 0 10px;
  198. width: 380px;
  199. height: 35px;
  200. line-height: 35px;
  201. overflow: hidden;
  202. text-overflow: ellipsis;
  203. white-space: nowrap;
  204. border: 1px dashed #ccc;
  205. background-color: #fff;
  206. }
  207. /* 上传图片点击弹出层 */
  208. .upload-img-popup {
  209. position: fixed;
  210. z-index: 9999;
  211. padding: 3px;
  212. border: 1px solid #c3c3c3;
  213. background-color: #fff;
  214. box-shadow: 0 0 4px rgba(0,0,0,.5);
  215. }
  216. .upload-img-popup .close-pop {
  217. position: absolute;
  218. top: -8px;
  219. right: -8px;
  220. width: 17px;
  221. height: 17px;
  222. background: url(../images/bg_icon.png) no-repeat -25px 0;
  223. }
  224. .upload-img-popup .close-pop:hover {
  225. text-decoration: none;
  226. border-bottom: 0 none;
  227. }
  228. .upload-img-popup img {
  229. display: block;
  230. }
  231. .upload_icon_all {
  232. width: 15px;
  233. height: 15px;
  234. background: url(../images/attachment_1.png);
  235. display: inline-block;
  236. vertical-align: middle;
  237. margin-right: 5px
  238. }