html, body { margin:0; padding:0; height:100%; width:100%; overflow-x: hidden; } .fullScreen { height:100%; width:100%; } /* Top-level layout style: sidebar + main view */ #mountPoint { padding-left: 0; transition: all 0.5s ease; height: 100%; } #mountPoint.toggled { padding-left: 30em; } #sidebar-wrapper { position: fixed; left: 30em; width: 0; height: 100%; margin-left: -30em; overflow-y: auto; transition: all 0.5s ease; } #mountPoint.toggled #sidebar-wrapper { width: 30em; } #page-content-wrapper { width: 100%; height: 100%; position: absolute; background-color: #CCF } #mountPoint.toggled #page-content-wrapper { position: absolute; margin-right: -30em; } .sidebar-nav { position: absolute; top: 0; width: 30em; margin: 0; padding: 0; } @media(min-width:768px) { #mountPoint { padding-left: 30em; } #mountPoint.toggled { padding-left: 0; } #sidebar-wrapper { width: 30em; } #mountPoint.toggled #sidebar-wrapper { width: 0; } #page-content-wrapper { position: relative; height: 100%; } #mountPoint.toggled #page-content-wrapper { position: relative; margin-right: 0; } } /* END of top-level layout */ .avatar { width: 32pt; height: auto; } .navbar { height: 64px; margin-bottom: 0.2em; } .navbar .avatar { margin-left: 4pt; margin-right: 4pt; margin-top: 8pt; } .label-as-badge { border-radius: 1em; margin-left: 1em; } .contactList { padding: 0.5em; } .contactList li { padding: 0.5em; } .contactList li:hover { background-color: #EEE; } .contact { margin-top: 0; } .online, .offline { font-size: 14pt; } .online { color: #8B7; } .offline { color: #999; } .fullHeight { height: 100%; overflow: hidden; } .fullViewPort { height: 98vh; overflow-y: hidden; } .col-lg-12 { padding: 0; margin: 0; } #chatTitle { z-index: 2; position: absolute; left: 0; right: 0; top: 0; height: 64px; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15); } #messagesPanel { overflow-y: scroll; padding-top: 0; padding-bottom: 0; background-image: url("../img/ignasi_pattern_s.png"); } #messagesView { padding-top: 70px; } #sendMessagePanel { position: absolute; bottom: 0; box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.15); } #dummyView { display:flex; align-items: center; justify-content: center; background-color: #E9E9FF; } .chatBox { list-style: none; padding: 1.5em 0 1.5em; position: relative; } .chatBox > li { margin-bottom: 1em; position: relative; x-white-space: pre; } .chatBox > li:before, .chatBox > li:after { content: " "; display: table; } .chatBox > li:after { clear: both; } .chatBox > li > .chatBox-panel { max-width: 90%; float: right; background-color: #EFE; border: 1px solid #CDC; border-radius: 4px; padding: 1em; position: relative; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15); } .chatBox > li > .chatBox-panel:before { position: absolute; top: 9px; right: -12px; display: inline-block; border-top: 12px solid transparent; border-left: 12px solid #CCC; border-right: 0px solid #CCC; border-bottom: 12px solid transparent; content: " "; } .chatBox > li > .chatBox-panel:after { position: absolute; top: 10px; right: -11px; display: inline-block; border-top: 11px solid transparent; border-left: 11px solid #EFE; border-right: 0 solid #EEF; border-bottom: 11px solid transparent; content: " "; } .chatBox > li.chatBox-inverted > .chatBox-panel { background-color: #EEF; border: 1px solid #CCD; float: left; } .chatBox > li.chatBox-inverted > .chatBox-panel:before { border-left-width: 0; border-right-width: 12px; left: -12px; right: auto; } .chatBox > li.chatBox-inverted > .chatBox-panel:after { border-left-width: 0; border-right-width: 11px; left: -11px; right: auto; } .chatBox .timestamp { padding-left: 3em; } .chatBox-body > p, .chatBox-body > ul { margin-bottom: 0; } .chatBox-body > p + p { margin-top: 0.5em; }