App.scss 4.2 KB

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