App.scss 7.3 KB

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