index.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. .pinBottom-container {
  2. position: absolute;
  3. bottom: 0px;
  4. width: 100%;
  5. transition: all 0.5s;
  6. z-index: var(--z-index-top);
  7. .pinBottom.playing {
  8. bottom: 20px;
  9. }
  10. }
  11. #gui .pinBottom.open.noScroll.playing {
  12. bottom: 135px;
  13. }
  14. .pinBottom {
  15. position: absolute;
  16. bottom: 0;
  17. line-height: 1;
  18. transition: all 0.5s;
  19. &.left {
  20. background: rgba(0, 0, 0, 0.2);
  21. border-radius: 10px;
  22. left: 10px;
  23. bottom: 10px;
  24. }
  25. &.right {
  26. right: 0;
  27. bottom: 10px;
  28. text-shadow: 0 0 1px rgba(0, 0, 0, 0.6);
  29. .rightViewContainer > div:hover {
  30. background: rgba(0, 0, 0, 0.25);
  31. }
  32. .ui-icon {
  33. float: left;
  34. padding: 0;
  35. margin-right: 10px;
  36. background: rgba(0, 0, 0, 0.2);
  37. border-radius: 10px;
  38. }
  39. }
  40. &.open {
  41. bottom: 140px;
  42. &.noScroll {
  43. bottom: 117px;
  44. &.playing {
  45. bottom: 135px;
  46. }
  47. }
  48. &.playing {
  49. bottom: 150px;
  50. }
  51. }
  52. }
  53. .viewContainer {
  54. float: left;
  55. position: relative;
  56. > div {
  57. float: left;
  58. }
  59. }
  60. #play,
  61. #pause {
  62. position: relative;
  63. width: 94px;
  64. height: 48px;
  65. display: flex;
  66. justify-content: center;
  67. align-items: center;
  68. cursor: pointer;
  69. &:hover {
  70. background: rgba(0, 0, 0, 0.25);
  71. }
  72. }
  73. #gui-modes-map > div {
  74. float: left;
  75. width: 94px;
  76. height: 48px;
  77. display: flex;
  78. justify-content: center;
  79. align-items: center;
  80. cursor: pointer;
  81. &:hover,
  82. &.active,
  83. &.opened {
  84. background: rgba(0, 0, 0, 0.25);
  85. }
  86. img {
  87. width: 24px;
  88. height: 24px;
  89. }
  90. }
  91. #pullTab {
  92. display: block;
  93. position: relative;
  94. border-top-left-radius: 2px;
  95. border-top-right-radius: 2px;
  96. text-align: center;
  97. }
  98. #volume > a,
  99. #gui-fullscreen > a {
  100. display: flex;
  101. justify-content: center;
  102. align-items: center;
  103. width: 48px;
  104. height: 48px;
  105. }
  106. .terms2 {
  107. display: none;
  108. }
  109. .icon-fullscreen:before {
  110. content: '';
  111. background: url('/public/images/enlarge_on.png') center top no-repeat;
  112. background-size: 100%;
  113. display: inline-block;
  114. width: 24px;
  115. height: 24px;
  116. }
  117. @media only screen and (max-width: 600px) {
  118. .pinBottom.right,
  119. .pinBottom.left {
  120. bottom: 5px;
  121. }
  122. .pinBottom.left {
  123. left: 5px;
  124. }
  125. .pinBottom.right .ui-icon {
  126. margin-right: 5px;
  127. }
  128. #play,
  129. #pause {
  130. width: 64px;
  131. }
  132. #gui-modes-map > div {
  133. width: 64px;
  134. }
  135. .viewContainer,
  136. #gui-modes-map {
  137. display: flex;
  138. flex-direction: column;
  139. }
  140. }
  141. @media only screen and (max-width: 487px), (max-height: 487px) {
  142. .pinBottom-container.drawerOpen.duringTour {
  143. bottom: 6px;
  144. }
  145. #gui .pinBottom.open.noScroll {
  146. bottom: 93px;
  147. }
  148. .pinBottom.open.noScroll.playing {
  149. bottom: 108px;
  150. }
  151. }