index.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. /* Customize website's scrollbar like Mac OS
  2. Not supports in Firefox and IE */
  3. /* total width */
  4. ::-webkit-scrollbar {
  5. background-color: #fff;
  6. width: 5px;
  7. }
  8. /* background of the scrollbar except button or resizer */
  9. ::-webkit-scrollbar-track {
  10. background-color: #fff;
  11. }
  12. /* scrollbar itself */
  13. ::-webkit-scrollbar-thumb {
  14. background-color: #606060bc;
  15. border-radius: 2px;
  16. border: none;
  17. }
  18. /* set button(top and bottom of the scrollbar) */
  19. ::-webkit-scrollbar-button {
  20. display:none;
  21. }
  22. body {
  23. margin: 0;
  24. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
  25. 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  26. sans-serif;
  27. -webkit-font-smoothing: antialiased;
  28. -moz-osx-font-smoothing: grayscale;
  29. }
  30. .main{
  31. width: 100%;
  32. }
  33. .logo {
  34. width: 50px;
  35. }
  36. .logoimg{
  37. width: 50px;
  38. }
  39. code {
  40. font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
  41. monospace;
  42. }
  43. .card {
  44. color:black;
  45. text-decoration: none;
  46. }
  47. .rounded-5 {
  48. border-radius: 20px!important;
  49. }
  50. .playlist-img-box{
  51. min-height: 180px;
  52. min-width: 180px;
  53. max-height: 180px;
  54. max-width: 180px;
  55. overflow: hidden;
  56. }
  57. .cursor-pointer {
  58. cursor: pointer;
  59. }
  60. .playlist-title {
  61. overflow: hidden;
  62. text-overflow: ellipsis;
  63. }
  64. .track-name .line {
  65. /*width: 100px;*/
  66. display: inline-flex;
  67. }
  68. .track-name .second {
  69. display: inline-flex;
  70. white-space: nowrap;
  71. overflow: hidden;
  72. animation-play-state: paused;
  73. }
  74. .track-name .line .second span {
  75. animation: ticker 6s linear infinite;
  76. }
  77. @keyframes ticker {
  78. 0% {
  79. transform: translate(40%, 0);
  80. }
  81. 50% {
  82. transform: translate(-40%, 0);
  83. }
  84. 100% {
  85. transform: translate(40%, 0);
  86. }
  87. }
  88. .playlist-play-box{
  89. bottom: 15px;
  90. right: 15px;
  91. }
  92. .preview-tracks-block{
  93. max-height: 200px;
  94. overflow:auto;
  95. }
  96. .playlist-grey-box{
  97. background: rgba(0, 0, 0, 0.54);
  98. position: absolute;
  99. top: 0;
  100. left: 0;
  101. width: 100%;
  102. height: 100%
  103. }
  104. .player{
  105. padding-top: 20px;
  106. }
  107. .wrapper{
  108. border: 1px solid transparent;
  109. padding: 30px;
  110. border-radius: 20px;
  111. box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
  112. position: sticky;
  113. top: 50px;
  114. }
  115. .details{
  116. display: flex;
  117. align-items: center;
  118. flex-direction: column;
  119. justify-content: center;
  120. }
  121. .track-art{
  122. height: 250px;
  123. width: 250px;
  124. background-size: cover;
  125. background-position: center;
  126. -moz-border-radius:20px;
  127. -webkit-border-radius:20px;
  128. border-radius: 20px;
  129. }
  130. .now-playing{
  131. font-size: 1rem;
  132. }
  133. .track-name{
  134. font-size: 1.5rem;
  135. }
  136. .track-artist{
  137. margin-top: 5px;
  138. font-size: 1.5rem;
  139. }
  140. .buttons{
  141. display: flex;
  142. flex-direction: row;
  143. align-items: center;
  144. }
  145. .active{
  146. color: black;
  147. }
  148. .repeat-track,
  149. .random-track,
  150. .playpause-track,
  151. .prev-track,
  152. .next-track{
  153. padding: 25px;
  154. opacity: 0.8;
  155. transition: opacity .2s;
  156. }
  157. .repeat-track:hover,
  158. .random-track:hover,
  159. .playpause-track:hover,
  160. .prev-track:hover,
  161. .next-track:hover{
  162. opacity: 1.0;
  163. }
  164. .duration{
  165. width: 400px;
  166. }
  167. .slider_container{
  168. display: flex;
  169. justify-content: center;
  170. align-items: center;
  171. }
  172. .seek_slider,
  173. .volume_slider{
  174. -webkit-appearance: none;
  175. -moz-appearance: none;
  176. appearance: none;
  177. height: 5px;
  178. background: #83a9ff;
  179. -webkit-transition: .2s;
  180. transition: opacity .2s;
  181. }
  182. .seek_slider::-webkit-slider-thumb,
  183. .volume_slider::-webkit-slider-thumb{
  184. -webkit-appearance: none;
  185. -moz-appearance: none;
  186. appearance: none;
  187. width: 15px;
  188. height: 15px;
  189. background: white;
  190. border: 3px solid #3774ff;
  191. cursor: pointer;
  192. border-radius: 100%;
  193. }
  194. .seek_slider:hover,
  195. .volume_slider:hover{
  196. opacity: 1.0;
  197. }
  198. .seek_slider{
  199. width: 80%;
  200. }
  201. .volume_slider{
  202. width: 30%;
  203. }
  204. .current-time,
  205. .total-duration{
  206. padding: 20px;
  207. }
  208. i.fa-volume-down,
  209. i.fa-volume-up{
  210. padding: 10px;
  211. }
  212. i,
  213. i.fa-play-circle,
  214. i.fa-pause-circle,
  215. i.fa-step-forward,
  216. i.fa-step-backward{
  217. cursor: pointer;
  218. }
  219. .randomActive{
  220. color: black;
  221. }
  222. .tab-content{
  223. max-height: 490px;
  224. }
  225. .playing-list{
  226. max-height: inherit;
  227. overflow: auto;
  228. }
  229. .accordion-button{
  230. background: inherit!important;
  231. color: inherit!important;
  232. border: none!important;
  233. text-decoration: underline;
  234. }
  235. .nav-avatar{
  236. width: 50px;
  237. height: 50px;
  238. border: 2px solid white;
  239. /*border-radius: ;*/
  240. }
  241. .dropdown-menu a{
  242. display: block;
  243. width: 100%;
  244. padding: 0.25rem 1rem;
  245. clear: both;
  246. font-weight: 400;
  247. color: #212529;
  248. text-align: inherit;
  249. text-decoration: none;
  250. white-space: nowrap;
  251. background-color: transparent;
  252. border: 0;
  253. }
  254. .dropdown-menu a:hover{
  255. color: #1e2125;
  256. background-color: #e9ecef;
  257. cursor: pointer;
  258. }
  259. .artist-search-name {
  260. text-align: center;
  261. overflow: hidden;
  262. z-index: 1;
  263. font-size: 1rem;
  264. max-width: 100px;
  265. max-height: 100px;
  266. }
  267. .active-track {
  268. background-color: rgba(255, 255, 255, 0.152)!important;
  269. --bs-table-accent-bg: var(--bs-table-hover-bg);
  270. color: var(--bs-table-hover-color);
  271. }
  272. .disactive-track {
  273. background-color: inherit!important;
  274. }
  275. .disactive-track-icon {
  276. display: none;
  277. }