ft_transcendence/frontend/static/css/search.css

100 lines
1.4 KiB
CSS
Raw Normal View History

2023-12-11 08:54:39 -05:00
#app img
{
2023-12-18 15:26:18 -05:00
max-height: 3em;
max-width: 3em;
2023-12-11 08:54:39 -05:00
}
#app ul
{
2023-12-18 16:27:02 -05:00
font-size: 24em;
2023-12-18 15:26:18 -05:00
margin: 0.25em 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
{
2023-12-18 15:26:18 -05:00
margin: 0.25em 0.25em 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 {
2023-12-18 15:26:18 -05:00
margin: 0em 1.0em 0em 0.05em;
2023-12-15 14:32:43 -05:00
}
#app #chat {
position: relative;
2023-12-18 15:26:18 -05:00
max-height: 86vh;
width: 100vh;
2023-12-16 10:14:46 -05:00
/*border: 2px solid green;*/
overflow: hidden;
}
2023-12-18 15:26:18 -05:00
#app #members {
2023-12-18 16:27:02 -05:00
font-size: 32px;
2023-12-18 15:26:18 -05:00
}
2023-12-16 10:14:46 -05:00
#app #add_chat_off {
text-decoration: underline;
}
#app #messages {
2023-12-18 15:26:18 -05:00
max-height: 50em;
2023-12-16 10:14:46 -05:00
overflow: scroll;
overflow-y: scroll;
overflow-x: hidden;
2023-12-18 16:27:02 -05:00
font-size: 18px;
2023-12-16 10:14:46 -05:00
}
#app #input_user{
color: green;
2023-12-18 15:26:18 -05:00
width: 8.5em;
height: 1.1em;
2023-12-18 16:27:02 -05:00
font-size: 18px;
border: none;
outline: none;
2023-12-18 15:26:18 -05:00
border-bottom: 0.15em 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;
2023-12-18 15:26:18 -05:00
border-bottom: 0.2em solid green;
2023-12-15 14:32:43 -05:00
caret-color: green;
2023-12-16 10:14:46 -05:00
color: green;
2023-12-18 16:27:02 -05:00
font-size: 16px;
2023-12-15 14:32:43 -05:00
}
#app #you {
text-align: left;
position: relative;
max-width: 48%;
2023-12-18 15:26:18 -05:00
left: 0.5em;
margin: 0.5em 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%;
2023-12-18 15:26:18 -05:00
margin: 0.5em 0 0 auto;
right: 0.5em;
2023-12-15 14:32:43 -05:00
color: red;
/* permet le retour à la ligne à la place de dépasser*/
word-wrap: break-word;
}