ft_transcendence/frontend/static/css/search.css
2023-12-16 16:14:46 +01:00

91 lines
1.2 KiB
CSS

#app img
{
max-height: 10vh;
max-width: 10vh;
}
#app ul
{
font-size: 2vh;
margin: 5px 0 0 0;
padding: 0 0 0 0;
list-style-type: none;
}
#app li
{
margin: 10px 10px 0 0;
}
#app #chats {
overflow: hidden;
display: flex;
text-align: left;
}
#app #users {
margin-right: 5vh;
}
#app #chat {
position: relative;
max-height: 80vh;
width: 60%;
/*border: 2px solid green;*/
overflow: hidden;
}
#app #add_chat_off {
text-decoration: underline;
}
#app #messages {
max-height: 50vh;
overflow: scroll;
overflow-y: scroll;
overflow-x: hidden;
font-size: 2vh;
}
#app #input_user{
color: green;
width: 20vh;
height: 3vh;
font-size: 2vh;
}
#app #input_chat{
position: sticky;
bottom: 0;
/*width: calc(100% - 8px);*/
width: 100%;
border: none;
outline: none;
border-bottom: 0.5vh solid green;
caret-color: green;
color: green;
font-size: 2vh;
}
#app #you {
text-align: left;
position: relative;
max-width: 48%;
left: 10px;
margin: 5px 0 0 0;
color: green;
word-wrap: break-word;
}
#app #other {
text-align: right;
position: relative;
max-width: 48%;
margin: 5px 0 0 auto;
right: 10px;
color: red;
/* permet le retour à la ligne à la place de dépasser*/
word-wrap: break-word;
}