image.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941
  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. border-color: #66afe9;
  140. outline: 0;
  141. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  142. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  143. }
  144. #remote #url{
  145. width: 500px;
  146. margin-bottom: 2px;
  147. }
  148. #remote #width,
  149. #remote #height{
  150. width: 20px;
  151. margin-left: 2px;
  152. margin-right: 2px;
  153. }
  154. #remote #border,
  155. #remote #vhSpace,
  156. #remote #title{
  157. width: 180px;
  158. margin-right: 5px;
  159. }
  160. #remote #lock{
  161. }
  162. #remote #lockicon{
  163. zoom: 1;
  164. _display:inline;
  165. display: inline-block;
  166. width: 20px;
  167. height: 20px;
  168. background: url("../../themes/default/images/lock.gif") -13px -13px no-repeat;
  169. vertical-align: middle;
  170. }
  171. #remote #preview{
  172. clear: both;
  173. width: 260px;
  174. height: 240px;
  175. z-index: 9999;
  176. margin-top: 10px;
  177. background-color: #eee;
  178. overflow: hidden;
  179. }
  180. /* 上传图片 */
  181. .tabbody #upload.panel {
  182. width: 0;
  183. height: 0;
  184. overflow: hidden;
  185. position: absolute !important;
  186. clip: rect(1px, 1px, 1px, 1px);
  187. background: #fff;
  188. display: block;
  189. }
  190. .tabbody #upload.panel.focus {
  191. width: 100%;
  192. height: 346px;
  193. display: block;
  194. clip: auto;
  195. }
  196. #upload .queueList {
  197. margin: 0;
  198. width: 100%;
  199. height: 100%;
  200. position: absolute;
  201. overflow: hidden;
  202. }
  203. #upload p {
  204. margin: 0;
  205. }
  206. .element-invisible {
  207. width: 0 !important;
  208. height: 0 !important;
  209. border: 0;
  210. padding: 0;
  211. margin: 0;
  212. overflow: hidden;
  213. position: absolute !important;
  214. clip: rect(1px, 1px, 1px, 1px);
  215. }
  216. #upload .placeholder {
  217. margin: 10px;
  218. border: 2px dashed #e6e6e6;
  219. *border: 0px dashed #e6e6e6;
  220. height: 172px;
  221. padding-top: 150px;
  222. text-align: center;
  223. background: url(./images/image.png) center 70px no-repeat;
  224. color: #cccccc;
  225. font-size: 18px;
  226. position: relative;
  227. top:0;
  228. *top: 10px;
  229. }
  230. #upload .placeholder .webuploader-pick {
  231. font-size: 18px;
  232. background: #00b7ee;
  233. border-radius: 3px;
  234. line-height: 44px;
  235. padding: 0 30px;
  236. *width: 120px;
  237. color: #fff;
  238. display: inline-block;
  239. margin: 0 auto 20px auto;
  240. cursor: pointer;
  241. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  242. }
  243. #upload .placeholder .webuploader-pick-hover {
  244. background: #00a2d4;
  245. }
  246. #filePickerContainer {
  247. text-align: center;
  248. }
  249. #upload .placeholder .flashTip {
  250. color: #666666;
  251. font-size: 12px;
  252. position: absolute;
  253. width: 100%;
  254. text-align: center;
  255. bottom: 20px;
  256. }
  257. #upload .placeholder .flashTip a {
  258. color: #0785d1;
  259. text-decoration: none;
  260. }
  261. #upload .placeholder .flashTip a:hover {
  262. text-decoration: underline;
  263. }
  264. #upload .placeholder.webuploader-dnd-over {
  265. border-color: #999999;
  266. }
  267. #upload .filelist {
  268. list-style: none;
  269. margin: 0;
  270. padding: 0;
  271. overflow-x: hidden;
  272. overflow-y: auto;
  273. position: relative;
  274. height: 300px;
  275. }
  276. #upload .filelist:after {
  277. content: '';
  278. display: block;
  279. width: 0;
  280. height: 0;
  281. overflow: hidden;
  282. clear: both;
  283. position: relative;
  284. }
  285. #upload .filelist li {
  286. width: 113px;
  287. height: 113px;
  288. background: url(./images/bg.png);
  289. text-align: center;
  290. margin: 9px 0 0 9px;
  291. *margin: 6px 0 0 6px;
  292. position: relative;
  293. display: block;
  294. float: left;
  295. overflow: hidden;
  296. font-size: 12px;
  297. }
  298. #upload .filelist li p.log {
  299. position: relative;
  300. top: -45px;
  301. }
  302. #upload .filelist li p.title {
  303. position: absolute;
  304. top: 0;
  305. left: 0;
  306. width: 100%;
  307. overflow: hidden;
  308. white-space: nowrap;
  309. text-overflow: ellipsis;
  310. top: 5px;
  311. text-indent: 5px;
  312. text-align: left;
  313. }
  314. #upload .filelist li p.progress {
  315. position: absolute;
  316. width: 100%;
  317. bottom: 0;
  318. left: 0;
  319. height: 8px;
  320. overflow: hidden;
  321. z-index: 50;
  322. margin: 0;
  323. border-radius: 0;
  324. background: none;
  325. -webkit-box-shadow: 0 0 0;
  326. }
  327. #upload .filelist li p.progress span {
  328. display: none;
  329. overflow: hidden;
  330. width: 0;
  331. height: 100%;
  332. background: #1483d8 url(./images/progress.png) repeat-x;
  333. -webit-transition: width 200ms linear;
  334. -moz-transition: width 200ms linear;
  335. -o-transition: width 200ms linear;
  336. -ms-transition: width 200ms linear;
  337. transition: width 200ms linear;
  338. -webkit-animation: progressmove 2s linear infinite;
  339. -moz-animation: progressmove 2s linear infinite;
  340. -o-animation: progressmove 2s linear infinite;
  341. -ms-animation: progressmove 2s linear infinite;
  342. animation: progressmove 2s linear infinite;
  343. -webkit-transform: translateZ(0);
  344. }
  345. @-webkit-keyframes progressmove {
  346. 0% {
  347. background-position: 0 0;
  348. }
  349. 100% {
  350. background-position: 17px 0;
  351. }
  352. }
  353. @-moz-keyframes progressmove {
  354. 0% {
  355. background-position: 0 0;
  356. }
  357. 100% {
  358. background-position: 17px 0;
  359. }
  360. }
  361. @keyframes progressmove {
  362. 0% {
  363. background-position: 0 0;
  364. }
  365. 100% {
  366. background-position: 17px 0;
  367. }
  368. }
  369. #upload .filelist li p.imgWrap {
  370. position: relative;
  371. z-index: 2;
  372. line-height: 113px;
  373. vertical-align: middle;
  374. overflow: hidden;
  375. width: 113px;
  376. height: 113px;
  377. -webkit-transform-origin: 50% 50%;
  378. -moz-transform-origin: 50% 50%;
  379. -o-transform-origin: 50% 50%;
  380. -ms-transform-origin: 50% 50%;
  381. transform-origin: 50% 50%;
  382. -webit-transition: 200ms ease-out;
  383. -moz-transition: 200ms ease-out;
  384. -o-transition: 200ms ease-out;
  385. -ms-transition: 200ms ease-out;
  386. transition: 200ms ease-out;
  387. }
  388. #upload .filelist li img {
  389. width: 100%;
  390. }
  391. #upload .filelist li p.error {
  392. background: #f43838;
  393. color: #fff;
  394. position: absolute;
  395. bottom: 0;
  396. left: 0;
  397. height: 28px;
  398. line-height: 28px;
  399. width: 100%;
  400. z-index: 100;
  401. display:none;
  402. }
  403. #upload .filelist li .success {
  404. display: block;
  405. position: absolute;
  406. left: 0;
  407. bottom: 0;
  408. height: 40px;
  409. width: 100%;
  410. z-index: 200;
  411. background: url(./images/success.png) no-repeat right bottom;
  412. background: url(./images/success.gif) no-repeat right bottom \9;
  413. }
  414. #upload .filelist li.filePickerBlock {
  415. width: 113px;
  416. height: 113px;
  417. background: url(./images/image.png) no-repeat center 12px;
  418. border: 1px solid #eeeeee;
  419. border-radius: 0;
  420. }
  421. #upload .filelist li.filePickerBlock div.webuploader-pick {
  422. width: 100%;
  423. height: 100%;
  424. margin: 0;
  425. padding: 0;
  426. opacity: 0;
  427. background: none;
  428. font-size: 0;
  429. }
  430. #upload .filelist div.file-panel {
  431. position: absolute;
  432. height: 0;
  433. filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
  434. background: rgba(0, 0, 0, 0.5);
  435. width: 100%;
  436. top: 0;
  437. left: 0;
  438. overflow: hidden;
  439. z-index: 300;
  440. }
  441. #upload .filelist div.file-panel span {
  442. width: 24px;
  443. height: 24px;
  444. display: inline;
  445. float: right;
  446. text-indent: -9999px;
  447. overflow: hidden;
  448. background: url(./images/icons.png) no-repeat;
  449. background: url(./images/icons.gif) no-repeat \9;
  450. margin: 5px 1px 1px;
  451. cursor: pointer;
  452. -webkit-tap-highlight-color: rgba(0,0,0,0);
  453. -webkit-user-select: none;
  454. -moz-user-select: none;
  455. -ms-user-select: none;
  456. user-select: none;
  457. }
  458. #upload .filelist div.file-panel span.rotateLeft {
  459. display:none;
  460. background-position: 0 -24px;
  461. }
  462. #upload .filelist div.file-panel span.rotateLeft:hover {
  463. background-position: 0 0;
  464. }
  465. #upload .filelist div.file-panel span.rotateRight {
  466. display:none;
  467. background-position: -24px -24px;
  468. }
  469. #upload .filelist div.file-panel span.rotateRight:hover {
  470. background-position: -24px 0;
  471. }
  472. #upload .filelist div.file-panel span.cancel {
  473. background-position: -48px -24px;
  474. }
  475. #upload .filelist div.file-panel span.cancel:hover {
  476. background-position: -48px 0;
  477. }
  478. #upload .statusBar {
  479. height: 45px;
  480. border-bottom: 1px solid #dadada;
  481. margin: 0 10px;
  482. padding: 0;
  483. line-height: 45px;
  484. vertical-align: middle;
  485. position: relative;
  486. }
  487. #upload .statusBar .progress {
  488. border: 1px solid #1483d8;
  489. width: 198px;
  490. background: #fff;
  491. height: 18px;
  492. position: absolute;
  493. top: 12px;
  494. display: none;
  495. text-align: center;
  496. line-height: 18px;
  497. color: #6dbfff;
  498. margin: 0 10px 0 0;
  499. }
  500. #upload .statusBar .progress span.percentage {
  501. width: 0;
  502. height: 100%;
  503. left: 0;
  504. top: 0;
  505. background: #1483d8;
  506. position: absolute;
  507. }
  508. #upload .statusBar .progress span.text {
  509. position: relative;
  510. z-index: 10;
  511. }
  512. #upload .statusBar .info {
  513. display: inline-block;
  514. font-size: 14px;
  515. color: #666666;
  516. }
  517. #upload .statusBar .btns {
  518. position: absolute;
  519. top: 7px;
  520. right: 0;
  521. line-height: 30px;
  522. }
  523. /*widuu*/
  524. #imageList .selected div.file-panel {
  525. position: absolute;
  526. height: 30px;
  527. filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
  528. background: rgba(0, 0, 0, 0.5);
  529. width: 100%;
  530. top: 0;
  531. left: 0;
  532. overflow: hidden;
  533. z-index: 300;
  534. }
  535. #imageList .selected div.file-panel span {
  536. width: 24px;
  537. height: 24px;
  538. display: inline;
  539. float: right;
  540. text-indent: -9999px;
  541. overflow: hidden;
  542. background: url(./images/icons.png) no-repeat;
  543. background: url(./images/icons.gif) no-repeat \9;
  544. margin: 5px 1px 1px;
  545. cursor: pointer;
  546. -webkit-tap-highlight-color: rgba(0,0,0,0);
  547. -webkit-user-select: none;
  548. -moz-user-select: none;
  549. -ms-user-select: none;
  550. user-select: none;
  551. }
  552. #imageList .list div.file-panel span.cancel {
  553. background-position: -48px -24px;
  554. }
  555. #imageList .list div.file-panel span.cancel:hover {
  556. background-position: -48px 0;
  557. }
  558. .custom_error{
  559. background: #f43838!important;
  560. text-align: center;
  561. line-height: 30px;
  562. color: #ffffff;
  563. }
  564. /*end widuu*/
  565. #filePickerBtn {
  566. display: inline-block;
  567. float: left;
  568. }
  569. #upload .statusBar .btns .webuploader-pick,
  570. #upload .statusBar .btns .uploadBtn,
  571. #upload .statusBar .btns .uploadBtn.state-uploading,
  572. #upload .statusBar .btns .uploadBtn.state-paused {
  573. background: #ffffff;
  574. border: 1px solid #cfcfcf;
  575. color: #565656;
  576. padding: 0 18px;
  577. display: inline-block;
  578. border-radius: 3px;
  579. margin-left: 10px;
  580. cursor: pointer;
  581. font-size: 14px;
  582. float: left;
  583. -webkit-user-select: none;
  584. -moz-user-select: none;
  585. -ms-user-select: none;
  586. user-select: none;
  587. }
  588. #upload .statusBar .btns .webuploader-pick-hover,
  589. #upload .statusBar .btns .uploadBtn:hover,
  590. #upload .statusBar .btns .uploadBtn.state-uploading:hover,
  591. #upload .statusBar .btns .uploadBtn.state-paused:hover {
  592. background: #f0f0f0;
  593. }
  594. #upload .statusBar .btns .uploadBtn,
  595. #upload .statusBar .btns .uploadBtn.state-paused{
  596. background: #00b7ee;
  597. color: #fff;
  598. border-color: transparent;
  599. }
  600. #upload .statusBar .btns .uploadBtn:hover,
  601. #upload .statusBar .btns .uploadBtn.state-paused:hover{
  602. background: #00a2d4;
  603. }
  604. #upload .statusBar .btns .uploadBtn.disabled {
  605. pointer-events: none;
  606. filter:alpha(opacity=60);
  607. -moz-opacity:0.6;
  608. -khtml-opacity: 0.6;
  609. opacity: 0.6;
  610. }
  611. /* 图片管理样式 */
  612. #online {
  613. width: 100%;
  614. height: 336px;
  615. padding: 10px 0 0 0;
  616. }
  617. #online #imageList{
  618. width: 100%;
  619. height: 100%;
  620. overflow-x: hidden;
  621. overflow-y: auto;
  622. position: relative;
  623. }
  624. #online ul {
  625. display: block;
  626. list-style: none;
  627. margin: 0;
  628. padding: 0;
  629. }
  630. #online li {
  631. float: left;
  632. display: block;
  633. list-style: none;
  634. padding: 0;
  635. width: 113px;
  636. height: 113px;
  637. margin: 0 0 9px 9px;
  638. *margin: 0 0 6px 6px;
  639. background-color: #eee;
  640. overflow: hidden;
  641. cursor: pointer;
  642. position: relative;
  643. }
  644. #online li.clearFloat {
  645. float: none;
  646. clear: both;
  647. display: block;
  648. width:0;
  649. height:0;
  650. margin: 0;
  651. padding: 0;
  652. }
  653. #online li img {
  654. cursor: pointer;
  655. }
  656. #online li .icon {
  657. cursor: pointer;
  658. width: 113px;
  659. height: 113px;
  660. position: absolute;
  661. top: 0;
  662. left: 0;
  663. z-index: 2;
  664. border: 0;
  665. background-repeat: no-repeat;
  666. }
  667. #online li .icon:hover {
  668. width: 107px;
  669. height: 107px;
  670. border: 3px solid #1094fa;
  671. }
  672. #online li.selected .icon {
  673. background-image: url(images/success.png);
  674. background-image: url(images/success.gif)\9;
  675. background-position: 75px 75px;
  676. }
  677. #online li.selected .icon:hover {
  678. width: 107px;
  679. height: 107px;
  680. border: 3px solid #1094fa;
  681. background-position: 72px 72px;
  682. }
  683. /* 图片搜索样式 */
  684. #search .searchBar {
  685. width: 100%;
  686. height: 30px;
  687. margin: 10px 0 5px 0;
  688. padding: 0;
  689. }
  690. #search input.text{
  691. width: 150px;
  692. padding: 3px 6px;
  693. font-size: 14px;
  694. line-height: 1.42857143;
  695. color: #555;
  696. background-color: #fff;
  697. background-image: none;
  698. border: 1px solid #ccc;
  699. border-radius: 4px;
  700. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  701. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  702. -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  703. transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  704. }
  705. #search input.text:focus {
  706. border-color: #66afe9;
  707. outline: 0;
  708. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  709. box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  710. }
  711. #search input.searchTxt {
  712. margin-left:5px;
  713. padding-left: 5px;
  714. background: #FFF;
  715. width: 300px;
  716. *width: 260px;
  717. height: 21px;
  718. line-height: 21px;
  719. float: left;
  720. dislay: block;
  721. }
  722. #search .searchType {
  723. width: 65px;
  724. height: 28px;
  725. padding:0;
  726. line-height: 28px;
  727. border: 1px solid #d7d7d7;
  728. border-radius: 0;
  729. vertical-align: top;
  730. margin-left: 5px;
  731. float: left;
  732. dislay: block;
  733. }
  734. #search #searchBtn,
  735. #search #searchReset {
  736. display: inline-block;
  737. margin-bottom: 0;
  738. margin-right: 5px;
  739. padding: 4px 10px;
  740. font-weight: 400;
  741. text-align: center;
  742. vertical-align: middle;
  743. cursor: pointer;
  744. background-image: none;
  745. border: 1px solid transparent;
  746. white-space: nowrap;
  747. font-size: 14px;
  748. border-radius: 4px;
  749. -webkit-user-select: none;
  750. -moz-user-select: none;
  751. -ms-user-select: none;
  752. user-select: none;
  753. vertical-align: top;
  754. float: right;
  755. }
  756. #search #searchBtn {
  757. color: white;
  758. border-color: #285e8e;
  759. background-color: #3b97d7;
  760. }
  761. #search #searchReset {
  762. color: #333;
  763. border-color: #ccc;
  764. background-color: #fff;
  765. }
  766. #search #searchBtn:hover {
  767. background-color: #3276b1;
  768. }
  769. #search #searchReset:hover {
  770. background-color: #eee;
  771. }
  772. #search .msg {
  773. margin-left: 5px;
  774. }
  775. #search .searchList{
  776. width: 100%;
  777. height: 300px;
  778. overflow: hidden;
  779. clear: both;
  780. }
  781. #search .searchList ul{
  782. margin:0;
  783. padding:0;
  784. list-style:none;
  785. clear: both;
  786. width: 100%;
  787. height: 100%;
  788. overflow-x: hidden;
  789. overflow-y: auto;
  790. zoom: 1;
  791. position: relative;
  792. }
  793. #search .searchList li {
  794. list-style:none;
  795. float: left;
  796. display: block;
  797. width: 115px;
  798. margin: 5px 10px 5px 20px;
  799. *margin: 5px 10px 5px 15px;
  800. padding:0;
  801. font-size: 12px;
  802. box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  803. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  804. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  805. position: relative;
  806. vertical-align: top;
  807. text-align: center;
  808. overflow: hidden;
  809. cursor: pointer;
  810. filter: alpha(Opacity=100);
  811. -moz-opacity: 1;
  812. opacity: 1;
  813. border: 2px solid #eee;
  814. }
  815. #search .searchList li.selected {
  816. filter: alpha(Opacity=40);
  817. -moz-opacity: 0.4;
  818. opacity: 0.4;
  819. border: 2px solid #00a0e9;
  820. }
  821. #search .searchList li p {
  822. background-color: #eee;
  823. margin: 0;
  824. padding: 0;
  825. position: relative;
  826. width:100%;
  827. height:115px;
  828. overflow: hidden;
  829. }
  830. #search .searchList li p img {
  831. cursor: pointer;
  832. border: 0;
  833. }
  834. #search .searchList li a {
  835. color: #999;
  836. border-top: 1px solid #F2F2F2;
  837. background: #FAFAFA;
  838. text-align: center;
  839. display: block;
  840. padding: 0 5px;
  841. width: 105px;
  842. height:32px;
  843. line-height:32px;
  844. white-space:nowrap;
  845. text-overflow:ellipsis;
  846. text-decoration: none;
  847. overflow: hidden;
  848. word-break: break-all;
  849. }
  850. #search .searchList a:hover {
  851. text-decoration: underline;
  852. color: #333;
  853. }
  854. #search .searchList .clearFloat{
  855. clear: both;
  856. }