App.scss 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. .App {
  2. @font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
  3. 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
  4. 'Noto Color Emoji';
  5. }
  6. body {
  7. font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  8. font-size: 20px;
  9. }
  10. @import '~antd/dist/antd.css';
  11. .Dropzone {
  12. display: flex;
  13. flex-direction: column;
  14. align-items: center;
  15. padding: 10px;
  16. border-width: 2px;
  17. border-radius: 2px;
  18. color: #1d5b78;
  19. transition: border 0.24s ease-in-out;
  20. font-size: medium;
  21. font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  22. transition: 0.3s;
  23. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  24. font-size: 20px;
  25. }
  26. .Links {
  27. margin: 10px;
  28. font-size: xx-large;
  29. color: black;
  30. transition: 0.3s;
  31. }
  32. .Links:hover {
  33. color: white;
  34. opacity: 0.7;
  35. }
  36. .Link {
  37. color: white;
  38. margin-left: 5px;
  39. }
  40. .Link:hover {
  41. text-decoration: underline;
  42. color: rgb(241, 69, 155);
  43. }
  44. .Links:active {
  45. transform: scale(1.1);
  46. }
  47. .Header {
  48. display: flex;
  49. position: fixed;
  50. padding: 10px;
  51. z-index: 4;
  52. width: 100%;
  53. background-color: rgb(206, 227, 255);
  54. top: 0;
  55. transition: 0.3s;
  56. box-shadow: 0 5px 10px rgba(73, 80, 83, 0.25),
  57. 0 10px 5px rgba(191, 194, 196, 0.22);
  58. }
  59. .Recomendations {
  60. margin-left: 20px;
  61. }
  62. .Likes {
  63. margin-left: 20px;
  64. }
  65. .User {
  66. }
  67. .Feed {
  68. margin-right: 20px;
  69. padding: 10px;
  70. border-radius: 25px;
  71. display: 'flex';
  72. align-items: 'center';
  73. justify-content: 'center';
  74. }
  75. .EditSetting {
  76. display: 'flex';
  77. align-items: 'center';
  78. justify-content: 'center';
  79. margin: 0 auto;
  80. }
  81. .Post {
  82. max-width: 450px;
  83. margin: 0 auto;
  84. background-color: white;
  85. border: 6px solid #dbebfa;
  86. padding: 30px;
  87. border-radius: 25px;
  88. display: 'flex';
  89. align-items: 'center';
  90. justify-content: 'center';
  91. margin-top: 100px;
  92. transition: 0.3s;
  93. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  94. box-shadow: inset 2px 2px 5px rgba(128, 125, 125, 0.9);
  95. }
  96. ul {
  97. margin: 0;
  98. padding: 4px;
  99. }
  100. li {
  101. display: inline;
  102. margin-right: 5px;
  103. padding: 3px;
  104. list-style-type: none;
  105. }
  106. main {
  107. margin-top: 130px;
  108. }
  109. .Title {
  110. text-align: left;
  111. margin: 20px 0px;
  112. }
  113. .Input {
  114. display: flex;
  115. padding: 5px;
  116. margin: 10px;
  117. width: 80%;
  118. border-radius: 5px;
  119. font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  120. font-size: 20px;
  121. }
  122. .container {
  123. margin: 10px;
  124. background-color: rgb(84, 132, 222);
  125. margin-top: 20px;
  126. }
  127. .ButtonComment:hover {
  128. cursor: pointer;
  129. }
  130. .AboutMe {
  131. margin-top: 100px;
  132. display: flex;
  133. justify-content: center;
  134. }
  135. .Info {
  136. justify-content: center;
  137. display: flex;
  138. flex-direction: column;
  139. }
  140. .Card {
  141. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  142. width: 250px;
  143. height: 250px;
  144. object-fit: cover;
  145. position: relative;
  146. }
  147. .EditAvatar {
  148. display: flex;
  149. align-items: center;
  150. flex-direction: column;
  151. }
  152. .Preview {
  153. object-fit: cover;
  154. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  155. height: 100px;
  156. width: 100px;
  157. margin-bottom: 5px;
  158. }
  159. .Explore {
  160. display: flex;
  161. flex-wrap: wrap;
  162. padding: 20px;
  163. margin: 20px;
  164. margin-top: 50px;
  165. }
  166. .Preloader {
  167. display: block;
  168. margin: 0 auto;
  169. margin-bottom: 200px;
  170. padding: 10px;
  171. }
  172. .Gallery {
  173. position: fixed;
  174. right: 0;
  175. z-index: 2;
  176. top: 0;
  177. width: 50px;
  178. height: 50px;
  179. margin: 10px;
  180. }
  181. .Wrapper {
  182. margin: 40px;
  183. transition: filter 0.5s;
  184. }
  185. .Wrapper:hover {
  186. -webkit-filter: brightness(40%);
  187. filter: brightness(50%);
  188. }
  189. .Like {
  190. cursor: pointer;
  191. font-size: xx-large;
  192. color: red;
  193. }
  194. .Like:active {
  195. transform: scale(1.1);
  196. }
  197. .UnLike {
  198. cursor: pointer;
  199. font-size: xx-large;
  200. color: white;
  201. transition: filter 0.3s;
  202. }
  203. .UnLike:hover {
  204. opacity: 0.6;
  205. }
  206. .MyCarousel {
  207. display: block;
  208. object-fit: cover;
  209. background: #84898987;
  210. box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  211. box-shadow: inset 2px 2px 5px rgba(128, 125, 125, 0.9);
  212. background-color: white;
  213. border: 6px solid #dbebfa;
  214. margin: 0 10%;
  215. border-radius: 5px;
  216. }
  217. .Modal {
  218. font-size: medium;
  219. display: flex;
  220. flex-direction: column;
  221. margin-bottom: 20px;
  222. }
  223. .PostFeed {
  224. border-width: 20;
  225. border-color: #ffffff;
  226. background: #edf8f89e;
  227. border-radius: 5px;
  228. border-style: solid;
  229. margin-bottom: 40px;
  230. transition: 0.3s;
  231. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  232. }
  233. .InputForm {
  234. position: fixed;
  235. color: black;
  236. flex-direction: column;
  237. width: 100%;
  238. height: 100%;
  239. float: right;
  240. background: rgb(58, 100, 180);
  241. background: linear-gradient(
  242. 90deg,
  243. rgba(58, 100, 180, 1) 0%,
  244. rgba(92, 168, 221, 1) 51%,
  245. rgba(29, 253, 182, 1) 100%
  246. );
  247. transition: 0.3s;
  248. right: 0;
  249. }
  250. .LoginPage {
  251. margin: 150px;
  252. }
  253. .LoginForm {
  254. margin: 100px;
  255. padding: 20px 0px;
  256. background: rgba(58, 100, 180, 1);
  257. border-radius: 15px;
  258. text-align: center;
  259. box-shadow: 0 10px 10px rgba(0, 0, 0, 0.22);
  260. }
  261. .NextArrow {
  262. font-size: 50px;
  263. color: #41607d;
  264. position: absolute;
  265. left: 100%;
  266. top: 50%;
  267. margin: auto;
  268. padding-left: 20px;
  269. text-shadow: black 1px 0 10px;
  270. transition: opacity 0.3s;
  271. }
  272. .NextArrow:hover {
  273. opacity: 0.6;
  274. }
  275. .NextArrow:active {
  276. transform: scale(1.1);
  277. }
  278. .PreviousArrow {
  279. color: #41607d;
  280. font-size: 50px;
  281. position: absolute;
  282. margin: auto;
  283. right: 100%;
  284. top: 50%;
  285. padding-right: 20px;
  286. }
  287. .PreviousArrow:hover {
  288. opacity: 0.6;
  289. }
  290. .PreviousArrow:active {
  291. transform: scale(1.1);
  292. }
  293. .PostImage {
  294. display: flex;
  295. align-items: center;
  296. width: 700px;
  297. height: 500px;
  298. object-fit: cover;
  299. margin-left: auto;
  300. margin-right: auto;
  301. box-shadow: 0 10px 10px rgba(0, 0, 0, 0.22);
  302. }
  303. .Form {
  304. box-shadow: 0 10px 10px rgba(0, 0, 0, 0.22);
  305. background: rgb(142, 199, 239);
  306. border-radius: 10px;
  307. }
  308. .LikeStyle {
  309. cursor: pointer;
  310. padding: 3px;
  311. }
  312. .SmileBtn {
  313. font-size: xx-large;
  314. margin-right: 15px;
  315. }
  316. .Filled {
  317. font-size: xx-large;
  318. margin-right: 15px;
  319. color: #108ee9;
  320. }
  321. .Comments {
  322. position: fixed;
  323. margin: 20px;
  324. width: 30%;
  325. padding: 10px;
  326. }
  327. .Scroll {
  328. display: block;
  329. flex-direction: column;
  330. height: 200px;
  331. overflow-y: scroll;
  332. }
  333. .ScrollForFeed {
  334. display: block;
  335. flex-direction: column;
  336. height: 20s0px;
  337. overflow-y: scroll;
  338. }
  339. .button {
  340. background-color: #dbebfa;
  341. color: rgb(0, 0, 0);
  342. -webkit-transition-duration: 0.4s;
  343. transition-duration: 0.4s;
  344. padding: 15px;
  345. font-size: 15px;
  346. border-radius: 5px;
  347. margin: 15px;
  348. font-weight: 600;
  349. font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  350. font-size: 15px;
  351. transition: 0.3s;
  352. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  353. }
  354. .button:hover {
  355. background-color: #fffff7;
  356. color: black;
  357. }
  358. .PostsFeed {
  359. margin: 20px;
  360. padding: 40px;
  361. }
  362. .SpoilerButton {
  363. right: 30px;
  364. margin: 20px;
  365. }
  366. .NumberPosts {
  367. float: right;
  368. margin-bottom: 10px;
  369. }
  370. .Avatar {
  371. margin-left: 20px;
  372. width: 100px;
  373. border: 3px solid #fffff7;
  374. height: 55px;
  375. transition: 0.3s;
  376. }
  377. .Avatar:hover {
  378. box-shadow: 0 5px 10px rgba(21, 46, 57, 0.25),
  379. 0 10px 10px rgba(12, 43, 58, 0.22);
  380. }
  381. .ResultUserFind {
  382. max-width: 500px;
  383. min-width: 320px;
  384. max-height: 500px;
  385. padding: 15px 0;
  386. overflow: auto;
  387. }
  388. .InputOnePost {
  389. display: flex;
  390. width: 40%;
  391. margin-left: 10px;
  392. margin-right: 10px;
  393. }