ui-dialog.css 9.7 KB

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