|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- padding: 0 5%;
- margin: 0 auto 20px;
- background-color: white;
-
- h5 {
- font-weight: 500;
- letter-spacing: 1px;
- font-size: 18px;
- color: var(--ash-black);
- width: calc(100% - 90px);
-
- span {
- color: var(--dark-grey);
- font-size: 14px;
- }
- }
-
- button {
- width: 30px;
- height: 30px;
- border-radius: 50%;
- background-color: var(--light-grey);
- border: 0px;
-
- &.edit-button {
- background-color: var(--teal-green);
-
- .icon {
- fill: white;
- width: 15px;
- height: 15px;
- }
- }
-
- .icon {
- width: 12px;
- height: 12px;
- fill: white;
- }
- }
- }
-
- ul {
- width: 100%;
- margin: 0 auto;
- list-style: none;
- max-height: calc(100% - 175px);
- overflow: auto;
- position: absolute;
- left: 0px;
- bottom: 95px;
- padding: 0 5%;
-
- li {
- width: 55%;
- }
-
- .message {
- border-radius: 10px;
- padding: 10px;
- font-size: 14px;
- }
-
- .sent {
- margin-left: auto;
-
- .time-stamp {
- text-align: right;
- }
-
- .message {
- color: white;
- background-color: var(--teal);
- border-bottom-right-radius: 0px;
- }
- }
-
- .received {
- margin-right: auto;
-
- .message {
- color: var(--dark-grey);
- background-color: rgba(#cecece, 0.4);
- border-bottom-left-radius: 0px;
- }
- }
-
- .time-stamp {
- font-size: 12px;
- color: var(--dark-grey);
- margin: 5px;
- }
- }
-
- .input-holder {
- display: flex;
- align-items: stretch;
- width: 90%;
- margin: 0 auto;
- position: absolute;
- bottom: 20px;
- left: 5%;
- border-radius: 30px;
- background-color: rgba(#cecece, 0.4);
- overflow: hidden;
- padding: 5px;
-
- .icon {
- fill: white;
- width: 15px;
- height: 15px;
- }
-
- input {
- border: 0px;
- background-color: transparent;
- flex-grow: 1;
- padding-left: 10px;
- }
-
- button {
- width: 40px;
- border-radius: 50%;
- border: 0px;
- height: 40px;
- background-color: var(--teal-green);
- display: flex;
- align-items: center;
- justify-content: center;
- box-shadow: 0px 0px 5px var(--light-grey);
- }
- }
|