lchat/web/resources/static/css/styles.css

130 lines
1.9 KiB
CSS

body {
font-family: "Sans Serif", sans-serif;
}
.login {
margin: 20px;
}
.login a {
color: black;
}
.app {
display: none;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
overflow: clip;
}
.topBar {
position: absolute;
background-color: grey;
display: flex;
top: 0;
left: 0;
right: 0;
padding: 20px;
color: white;
}
.topBar button {
margin-left: auto;
background: none;
border: none;
color: white;
font-size: 16px;
}
.topBar span {
font-size: 18px;
font-weight: 400;
}
.messageBox {
display: flex;
flex-direction: column;
overflow-y: scroll;
max-height: calc(100% - 148px);
padding: 11.5px 10px 0 10px;
margin: 65px 0;
}
.messageBox div {
display: flex;
flex-direction: column;
background-color: lightgrey;
padding: 15px 20px 20px 20px;
position: relative;
margin-bottom: 15px;
}
.messageBox div .author {
font-size: 15px;
}
.messageBox div .content {
margin-top: 5px;
}
.messageBox div .timestamp {
position: absolute;
top: 15px;
right: calc(15px + 5ch);
font-size: 15px;
}
.messageBox div button {
background-color: grey;
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 40px;
border: 0;
}
.sendBox {
position: absolute;
background-color: grey;
bottom: 0;
left: 0;
right: 0;
padding: 20px;
display: flex;
}
.sendBox input {
width: 100%;
height: 35px;
border: 3px solid white;
}
.sendBox button {
background-color: lightgrey;
border: none;
padding: 0 20px;
}
.hide {
display: none;
}
.container input {
width: calc(100% - 15px);
height: 35px;
padding: 3px 3px 3px 10px;
margin: 0 0 10px 0;
border: 1px solid grey;
}
.container button {
background-color: lightgrey;
margin-top: 5px;
height: 40px;
padding: 0 20px;
border: 1px solid grey;
}