ester-klient/view/main.css
2019-12-24 12:35:25 +01:00

125 lines
No EOL
2.2 KiB
CSS

html {
background: url("./assets/images/background.jpg");
background-size: cover;
margin: 0;
padding: 0;
}
body {
margin: 0;
padding: 0;
}
.contents {
display: flex;
width: 100%;
height: 100%;
}
.content-item {
width: 50%;
height: 100%;
margin: 0;
padding: 0;
}
.grid-stack-item-content {
backdrop-filter: blur(25px);
border-radius: 15px;
color: white;
padding: 5px;
}
.avatar {
margin: 5px;
backdrop-filter: blur(25px);
color: white;
border-radius: 140px 15px 15px 140px;
padding: 0;
}
.avatar--img {
height: 140;
border-radius: 50%;
}
.avatar--text {
display: inline-block;
position: absolute;
top: 0;
left: 145px;
vertical-align: middle;
margin-top: 56px;
}
.chat--content {
height: calc(100% - 20px);
backdrop-filter: blur(5px);
overflow-y: auto;
overflow-x: hidden;
}
.chat--divider {
color: white;
text-align: center;
margin-top: 15px;
margin-bottom: 5px;
}
.chat--sent::after, .chat--response::after {
content: " ";
display: block;
height: 0;
clear: both;
}
.chat--sent-content {
color: black;
position: relative;
right: 0;
margin-left: auto;
display: inline-block;
width: auto;
float: right;
padding: 10px;
background: rgb(255, 255, 255);
border-radius: 15px 15px 0 15px;
}
.chat--response-content {
color: white;
position: relative;
left: 0;
display: inline-block;
width: auto;
float: left;
padding: 10px;
background: rgb(0, 204, 255);
border-radius: 15px 15px 15px 0;
}
.chat--input {
backdrop-filter: blur(5px);
width: 100%;
height: 20px;
color: white;
background-color: transparent;
position: relative;
bottom: 0;
left: 0;
border: none;
border-bottom: 2px solid white;
}
.chat--input::focus {
outline: none;
}
@font-face {
font-family: Tuffy;
src: url("assets/fonts/tuffy/Tuffy.otf") format("opentype");
}
h1, h2, h3 {
font-family: Tuffy;
}
::-webkit-scrollbar {
width: 0.7em;
}
::-webkit-scrollbar-thumb {
background-color: rgb(80, 80, 80);
border-radius: 15px;
outline: none;
}