App.scss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  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: 700px;
  66. @media (max-width: $breakpoint-tablet) {
  67. height: 400px;
  68. }
  69. }
  70. .musicImage {
  71. opacity: 0.3;
  72. margin-top: 50px;
  73. height: 600px;
  74. @media (max-width: $breakpoint-tablet) {
  75. height: 400px;
  76. }
  77. }
  78. .music-load-image {
  79. margin-top: 60px;
  80. height: 600px;
  81. @media (max-width: $breakpoint-tablet) {
  82. margin-left: 50px;
  83. height: 300px;
  84. }
  85. }
  86. .Header {
  87. width: 100%;
  88. display: flex;
  89. justify-content: space-between;
  90. background: #000000;
  91. -webkit-box-shadow: 0.2em 0.2em 5px rgba(122, 122, 122, 0.37);
  92. box-shadow: 0.2em 0.2em 5px rgba(122, 122, 122, 0.376);
  93. h3 {
  94. margin-top: 30px;
  95. }
  96. h3:hover {
  97. color: lawngreen;
  98. }
  99. @media (max-width: $breakpoint-mobile) {
  100. display: flex;
  101. flex-direction: column;
  102. h3 {
  103. margin: 8px;
  104. font-size: 20px;
  105. }
  106. }
  107. }
  108. main {
  109. background-image: url("background.jpg");
  110. background-attachment:fixed;
  111. background-position: top 0px;
  112. background-position: right 0px;
  113. display: flex;
  114. flex-direction: row;
  115. min-height: 90vh;
  116. @media (max-width: $breakpoint-tablet) {
  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. right: 0px;
  159. bottom: 0px;
  160. .Player {
  161. margin-top: 10px;
  162. button {
  163. margin: 5px;
  164. }
  165. .currentTime {
  166. width: 30%;
  167. }
  168. }
  169. }
  170. .LoginButtons {
  171. display: flex;
  172. flex-direction: row;
  173. margin-top: 40px;
  174. margin-right: 20px;
  175. }
  176. .RegColumn {
  177. display: flex;
  178. flex-direction: column;
  179. @media (max-width: $breakpoint-mobile) {
  180. width: 50%;
  181. }
  182. }
  183. .LoginColumn {
  184. display: flex;
  185. flex-direction: column;
  186. margin-top: 30px;
  187. margin-right: 20px;
  188. }
  189. .Tracks {
  190. width: 800px;
  191. text-align: left;
  192. padding: 8px;
  193. margin: 2px;
  194. border: 1px solid dodgerblue;
  195. @media (max-width: $breakpoint-tablet) {
  196. padding: 6px;
  197. width: 600px;
  198. }
  199. @media (max-width: $breakpoint-mobile) {
  200. width: auto;
  201. font-size: 14px;
  202. }
  203. }
  204. .btn {
  205. background: none;
  206. border: none;
  207. }
  208. .dropdown-menu {
  209. font-size: 14px;
  210. width: 40px;
  211. z-index: 1000;
  212. border: 1px solid rgba(255, 255, 255, 0.4);
  213. background: #000000;
  214. text-align: center;
  215. h2 {
  216. color: lawngreen;
  217. }
  218. }
  219. .change-password-input {
  220. width: 100%;
  221. }
  222. .dropdown-button {
  223. font-size: 20px;
  224. width: 100%;
  225. border-radius: 3px;
  226. }
  227. .checkpass {
  228. color: white;
  229. }
  230. .my-playlists {
  231. margin-top: 8px;
  232. }
  233. .drop-zone {
  234. p {
  235. color: rgba(124, 252, 0, 0.76);
  236. }
  237. }
  238. .Users {
  239. margin-top: 40px;
  240. margin-right: 100px;
  241. display: flex;
  242. flex-wrap: wrap;
  243. }
  244. .hello-column {
  245. display: flex;
  246. @media (max-width: $breakpoint-mobile) {
  247. flex-direction: column;
  248. }
  249. }
  250. .hello-user-page {
  251. text-align: center;
  252. }
  253. .list1a {
  254. overflow: auto;
  255. margin: 4px;
  256. padding:4px;
  257. list-style-type: none;
  258. counter-set: none;
  259. }
  260. .list1a-li {
  261. background: rgba(139, 0, 0, 0.47);
  262. position: relative;
  263. margin: 2px;
  264. padding: 4px;
  265. }
  266. .list1a-li:hover {
  267. z-index: 1;
  268. }
  269. .list1a-li:before {
  270. border: 2px solid #337AB7;
  271. position: absolute;
  272. top: -14px;
  273. padding: 2px 10px;
  274. font-size: 11px;
  275. font-weight: bold;
  276. color: #337AB7;
  277. background: rgba(247, 250, 253, 0.44);
  278. -webkit-transition-duration: 0.3s;
  279. transition-duration: 0.3s;
  280. }
  281. .list1a-li:hover:before {
  282. background: #337AB7;
  283. color: #ffffff;
  284. -webkit-transform: translate(-12px, 0);
  285. -ms-transform: translate(-12px, 0);
  286. -o-transform: translate(-12px, 0);
  287. transform: translate(-12px, 0);
  288. }
  289. .list1a-li:after {
  290. content: "";
  291. position: absolute;
  292. -webkit-transition-duration: 0.4s;
  293. transition-duration: 0.4s;
  294. -webkit-transition-property: width;
  295. transition-property: width;
  296. z-index: -1;
  297. background: #FFF;
  298. height: 100%;
  299. left: 0;
  300. top: 0;
  301. width: 0;
  302. }
  303. .list1a-li:hover:after {
  304. width: 100%;
  305. }