App.scss 4.8 KB

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