develop
Last change
on this file since 582789f was 7304c7f, checked in by beratkjufliju <kufliju@…>, 3 years ago |
added user authentication, create & forgot password methods and blades
|
-
Property mode
set to
100644
|
File size:
4.5 KB
|
Rev | Line | |
---|
[7304c7f] | 1 | .chat-app {
|
---|
| 2 | overflow: hidden;
|
---|
| 3 | padding-bottom: 30px;
|
---|
| 4 |
|
---|
| 5 | .content-footer {
|
---|
| 6 | display: none;
|
---|
| 7 | }
|
---|
| 8 |
|
---|
| 9 | &.horizontal-navigation {
|
---|
| 10 | .chat-block {
|
---|
| 11 | height: calc(100vh - #{$header-height + 60px + $header-height - 20px});
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | .layout-wrapper .content-wrapper .content-body .content {
|
---|
| 15 | padding-top: $header-height + 30px + $header-height - 20px;
|
---|
| 16 | }
|
---|
| 17 | }
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | .chat-block {
|
---|
| 21 | height: calc(100vh - #{$header-height + 60px});
|
---|
| 22 | @extend .card;
|
---|
| 23 | border-radius: $default-border-radius;
|
---|
| 24 | overflow: hidden;
|
---|
| 25 | margin-bottom: 0;
|
---|
| 26 |
|
---|
| 27 | .chat-sidebar {
|
---|
| 28 | padding: 1.5rem;
|
---|
| 29 | height: 100%;
|
---|
| 30 | display: flex;
|
---|
| 31 | flex-direction: column;
|
---|
| 32 | background-color: #f8fafb;
|
---|
| 33 |
|
---|
| 34 | .chat-sidebar-header {
|
---|
| 35 | form {
|
---|
| 36 | margin: 1.5rem 0;
|
---|
| 37 | }
|
---|
| 38 | }
|
---|
| 39 |
|
---|
| 40 | .chat-sidebar-content {
|
---|
| 41 | flex: 1;
|
---|
| 42 | height: 100%;
|
---|
| 43 | display: flex;
|
---|
| 44 | flex-direction: column;
|
---|
| 45 | overflow: auto;
|
---|
| 46 |
|
---|
| 47 | .list-group {
|
---|
| 48 | .list-group-item {
|
---|
| 49 | background: white;
|
---|
| 50 | border-radius: $default-border-radius;
|
---|
| 51 | border: 1px solid transparent;
|
---|
| 52 | margin-bottom: 1rem;
|
---|
| 53 |
|
---|
| 54 | &.active {
|
---|
| 55 | color: black;
|
---|
| 56 | border-color: $color-primary
|
---|
| 57 | }
|
---|
| 58 | }
|
---|
| 59 | }
|
---|
| 60 | }
|
---|
| 61 | }
|
---|
| 62 |
|
---|
| 63 | .chat-content {
|
---|
| 64 | display: flex;
|
---|
| 65 | flex-direction: column;
|
---|
| 66 | height: 100%;
|
---|
| 67 |
|
---|
| 68 | .mobile-chat-close-btn {
|
---|
| 69 | display: none;
|
---|
| 70 | }
|
---|
| 71 |
|
---|
| 72 | .chat-header {
|
---|
| 73 | padding: 1.5rem;
|
---|
| 74 | }
|
---|
| 75 |
|
---|
| 76 | .messages {
|
---|
| 77 | padding: 1.5rem;
|
---|
| 78 | display: flex;
|
---|
| 79 | flex-direction: column;
|
---|
| 80 | align-items: flex-start;
|
---|
| 81 | flex: 1;
|
---|
| 82 | overflow-x: hidden;
|
---|
| 83 |
|
---|
| 84 | .message-item {
|
---|
| 85 | margin-bottom: 20px;
|
---|
| 86 | padding-left: 10px;
|
---|
| 87 | display: flex;
|
---|
| 88 | align-items: center;
|
---|
| 89 | position: relative;
|
---|
| 90 |
|
---|
| 91 | .time {
|
---|
| 92 | margin-left: 1rem;
|
---|
| 93 | }
|
---|
| 94 |
|
---|
| 95 | img {
|
---|
| 96 | max-width: 30%;
|
---|
| 97 | border-radius: .50rem;
|
---|
| 98 | }
|
---|
| 99 |
|
---|
| 100 | &:not(.message-media):not(.message-item-divider):before {
|
---|
| 101 | content: '';
|
---|
| 102 | border: 10px solid transparent;
|
---|
| 103 | border-right-color: #f0f0f0;
|
---|
| 104 | position: absolute;
|
---|
| 105 | top: 8px;
|
---|
| 106 | left: -10px;
|
---|
| 107 | z-index: 1;
|
---|
| 108 | }
|
---|
| 109 |
|
---|
| 110 | .message-item-content {
|
---|
| 111 | max-width: 75%;
|
---|
| 112 | background-color: #f0f0f0;
|
---|
| 113 | padding: 7px 15px;
|
---|
| 114 | line-height: 1.5rem;
|
---|
| 115 | border-radius: .50rem;
|
---|
| 116 | position: relative;
|
---|
| 117 | z-index: 2;
|
---|
| 118 | }
|
---|
| 119 |
|
---|
| 120 | &.me {
|
---|
| 121 | flex-direction: row-reverse;
|
---|
| 122 | margin-left: auto;
|
---|
| 123 | padding-left: 0px;
|
---|
| 124 | padding-right: 10px;
|
---|
| 125 |
|
---|
| 126 | .time {
|
---|
| 127 | margin-left: 0;
|
---|
| 128 | margin-right: 1rem;
|
---|
| 129 | }
|
---|
| 130 |
|
---|
| 131 | &:not(.message-item-divider):before {
|
---|
| 132 | left: auto;
|
---|
| 133 | right: -10px;
|
---|
| 134 | border-left-color: $color-primary;
|
---|
| 135 | border-right-color: transparent;
|
---|
| 136 |
|
---|
| 137 | }
|
---|
| 138 |
|
---|
| 139 | .message-item-content {
|
---|
| 140 | background-color: $color-primary;
|
---|
| 141 | color: rgba(white, .9);
|
---|
| 142 | }
|
---|
| 143 | }
|
---|
| 144 |
|
---|
| 145 | &.message-item-divider {
|
---|
| 146 | width: 100%;
|
---|
| 147 | display: flex;
|
---|
| 148 |
|
---|
| 149 | span {
|
---|
| 150 | @extend .small;
|
---|
| 151 | @extend .text-muted;
|
---|
| 152 | padding: 0 10px;
|
---|
| 153 | user-select: none;
|
---|
| 154 | }
|
---|
| 155 |
|
---|
| 156 | &:before, &:after {
|
---|
| 157 | content: '';
|
---|
| 158 | display: block;
|
---|
| 159 | height: 1px;
|
---|
| 160 | background-color: #f0f0f0;
|
---|
| 161 | flex: 1;
|
---|
| 162 | }
|
---|
| 163 | }
|
---|
| 164 | }
|
---|
| 165 | }
|
---|
| 166 |
|
---|
| 167 | .chat-footer {
|
---|
| 168 | padding: 1.5rem;
|
---|
| 169 |
|
---|
| 170 | .chat-footer-buttons {
|
---|
| 171 | button {
|
---|
| 172 | margin-left: .5rem;
|
---|
| 173 | }
|
---|
| 174 | }
|
---|
| 175 | }
|
---|
| 176 | }
|
---|
| 177 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.