Created
May 12, 2020 14:51
-
-
Save dongido001/32b0927e418dce8bfd73c2f52caaa802 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
body, html { | |
overflow: hidden; | |
background-color: #f5f5f5; | |
} | |
.main-container { | |
display: grid; | |
} | |
.message-container { | |
display: grid; | |
border: 1px solid #c4c4c4; | |
min-height: 95vh; | |
width: 70vw; | |
display: none; | |
margin: auto; | |
overflow-y: hidden; | |
margin-top: 20px; | |
} | |
.chat-container { | |
display: grid; | |
/* grid-template-rows: 92% auto; */ | |
/* border: 1px solid #c4c4c4; */ | |
height: 93%; | |
} | |
.chat-body { | |
height: 85vh; | |
overflow-y: auto; | |
} | |
.message-box { | |
/* position: absolute; | |
bottom: 0; */ | |
align-self: bottom; | |
/* border: 1px solid green; */ | |
} | |
.message { | |
background: rgb(225, 235, 225); | |
color: rgb(77, 73, 73); | |
padding: 7px; | |
margin: 5px; | |
font-size: 18px; | |
width: auto; | |
max-width: 50%; | |
display: table; | |
clear: both; | |
border: 1px solid #ababab; | |
} | |
.message-left { | |
float: left; | |
background-color: #dcdcdc; | |
color: #252121; | |
border-radius: 3px; | |
} | |
.message-right { | |
float: right; | |
border-radius: 3px; | |
} | |
.message-username { | |
font-weight: bold; | |
color: #494949; | |
font-size: medium; | |
} | |
#message-input { | |
width: 95%; | |
padding: 4px; | |
height: 55px; | |
font-size: 19px; | |
margin-left: 28px; | |
border-radius: 5px; | |
border: 1px solid grey; | |
outline: none; | |
} | |
#user-login-input { | |
width: 400px; | |
height: 50px; | |
padding: 4px; | |
font-size: 20px; | |
margin: auto; | |
margin-top: 50vh; | |
padding-left: 20px; | |
} | |
button { | |
cursor: pointer; | |
} | |
button:active { | |
color: white; | |
font-weight: bolder; | |
background-color: rgb(70, 61, 61); | |
} | |
.recording { | |
width: 100%; | |
user-select: none; | |
} | |
.row { | |
grid-gap: 5px; | |
margin: 1px; | |
display: grid; | |
grid-template-columns: repeat(12, 1fr); | |
} | |
.col2 { | |
grid-column: span 2; | |
} | |
.col4 { | |
grid-column: span 4; | |
} | |
.col6 { | |
grid-column: span 6; | |
} | |
.col8 { | |
grid-column: span 8; | |
} | |
.col10 { | |
grid-column: span 10; | |
} | |
.col12 { | |
grid-column: span 12; | |
} | |
audio::-webkit-media-controls-panel { | |
color: white; | |
font-weight: bolder; | |
background: #c6c8c6; | |
} | |
@media (max-width: 500px) { | |
.message-container { | |
border: 0px; | |
height: 100vh; | |
width: 100vw; | |
margin: auto; | |
overflow-y: hidden; | |
} | |
#message-input { | |
width: 100%; | |
height: 100%; | |
padding: 4px; | |
font-size: 16px; | |
margin: auto; | |
margin-bottom: -10px; | |
border: 1px solid grey; | |
outline: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment