_jqueryui.scss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. /* jQuery Ui */
  2. .ui-draggable-handle {
  3. -ms-touch-action: none;
  4. touch-action: none;
  5. }
  6. .ui-helper-hidden {
  7. display: none;
  8. }
  9. .ui-helper-hidden-accessible {
  10. border: 0;
  11. clip: rect(0 0 0 0);
  12. height: 1px;
  13. margin: -1px;
  14. overflow: hidden;
  15. padding: 0;
  16. position: absolute;
  17. width: 1px;
  18. }
  19. .ui-helper-reset {
  20. margin: 0;
  21. padding: 0;
  22. border: 0;
  23. outline: 0;
  24. line-height: 1.3;
  25. text-decoration: none;
  26. font-size: 100%;
  27. list-style: none;
  28. }
  29. .ui-helper-clearfix {
  30. &:after, &:before {
  31. content: "";
  32. display: table;
  33. border-collapse: collapse;
  34. }
  35. &:after {
  36. clear: both;
  37. }
  38. }
  39. .ui-helper-zfix {
  40. width: 100%;
  41. height: 100%;
  42. top: 0;
  43. left: 0;
  44. position: absolute;
  45. opacity: 0;
  46. filter: Alpha(Opacity = 0);
  47. }
  48. .ui-front {
  49. z-index: 100;
  50. }
  51. .ui-state-disabled {
  52. cursor: default !important;
  53. pointer-events: none;
  54. }
  55. .ui-icon {
  56. display: inline-block;
  57. vertical-align: middle;
  58. margin-top: -.25em;
  59. position: relative;
  60. text-indent: -99999px;
  61. overflow: hidden;
  62. background-repeat: no-repeat;
  63. }
  64. .ui-widget-icon-block {
  65. left: 50%;
  66. margin-left: -8px;
  67. display: block;
  68. }
  69. .ui-widget-overlay {
  70. position: fixed;
  71. top: 0;
  72. left: 0;
  73. width: 100%;
  74. height: 100%;
  75. }
  76. .ui-resizable {
  77. position: relative;
  78. }
  79. .ui-resizable-handle {
  80. position: absolute;
  81. font-size: .1px;
  82. display: block;
  83. -ms-touch-action: none;
  84. touch-action: none;
  85. }
  86. .ui-resizable-autohide .ui-resizable-handle, .ui-resizable-disabled .ui-resizable-handle {
  87. display: none;
  88. }
  89. .ui-resizable-n {
  90. cursor: n-resize;
  91. height: 7px;
  92. width: 100%;
  93. top: -5px;
  94. left: 0;
  95. }
  96. .ui-resizable-s {
  97. cursor: s-resize;
  98. height: 7px;
  99. width: 100%;
  100. bottom: -5px;
  101. left: 0;
  102. }
  103. .ui-resizable-e {
  104. cursor: e-resize;
  105. width: 7px;
  106. right: -5px;
  107. top: 0;
  108. height: 100%;
  109. }
  110. .ui-resizable-w {
  111. cursor: w-resize;
  112. width: 7px;
  113. left: -5px;
  114. top: 0;
  115. height: 100%;
  116. }
  117. .ui-resizable-se {
  118. cursor: se-resize;
  119. width: 12px;
  120. height: 12px;
  121. right: 1px;
  122. bottom: 1px;
  123. }
  124. .ui-resizable-sw {
  125. cursor: sw-resize;
  126. width: 9px;
  127. height: 9px;
  128. left: -5px;
  129. bottom: -5px;
  130. }
  131. .ui-resizable-nw {
  132. cursor: nw-resize;
  133. width: 9px;
  134. height: 9px;
  135. left: -5px;
  136. top: -5px;
  137. }
  138. .ui-resizable-ne {
  139. cursor: ne-resize;
  140. width: 9px;
  141. height: 9px;
  142. right: -5px;
  143. top: -5px;
  144. }
  145. .ui-selectable {
  146. -ms-touch-action: none;
  147. touch-action: none;
  148. }
  149. .ui-selectable-helper {
  150. position: absolute;
  151. z-index: 100;
  152. border: 1px dotted #000;
  153. }
  154. .ui-sortable-handle {
  155. -ms-touch-action: none;
  156. touch-action: none;
  157. }
  158. .ui-slider {
  159. position: relative;
  160. text-align: left;
  161. background: #ddd;
  162. .ui-slider-handle {
  163. position: absolute;
  164. z-index: 2;
  165. width: 1em;
  166. height: 1em;
  167. cursor: default;
  168. -ms-touch-action: none;
  169. touch-action: none;
  170. }
  171. .ui-slider-range {
  172. position: absolute;
  173. z-index: 1;
  174. font-size: .7em;
  175. display: block;
  176. border: 0;
  177. background-position: 0 0;
  178. }
  179. &.ui-state-disabled {
  180. .ui-slider-handle, .ui-slider-range {
  181. filter: inherit;
  182. }
  183. }
  184. }
  185. .ui-slider-horizontal {
  186. height: .4em;
  187. .ui-slider-handle {
  188. top: -.4em;
  189. margin-left: -.6em;
  190. }
  191. .ui-slider-range {
  192. top: 0;
  193. height: 100%;
  194. }
  195. .ui-slider-range-min {
  196. left: 0;
  197. }
  198. .ui-slider-range-max {
  199. right: 0;
  200. }
  201. }
  202. .ui-slider-vertical {
  203. width: .8em;
  204. height: 100px;
  205. .ui-slider-handle {
  206. left: -.3em;
  207. margin-left: 0;
  208. margin-bottom: -.6em;
  209. }
  210. .ui-slider-range {
  211. left: 0;
  212. width: 100%;
  213. }
  214. .ui-slider-range-min {
  215. bottom: 0;
  216. }
  217. .ui-slider-range-max {
  218. top: 0;
  219. }
  220. }
  221. .ui-slider-handle {
  222. background: $white-color;
  223. background: -moz-linear-gradient(top, $white-color 0, #f7f7f7 100%);
  224. background: -webkit-gradient(linear, left top, left bottom, color-stop(0, $white-color), color-stop(100%, #f7f7f7));
  225. background: -webkit-linear-gradient(top, $white-color 0, #f7f7f7 100%);
  226. background: -o-linear-gradient(top, $white-color 0, #f7f7f7 100%);
  227. background: -ms-linear-gradient(top, $white-color 0, #f7f7f7 100%);
  228. background: linear-gradient(to bottom, $white-color 0, #f7f7f7 100%);
  229. border-radius: 50px;
  230. box-shadow: 0 1px 4px 0 #9191ab !important;
  231. &:focus {
  232. background: $white-color;
  233. background: -moz-linear-gradient(top, $white-color 0, #f7f7f7 100%);
  234. background: -webkit-gradient(linear, left top, left bottom, color-stop(0, $white-color), color-stop(100%, #f7f7f7));
  235. background: -webkit-linear-gradient(top, $white-color 0, #f7f7f7 100%);
  236. background: -o-linear-gradient(top, $white-color 0, #f7f7f7 100%);
  237. background: -ms-linear-gradient(top, $white-color 0, #f7f7f7 100%);
  238. background: linear-gradient(to bottom, $white-color 0, #f7f7f7 100%);
  239. border-radius: 50px;
  240. box-shadow: 0 1px 4px 0 #9191ab !important;
  241. }
  242. }