style.css 6.4 KB

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