App.scss 4.6 KB

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