ios_fullscreen.css 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. body{
  2. background-color: #000 !important;
  3. }
  4. /*ios fullscreen*/
  5. .xxx-game-iframe-iphone-se{
  6. height: 226px !important;
  7. }
  8. .xxx-ios-fullscreen-message{
  9. position: fixed;
  10. top: 0px;
  11. left: 0px;
  12. width: 100vw;
  13. height: 100vh;
  14. display: none;
  15. background-color: rgba(0,0,0,0.5);
  16. z-index: 10000;
  17. -webkit-touch-callout: none;
  18. -webkit-user-select: none;
  19. -moz-user-select: none;
  20. -ms-user-select: none;
  21. user-select: none;
  22. -ms-touch-action: none;
  23. touch-action: none;
  24. }
  25. .xxx-ios-fullscreen-scroll{
  26. width: 100vw;
  27. height: 120vh;
  28. position: absolute;
  29. z-index: 10001;
  30. top: 0;
  31. left: 0;
  32. display: none;
  33. -webkit-touch-callout: none;
  34. -webkit-user-select: none;
  35. -moz-user-select: none;
  36. -ms-user-select: none;
  37. user-select: none;
  38. -ms-touch-action: none;
  39. touch-action: none;
  40. }
  41. .xxx-ios-fullscreen-swipe{
  42. width: 30%;
  43. height: 30%;
  44. background-image: url(../sprites/swipe.png);
  45. background-position: center center;
  46. background-repeat: no-repeat;
  47. background-size: contain;
  48. position: absolute;
  49. top: 50%;
  50. left: 50%;
  51. -ms-transform : translate( -50%, -50%) !important;
  52. -webkit-transform : translate( -50%, -50%) !important;
  53. transform : translate( -50%, -50%) !important;
  54. animation: xxx-animation-ios-swipe 1.5s ease infinite;
  55. -webkit-touch-callout: none;
  56. -webkit-user-select: none;
  57. -moz-user-select: none;
  58. -ms-user-select: none;
  59. user-select: none;
  60. -ms-touch-action: none;
  61. touch-action: none;
  62. }
  63. @keyframes xxx-animation-ios-swipe {
  64. 0%, 100% {
  65. top: 40%;
  66. }
  67. 50% {
  68. top: 60%;
  69. }
  70. }