buttons.jqueryui.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. @keyframes dtb-spinner {
  2. 100% {
  3. transform: rotate(360deg);
  4. }
  5. }
  6. @-o-keyframes dtb-spinner {
  7. 100% {
  8. -o-transform: rotate(360deg);
  9. transform: rotate(360deg);
  10. }
  11. }
  12. @-ms-keyframes dtb-spinner {
  13. 100% {
  14. -ms-transform: rotate(360deg);
  15. transform: rotate(360deg);
  16. }
  17. }
  18. @-webkit-keyframes dtb-spinner {
  19. 100% {
  20. -webkit-transform: rotate(360deg);
  21. transform: rotate(360deg);
  22. }
  23. }
  24. @-moz-keyframes dtb-spinner {
  25. 100% {
  26. -moz-transform: rotate(360deg);
  27. transform: rotate(360deg);
  28. }
  29. }
  30. div.dt-button-info {
  31. position: fixed;
  32. top: 50%;
  33. left: 50%;
  34. width: 400px;
  35. margin-top: -100px;
  36. margin-left: -200px;
  37. background-color: white;
  38. border: 2px solid #111;
  39. box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  40. border-radius: 3px;
  41. text-align: center;
  42. z-index: 21;
  43. }
  44. div.dt-button-info h2 {
  45. padding: 0.5em;
  46. margin: 0;
  47. font-weight: normal;
  48. border-bottom: 1px solid #ddd;
  49. background-color: #f3f3f3;
  50. }
  51. div.dt-button-info > div {
  52. padding: 1em;
  53. }
  54. div.dt-buttons {
  55. position: relative;
  56. float: left;
  57. }
  58. div.dt-buttons .dt-button {
  59. margin-right: 0;
  60. }
  61. div.dt-buttons .dt-button span.ui-icon {
  62. display: inline-block;
  63. vertical-align: middle;
  64. margin-top: -2px;
  65. }
  66. div.dt-buttons .dt-button:active {
  67. outline: none;
  68. }
  69. div.dt-buttons .dt-button:hover > span {
  70. background-color: rgba(0, 0, 0, 0.05);
  71. }
  72. div.dt-button-collection {
  73. position: absolute;
  74. top: 0;
  75. left: 0;
  76. width: 150px;
  77. margin-top: 3px;
  78. padding: 8px 8px 4px 8px;
  79. border: 1px solid #ccc;
  80. border: 1px solid rgba(0, 0, 0, 0.4);
  81. background-color: #f3f3f3;
  82. background-color: rgba(255, 255, 255, 0.3);
  83. overflow: hidden;
  84. z-index: 2002;
  85. border-radius: 5px;
  86. box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  87. z-index: 2002;
  88. -webkit-column-gap: 8px;
  89. -moz-column-gap: 8px;
  90. -ms-column-gap: 8px;
  91. -o-column-gap: 8px;
  92. column-gap: 8px;
  93. -webkit-column-gap: 0;
  94. -moz-column-gap: 0;
  95. -ms-column-gap: 0;
  96. -o-column-gap: 0;
  97. column-gap: 0;
  98. }
  99. div.dt-button-collection .dt-button {
  100. position: relative;
  101. left: 0;
  102. right: 0;
  103. width: 100%;
  104. display: block;
  105. float: none;
  106. margin-right: 0;
  107. margin-bottom: 4px;
  108. }
  109. div.dt-button-collection .dt-button:hover > span {
  110. background-color: rgba(0, 0, 0, 0.05);
  111. }
  112. div.dt-button-collection.fixed {
  113. position: fixed;
  114. top: 50%;
  115. left: 50%;
  116. margin-left: -75px;
  117. border-radius: 0;
  118. }
  119. div.dt-button-collection.fixed.two-column {
  120. margin-left: -150px;
  121. }
  122. div.dt-button-collection.fixed.three-column {
  123. margin-left: -225px;
  124. }
  125. div.dt-button-collection.fixed.four-column {
  126. margin-left: -300px;
  127. }
  128. div.dt-button-collection > * {
  129. -webkit-column-break-inside: avoid;
  130. break-inside: avoid;
  131. }
  132. div.dt-button-collection.two-column {
  133. width: 300px;
  134. padding-bottom: 1px;
  135. -webkit-column-count: 2;
  136. -moz-column-count: 2;
  137. -ms-column-count: 2;
  138. -o-column-count: 2;
  139. column-count: 2;
  140. }
  141. div.dt-button-collection.three-column {
  142. width: 450px;
  143. padding-bottom: 1px;
  144. -webkit-column-count: 3;
  145. -moz-column-count: 3;
  146. -ms-column-count: 3;
  147. -o-column-count: 3;
  148. column-count: 3;
  149. }
  150. div.dt-button-collection.four-column {
  151. width: 600px;
  152. padding-bottom: 1px;
  153. -webkit-column-count: 4;
  154. -moz-column-count: 4;
  155. -ms-column-count: 4;
  156. -o-column-count: 4;
  157. column-count: 4;
  158. }
  159. div.dt-button-collection .dt-button {
  160. border-radius: 0;
  161. }
  162. div.dt-button-background {
  163. position: fixed;
  164. top: 0;
  165. left: 0;
  166. width: 100%;
  167. height: 100%;
  168. background: rgba(0, 0, 0, 0.7);
  169. /* Fallback */
  170. background: -ms-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  171. /* IE10 Consumer Preview */
  172. background: -moz-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  173. /* Firefox */
  174. background: -o-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  175. /* Opera */
  176. background: -webkit-gradient(radial, center center, 0, center center, 497, color-stop(0, rgba(0, 0, 0, 0.3)), color-stop(1, rgba(0, 0, 0, 0.7)));
  177. /* Webkit (Safari/Chrome 10) */
  178. background: -webkit-radial-gradient(center, ellipse farthest-corner, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  179. /* Webkit (Chrome 11+) */
  180. background: radial-gradient(ellipse farthest-corner at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  181. /* W3C Markup, IE10 Release Preview */
  182. z-index: 2001;
  183. }
  184. @media screen and (max-width: 640px) {
  185. div.dt-buttons {
  186. float: none !important;
  187. text-align: center;
  188. }
  189. }
  190. button.dt-button.processing,
  191. div.dt-button.processing,
  192. a.dt-button.processing {
  193. color: rgba(0, 0, 0, 0.2);
  194. }
  195. button.dt-button.processing:after,
  196. div.dt-button.processing:after,
  197. a.dt-button.processing:after {
  198. position: absolute;
  199. top: 50%;
  200. left: 50%;
  201. width: 16px;
  202. height: 16px;
  203. margin: -8px 0 0 -8px;
  204. box-sizing: border-box;
  205. display: block;
  206. content: ' ';
  207. border: 2px solid #282828;
  208. border-radius: 50%;
  209. border-left-color: transparent;
  210. border-right-color: transparent;
  211. animation: dtb-spinner 1500ms infinite linear;
  212. -o-animation: dtb-spinner 1500ms infinite linear;
  213. -ms-animation: dtb-spinner 1500ms infinite linear;
  214. -webkit-animation: dtb-spinner 1500ms infinite linear;
  215. -moz-animation: dtb-spinner 1500ms infinite linear;
  216. }