|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433 |
- .add-post {
- width: 90%;
- margin: 10px auto 20px;
- .post-input {
- border: 0px;
- height: 150px;
- display: block;
- width: 100%;
- font-size: 16px;
- color: var(--white);
- padding: 10px;
- background-color: transparent;
- border: 2px solid var(--dark-grey);
- border-radius: 7px;
- resize: none;
- margin: 20px auto;
-
- &::placeholder {
- opacity: 0.8;
- font-weight: 400;
- }
- }
-
- .action-buttons {
- display: flex;
- width: 100%;
- margin-top: 20px;
- justify-content: space-between;
- }
-
- .input-holder {
- display: flex;
- align-items: center;
- width: 100%;
- justify-content: flex-start;
- margin-bottom: 10px;
- background-color: var(--ash-black);
- border-radius: 5px;
- padding: 10px;
- height: 55px;
-
- .icon {
- width: 20px;
- height: 20px;
- fill: var(--light-grey);
- }
-
- textarea, input {
- font-size: 14px;
- border: 0px;
- background-color: transparent;
- padding: 0 10px;
- color: var(--white);
- display: block;
- flex-grow: 1;
- resize: none;
-
- &::placeholder {
- opacity: 0.8;
- font-weight: 400;
- }
- }
-
- input[type="file"] {
- height: auto;
- color: vaR(--light-grey);
- }
- }
-
- .add-post-button {
- display: block;
- flex-grow: 1;
- height: 40px;
- font-size: 14px;
- background-color: var(--teal-green);
- color: var(--white);
- border: 0px;
- border-radius: 5px;
- }
-
- .cancel-post-button {
- display: block;
- width: 100px;
- height: 40px;
- font-size: 14px;
- background-color: var(--dark-grey);
- color: var(--white);
- border: 0px;
- border-radius: 5px;
- margin-right: 20px;
- }
- }
-
- .more-options-slideup {
- position: fixed;
- width: 100%;
- background-color: var(--ash-black);
- left: 0;
- bottom: 0;
- z-index: 1;
- transform: translateY(100vh);
- transition: box-shadow 0.5s, transform 0.5s;
-
- &.active {
- box-shadow: 0 0 100vw 100vh rgba(black, 0.8);
- transform: translateY(0);
- }
-
- header {
- background-color: var(--ash-black);
- filter: brightness(85%);
- display: flex;
- align-items: center;
- height: 45px;
- padding: 0 5%;
- position: relative;
- }
-
- .close-button {
- border: 0px;
- background-color: transparent;
- margin-left: auto;
-
- .icon {
- width: 13px;
- height: 13px;
- fill: var(--light-grey);
- }
- }
-
- h4 {
- color: var(--light-grey);
- font-size: 14px;
- font-weight: 400;
- }
-
- textarea {
- display: block;
- height: 150px;
- resize: none;
- background-color: var(--black);
- font-size: 14px;
- color: var(--light-grey);
- padding: 15px;
- border-radius: 7px;
- width: 90%;
- margin: 20px auto;
- border: 0px;
- }
-
- .post-comment-button {
- width: 90%;
- margin: 20px auto;
- height: 40px;
- background-color: var(--dark-grey);
- box-shadow: 1px 1px 5px var(--black);
- border-radius: 5px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: var(--light-grey);
- font-size: 14px;
- border: 0px;
- }
-
- ul {
- position: relative;
- list-style: none;
- padding: 0 5%;
-
- li {
- text-align: center;
- color: var(--white);
- margin: 20px auto;
- font-size: 14px;
- }
- }
- }
-
-
- .forum-post-list {
- list-style: none;
- width: 100%;
- margin: 0 auto;
- overflow: hidden;
- padding: 0 2%;
-
- .post {
- background-color: var(--ash-black);
- padding: 20px 5%;
- position: relative;
- border-radius: 10px;
- overflow: hidden;
- margin: 20px auto;
-
- &.active {
- box-shadow: 0px 0px 5px var(--teal-green);
-
- p {
- display: block;
- max-height: none;
- }
- .comment-list {
- display: block;
- }
- }
- }
-
- .tags {
- width: 100%;
-
- button {
- background-color: var(--black);
- color: var(--white);
- border-radius: 20px;
- height: 25px;
- font-size: 12px;
- padding: 0 15px;
- border: 0px;
- margin-right: 5px;
- }
- }
-
- .book-mark-button {
- position: absolute;
- right: 10px;
- top: 0;
- border: 0px;
- background-color: transparent;
-
- &.active {
- .icon {
- fill: var(--teal);
- }
- }
-
- .icon {
- width: 15px;
- height: 15px;
- fill: var(--light-grey);
- }
- }
-
- h5 {
- font-size: 16px;
- color: var(--white);
- font-weight: 400;
- margin: 0px auto 15px;
- }
-
- p {
- font-size: 14px;
- color: var(--light-grey);
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- max-height: 50px;
- margin: 15px auto;
- line-height: 1.7;
-
- a {
- color: var(--teal);
- }
- }
-
- .author {
- display: flex;
- align-items: center;
- width: 100%;
- margin: 15px auto;
-
- img {
- width: 20px;
- height: 20px;
- border-radius: 50%;
- margin-right: 7px;
- }
-
- label {
- font-size: 12px;
- color: var(--white);
- }
-
- .time-stamp {
- margin-left: 20px;
- color: var(--light-grey);
- font-size: 12px;
-
- &::before {
- content: '';
- width: 5px;
- height: 5px;
- background-color: var(--light-grey);
- border-radius: 50%;
- display: inline-block;
- margin-right: 7px;
- vertical-align: middle;
- }
- }
- }
-
- .action-buttons {
- display: flex;
- align-items: center;
- width: 100%;
-
- button {
- background-color: transparent;
- color: var(--light-grey);
- padding: 0 10px;
- height: 30px;
- margin-right: 10px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid var(--light-grey);
- border-radius: 5px;
-
- &.active {
- color: var(--teal-green);
-
- .icon {
- fill: var(--teal-green);
- }
- }
-
- .icon {
- width: 15px;
- height: 15px;
- margin-right: 5px;
- fill: var(--light-grey);
- }
-
- span {
- font-size: 12px;
- }
-
- &.more-button {
- margin-left: auto;
- border: 1px solid var(--light-grey);
- border-radius: 5px;
- display: flex;
- align-items: center;
- justify-content: center;
- height: 20px;
-
- .icon {
- margin-right: 0;
- }
- }
- }
- }
- }
-
- .question {
- font-weight: 400;
- font-size: 20px;
- padding: 0 5%;
- color: var(--light-grey);
- margin: 20px auto;
- }
-
- .post-header {
- margin: 20px auto;
- padding: 0 5%;
- font-size: 16px;
- color: var(--light-grey);
- text-align: center;
- }
-
-
- .add-comment-button {
- width: 100%;
- margin: 30px auto;
- height: 40px;
- background-color: var(--dark-grey);
- box-shadow: 1px 1px 5px var(--black);
- border-radius: 5px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: var(--light-grey);
- font-size: 14px;
- border: 0px;
-
- .icon {
- width: 15px;
- height: 15px;
- margin-right: 5px;
- fill: var(--light-grey);
- }
- }
-
- .comment-list {
- list-style: none;
- margin: 20px auto;
- padding: 5px 5% 20px;
- display: none;
- background-color: var(--black);
- border-radius: 10px;
- box-shadow: 0px 0px 5px var(--black);
-
- .comment {
- margin-bottom: 40px;
-
- &:last-child {
- margin-bottom: 0;
- }
-
- p {
- display: block;
- max-height: none;
- margin: 10px auto;
- }
-
- .author {
- margin: 10px auto;
- }
-
- &.reply-comment {
- margin-top: 10px;
- margin-bottom: 0px;
- padding: 10px;
- margin-left: auto;
- width: 99%;
- background-color: var(--ash-black);
- border-left: 3px solid var(--light-grey);
- border-top-right-radius: 7px;
- border-bottom-right-radius: 7px;
- }
- }
- }
|