App.scss 5.1 KB

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