App.scss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. $breakpoint-mobile: 720px;
  2. $breakpoint-tablet: 1540px;
  3. .App {
  4. height: auto;
  5. text-align: center;
  6. //background: black;
  7. }
  8. a {
  9. text-decoration: none;
  10. color: white;
  11. }
  12. span {
  13. color: #dbc9c9;
  14. margin-left: 5px;
  15. }
  16. a:hover {
  17. color: lawngreen;
  18. text-decoration: none;
  19. }
  20. h3 {
  21. color: white;
  22. @media(max-width: $breakpoint-tablet) {
  23. font-size: 20px;
  24. }
  25. }
  26. h2 {
  27. color: white;
  28. @media(max-width: $breakpoint-tablet) {
  29. font-size: 20px;
  30. }
  31. }
  32. button {
  33. min-width: 30px;
  34. color: white;
  35. background: none;
  36. font-weight: 70;
  37. text-decoration: none;
  38. outline: none;
  39. border: 2px solid;
  40. border-radius: 1px;
  41. transition: 0.2s;
  42. }
  43. button:hover { background: rgba(255,255,255,.2); }
  44. button:active { background: white; }
  45. input {
  46. background: rgba(26, 26, 26, 0.82);
  47. color: white;
  48. }
  49. .search-input {
  50. @media(max-width: $breakpoint-mobile) {
  51. display: flex;
  52. input {
  53. width: 100%;
  54. }
  55. }
  56. }
  57. .App-logo {
  58. margin: 6px;
  59. height: 100px;
  60. @media(max-width: $breakpoint-tablet) {
  61. height: 80px;
  62. }
  63. }
  64. .logo-large {
  65. height: auto;
  66. max-height: 700px;
  67. @media (max-width: $breakpoint-tablet) {
  68. max-height: 400px;
  69. }
  70. }
  71. .musicImage {
  72. opacity: 0.3;
  73. margin-top: 50px;
  74. height: 600px;
  75. @media (max-width: $breakpoint-tablet) {
  76. height: 400px;
  77. }
  78. }
  79. .music-load-image {
  80. margin-top: 60px;
  81. height: 600px;
  82. @media (max-width: $breakpoint-tablet) {
  83. margin-left: 50px;
  84. max-height: 300px;
  85. }
  86. }
  87. .Header {
  88. width: 100%;
  89. display: flex;
  90. justify-content: space-between;
  91. background: #000000;
  92. -webkit-box-shadow: 0.2em 0.2em 5px rgba(122, 122, 122, 0.37);
  93. box-shadow: 0.2em 0.2em 5px rgba(122, 122, 122, 0.376);
  94. h3 {
  95. margin-top: 30px;
  96. }
  97. h3:hover {
  98. color: lawngreen;
  99. }
  100. @media (max-width: $breakpoint-mobile) {
  101. display: flex;
  102. flex-direction: column;
  103. h3 {
  104. margin: 8px;
  105. font-size: 20px;
  106. }
  107. }
  108. }
  109. main {
  110. background-image: url("background.jpg");
  111. background-attachment:fixed;
  112. background-position: top 0px;
  113. background-position: right 0px;
  114. display: flex;
  115. flex-direction: row;
  116. min-height: 90vh;
  117. @media (max-width: $breakpoint-tablet) {
  118. }
  119. @media(max-width: $breakpoint-mobile) {
  120. flex-direction: column;
  121. }
  122. }
  123. .Aside {
  124. min-width: 22%;
  125. background-color: red;
  126. @media (max-width: $breakpoint-tablet) {
  127. width: 320px;
  128. min-width: 30%;
  129. }
  130. @media (max-width: $breakpoint-mobile) {
  131. width: 100%
  132. }
  133. }
  134. .Content {
  135. margin-bottom: 120px;
  136. @media (max-width: $breakpoint-tablet) {
  137. }
  138. }
  139. .Avatar {
  140. img {
  141. min-height: 60px;
  142. min-width: 60px;
  143. max-height: 60px;
  144. max-width: 60px;
  145. border-radius: 30px;
  146. }
  147. }
  148. .Spoiler {
  149. cursor: pointer;
  150. }
  151. .SpoilerContent {
  152. cursor: pointer;
  153. background: dodgerblue;
  154. }
  155. footer {
  156. width: 100%;
  157. background-color: #303030;
  158. position: fixed;
  159. bottom: 0px;
  160. @media (max-width: $breakpoint-mobile) {
  161. display: flex;
  162. flex-direction: column;
  163. }
  164. }
  165. .Player {
  166. margin-top: 10px;
  167. button {
  168. margin: 5px;
  169. }
  170. @media (max-width: $breakpoint-mobile) {
  171. h3 {
  172. font-size: 14px;
  173. }
  174. }
  175. }
  176. .currentTime {
  177. width: 70vh;
  178. @media (max-width: $breakpoint-tablet) {
  179. width: 50vh;
  180. }
  181. @media (max-width: $breakpoint-mobile) {
  182. width: 80%;
  183. }
  184. }
  185. .player-nav {
  186. display: flex;
  187. justify-content: center;
  188. @media (max-width: $breakpoint-mobile) {
  189. flex-direction: column;
  190. font-size: 10px;
  191. }
  192. }
  193. .track-timer {
  194. margin-top: 8px;
  195. @media (max-width: $breakpoint-mobile) {
  196. margin-top: 2px;
  197. }
  198. }
  199. .player-current-time {
  200. display: flex;
  201. @media (max-width: $breakpoint-mobile) {
  202. justify-content: center;
  203. display: flex;
  204. flex-direction: row;
  205. }
  206. }
  207. .volume {
  208. width: 100px;
  209. }
  210. .vol-buttons {
  211. display: flex;
  212. justify-content: center;
  213. }
  214. .LoginButtons {
  215. display: flex;
  216. flex-direction: row;
  217. margin-top: 40px;
  218. margin-right: 20px;
  219. }
  220. .RegColumn {
  221. display: flex;
  222. flex-direction: column;
  223. @media (max-width: $breakpoint-mobile) {
  224. width: 50%;
  225. }
  226. }
  227. .LoginColumn {
  228. display: flex;
  229. flex-direction: column;
  230. margin-top: 30px;
  231. margin-right: 20px;
  232. }
  233. .Tracks {
  234. width: 800px;
  235. text-align: left;
  236. padding: 8px;
  237. margin: 2px;
  238. border: 1px solid dodgerblue;
  239. @media (max-width: $breakpoint-tablet) {
  240. padding: 6px;
  241. width: 600px;
  242. }
  243. @media (max-width: $breakpoint-mobile) {
  244. width: auto;
  245. font-size: 14px;
  246. }
  247. }
  248. .btn {
  249. background: none;
  250. border: none;
  251. }
  252. .dropdown-menu {
  253. font-size: 14px;
  254. width: 40px;
  255. z-index: 1000;
  256. border: 1px solid rgba(255, 255, 255, 0.4);
  257. background: #000000;
  258. text-align: center;
  259. h2 {
  260. color: lawngreen;
  261. }
  262. }
  263. .change-password-input {
  264. width: 100%;
  265. }
  266. .dropdown-button {
  267. font-size: 20px;
  268. width: 100%;
  269. border-radius: 3px;
  270. }
  271. .checkpass {
  272. color: white;
  273. }
  274. .my-playlists {
  275. margin-top: 8px;
  276. input {
  277. width: auto;
  278. }
  279. }
  280. .drop-zone {
  281. p {
  282. color: rgba(124, 252, 0, 0.76);
  283. }
  284. }
  285. .Users {
  286. margin-top: 40px;
  287. margin-right: 100px;
  288. display: flex;
  289. flex-wrap: wrap;
  290. }
  291. .hello-column {
  292. display: flex;
  293. @media (max-width: $breakpoint-mobile) {
  294. flex-direction: column;
  295. }
  296. }
  297. .hello-user-page {
  298. text-align: center;
  299. }
  300. .list1a {
  301. overflow: auto;
  302. margin: 4px;
  303. padding:4px;
  304. list-style-type: none;
  305. counter-set: none;
  306. }
  307. .list1a-li {
  308. background: rgba(139, 0, 0, 0.47);
  309. position: relative;
  310. margin: 2px;
  311. padding: 4px;
  312. }
  313. .list1a-li:hover {
  314. z-index: 1;
  315. }
  316. .list1a-li:before {
  317. border: 2px solid #337AB7;
  318. position: absolute;
  319. top: -14px;
  320. padding: 2px 10px;
  321. font-size: 11px;
  322. font-weight: bold;
  323. color: #337AB7;
  324. background: rgba(247, 250, 253, 0.44);
  325. -webkit-transition-duration: 0.3s;
  326. transition-duration: 0.3s;
  327. }
  328. .list1a-li:hover:before {
  329. background: #337AB7;
  330. color: #ffffff;
  331. -webkit-transform: translate(-12px, 0);
  332. -ms-transform: translate(-12px, 0);
  333. -o-transform: translate(-12px, 0);
  334. transform: translate(-12px, 0);
  335. }
  336. .list1a-li:after {
  337. content: "";
  338. position: absolute;
  339. -webkit-transition-duration: 0.4s;
  340. transition-duration: 0.4s;
  341. -webkit-transition-property: width;
  342. transition-property: width;
  343. z-index: -1;
  344. background: #FFF;
  345. height: 100%;
  346. left: 0;
  347. top: 0;
  348. width: 0;
  349. }
  350. .list1a-li:hover:after {
  351. width: 100%;
  352. }