style.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. ::-webkit-scrollbar {
  2. width: .3em !important;
  3. }
  4. .mdl-spinner {
  5. zoom: .5;
  6. }
  7. .skinHeader-withBackground {
  8. right: 0 !important;
  9. background-image: linear-gradient(rgba(0,0,0,.5), transparent);
  10. background-color: unset;
  11. }
  12. .view:not(.hide) .skinHeader, .skinHeader-withBackground.headroom-scrolling {
  13. width: 100%;
  14. background-image: linear-gradient(black, transparent) !important;
  15. background-color: unset !important;
  16. }
  17. .view[data-type=home]:not(.hide) .scrollSlider.padded-top-page {
  18. padding-top: 0 !important;
  19. }
  20. .view:not(.hide) .itemsContainer-finepointerwrap {
  21. flex-wrap: initial !important;
  22. -webkit-flex-wrap: initial !important;
  23. }
  24. .view:not(.hide) .section0 {
  25. z-index: 2;
  26. }
  27. .view:not(.hide) .section0 .cardText {
  28. position: absolute;
  29. top: 0;
  30. display: flex; /* 如果不需要媒体库标题显示, 请将flex改为none */
  31. width: 100%;
  32. height: 100%;
  33. padding: 0;
  34. background-color: rgba(0, 0, 0, .5);
  35. font-weight: bolder;
  36. font-size: larger;
  37. border-radius: 0.3em;
  38. transition: .2s;
  39. opacity: 0;
  40. }
  41. .view:not(.hide) .section0 .backdropCard:hover .cardText {
  42. opacity: 1;
  43. }
  44. .view:not(.hide) .section0 .cardText button {
  45. text-decoration: none;
  46. }
  47. .view:not(.hide) .section0 .cardOverlayContainer,
  48. .view:not(.hide) .section0 .sectionTitleContainer {
  49. display: none;
  50. }
  51. .view:not(.hide) .section0 .cardBox-touchzoom {
  52. box-shadow: 0 8px 10px rgb(0 0 0 / 15%);
  53. }
  54. .view:not(.hide) .section0 .backdropCard {
  55. transition: all 1.5s cubic-bezier(0, 1.75, .25, 1) 0s;
  56. }
  57. .view:not(.hide) .section0 .backdropCard:hover {
  58. transform: scale(1.1) !important;
  59. }
  60. .view:not(.hide) .section0 .scrollbuttoncontainer {
  61. top: 0;
  62. bottom: calc(.8em - min(.72em, max(.48em, 1.78vw)) / 2);
  63. background-color: rgba(0, 0, 0, 0);
  64. overflow: visible;
  65. }
  66. .view:not(.hide) .section0 .scrollbuttoncontainer:hover > .emby-scrollbuttons-scrollbutton{
  67. background-color: rgba(0, 0, 0, .5);
  68. transform: scale(.85) !important;
  69. }
  70. .tabs-viewmenubar-backgroundcontainer:not(.tabs-viewmenubar-backgroundcontainer-tv) {
  71. background: 0 0 !important;
  72. -webkit-backdrop-filter: blur(10px) !important;
  73. backdrop-filter: blur(10px) !important;
  74. }
  75. .misty-banner {
  76. position: relative;
  77. overflow: hidden;
  78. }
  79. .misty-banner-cover {
  80. width: 100%;
  81. max-height: 100vh;
  82. user-select: none;
  83. object-fit: cover;
  84. }
  85. .misty-banner-logo {
  86. position: absolute;
  87. user-select: none;
  88. object-fit: contain;
  89. height: clamp(0rem, -2.182rem + 10.91vw, 6rem);
  90. /* width: fit-content; */
  91. transform: translateY(calc(-50% - clamp(-2rem, -3.455rem + 7.27vw, 2rem)));
  92. right: calc(3.4% + min(0.72em, max(0.48em, 1.78vw)));
  93. opacity: 0;
  94. transition: 1s;
  95. transition-delay: .8s;
  96. }
  97. .misty-banner-logo.active {
  98. transform: translateY(calc(-100% - clamp(-2rem, -3.455rem + 7.27vw, 2rem)));
  99. opacity: 1;
  100. }
  101. .misty-loading {
  102. z-index: 9999 !important;
  103. position: fixed;
  104. top: 0;
  105. left: 0;
  106. width: 100%;
  107. height: 100%;
  108. background-color: rgba(0, 0, 0, 1);
  109. z-index: 999;
  110. display: flex;
  111. align-items: center;
  112. justify-content: center;
  113. flex-direction: column;
  114. }
  115. .misty-loading h1 {
  116. margin: 0;
  117. margin-bottom: 3rem;
  118. }
  119. .misty-loading .mdl-spinner {
  120. margin: 0;
  121. position: initial
  122. }
  123. .misty-loading .mdl-spinner__layer-1 {
  124. border-color: #fff;
  125. }
  126. .misty-banner-library {
  127. position: absolute;
  128. width: 100%;
  129. height: 100%;
  130. top: 0;
  131. padding: clamp(0rem, -1.313rem + 3.75vw, 1.5rem) 0;
  132. box-sizing: border-box;
  133. display: flex;
  134. justify-content: flex-end;
  135. flex-direction: column;
  136. background-image: linear-gradient(90deg, rgba(0, 0, 0, .6), transparent);
  137. }
  138. .misty-banner-body {
  139. display: flex;
  140. position: relative;
  141. left: 0;
  142. transition: all 1.5s cubic-bezier(0.15, 0.07, 0, 1) 0s;
  143. }
  144. .misty-banner-item {
  145. min-width: 100%;
  146. }
  147. .misty-banner-info {
  148. width: 100%;
  149. margin: min(.72em, max(.48em, 1.78vw));
  150. margin-top: 0;
  151. position: absolute;
  152. top: 0;
  153. z-index: 1;
  154. height: 100%;
  155. height: -webkit-fill-available;
  156. display: flex;
  157. flex-direction: column;
  158. justify-content: center
  159. }
  160. .misty-banner-info > * {
  161. transition: all 2.5s cubic-bezier(0, 1.41, 0.36, 0.93) .4s;
  162. transform: translateY(150%);
  163. opacity: 0 !important;
  164. }
  165. .misty-banner-item.active .misty-banner-info > * {
  166. transform: translateY(0);
  167. opacity: 1 !important;
  168. }
  169. .misty-banner-info > div:nth-child(2) {
  170. transition-delay: .6s;
  171. }
  172. .misty-banner-info > div:nth-child(3) {
  173. transition-delay: .8s;
  174. }
  175. .misty-banner-info h1 {
  176. color: #fff !important;
  177. font-size: clamp(2rem, -.362rem + 6.75vw, 4.7rem);
  178. font-weight: bolder;
  179. margin: 0;
  180. text-shadow: 0 4px 10px rgb(0 0 0 / 20%);
  181. /* margin-bottom: clamp(0rem, -.545rem + 2.73vw, 1.5rem); */
  182. max-width: 80%;
  183. display: -webkit-box !important;
  184. -webkit-box-orient: vertical;
  185. -webkit-line-clamp: 1;
  186. overflow: hidden;
  187. }
  188. .misty-banner-info p {
  189. color: #fff !important;
  190. font-size: clamp(.6rem, .4rem + 1vw, 1.6rem);
  191. font-weight: bold;
  192. max-width: 47%;
  193. opacity: .7;
  194. /* overflow: hidden;
  195. white-space: nowrap;
  196. text-overflow: ellipsis; */
  197. display: -webkit-box !important;
  198. -webkit-box-orient: vertical;
  199. -webkit-line-clamp: 2;
  200. overflow: hidden;
  201. }
  202. .misty-banner-info button {
  203. cursor: pointer;
  204. margin-top: clamp(0rem, -2.625rem + 7.5vw, 3rem);
  205. width: 6em;
  206. height: 1.8em;
  207. background-color: #fff;
  208. border: none;
  209. font-size: clamp(.6rem, -.275rem + 2.5vw, 1.6rem);
  210. border-radius: 10px;
  211. font-weight: bold;
  212. letter-spacing: 2px;
  213. box-shadow: 0 2px 7px rgba(1, 1, 1, -.8);
  214. font-family: system-ui;
  215. transition: .2s;
  216. }
  217. .misty-banner-info button:hover{
  218. transform: scale(.95);
  219. }
  220. @media screen and (max-width: 62.5em) {
  221. .misty-banner-info button {
  222. margin-top: 0;
  223. }
  224. }
  225. @media screen and (max-width: 52em) {
  226. .misty-banner-info button,
  227. .misty-banner-info p {
  228. display: none;
  229. }
  230. }
  231. @media screen and (max-width: 35em) {
  232. .misty-banner-info,
  233. .misty-banner-logo {
  234. display: none !important;
  235. }
  236. .misty-banner-body{
  237. opacity: 0;
  238. }
  239. }
  240. .misty-banner .backdropCard{
  241. transition-duration: 0;
  242. transform: translateY(80%);
  243. opacity: 0;
  244. }
  245. .misty-banner-library-show{
  246. transition-duration: 1.7s !important;
  247. transform: translateY(0) !important;
  248. opacity: 1 !important;
  249. }
  250. .misty-banner-library-overflow {
  251. overflow: visible !important;
  252. }