App.scss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  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. h3 {
  93. margin-top: 30px;
  94. }
  95. h3:hover {
  96. color: lawngreen;
  97. }
  98. @media (max-width: $breakpoint-mobile) {
  99. display: flex;
  100. flex-direction: column;
  101. h3 {
  102. margin: 8px;
  103. font-size: 20px;
  104. }
  105. }
  106. }
  107. main {
  108. background-image: url("background.jpg");
  109. background-attachment:fixed;
  110. background-position: top 0px;
  111. background-position: right 0px;
  112. display: flex;
  113. flex-direction: row;
  114. min-height: 90vh;
  115. @media (max-width: $breakpoint-tablet) {
  116. min-height: 80vh;
  117. }
  118. @media(max-width: $breakpoint-mobile) {
  119. flex-direction: column;
  120. }
  121. }
  122. .Aside {
  123. min-width: 22%;
  124. background-color: red;
  125. @media (max-width: $breakpoint-tablet) {
  126. width: 320px;
  127. min-width: 30%;
  128. }
  129. @media (max-width: $breakpoint-mobile) {
  130. width: 100%
  131. }
  132. }
  133. .Content {
  134. margin-bottom: 120px;
  135. @media (max-width: $breakpoint-tablet) {
  136. }
  137. }
  138. .Avatar {
  139. img {
  140. min-height: 60px;
  141. min-width: 60px;
  142. max-height: 60px;
  143. max-width: 60px;
  144. border-radius: 30px;
  145. }
  146. }
  147. .Spoiler {
  148. cursor: pointer;
  149. }
  150. .SpoilerContent {
  151. cursor: pointer;
  152. background: dodgerblue;
  153. }
  154. footer {
  155. width: 100%;
  156. background-color: #303030;
  157. position: fixed;
  158. bottom: 0px;
  159. @media (max-width: $breakpoint-mobile) {
  160. display: flex;
  161. flex-direction: column;
  162. }
  163. }
  164. .Player {
  165. margin-top: 10px;
  166. button {
  167. margin: 5px;
  168. }
  169. @media (max-width: $breakpoint-mobile) {
  170. h3 {
  171. font-size: 14px;
  172. }
  173. }
  174. }
  175. .currentTime {
  176. width: 70vh;
  177. @media (max-width: $breakpoint-tablet) {
  178. width: 50vh;
  179. }
  180. @media (max-width: $breakpoint-mobile) {
  181. width: 80%;
  182. }
  183. }
  184. .player-nav {
  185. display: flex;
  186. justify-content: center;
  187. @media (max-width: $breakpoint-mobile) {
  188. flex-direction: column;
  189. font-size: 10px;
  190. }
  191. }
  192. .track-timer {
  193. margin-top: 8px;
  194. @media (max-width: $breakpoint-mobile) {
  195. margin-top: 2px;
  196. }
  197. }
  198. .player-current-time {
  199. display: flex;
  200. @media (max-width: $breakpoint-mobile) {
  201. justify-content: center;
  202. display: flex;
  203. flex-direction: row;
  204. }
  205. }
  206. .volume {
  207. width: 100px;
  208. }
  209. .vol-buttons {
  210. display: flex;
  211. justify-content: center;
  212. }
  213. .LoginButtons {
  214. display: flex;
  215. flex-direction: row;
  216. margin-top: 40px;
  217. margin-right: 20px;
  218. }
  219. .RegColumn {
  220. display: flex;
  221. flex-direction: column;
  222. @media (max-width: $breakpoint-mobile) {
  223. width: 50%;
  224. }
  225. }
  226. .LoginColumn {
  227. display: flex;
  228. flex-direction: column;
  229. margin-top: 30px;
  230. margin-right: 20px;
  231. }
  232. .Tracks {
  233. width: 800px;
  234. text-align: left;
  235. padding: 8px;
  236. margin: 2px;
  237. border: 1px solid dodgerblue;
  238. @media (max-width: $breakpoint-tablet) {
  239. padding: 6px;
  240. width: 600px;
  241. }
  242. @media (max-width: $breakpoint-mobile) {
  243. width: auto;
  244. font-size: 14px;
  245. }
  246. }
  247. .btn {
  248. background: none;
  249. border: none;
  250. }
  251. .dropdown-menu {
  252. font-size: 14px;
  253. width: 40px;
  254. z-index: 1000;
  255. border: 1px solid rgba(255, 255, 255, 0.4);
  256. background: #000000;
  257. text-align: center;
  258. h2 {
  259. color: lawngreen;
  260. }
  261. }
  262. .change-password-input {
  263. width: 100%;
  264. }
  265. .dropdown-button {
  266. font-size: 20px;
  267. width: 100%;
  268. border-radius: 3px;
  269. }
  270. .checkpass {
  271. color: white;
  272. }
  273. .my-playlists {
  274. margin-top: 8px;
  275. input {
  276. width: auto;
  277. }
  278. }
  279. .drop-zone {
  280. p {
  281. color: rgba(124, 252, 0, 0.76);
  282. }
  283. }
  284. .Users {
  285. margin-top: 40px;
  286. margin-right: 10px;
  287. display: flex;
  288. flex-wrap: wrap;
  289. @media (max-width: $breakpoint-mobile) {
  290. margin: 5px;
  291. }
  292. }
  293. .hello-column {
  294. display: flex;
  295. @media (max-width: $breakpoint-mobile) {
  296. flex-direction: column;
  297. }
  298. }
  299. .hello-user-page {
  300. text-align: center;
  301. }
  302. .list1a {
  303. overflow: auto;
  304. margin: 4px;
  305. padding:4px;
  306. list-style-type: none;
  307. counter-set: none;
  308. }
  309. .list1a-li {
  310. background: rgba(139, 0, 0, 0.47);
  311. position: relative;
  312. margin: 2px;
  313. padding: 4px;
  314. }
  315. .list1a-li:hover {
  316. z-index: 1;
  317. }
  318. .list1a-li:before {
  319. border: 2px solid #337AB7;
  320. position: absolute;
  321. top: -14px;
  322. padding: 2px 10px;
  323. font-size: 11px;
  324. font-weight: bold;
  325. color: #337AB7;
  326. background: rgba(247, 250, 253, 0.44);
  327. -webkit-transition-duration: 0.3s;
  328. transition-duration: 0.3s;
  329. }
  330. .list1a-li:hover:before {
  331. background: #337AB7;
  332. color: #ffffff;
  333. -webkit-transform: translate(-12px, 0);
  334. -ms-transform: translate(-12px, 0);
  335. -o-transform: translate(-12px, 0);
  336. transform: translate(-12px, 0);
  337. }
  338. .list1a-li:after {
  339. content: "";
  340. position: absolute;
  341. -webkit-transition-duration: 0.4s;
  342. transition-duration: 0.4s;
  343. -webkit-transition-property: width;
  344. transition-property: width;
  345. z-index: -1;
  346. background: #FFF;
  347. height: 100%;
  348. left: 0;
  349. top: 0;
  350. width: 0;
  351. }
  352. .list1a-li:hover:after {
  353. width: 100%;
  354. }