masterslider.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. /**
  2. * Master Slider
  3. * version 1.5.7
  4. * Core css file
  5. */
  6. .master-slider{
  7. position: relative;
  8. visibility: hidden;
  9. -moz-transform: translate3d(0 , 0 , 0);
  10. }
  11. .master-slider.ms-fullheight{height: 100%;}
  12. .ms-layout-partialview .ms-view {
  13. overflow: visible;
  14. background-color:transparent;
  15. }
  16. .ms-layout-partialview { overflow: hidden; }
  17. .master-slider.before-init{}
  18. .master-slider img {max-width:none;}
  19. .ms-ie img{border:none;}
  20. .ms-ie8 * {opacity:inherit;filter:inherit;}
  21. .ms-ie7 {zoom:1;}
  22. .ms-loading-container{
  23. position:absolute;
  24. width:100%;
  25. top:0;
  26. }
  27. .ms-loading-container .ms-loading,
  28. .ms-slide .ms-slide-loading {
  29. width: 36px;
  30. height: 36px;
  31. background: url(loading-2.gif) no-repeat center white;
  32. border-radius: 60px;
  33. box-shadow: 0px 0px 3px rgba(0,0,0,0.2);
  34. position: absolute;
  35. left: 50%;
  36. top: 50%;
  37. margin: -18px;
  38. opacity: 0.9;
  39. }
  40. /* grab cursor */
  41. .ms-def-cursor{cursor:auto !important;}
  42. .ms-grab-cursor{cursor: url("grab.png"), move;}
  43. .ms-grabbing-cursor{cursor: url("grabbing.png"), move;}
  44. .ms-ie .ms-grab-cursor{cursor: url("../masterslider/style/grab.cur"), move;}
  45. .ms-ie .ms-grabbing-cursor {cursor: url("../masterslider/style/grabbing.cur"), move;}
  46. .ms-view {
  47. margin:0px auto;
  48. overflow:hidden;
  49. background:black;
  50. position:relative;
  51. -webkit-perspective: 2000px;
  52. -moz-perspective: 2000px;
  53. -ms-perspective: 2000px;
  54. perspective: 2000px;
  55. }
  56. .ms-view .ms-slide-container{position:relative;}
  57. .ms-slide {
  58. position:absolute;
  59. -webkit-transform: translateZ(0px);
  60. -moz-transform: translateZ(0px);
  61. -ms-transform: translateZ(0px);
  62. -o-transform: translateZ(0px);
  63. transform: translateZ(0px);
  64. -webkit-transform-style: preserve-3d;
  65. -moz-transform-style: preserve-3d;
  66. -ms-transform-style: preserve-3d;
  67. transform-style: preserve-3d;
  68. height:100%;
  69. }
  70. .ms-slide.selected {}
  71. .ms-slide .ms-slide-bgcont,
  72. .ms-slide .ms-slide-bgvideocont{
  73. position: absolute;
  74. overflow:hidden;
  75. width: 100%;
  76. }
  77. .ms-slide .ms-slide-bgvideocont{
  78. z-index: 5;
  79. height: 100%;
  80. }
  81. .ms-slide .ms-slide-bgvideocont,
  82. .ms-slide-bgvideocont>video{
  83. -webkit-transform: translateZ(0.3px);
  84. -moz-transform: translateZ(0.3px);
  85. -ms-transform: translateZ(0.3px);
  86. -o-transform: translateZ(0.3px);
  87. transform: translateZ(0.3px);
  88. }
  89. .ms-slide .ms-slide-bgvideo{
  90. position: absolute;
  91. top: 0px;
  92. }
  93. .ms-container {position: relative; margin:0 auto;}
  94. .ms-slide .ms-slide-bgcont img , .ms-container{
  95. -webkit-user-select:none;
  96. -moz-user-select:none;
  97. -ms-user-select:none;
  98. user-select:none;
  99. }
  100. .ms-slide .ms-layer{position:absolute;}
  101. .ms-slide .ms-slide-layers{
  102. position: absolute;
  103. overflow:hidden;
  104. width:100%;
  105. height: 100%;
  106. z-index: 10;
  107. top:0px;
  108. }
  109. .ms-slide .ms-slide-video{
  110. position:absolute;
  111. top:0;
  112. z-index: 11;
  113. background:black;
  114. padding:0;
  115. margin: 0;
  116. border: none;
  117. }
  118. .ms-layer.video-box{background:black;}
  119. .ms-layer.video-box iframe{
  120. padding:0;
  121. margin: 0;
  122. border: none;
  123. position: absolute;
  124. z-index: 10;
  125. }
  126. .ms-slide .ms-slide-vpbtn , .ms-slide .ms-video-btn{
  127. position:absolute;
  128. cursor: pointer;
  129. z-index: 10;
  130. }
  131. .ms-slide .ms-slide-vcbtn{
  132. position:absolute;
  133. cursor: pointer;
  134. z-index: 13;
  135. }
  136. .ms-slide-vcbtn-mobile{
  137. position: relative;
  138. bottom: 0;
  139. left:0;
  140. width:100%;
  141. height: 28px;
  142. background-color: black;
  143. color: white;
  144. text-align: center;
  145. cursor: pointer;
  146. z-index: 13;
  147. }
  148. .ms-slide-vcbtn-mobile .ms-vcbtn-txt {
  149. text-transform: uppercase;
  150. font-family: sans-serif;
  151. font-size: 0.75em;
  152. display: inline-block;
  153. background: url(video-close-btn.png) no-repeat 0px 3px;
  154. padding-left: 15px;
  155. height: 15px;
  156. color: #DBDBDB;
  157. margin-top: 7px;
  158. }
  159. .ms-slide .ms-slide-vcbtn,
  160. .ms-slide .ms-slide-layers,
  161. .ms-slide .ms-slide-vpbtn,
  162. .ms-slide .ms-slide-video {
  163. -webkit-transform: translateZ(0.44px);
  164. -moz-transform: translateZ(0.44px);
  165. -ms-transform: translateZ(0.44px);
  166. -o-transform: translateZ(0.44px);
  167. transform: translateZ(0.44px);
  168. }
  169. .ms-video-img{
  170. position:absolute;
  171. width:100%;
  172. height:100%;
  173. top:0;
  174. left:0;
  175. }
  176. .ms-mask-frame{
  177. overflow:hidden;
  178. position:absolute;
  179. float:left;
  180. }
  181. /* controls */
  182. .ms-thumb-list{
  183. overflow:hidden;
  184. position:absolute;
  185. }
  186. .ms-thumb-list.ms-dir-h {width: 100%;}
  187. .ms-thumb-list.ms-dir-v {height: 100%; top: 0;}
  188. .ms-thumbs-cont{position: relative;}
  189. .ms-thumb-frame img{width:100%; height:auto;}
  190. .ms-thumb-frame{
  191. cursor: pointer;
  192. float: left;
  193. overflow: hidden;
  194. opacity: 0.5;
  195. -webkit-transition: opacity 300ms;
  196. -moz-transition: opacity 300ms;
  197. -ms-transition: opacity 300ms;
  198. -o-transition: opacity 300ms;
  199. transition: opacity 300ms;
  200. }
  201. .ms-thumb-frame-selected{ opacity: 1; }
  202. .ms-tabs .ms-thumb-frame {
  203. background-color: #F6f6f6;
  204. text-shadow: 0 1px 1px white;
  205. color: #222;
  206. border: solid 1px white;
  207. border-width: 0 1px 1px 0;
  208. overflow: visible;
  209. position: relative;
  210. opacity: 1;
  211. -webkit-transition: all 300ms ease-out;
  212. -moz-transition: all 300ms ease-out;
  213. -ms-transition: all 300ms ease-out;
  214. -o-transition: all 300ms ease-out;
  215. transition: all 300ms ease-out;
  216. }
  217. .ms-tabs.ms-dir-h .ms-thumb-frame {margin-top: 12px;}
  218. .ms-tabs.ms-dir-v .ms-thumb-frame {margin-left: 12px;}
  219. .ms-tabs .ms-thumb{padding: 20px 20px;}
  220. .ms-tabs .ms-thumb-frame-selected { opacity: 1; background: #EDEDED;}
  221. .ms-tabs .ms-thumb-frame .ms-thumb-ol {
  222. position: absolute;
  223. opacity: 0;
  224. -webkit-transition: all 300ms ease-out;
  225. -moz-transition: all 300ms ease-out;
  226. -ms-transition: all 300ms ease-out;
  227. -o-transition: all 300ms ease-out;
  228. transition: all 300ms ease-out;
  229. }
  230. .ms-tabs.ms-dir-h .ms-thumb-frame .ms-thumb-ol {
  231. top: 0px;
  232. left: 50%;
  233. margin-left: -12px;
  234. border-bottom: solid 12px #F6f6f6;
  235. border-left: solid 12px transparent;
  236. border-right: solid 12px transparent;
  237. }
  238. .ms-tabs.ms-dir-h .ms-thumb-frame-selected .ms-thumb-ol{
  239. opacity: 1;
  240. top:-12px;
  241. border-bottom-color: #EDEDED;
  242. }
  243. .ms-tabs.ms-dir-v .ms-thumb-frame .ms-thumb-ol {
  244. top: 50%;
  245. left: 0;
  246. margin-top: -12px;
  247. border-right: solid 12px #EDEDED;
  248. border-top: solid 12px transparent;
  249. border-bottom: solid 12px transparent;
  250. }
  251. .ms-tabs.ms-dir-v .ms-thumb-frame-selected .ms-thumb-ol{
  252. opacity: 1;
  253. left:-12px;
  254. border-right-color:white;
  255. }
  256. .ms-bullet{cursor:pointer;float: left;}
  257. .ms-bullets.ms-dir-h {
  258. position: absolute;
  259. bottom: 20px;
  260. right: 50%;
  261. width: 100px;
  262. }
  263. .ms-sbar {position: absolute;}
  264. .ms-sbar.ms-dir-h {
  265. left: 10px;
  266. right: 10px;
  267. top: 5px
  268. }
  269. .ms-sbar.ms-dir-v {
  270. top: 10px;
  271. bottom: 10px;
  272. right: 5px
  273. }
  274. .ms-sbar .ms-bar {
  275. height: 4px;
  276. background: #333;
  277. border-radius: 4px;
  278. }
  279. .ms-sbar.ms-dir-v .ms-bar { width: 4px;}
  280. .ms-sbar .ms-bar{
  281. position:relative;
  282. -webkit-transition: opacity 300ms;
  283. -moz-transition: opacity 300ms;
  284. -ms-transition: opacity 300ms;
  285. -o-transition: opacity 300ms;
  286. transition: opacity 300ms;
  287. }
  288. .ms-timerbar {
  289. width: 100%;
  290. bottom: 0px;
  291. position: absolute;
  292. }
  293. .ms-ctimer {
  294. position: absolute;
  295. top: 30px;
  296. left: 30px;
  297. cursor: pointer;
  298. }
  299. .ms-ctimer-bullet {}
  300. .ms-time-bar{
  301. -webkit-transition: width 120ms linear;
  302. -moz-transition: width 120ms linear;
  303. -ms-transition: width 120ms linear;
  304. -o-transition: width 120ms linear;
  305. transition: width 120ms linear;
  306. }
  307. .ms-ie7 .ms-tooltip-arrow{
  308. height:0px;
  309. }
  310. .ms-slide-info {position: absolute;}
  311. .ms-slide-info.ms-dir-v {top:0;}
  312. @keyframes point-anim{
  313. 0% {transform: scale(0.5); -webkit-transform: scale(0.5); -moz-transform: scale(0.5); -o-transform: scale(0.5); -ms-transform: scale(0.5); opacity: 1; }
  314. 100% {transform: scale(0.5); -webkit-transform: scale(0.5); -moz-transform: scale(1.5); -o-transform: scale(1.5); -ms-transform: scale(1.5); opacity: 0; }
  315. }
  316. @-webkit-keyframes point-anim{
  317. 0% {-webkit-transform: scale(0.5); opacity: 1; }
  318. 100% {-webkit-transform: scale(1.5); opacity: 0; }
  319. }
  320. /* In Android browser, using css animations over slider causes some crashes */
  321. .ms-android .ms-tooltip-point .ms-point-border{
  322. animation:none;
  323. -moz-animation:none;
  324. -webkit-animation:none;
  325. -o-animation:none;
  326. }