ui-dialog.css 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. /*!
  2. * ui-dialog.css
  3. * Date: 2014-07-03
  4. * https://github.com/aui/artDialog
  5. * (c) 2009-2014 TangBin, http://www.planeArt.cn
  6. *
  7. * This is licensed under the GNU LGPL, version 2.1 or later.
  8. * For details, see: http://www.gnu.org/licenses/lgpl-2.1.html
  9. */
  10. .ui-dialog {
  11. *zoom:1;
  12. _float: left;
  13. position: relative;
  14. background-color: #FFF;
  15. /*border: 1px solid #999;*/
  16. border-radius: 6px;
  17. outline: 0;
  18. background-clip: padding-box;
  19. font-family: Helvetica, arial, sans-serif;
  20. font-size: 14px;
  21. line-height: 1.428571429;
  22. color: #333;
  23. opacity: 0;
  24. -webkit-transform: scale(0);
  25. transform: scale(0);
  26. -webkit-transition: -webkit-transform .15s ease-in-out, opacity .15s ease-in-out;
  27. transition: transform .15s ease-in-out, opacity .15s ease-in-out;
  28. overflow: hidden;
  29. }
  30. .ui-popup-show .ui-dialog {
  31. opacity: 1;
  32. -webkit-transform: scale(1);
  33. transform: scale(1);
  34. }
  35. .ui-popup-focus .ui-dialog {
  36. box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  37. }
  38. .ui-popup-modal .ui-dialog {
  39. box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 0 0 256px rgba(255, 255, 255, .3);
  40. }
  41. .ui-dialog-grid {
  42. width: auto;
  43. margin: 0;
  44. border: 0 none;
  45. border-collapse:collapse;
  46. border-spacing: 0;
  47. background: transparent;
  48. }
  49. .ui-dialog-header,
  50. .ui-dialog-body,
  51. .ui-dialog-footer {
  52. padding: 0;
  53. border: 0 none;
  54. text-align: left;
  55. background: transparent;
  56. }
  57. .ui-dialog-header {
  58. white-space: nowrap;
  59. border-bottom: 1px solid #E5E5E5;
  60. background-color:#5e73b2;
  61. }
  62. .ui-dialog-close {
  63. position: relative;
  64. _position: absolute;
  65. float: right;
  66. top: 6px;
  67. right: 6px;
  68. _height: 26px;
  69. padding: 0 4px;
  70. font-size: 21px;
  71. /*font-weight: bold;*/
  72. line-height: 1;
  73. color: #fff;
  74. /*text-shadow: 0 1px 0 #FFF;*/
  75. opacity: 1;
  76. filter: alpha(opacity=20);
  77. cursor: pointer;
  78. background: transparent;
  79. _background: #FFF;
  80. border: 0;
  81. -webkit-appearance: none;
  82. }
  83. .ui-dialog-close:hover,
  84. .ui-dialog-close:focus {
  85. color: #fff;
  86. text-decoration: none;
  87. cursor: pointer;
  88. outline: 0;
  89. opacity: 0.5;
  90. filter: alpha(opacity=50);
  91. }
  92. .ui-dialog-title {
  93. margin: 0;
  94. line-height: 1.428571429;
  95. min-height: 16.428571429px;
  96. padding: 6px 15px;
  97. overflow:hidden;
  98. white-space: nowrap;
  99. text-overflow: ellipsis;
  100. font-weight: bold;
  101. cursor: default;
  102. color: #fff;
  103. }
  104. .ui-dialog-body {
  105. padding: 20px;
  106. text-align: center;
  107. }
  108. .ui-dialog-content {
  109. display: inline-block;
  110. position: relative;
  111. vertical-align: middle;
  112. *zoom: 1;
  113. *display: inline;
  114. text-align: center;
  115. }
  116. .ui-dialog-footer {
  117. padding: 0 20px 20px 20px;
  118. }
  119. .ui-dialog-statusbar {
  120. float: left;
  121. margin-right: 20px;
  122. padding: 6px 0;
  123. line-height: 1.428571429;
  124. font-size: 14px;
  125. color: #888;
  126. white-space: nowrap;
  127. }
  128. .ui-dialog-statusbar label:hover {
  129. color: #333;
  130. }
  131. .ui-dialog-statusbar input,
  132. .ui-dialog-statusbar .label {
  133. vertical-align: middle;
  134. }
  135. .ui-dialog-button {
  136. /*float: right;*/
  137. white-space: nowrap;
  138. text-align: center;
  139. }
  140. .ui-dialog-footer button+button {
  141. margin-bottom: 0;
  142. margin-left: 5px;
  143. }
  144. .ui-dialog-footer button {
  145. width:auto;
  146. border: none;
  147. outline: none;
  148. overflow:visible;
  149. display: inline-block;
  150. padding: 3px 25px;
  151. _margin-left: 5px;
  152. margin-bottom: 0;
  153. font-size: 16px;
  154. font-weight: normal;
  155. line-height: 1.428571429;
  156. text-align: center;
  157. white-space: nowrap;
  158. vertical-align: middle;
  159. cursor: pointer;
  160. background-image: none;
  161. border: 1px solid transparent;
  162. border-radius: 6px;
  163. height: auto;
  164. width: auto;
  165. margin: 0 10px;
  166. outline: none;
  167. font-family: "Microsoft Yahei";
  168. -webkit-user-select: none;
  169. -moz-user-select: none;
  170. -ms-user-select: none;
  171. -o-user-select: none;
  172. user-select: none;
  173. }
  174. .ui-dialog-footer button:focus {
  175. outline: thin dotted #333;
  176. outline: 5px auto -webkit-focus-ring-color;
  177. outline-offset: -2px;
  178. }
  179. .ui-dialog-footer button:hover,
  180. .ui-dialog-footer button:focus {
  181. color: #333333;
  182. text-decoration: none;
  183. }
  184. .ui-dialog-footer button:active {
  185. background-image: none;
  186. outline: 0;
  187. -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  188. box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  189. }
  190. .ui-dialog-footer button[disabled] {
  191. pointer-events: none;
  192. cursor: not-allowed;
  193. opacity: 0.65;
  194. filter: alpha(opacity=65);
  195. -webkit-box-shadow: none;
  196. box-shadow: none;
  197. }
  198. .ui-dialog-footer button {
  199. color: #333;
  200. background-color: #eee;
  201. /*border-color: #cccccc;*/
  202. }
  203. .ui-dialog-footer button:hover,
  204. .ui-dialog-footer button:focus,
  205. .ui-dialog-footer button:active {
  206. color: #333333;
  207. background-color: #ebebeb;
  208. /*border-color: #adadad;*/
  209. }
  210. .ui-dialog-footer button:active{
  211. background-image: none;
  212. }
  213. .ui-dialog-footer button[disabled],
  214. .ui-dialog-footer button[disabled]:hover,
  215. .ui-dialog-footer button[disabled]:focus,
  216. .ui-dialog-footer button[disabled]:active {
  217. background-color: #ffffff;
  218. /*border-color: #cccccc;*/
  219. }
  220. .ui-dialog-footer button.ui-dialog-autofocus {
  221. color: #ffffff;
  222. background-color: #5e73b2;
  223. outline: none;
  224. }
  225. .ui-dialog-footer button.ui-dialog-autofocus:hover,
  226. .ui-dialog-footer button.ui-dialog-autofocus:focus,
  227. .ui-dialog-footer button.ui-dialog-autofocus:active {
  228. color: #ffffff;
  229. background-color: #5e73b2;
  230. outline: none;
  231. }
  232. .ui-dialog-footer button.ui-dialog-autofocus:active {
  233. background-image: none;
  234. }
  235. .ui-popup-top-left .ui-dialog,
  236. .ui-popup-top .ui-dialog,
  237. .ui-popup-top-right .ui-dialog {
  238. top: -8px;
  239. }
  240. .ui-popup-bottom-left .ui-dialog,
  241. .ui-popup-bottom .ui-dialog,
  242. .ui-popup-bottom-right .ui-dialog {
  243. top: 8px;
  244. }
  245. .ui-popup-left-top .ui-dialog,
  246. .ui-popup-left .ui-dialog,
  247. .ui-popup-left-bottom .ui-dialog {
  248. left: -8px;
  249. }
  250. .ui-popup-right-top .ui-dialog,
  251. .ui-popup-right .ui-dialog,
  252. .ui-popup-right-bottom .ui-dialog {
  253. left: 8px;
  254. }
  255. .ui-dialog-arrow-a,
  256. .ui-dialog-arrow-b {
  257. position: absolute;
  258. display: none;
  259. width: 0;
  260. height: 0;
  261. overflow:hidden;
  262. _color:#FF3FFF;
  263. _filter:chroma(color=#FF3FFF);
  264. border:8px dashed transparent;
  265. }
  266. .ui-popup-follow .ui-dialog-arrow-a,
  267. .ui-popup-follow .ui-dialog-arrow-b{
  268. display: block;
  269. }
  270. .ui-popup-top-left .ui-dialog-arrow-a,
  271. .ui-popup-top .ui-dialog-arrow-a,
  272. .ui-popup-top-right .ui-dialog-arrow-a {
  273. bottom: -16px;
  274. border-top:8px solid #7C7C7C;
  275. }
  276. .ui-popup-top-left .ui-dialog-arrow-b,
  277. .ui-popup-top .ui-dialog-arrow-b,
  278. .ui-popup-top-right .ui-dialog-arrow-b {
  279. bottom: -15px;
  280. border-top:8px solid #fff;
  281. }
  282. .ui-popup-top-left .ui-dialog-arrow-a,
  283. .ui-popup-top-left .ui-dialog-arrow-b {
  284. left: 15px;
  285. }
  286. .ui-popup-top .ui-dialog-arrow-a,
  287. .ui-popup-top .ui-dialog-arrow-b {
  288. left: 50%;
  289. margin-left: -8px;
  290. }
  291. .ui-popup-top-right .ui-dialog-arrow-a,
  292. .ui-popup-top-right .ui-dialog-arrow-b {
  293. right: 15px;
  294. }
  295. .ui-popup-bottom-left .ui-dialog-arrow-a,
  296. .ui-popup-bottom .ui-dialog-arrow-a,
  297. .ui-popup-bottom-right .ui-dialog-arrow-a {
  298. top: -16px;
  299. border-bottom:8px solid #7C7C7C;
  300. }
  301. .ui-popup-bottom-left .ui-dialog-arrow-b,
  302. .ui-popup-bottom .ui-dialog-arrow-b,
  303. .ui-popup-bottom-right .ui-dialog-arrow-b {
  304. top: -15px;
  305. border-bottom:8px solid #fff;
  306. }
  307. .ui-popup-bottom-left .ui-dialog-arrow-a,
  308. .ui-popup-bottom-left .ui-dialog-arrow-b {
  309. left: 15px;
  310. }
  311. .ui-popup-bottom .ui-dialog-arrow-a,
  312. .ui-popup-bottom .ui-dialog-arrow-b {
  313. margin-left: -8px;
  314. left: 50%;
  315. }
  316. .ui-popup-bottom-right .ui-dialog-arrow-a,
  317. .ui-popup-bottom-right .ui-dialog-arrow-b {
  318. right: 15px;
  319. }
  320. .ui-popup-left-top .ui-dialog-arrow-a,
  321. .ui-popup-left .ui-dialog-arrow-a,
  322. .ui-popup-left-bottom .ui-dialog-arrow-a {
  323. right: -16px;
  324. border-left:8px solid #7C7C7C;
  325. }
  326. .ui-popup-left-top .ui-dialog-arrow-b,
  327. .ui-popup-left .ui-dialog-arrow-b,
  328. .ui-popup-left-bottom .ui-dialog-arrow-b {
  329. right: -15px;
  330. border-left:8px solid #fff;
  331. }
  332. .ui-popup-left-top .ui-dialog-arrow-a,
  333. .ui-popup-left-top .ui-dialog-arrow-b {
  334. top: 15px;
  335. }
  336. .ui-popup-left .ui-dialog-arrow-a,
  337. .ui-popup-left .ui-dialog-arrow-b {
  338. margin-top: -8px;
  339. top: 50%;
  340. }
  341. .ui-popup-left-bottom .ui-dialog-arrow-a,
  342. .ui-popup-left-bottom .ui-dialog-arrow-b {
  343. bottom: 15px;
  344. }
  345. .ui-popup-right-top .ui-dialog-arrow-a,
  346. .ui-popup-right .ui-dialog-arrow-a,
  347. .ui-popup-right-bottom .ui-dialog-arrow-a {
  348. left: -16px;
  349. border-right:8px solid #7C7C7C;
  350. }
  351. .ui-popup-right-top .ui-dialog-arrow-b,
  352. .ui-popup-right .ui-dialog-arrow-b,
  353. .ui-popup-right-bottom .ui-dialog-arrow-b {
  354. left: -15px;
  355. border-right:8px solid #fff;
  356. }
  357. .ui-popup-right-top .ui-dialog-arrow-a,
  358. .ui-popup-right-top .ui-dialog-arrow-b {
  359. top: 15px;
  360. }
  361. .ui-popup-right .ui-dialog-arrow-a,
  362. .ui-popup-right .ui-dialog-arrow-b {
  363. margin-top: -8px;
  364. top: 50%;
  365. }
  366. .ui-popup-right-bottom .ui-dialog-arrow-a,
  367. .ui-popup-right-bottom .ui-dialog-arrow-b {
  368. bottom: 15px;
  369. }
  370. @-webkit-keyframes ui-dialog-loading {
  371. 0% {
  372. -webkit-transform: rotate(0deg);
  373. }
  374. 100% {
  375. -webkit-transform: rotate(360deg);
  376. }
  377. }
  378. @keyframes ui-dialog-loading {
  379. 0% {
  380. transform: rotate(0deg);
  381. }
  382. 100% {
  383. transform: rotate(360deg);
  384. }
  385. }
  386. .ui-dialog-loading {
  387. vertical-align: middle;
  388. position: relative;
  389. display: block;
  390. *zoom: 1;
  391. *display: inline;
  392. overflow: hidden;
  393. width: 32px;
  394. height: 32px;
  395. top: 50%;
  396. margin: -16px auto 0 auto;
  397. font-size: 0;
  398. text-indent: -999em;
  399. color: #666;
  400. }
  401. .ui-dialog-loading {
  402. width: 100%\9;
  403. text-indent: 0\9;
  404. line-height: 32px\9;
  405. text-align: center\9;
  406. font-size: 12px\9;
  407. }
  408. .ui-dialog-loading::after {
  409. position: absolute;
  410. content: '';
  411. width: 3px;
  412. height: 3px;
  413. margin: 14.5px 0 0 14.5px;
  414. border-radius: 100%;
  415. box-shadow: 0 -10px 0 1px #ccc, 10px 0px #ccc, 0 10px #ccc, -10px 0 #ccc, -7px -7px 0 0.5px #ccc, 7px -7px 0 1.5px #ccc, 7px 7px #ccc, -7px 7px #ccc;
  416. -webkit-transform: rotate(360deg);
  417. -webkit-animation: ui-dialog-loading 1.5s infinite linear;
  418. transform: rotate(360deg);
  419. animation: ui-dialog-loading 1.5s infinite linear;
  420. display: none\9;
  421. }