123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576 |
- #sideToolbarContainer {
- background-color: $chatBackgroundColor;
- box-sizing: border-box;
- color: #FFF;
- display: flex;
- flex-direction: column;
- height: 100%;
- left: -$sidebarWidth;
- overflow: hidden;
- position: absolute;
- top: 0;
- width: $sidebarWidth;
- z-index: $sideToolbarContainerZ;
-
- /**
- * The sidebar (chat) is off-screen when hidden. Move it flush to the left
- * side of the window when it should be visible.
- */
- &.slideInExt {
- left: 0;
- }
- }
-
- #chatconversation {
- box-sizing: border-box;
- flex: 1;
- font-size: 10pt;
- line-height: 20px;
- overflow: auto;
- padding: 16px;
- text-align: left;
- width: $sidebarWidth;
- word-wrap: break-word;
-
- display: flex;
- flex-direction: column;
-
- & > :first-child {
- margin-top: auto;
- }
-
- a {
- display: block;
- }
-
- a:link {
- color: rgb(184, 184, 184);
- }
-
- a:visited {
- color: white;
- }
-
- a:hover {
- color: rgb(213, 213, 213);
- }
-
- a:active {
- color: black;
- }
-
- &::-webkit-scrollbar {
- background: #06a5df;
- width: 7px;
- }
-
- &::-webkit-scrollbar-button {
- display: none;
- }
-
- &::-webkit-scrollbar-track {
- background: black;
- }
-
- &::-webkit-scrollbar-track-piece {
- background: black;
- }
-
- &::-webkit-scrollbar-thumb {
- background: #06a5df;
- border-radius: 4px;
- }
- }
-
- #chat-recipient {
- align-items: center;
- background-color: $chatPrivateMessageBackgroundColor;
- display: flex;
- flex-direction: row;
- font-weight: 100;
- padding: 10px;
-
- span {
- color: white;
- display: flex;
- flex: 1;
- }
-
- div {
- svg {
- cursor: pointer;
- fill: white;
- }
- }
- }
-
-
- .chat-header {
- height: 70px;
- position: relative;
- width: 100%;
- z-index: 1;
- display: flex;
- justify-content: space-between;
- padding: 16px;
- align-items: center;
- box-sizing: border-box;
- color: #fff;
- font-weight: 600;
- font-size: 24px;
- line-height: 32px;
-
- .jitsi-icon {
- cursor: pointer;
- }
- }
-
- .chat-input-container {
- padding: 0 16px 16px;
-
- &.populated {
- #chat-input {
- .send-button {
- background: #1B67EC;
- cursor: pointer;
- margin-left: 0.3rem;
-
- @media (hover: hover) and (pointer: fine) {
- &:hover {
- background: #3D82FB;
- }
- }
-
- &:active {
- background: #0852D4;
- }
-
- path {
- fill: #fff;
- }
- }
- }
- }
- }
-
- #chat-input {
- border: 1px solid $chatInputSeparatorColor;
- display: flex;
- padding: 4px;
- border-radius: 3px;
-
- &:focus-within {
- border: 1px solid #619CF4;
- }
-
- * {
- background-color: transparent;
- }
- }
-
- .send-button-container {
- display: flex;
- align-items: center;
- }
-
- .send-button {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 40px;
- width: 40px;
- border-radius: 3px;
-
- path {
- fill: $chatInputSeparatorColor;
- }
- }
-
- .smiley-button {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 38px;
- width: 38px;
- margin: 2px;
- border-radius: 3px;
- }
-
- #chat-input .smiley-button {
- @media (hover: hover) and (pointer: fine) {
- &:hover {
- background-color: #484A4F;
- }
- }
- }
-
- .remoteuser {
- color: #B8C7E0;
- }
-
- .usrmsg-form {
- flex: 1;
- }
-
- #usermsg {
- border: 0px none;
- border-radius:0;
- box-shadow: none;
- color: white;
- font-size: 14px;
- padding: 10px;
- overflow-y: auto;
- resize: none;
- width: 100%;
- word-break: break-word;
- }
-
- #usermsg:hover {
- border: 0px none;
- box-shadow: none;
- }
- #usermsg:focus,
- #usermsg:active {
- border-bottom: 1px solid white;
- padding-bottom: 8px;
- }
-
- #nickname {
- text-align: center;
- color: #9d9d9d;
- font-size: 16px;
- margin: auto 0;
- padding: 0 16px;
-
- #nickname-title {
- margin-bottom: 5px;
- display: block;
- }
-
- label[for="nickinput"] {
- > div > span {
- color: #B8C7E0;
- }
- }
- input {
- height: 40px;
- }
-
- label {
- line-height: 24px;
- }
-
- .enter-chat {
- display: flex;
- align-items: center;
- justify-content: center;
- margin-top: 16px;
- height: 40px;
- background: #1B67EC;
- border-radius: 3px;
- color: #fff;
- cursor: pointer;
-
- &.disabled {
- color: #AFB6BC;
- background: #11336E;
- pointer-events: none;
- }
- }
- }
-
- .mobile-browser {
- #nickname {
- input {
- height: 48px;
- }
-
- .enter-chat {
- height: 48px;
- }
- }
-
- #usermsg {
- font-size: 16px;
- }
-
- .chatmessage .usermessage {
- font-size: 16px;
- }
- }
-
- .sideToolbarContainer {
- * {
- -webkit-user-select: text;
- user-select: text;
- }
-
- .display-name {
- font-size: 12px;
- font-weight: 600;
- margin-bottom: 5px;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
-
- @media (max-width: 580px) {
- display: none !important;
- }
- }
-
- .sr-only {
- border: 0 !important;
- clip: rect(1px, 1px, 1px, 1px) !important;
- clip-path: inset(50%) !important;
- height: 1px !important;
- margin: -1px !important;
- overflow: hidden !important;
- padding: 0 !important;
- position: absolute !important;
- width: 1px !important;
- white-space: nowrap !important;
- }
-
- .chatmessage {
- background-color: $chatRemoteMessageBackgroundColor;
- border-radius: 0px 6px 6px 6px;
- box-sizing: border-box;
- color: white;
- margin-top: 3px;
- max-width: 100%;
- position: relative;
-
- &.localuser {
- background-color: $chatLocalMessageBackgroundColor;
- border-radius: 6px 0px 6px 6px;
- }
-
- .usermessage {
- white-space: pre-wrap;
- font-size: 14px;
- }
-
- &.error {
- border-radius: 0px;
-
- .timestamp,
- .display-name {
- display: none;
- }
-
- .usermessage {
- color: red;
- padding: 0;
- }
- }
-
- .privatemessagenotice {
- font-size: 11px;
- font-weight: 100;
- }
-
- .messagecontent {
- margin: 8px;
- max-width: 100%;
- overflow: hidden;
- }
- }
-
- .timestamp {
- color: #757575;
- }
-
- #smileys {
- font-size: 20pt;
- margin: auto;
- cursor: pointer;
- }
-
- #smileys img {
- width: 22px;
- padding: 2px;
- }
-
- #smileysarea {
- display: flex;
- max-height: 150px;
- min-height: 35px;
- overflow: hidden;
- }
-
- .smiley-input {
- display: flex;
- position: relative;
- }
-
- .smileys-panel {
- bottom: 100%;
- box-sizing: border-box;
- background-color: rgba(0, 0, 0, .6) !important;
- height: auto;
- display: none;
- overflow: hidden;
- position: absolute;
- width: calc(#{$sidebarWidth} - 32px);
- margin-bottom: 5px;
- margin-left: -5px;
-
- /**
- * CSS transitions do not apply for auto dimensions. So to produce the css
- * accordion effect for showing and hiding the smiley-panel, while allowing
- * for variable panel, height, use a very large max-height and animate off
- * of that.
- */
- transition: max-height 0.3s;
-
- &.show-smileys {
- display: flex;
- max-height: 500%;
- }
-
- #smileysContainer {
- background-color: $chatBackgroundColor;
- border-top: 1px solid $chatInputSeparatorColor;
- }
- }
-
- #smileysContainer .smiley {
- font-size: 20pt;
- }
-
- .smileyContainer {
- width: 40px;
- height: 40px;
- display: inline-block;
- text-align: center;
- }
-
- .smileyContainer:hover {
- background-color: $newToolbarButtonToggleColor;
- border-radius: 5px;
- cursor: pointer;
- }
-
- #usermsg::-webkit-scrollbar-track-piece {
- background: #3a3a3a;
- }
-
- .chat-message-group {
- display: flex;
- flex-direction: column;
-
- &.local {
- align-items: flex-end;
-
- .chatmessage {
- background-color: $chatLocalMessageBackgroundColor;
- border-radius: 6px 0px 6px 6px;
-
- &.privatemessage {
- background-color: $chatPrivateMessageBackgroundColor;
- }
- }
-
- .display-name {
- display: none;
- }
-
- .timestamp {
- text-align: right;
- }
- }
-
- &.error {
- .chatmessage {
- background-color: $defaultWarningColor;
- border-radius: 0px;
- font-weight: 100;
- }
-
- .display-name {
- display: none;
- }
- }
-
- .chatmessage-wrapper {
- max-width: 100%;
-
- .replywrapper {
- display: flex;
- flex-direction: row;
- align-items: center;
-
- .messageactions {
- align-self: stretch;
- border-left: 1px solid $chatActionsSeparatorColor;
- display: flex;
- flex-direction: column;
- justify-content: center;
- padding: 5px;
-
- .toolbox-icon {
- cursor: pointer;
- }
- }
- }
- }
-
- .chatmessage {
- background-color: $chatRemoteMessageBackgroundColor;
- border-radius: 0px 6px 6px 6px;
- display: inline-block;
- margin-top: 3px;
- color: white;
-
- &.privatemessage {
- background-color: $chatPrivateMessageBackgroundColor;
- }
- }
- }
-
- .chat-dialog {
- display: flex;
- flex-direction: column;
- height: 100%;
- margin-top: -5px; // Margin set by atlaskit.
-
- &-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin: 16px;
- width: calc(100% - 32px);
- box-sizing: border-box;
- color: #fff;
- font-weight: 600;
- font-size: 24px;
- line-height: 32px;
-
- .jitsi-icon {
- cursor: pointer;
- }
- }
-
- #chatconversation {
- width: 100%;
- }
- }
-
- .touchmove-hack {
- display: flex;
- flex: 1;
- overflow: auto;
- }
-
- /**
- * Make header close button more easily tappable on mobile.
- */
- .mobile-browser .chat-dialog-header .jitsi-icon {
- display: grid;
- place-items: center;
- height: 48px;
- width: 48px;
- background: #36383C;
- border-radius: 3px;
- }
|