/
Garuda
/
flash-front
Обзор
Документация
Войти
/
Garuda
/
flash-front
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/components/HomePage/Post/Post.css
158 строк
3 KB
Torward
modified: package-lock.json
30 окт 2024, 11:13
30 окт 2024, 11:13
f87f8d7
Код
Авторство
О чём код?
@font-face { font-family: "Palace of Sports"; font-style: normal; src: url("../../../fonts/palace_of_sports.otf"); font-family: "Petrogradsky"; font-style: normal; src: url("../../../fonts/petrogradski.otf"); } .post-container { color: rgb(128, 191, 255); border: 1px solid rgb(30, 73, 118); background-color: rgb(0, 30, 60); box-shadow: rgb(0, 30, 60) 0px 0px 25px, rgb(0, 30, 60) 0px 0px 15px; transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; border-radius: 10px; margin: 25px 35px; display: flex; } .post-container__header { display: flex; justify-content: space-between; align-items: center; max-height: 70px; border-bottom: 2px solid white; } .post-container__header__user-info { display: flex; align-items: center; padding: 10px; } .post-avatar { min-height: 40px; min-width: 40px; margin: auto 0; } .post-data{ display: flex; flex-direction: column; text-align: start; margin-left: 5px; } .post-location{ font-size: 12px; font-weight: 500; color: gray; } .post-username { margin: auto 0; font-weight: bold; cursor: default; } .post-container__img-block { display: flex; flex-direction: column; justify-content: center; border-bottom: 2px solid white; } .img-block__img { width: 100%; z-index: 1; } .post-container__analitics { display: flex; justify-content: space-between; align-items: center; padding-left: 20px; border-bottom: 1px solid rgb(30, 73, 118); height: 50px; /*margin-top: 5px;*/ /*margin-bottom: 5px;*/ } .comment-input__button{ position: absolute; padding: 12px 10px; right: 0; bottom: 0; background-color: rgb(128, 191, 255); /*border: 1px solid rgb(30, 73, 118);*/ border-radius: 0 0 8px 0; color: rgb(0, 30, 60); } .bookmark { float: right; } .likes-block { font-weight: bold; margin: 5px; cursor: default; } .post-container__comments { border-bottom: 1px solid rgb(30, 73, 118); cursor: default; } .comment-payload { margin: 10px; color: gray; font-weight: 500; } .post-container__comment-input{ position: relative; height: 50px; } .css-5cs7t1-MuiInputBase-root-MuiFilledInput-root::before { background: transparent; border-bottom: 1px solid rgb(30, 73, 118) !important; outline: none; } .css-5cs7t1-MuiInputBase-root-MuiFilledInput-root:hover { /*border-bottom: 1px solid rgba(71, 163, 255, 0.767) !important;*/ /*border: none;*/ outline: none; } .comment-input__input { width: 100%; opacity: 1; transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; background-color: rgb(0, 30, 60); transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; border-radius: 0 0 8px 8px; color: rgb(128, 191, 255); /*border: 1px solid rgb(30, 73, 118);*/ overflow: hidden; height: 30px; /*padding-top: 25px;*/ /*padding-bottom: 25px;*/ padding-left: 10px; } .comment-input__input:hover { outline: none; border: 1px solid rgba(71, 163, 255, 0.767); } .comment-input__input::placeholder { color: rgb(159, 205, 252); } .content-field::-webkit-scrollbar{ display: none; }