image.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752
  1. @charset "utf-8";
  2. /* dialog样式 */
  3. .wrapper {
  4. zoom: 1;
  5. width: 630px;
  6. *width: 626px;
  7. height: 380px;
  8. margin: 0 auto;
  9. padding: 10px;
  10. position: relative;
  11. font-family: sans-serif;
  12. }
  13. /*tab样式框大小*/
  14. .tabhead {
  15. float: left;
  16. }
  17. .tabbody {
  18. width: 100%;
  19. height: 346px;
  20. position: relative;
  21. clear: both;
  22. }
  23. .tabbody .panel {
  24. position: absolute;
  25. width: 0;
  26. height: 0;
  27. background: #fff;
  28. overflow: hidden;
  29. display: none;
  30. }
  31. .tabbody .panel.focus {
  32. width: 100%;
  33. height: 346px;
  34. display: block;
  35. }
  36. /* 图片对齐方式 */
  37. .alignBar {
  38. float: right;
  39. margin-top: 5px;
  40. position: relative;
  41. }
  42. .alignBar .algnLabel {
  43. float: left;
  44. height: 20px;
  45. line-height: 20px;
  46. }
  47. .alignBar #alignIcon {
  48. zoom: 1;
  49. _display: inline;
  50. display: inline-block;
  51. position: relative;
  52. }
  53. .alignBar #alignIcon span {
  54. float: left;
  55. cursor: pointer;
  56. display: block;
  57. width: 19px;
  58. height: 17px;
  59. margin-right: 3px;
  60. margin-left: 3px;
  61. background-image: url(./images/alignicon.jpg);
  62. }
  63. .alignBar #alignIcon .none-align {
  64. background-position: 0 -18px;
  65. }
  66. .alignBar #alignIcon .left-align {
  67. background-position: -20px -18px;
  68. }
  69. .alignBar #alignIcon .right-align {
  70. background-position: -40px -18px;
  71. }
  72. .alignBar #alignIcon .center-align {
  73. background-position: -60px -18px;
  74. }
  75. .alignBar #alignIcon .none-align.focus {
  76. background-position: 0 0;
  77. }
  78. .alignBar #alignIcon .left-align.focus {
  79. background-position: -20px 0;
  80. }
  81. .alignBar #alignIcon .right-align.focus {
  82. background-position: -40px 0;
  83. }
  84. .alignBar #alignIcon .center-align.focus {
  85. background-position: -60px 0;
  86. }
  87. /* 远程图片样式 */
  88. #remote {
  89. z-index: 200;
  90. }
  91. #remote .top {
  92. width: 100%;
  93. margin-top: 25px;
  94. }
  95. #remote .left {
  96. display: block;
  97. float: left;
  98. width: 300px;
  99. height: 10px;
  100. }
  101. #remote .right {
  102. display: block;
  103. float: right;
  104. width: 300px;
  105. height: 10px;
  106. }
  107. #remote .row {
  108. margin-left: 20px;
  109. clear: both;
  110. height: 40px;
  111. }
  112. #remote .row label {
  113. text-align: center;
  114. width: 50px;
  115. zoom: 1;
  116. _display: inline;
  117. display: inline-block;
  118. vertical-align: middle;
  119. }
  120. #remote .row label.algnLabel {
  121. float: left;
  122. }
  123. #remote input.text {
  124. width: 150px;
  125. padding: 3px 6px;
  126. font-size: 14px;
  127. line-height: 1.42857143;
  128. color: #555;
  129. background-color: #fff;
  130. background-image: none;
  131. border: 1px solid #ccc;
  132. border-radius: 4px;
  133. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  134. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  135. -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  136. transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  137. }
  138. #remote input.text:focus {
  139. outline: 0;
  140. }
  141. #remote #url {
  142. width: 400px;
  143. margin-bottom: 2px;
  144. }
  145. #remote #imageSelect {
  146. width: 100px;
  147. display: inline-block;
  148. background: #FFF;
  149. border: 1px solid #EEE;
  150. line-height: 26px;
  151. text-align: center;
  152. color: #333;
  153. text-decoration: none;
  154. border-radius: 3px;
  155. vertical-align: top;
  156. }
  157. #remote #width,
  158. #remote #height {
  159. width: 30px;
  160. margin-left: 2px;
  161. margin-right: 2px;
  162. text-align: center;
  163. }
  164. #remote #border,
  165. #remote #vhSpace,
  166. #remote #title {
  167. width: 180px;
  168. margin-right: 5px;
  169. }
  170. #remote #lock {
  171. display: inline-block;
  172. vertical-align: middle;
  173. }
  174. #remote #lockicon {
  175. zoom: 1;
  176. _display: inline;
  177. display: inline-block;
  178. width: 20px;
  179. height: 20px;
  180. background: url("../../themes/default/images/lock.gif") -13px -13px no-repeat;
  181. vertical-align: middle;
  182. }
  183. #remote #preview {
  184. clear: both;
  185. width: 260px;
  186. height: 240px;
  187. z-index: 9999;
  188. margin-top: 10px;
  189. background-color: #eee;
  190. overflow: hidden;
  191. }
  192. /* 上传图片 */
  193. .tabbody #upload.panel {
  194. width: 0;
  195. height: 0;
  196. overflow: hidden;
  197. position: absolute !important;
  198. clip: rect(1px, 1px, 1px, 1px);
  199. background: #fff;
  200. display: block;
  201. }
  202. .tabbody #upload.panel.focus {
  203. width: 100%;
  204. height: 346px;
  205. display: block;
  206. clip: auto;
  207. }
  208. #upload .queueList {
  209. margin: 0;
  210. width: 100%;
  211. height: 100%;
  212. position: absolute;
  213. overflow: hidden;
  214. }
  215. #upload p {
  216. margin: 0;
  217. }
  218. .element-invisible {
  219. width: 0 !important;
  220. height: 0 !important;
  221. border: 0;
  222. padding: 0;
  223. margin: 0;
  224. overflow: hidden;
  225. position: absolute !important;
  226. clip: rect(1px, 1px, 1px, 1px);
  227. }
  228. #upload .placeholder {
  229. margin: 10px;
  230. border: 2px dashed #e6e6e6;
  231. *border: 0px dashed #e6e6e6;
  232. height: 172px;
  233. padding-top: 150px;
  234. text-align: center;
  235. background: url(./images/image.png) center 70px no-repeat;
  236. color: #cccccc;
  237. font-size: 18px;
  238. position: relative;
  239. top: 0;
  240. *top: 10px;
  241. }
  242. #upload .placeholder .webuploader-pick {
  243. font-size: 18px;
  244. background: #00b7ee;
  245. border-radius: 3px;
  246. line-height: 44px;
  247. padding: 0 30px;
  248. *width: 120px;
  249. color: #fff;
  250. display: inline-block;
  251. margin: 0 auto 20px auto;
  252. cursor: pointer;
  253. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  254. }
  255. #upload .placeholder .webuploader-pick-hover {
  256. background: #00a2d4;
  257. }
  258. #filePickerContainer {
  259. text-align: center;
  260. }
  261. #upload .placeholder .flashTip {
  262. color: #666666;
  263. font-size: 12px;
  264. position: absolute;
  265. width: 100%;
  266. text-align: center;
  267. bottom: 20px;
  268. }
  269. #upload .placeholder .flashTip a {
  270. color: #0785d1;
  271. text-decoration: none;
  272. }
  273. #upload .placeholder .flashTip a:hover {
  274. text-decoration: underline;
  275. }
  276. #upload .placeholder.webuploader-dnd-over {
  277. border-color: #999999;
  278. }
  279. #upload .filelist {
  280. list-style: none;
  281. margin: 0;
  282. padding: 0;
  283. overflow-x: hidden;
  284. overflow-y: auto;
  285. position: relative;
  286. height: 300px;
  287. }
  288. #upload .filelist:after {
  289. content: '';
  290. display: block;
  291. width: 0;
  292. height: 0;
  293. overflow: hidden;
  294. clear: both;
  295. position: relative;
  296. }
  297. #upload .filelist li {
  298. width: 113px;
  299. height: 113px;
  300. background: url(./images/bg.png);
  301. text-align: center;
  302. margin: 9px 0 0 9px;
  303. *margin: 6px 0 0 6px;
  304. position: relative;
  305. display: block;
  306. float: left;
  307. overflow: hidden;
  308. font-size: 12px;
  309. }
  310. #upload .filelist li p.log {
  311. position: relative;
  312. top: -45px;
  313. }
  314. #upload .filelist li p.title {
  315. position: absolute;
  316. top: 0;
  317. left: 0;
  318. width: 100%;
  319. overflow: hidden;
  320. white-space: nowrap;
  321. text-overflow: ellipsis;
  322. top: 5px;
  323. text-indent: 5px;
  324. text-align: left;
  325. }
  326. #upload .filelist li p.progress {
  327. position: absolute;
  328. width: 100%;
  329. bottom: 0;
  330. left: 0;
  331. height: 8px;
  332. overflow: hidden;
  333. z-index: 50;
  334. margin: 0;
  335. border-radius: 0;
  336. background: none;
  337. -webkit-box-shadow: 0 0 0;
  338. }
  339. #upload .filelist li p.progress span {
  340. display: none;
  341. overflow: hidden;
  342. width: 0;
  343. height: 100%;
  344. background: #1483d8 url(./images/progress.png) repeat-x;
  345. -webit-transition: width 200ms linear;
  346. -moz-transition: width 200ms linear;
  347. -o-transition: width 200ms linear;
  348. -ms-transition: width 200ms linear;
  349. transition: width 200ms linear;
  350. -webkit-animation: progressmove 2s linear infinite;
  351. -moz-animation: progressmove 2s linear infinite;
  352. -o-animation: progressmove 2s linear infinite;
  353. -ms-animation: progressmove 2s linear infinite;
  354. animation: progressmove 2s linear infinite;
  355. -webkit-transform: translateZ(0);
  356. }
  357. @-webkit-keyframes progressmove {
  358. 0% {
  359. background-position: 0 0;
  360. }
  361. 100% {
  362. background-position: 17px 0;
  363. }
  364. }
  365. @-moz-keyframes progressmove {
  366. 0% {
  367. background-position: 0 0;
  368. }
  369. 100% {
  370. background-position: 17px 0;
  371. }
  372. }
  373. @keyframes progressmove {
  374. 0% {
  375. background-position: 0 0;
  376. }
  377. 100% {
  378. background-position: 17px 0;
  379. }
  380. }
  381. #upload .filelist li p.imgWrap {
  382. position: relative;
  383. z-index: 2;
  384. line-height: 113px;
  385. vertical-align: middle;
  386. overflow: hidden;
  387. width: 113px;
  388. height: 113px;
  389. -webkit-transform-origin: 50% 50%;
  390. -moz-transform-origin: 50% 50%;
  391. -o-transform-origin: 50% 50%;
  392. -ms-transform-origin: 50% 50%;
  393. transform-origin: 50% 50%;
  394. -webit-transition: 200ms ease-out;
  395. -moz-transition: 200ms ease-out;
  396. -o-transition: 200ms ease-out;
  397. -ms-transition: 200ms ease-out;
  398. transition: 200ms ease-out;
  399. }
  400. #upload .filelist li img {
  401. width: 100%;
  402. }
  403. #upload .filelist li p.error {
  404. background: #f43838;
  405. color: #fff;
  406. position: absolute;
  407. bottom: 0;
  408. left: 0;
  409. height: 28px;
  410. line-height: 28px;
  411. width: 100%;
  412. z-index: 100;
  413. display: none;
  414. }
  415. #upload .filelist li .success {
  416. display: block;
  417. position: absolute;
  418. left: 0;
  419. bottom: 0;
  420. height: 40px;
  421. width: 100%;
  422. z-index: 200;
  423. background: url(./images/success.png) no-repeat right bottom;
  424. background: url(./images/success.gif) no-repeat right bottom \9;
  425. }
  426. #upload .filelist li.filePickerBlock {
  427. width: 113px;
  428. height: 113px;
  429. background: url(./images/image.png) no-repeat center 12px;
  430. border: 1px solid #eeeeee;
  431. border-radius: 0;
  432. }
  433. #upload .filelist li.filePickerBlock div.webuploader-pick {
  434. width: 100%;
  435. height: 100%;
  436. margin: 0;
  437. padding: 0;
  438. opacity: 0;
  439. background: none;
  440. font-size: 0;
  441. }
  442. #upload .filelist div.file-panel {
  443. position: absolute;
  444. height: 0;
  445. filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
  446. background: rgba(0, 0, 0, 0.5);
  447. width: 100%;
  448. top: 0;
  449. left: 0;
  450. overflow: hidden;
  451. z-index: 300;
  452. }
  453. #upload .filelist div.file-panel span {
  454. width: 24px;
  455. height: 24px;
  456. display: inline;
  457. float: right;
  458. text-indent: -9999px;
  459. overflow: hidden;
  460. background: url(./images/icons.png) no-repeat;
  461. background: url(./images/icons.gif) no-repeat \9;
  462. margin: 5px 1px 1px;
  463. cursor: pointer;
  464. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  465. -webkit-user-select: none;
  466. -moz-user-select: none;
  467. -ms-user-select: none;
  468. user-select: none;
  469. }
  470. #upload .filelist div.file-panel span.rotateLeft {
  471. display: none;
  472. background-position: 0 -24px;
  473. }
  474. #upload .filelist div.file-panel span.rotateLeft:hover {
  475. background-position: 0 0;
  476. }
  477. #upload .filelist div.file-panel span.rotateRight {
  478. display: none;
  479. background-position: -24px -24px;
  480. }
  481. #upload .filelist div.file-panel span.rotateRight:hover {
  482. background-position: -24px 0;
  483. }
  484. #upload .filelist div.file-panel span.cancel {
  485. background-position: -48px -24px;
  486. }
  487. #upload .filelist div.file-panel span.cancel:hover {
  488. background-position: -48px 0;
  489. }
  490. #upload .statusBar {
  491. height: 45px;
  492. border-bottom: 1px solid #dadada;
  493. margin: 0 10px;
  494. padding: 0;
  495. line-height: 45px;
  496. vertical-align: middle;
  497. position: relative;
  498. }
  499. #upload .statusBar .progress {
  500. border: 1px solid #1483d8;
  501. width: 198px;
  502. background: #fff;
  503. height: 18px;
  504. position: absolute;
  505. top: 12px;
  506. display: none;
  507. text-align: center;
  508. line-height: 18px;
  509. color: #6dbfff;
  510. margin: 0 10px 0 0;
  511. }
  512. #upload .statusBar .progress span.percentage {
  513. width: 0;
  514. height: 100%;
  515. left: 0;
  516. top: 0;
  517. background: #1483d8;
  518. position: absolute;
  519. }
  520. #upload .statusBar .progress span.text {
  521. position: relative;
  522. z-index: 10;
  523. }
  524. #upload .statusBar .info {
  525. display: inline-block;
  526. font-size: 14px;
  527. color: #666666;
  528. }
  529. #upload .statusBar .btns {
  530. position: absolute;
  531. top: 7px;
  532. right: 0;
  533. line-height: 30px;
  534. }
  535. #filePickerBtn {
  536. display: inline-block;
  537. float: left;
  538. }
  539. #upload .statusBar .btns .webuploader-pick,
  540. #upload .statusBar .btns .uploadBtn,
  541. #upload .statusBar .btns .uploadBtn.state-uploading,
  542. #upload .statusBar .btns .uploadBtn.state-paused {
  543. background: #ffffff;
  544. border: 1px solid #cfcfcf;
  545. color: #565656;
  546. padding: 0 18px;
  547. display: inline-block;
  548. border-radius: 3px;
  549. margin-left: 10px;
  550. cursor: pointer;
  551. font-size: 14px;
  552. float: left;
  553. -webkit-user-select: none;
  554. -moz-user-select: none;
  555. -ms-user-select: none;
  556. user-select: none;
  557. }
  558. #upload .statusBar .btns .webuploader-pick-hover,
  559. #upload .statusBar .btns .uploadBtn:hover,
  560. #upload .statusBar .btns .uploadBtn.state-uploading:hover,
  561. #upload .statusBar .btns .uploadBtn.state-paused:hover {
  562. background: #f0f0f0;
  563. }
  564. #upload .statusBar .btns .uploadBtn,
  565. #upload .statusBar .btns .uploadBtn.state-paused {
  566. background: #00b7ee;
  567. color: #fff;
  568. border-color: transparent;
  569. }
  570. #upload .statusBar .btns .uploadBtn:hover,
  571. #upload .statusBar .btns .uploadBtn.state-paused:hover {
  572. background: #00a2d4;
  573. }
  574. #upload .statusBar .btns .uploadBtn.disabled {
  575. pointer-events: none;
  576. filter: alpha(opacity=60);
  577. -moz-opacity: 0.6;
  578. -khtml-opacity: 0.6;
  579. opacity: 0.6;
  580. }
  581. /* 图片管理样式 */
  582. #online {
  583. width: 100%;
  584. height: 336px;
  585. padding: 10px 0 0 0;
  586. }
  587. #online #imageList {
  588. width: 100%;
  589. height: 100%;
  590. overflow-x: hidden;
  591. overflow-y: auto;
  592. position: relative;
  593. }
  594. #online ul {
  595. display: block;
  596. list-style: none;
  597. margin: 0;
  598. padding: 0;
  599. }
  600. #online li {
  601. float: left;
  602. display: block;
  603. list-style: none;
  604. padding: 0;
  605. width: 113px;
  606. height: 113px;
  607. margin: 0 0 9px 9px;
  608. *margin: 0 0 6px 6px;
  609. background-color: #eee;
  610. overflow: hidden;
  611. cursor: pointer;
  612. position: relative;
  613. }
  614. #online li.clearFloat {
  615. float: none;
  616. clear: both;
  617. display: block;
  618. width: 0;
  619. height: 0;
  620. margin: 0;
  621. padding: 0;
  622. }
  623. #online li img {
  624. cursor: pointer;
  625. }
  626. #online li .icon {
  627. cursor: pointer;
  628. width: 113px;
  629. height: 113px;
  630. position: absolute;
  631. top: 0;
  632. left: 0;
  633. z-index: 2;
  634. border: 0;
  635. background-repeat: no-repeat;
  636. }
  637. #online li .icon:hover {
  638. width: 107px;
  639. height: 107px;
  640. border: 3px solid #1094fa;
  641. }
  642. #online li.selected .icon {
  643. background-image: url(images/success.png);
  644. background-image: url(images/success.gif) \9;
  645. background-position: 75px 75px;
  646. }
  647. #online li.selected .icon:hover {
  648. width: 107px;
  649. height: 107px;
  650. border: 3px solid #1094fa;
  651. background-position: 72px 72px;
  652. }