ft_transcendence/frontend/static/css/search.css

96 lines
1.3 KiB
CSS
Raw Normal View History

2023-12-11 08:54:39 -05:00
#app img
{
2023-12-16 10:14:46 -05:00
max-height: 10vh;
max-width: 10vh;
2023-12-11 08:54:39 -05:00
}
#app ul
{
2023-12-16 10:14:46 -05:00
font-size: 2vh;
margin: 1vh 0 0 0;
2023-12-11 08:54:39 -05:00
padding: 0 0 0 0;
list-style-type: none;
max-height: 80vh;
overflow: auto;
2023-12-11 08:54:39 -05:00
}
#app li
{
margin: 1vh 1vh 0 0;
2023-12-11 08:54:39 -05:00
}
2023-12-15 14:32:43 -05:00
#app #chats {
overflow: hidden;
display: flex;
text-align: left;
}
#app #users {
margin: 0vh 5vh 0vh 0.1vh;
2023-12-15 14:32:43 -05:00
}
#app #chat {
position: relative;
2023-12-16 10:14:46 -05:00
max-height: 80vh;
width: 80vh;
2023-12-16 10:14:46 -05:00
/*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: 2.5vh;
2023-12-16 10:14:46 -05:00
font-size: 2vh;
border: none;
outline: none;
border-bottom: 0.25vh solid green;
2023-12-15 14:32:43 -05:00
}
#app #input_chat{
position: sticky;
bottom: 0;
/*width: calc(100% - 8px);*/
width: 100%;
border: none;
outline: none;
border-bottom: 0.25vh solid green;
2023-12-15 14:32:43 -05:00
caret-color: green;
2023-12-16 10:14:46 -05:00
color: green;
font-size: 2vh;
2023-12-15 14:32:43 -05:00
}
#app #you {
text-align: left;
position: relative;
max-width: 48%;
left: 2vh;
margin: 1vh 0 0 0;
2023-12-15 14:32:43 -05:00
color: green;
word-wrap: break-word;
}
#app #other {
text-align: right;
position: relative;
max-width: 48%;
margin: 1vh 0 0 auto;
right: 2vh;
2023-12-15 14:32:43 -05:00
color: red;
/* permet le retour à la ligne à la place de dépasser*/
word-wrap: break-word;
}