scrawl.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. /*common
  2. */
  3. body {
  4. margin: 0;
  5. }
  6. table {
  7. width: 100%;
  8. }
  9. table td {
  10. padding: 2px 4px;
  11. vertical-align: middle;
  12. }
  13. a {
  14. text-decoration: none;
  15. }
  16. em {
  17. font-style: normal;
  18. }
  19. .border_style1 {
  20. border: 1px solid #ccc;
  21. border-radius: 5px;
  22. box-shadow: 2px 2px 5px #d3d6da;
  23. }
  24. /*module
  25. */
  26. .main {
  27. margin: 8px;
  28. overflow: hidden;
  29. }
  30. .hot {
  31. float: left;
  32. height: 335px;
  33. }
  34. .drawBoard {
  35. position: relative;
  36. cursor: crosshair;
  37. }
  38. .brushBorad {
  39. position: absolute;
  40. left: 0;
  41. top: 0;
  42. z-index: 998;
  43. }
  44. .picBoard {
  45. border: none;
  46. text-align: center;
  47. line-height: 300px;
  48. cursor: default;
  49. }
  50. .operateBar {
  51. margin-top: 10px;
  52. font-size: 12px;
  53. text-align: center;
  54. }
  55. .operateBar span {
  56. margin-left: 10px;
  57. }
  58. .drawToolbar {
  59. float: right;
  60. width: 110px;
  61. height: 300px;
  62. overflow: hidden;
  63. }
  64. .colorBar {
  65. margin-top: 10px;
  66. font-size: 12px;
  67. text-align: center;
  68. }
  69. .colorBar a {
  70. display: block;
  71. width: 10px;
  72. height: 10px;
  73. border: 1px solid #1006F1;
  74. border-radius: 3px;
  75. box-shadow: 2px 2px 5px #d3d6da;
  76. opacity: 0.3
  77. }
  78. .sectionBar {
  79. margin-top: 15px;
  80. font-size: 12px;
  81. text-align: center;
  82. }
  83. .sectionBar a {
  84. display: inline-block;
  85. width: 10px;
  86. height: 12px;
  87. color: #888;
  88. text-indent: -999px;
  89. opacity: 0.3
  90. }
  91. .size1 {
  92. background: url('images/size.png') 1px center no-repeat;
  93. }
  94. .size2 {
  95. background: url('images/size.png') -10px center no-repeat;
  96. }
  97. .size3 {
  98. background: url('images/size.png') -22px center no-repeat;
  99. }
  100. .size4 {
  101. background: url('images/size.png') -35px center no-repeat;
  102. }
  103. .addImgH {
  104. position: relative;
  105. }
  106. .addImgH_form {
  107. position: absolute;
  108. left: 18px;
  109. top: -1px;
  110. width: 75px;
  111. height: 21px;
  112. opacity: 0;
  113. cursor: pointer;
  114. }
  115. .addImgH_form input {
  116. width: 100%;
  117. }
  118. /*scrawl遮罩层
  119. */
  120. .maskLayerNull {
  121. display: none;
  122. }
  123. .maskLayer {
  124. position: absolute;
  125. top: 0;
  126. left: 0;
  127. width: 100%;
  128. height: 100%;
  129. opacity: 0.7;
  130. background-color: #fff;
  131. text-align: center;
  132. font-weight: bold;
  133. line-height: 300px;
  134. z-index: 1000;
  135. }
  136. /*btn state
  137. */
  138. .previousStepH .icon {
  139. display: inline-block;
  140. width: 16px;
  141. height: 16px;
  142. background-image: url('images/undoH.png');
  143. cursor: pointer;
  144. }
  145. .previousStepH .text {
  146. color: #888;
  147. cursor: pointer;
  148. }
  149. .previousStep .icon {
  150. display: inline-block;
  151. width: 16px;
  152. height: 16px;
  153. background-image: url('images/undo.png');
  154. cursor: default;
  155. }
  156. .previousStep .text {
  157. color: #ccc;
  158. cursor: default;
  159. }
  160. .nextStepH .icon {
  161. display: inline-block;
  162. width: 16px;
  163. height: 16px;
  164. background-image: url('images/redoH.png');
  165. cursor: pointer;
  166. }
  167. .nextStepH .text {
  168. color: #888;
  169. cursor: pointer;
  170. }
  171. .nextStep .icon {
  172. display: inline-block;
  173. width: 16px;
  174. height: 16px;
  175. background-image: url('images/redo.png');
  176. cursor: default;
  177. }
  178. .nextStep .text {
  179. color: #ccc;
  180. cursor: default;
  181. }
  182. .clearBoardH .icon {
  183. display: inline-block;
  184. width: 16px;
  185. height: 16px;
  186. background-image: url('images/emptyH.png');
  187. cursor: pointer;
  188. }
  189. .clearBoardH .text {
  190. color: #888;
  191. cursor: pointer;
  192. }
  193. .clearBoard .icon {
  194. display: inline-block;
  195. width: 16px;
  196. height: 16px;
  197. background-image: url('images/empty.png');
  198. cursor: default;
  199. }
  200. .clearBoard .text {
  201. color: #ccc;
  202. cursor: default;
  203. }
  204. .scaleBoardH .icon {
  205. display: inline-block;
  206. width: 16px;
  207. height: 16px;
  208. background-image: url('images/scaleH.png');
  209. cursor: pointer;
  210. }
  211. .scaleBoardH .text {
  212. color: #888;
  213. cursor: pointer;
  214. }
  215. .scaleBoard .icon {
  216. display: inline-block;
  217. width: 16px;
  218. height: 16px;
  219. background-image: url('images/scale.png');
  220. cursor: default;
  221. }
  222. .scaleBoard .text {
  223. color: #ccc;
  224. cursor: default;
  225. }
  226. .removeImgH .icon {
  227. display: inline-block;
  228. width: 16px;
  229. height: 16px;
  230. background-image: url('images/delimgH.png');
  231. cursor: pointer;
  232. }
  233. .removeImgH .text {
  234. color: #888;
  235. cursor: pointer;
  236. }
  237. .removeImg .icon {
  238. display: inline-block;
  239. width: 16px;
  240. height: 16px;
  241. background-image: url('images/delimg.png');
  242. cursor: default;
  243. }
  244. .removeImg .text {
  245. color: #ccc;
  246. cursor: default;
  247. }
  248. .addImgH .icon {
  249. vertical-align: top;
  250. display: inline-block;
  251. width: 16px;
  252. height: 16px;
  253. background-image: url('images/addimg.png')
  254. }
  255. .addImgH .text {
  256. color: #888;
  257. cursor: pointer;
  258. }
  259. /*icon
  260. */
  261. .brushIcon {
  262. display: inline-block;
  263. width: 16px;
  264. height: 16px;
  265. background-image: url('images/brush.png')
  266. }
  267. .eraserIcon {
  268. display: inline-block;
  269. width: 16px;
  270. height: 16px;
  271. background-image: url('images/eraser.png')
  272. }