mobiscroll.frame.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. .dw,
  2. .dwo {
  3. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  4. }
  5. .dw {
  6. max-width: 98%;
  7. position: absolute;
  8. top: 0;
  9. left: 0;
  10. z-index: 2;
  11. font-size: 12px;
  12. text-shadow: none;
  13. -webkit-user-select: none;
  14. -moz-user-select: none;
  15. -ms-user-select: none;
  16. -ms-touch-action: none;
  17. user-select: none;
  18. /*touch-action: none;*/ /* Kills native scroll in Chrome >=35 */
  19. }
  20. .dw:focus {
  21. /*outline-color: transparent;*/
  22. outline: none;
  23. }
  24. .dw :focus {
  25. outline-offset: -2px;
  26. }
  27. .dw-rtl {
  28. direction: rtl;
  29. }
  30. /* Box sizing */
  31. .dw,
  32. .dwbc {
  33. -webkit-box-sizing: border-box;
  34. -moz-box-sizing: border-box;
  35. box-sizing: border-box;
  36. }
  37. .dwwr {
  38. min-width: 170px;
  39. zoom: 1;
  40. overflow: hidden;
  41. text-align: center;
  42. font-family: arial, verdana, sans-serif;
  43. }
  44. /* Modal overlay */
  45. .dw-persp,
  46. .dwo {
  47. width: 100%;
  48. height: 100%;
  49. position: absolute;
  50. top: 0;
  51. left: 0;
  52. }
  53. .dw-persp {
  54. z-index: 99998;
  55. }
  56. .dwo {
  57. z-index: 1;
  58. background: #000;
  59. background: rgba(0,0,0,.7);
  60. filter: Alpha(Opacity=70);
  61. }
  62. /* Liquid mode */
  63. .dw-liq .dw {
  64. max-width: 100%;
  65. }
  66. /* Top/Bottom mode */
  67. .dw-top .dw,
  68. .dw-bottom .dw {
  69. width: 100%;
  70. max-width: 100%;
  71. }
  72. /* Inline mode */
  73. .dw-inline .dw {
  74. position: static;
  75. display: inline-block;
  76. max-width: 100%;
  77. }
  78. .dw-inline.dw-liq .dw-persp .dw {
  79. display: block;
  80. }
  81. .dw-inline .dw-persp {
  82. position: static;
  83. }
  84. /* Bubble mode */
  85. .dw-bubble .dw {
  86. margin: 20px 0;
  87. }
  88. .dw-bubble .dw-arrw {
  89. position: absolute;
  90. left: 0;
  91. width: 100%;
  92. }
  93. .dw-bubble-top .dw-arrw {
  94. bottom: -36px;
  95. }
  96. .dw-bubble-bottom .dw-arrw {
  97. top: -36px;
  98. }
  99. .dw-bubble .dw-arrw-i {
  100. margin: 0 30px;
  101. position: relative;
  102. height: 36px;
  103. }
  104. .dw-bubble .dw-arr {
  105. display: block;
  106. }
  107. .dw-arr {
  108. display: none;
  109. position: absolute;
  110. left: 0;
  111. width: 0;
  112. height: 0;
  113. border-width: 18px 18px;
  114. border-style: solid;
  115. margin-left: -18px;
  116. }
  117. .dw-bubble-bottom .dw-arr {
  118. top: 0;
  119. }
  120. .dw-bubble-top .dw-arr {
  121. bottom: 0;
  122. }
  123. .dw-hidden {
  124. width: 0;
  125. height: 0;
  126. margin: 0;
  127. padding: 0;
  128. border: 0;
  129. overflow: hidden;
  130. }
  131. /* Header */
  132. .dwv {
  133. overflow: hidden;
  134. text-overflow: ellipsis;
  135. }
  136. /* Buttons */
  137. .dwb {
  138. overflow: hidden;
  139. display: block;
  140. text-decoration: none;
  141. white-space: nowrap;
  142. text-overflow: ellipsis;
  143. vertical-align: top;
  144. }
  145. .dwb-e {
  146. cursor: pointer;
  147. }
  148. .dwb-d {
  149. cursor: default;
  150. }
  151. /* Button container */
  152. .dwbc {
  153. display: table;
  154. width: 100%;
  155. text-align: center;
  156. }
  157. /* Button wrapper */
  158. .dwbw {
  159. vertical-align: top;
  160. display: table-cell;
  161. position: relative;
  162. z-index: 5;
  163. }
  164. .dwbw .dwb:before {
  165. padding: .375em;
  166. }
  167. /* Widget content styling */
  168. .mbsc-wdg .dwcc {
  169. padding: .5em 1em;
  170. font-size: 14px;
  171. text-align: left;
  172. white-space: normal;
  173. }
  174. /* Default theme */
  175. .mbsc-mobiscroll .dwwr {
  176. min-width: 220px;
  177. background: #f7f7f7;
  178. color: #454545;
  179. font-size: 16px;
  180. }
  181. .mbsc-mobiscroll .dwv {
  182. padding: 0 .6666em;
  183. padding-top: .6666em;
  184. color: #4eccc4;
  185. font-size: .75em;
  186. text-transform: uppercase;
  187. min-height: 2em;
  188. line-height: 2em;
  189. }
  190. .mbsc-mobiscroll .dwbc {
  191. display: block;
  192. overflow: hidden;
  193. text-align: right;
  194. padding: 0 .5em .5em .5em;
  195. }
  196. .mbsc-mobiscroll .dwbw {
  197. display: block;
  198. float: right;
  199. }
  200. .mbsc-mobiscroll .dw-rtl .dwbw {
  201. float: left;
  202. }
  203. .mbsc-mobiscroll .dwb {
  204. height: 2.5em;
  205. line-height: 2.5em;
  206. padding: 0 1em;
  207. color: #4eccc4;
  208. text-transform: uppercase;
  209. }
  210. .mbsc-mobiscroll .dwb-a {
  211. background: rgba(78,204,196,.3);
  212. }
  213. .mbsc-mobiscroll .dw-bubble-bottom .dw-arr {
  214. border-color: transparent transparent #f7f7f7 transparent;
  215. }
  216. .mbsc-mobiscroll .dw-bubble-top .dw-arr {
  217. border-color: #f7f7f7 transparent transparent transparent;
  218. }