ester-klient/view/main.css
2019-12-29 21:47:15 +01:00

162 lines
2.9 KiB
CSS

html {
background: url("./assets/images/background.jpg");
background-size: cover;
margin: 0;
padding: 0;
overflow: hidden;
}
body {
margin: 0;
padding: 0;
overflow: hidden;
}
.contents {
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;
margin-bottom: 0;
}
.chat {
z-index: 1000;
position: fixed;
bottom: -412px;
transition: bottom 0.8s ease-in-out;
right: 12px;
width: 300px;
height: 450px;
}
.chat--active {
bottom: 0;
}
.frame {
border-radius: 15px 15px 0 0;
backdrop-filter: blur(5px);
}
.frame--header {
background: rgb(77, 143, 241);
padding: 10px;
padding-left: 15px;
color: white;
border-radius: 15px 15px 0 0;
}
.chat--content {
height: calc(100% - 80px);
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;
margin-right: 5px;
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;
margin-left: 5px;
padding: 10px;
background: rgb(0, 204, 255);
border-radius: 15px 15px 15px 0;
}
.chat--input {
width: 100%;
height: 40px;
color: white;
font-size: 1.5rem;
background-color: transparent;
position: relative;
bottom: 0;
left: 0;
border: none;
border-bottom: 2px solid white;
}
.chat--input:focus {
outline: none;
border-bottom: 3px solid white;
}
@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;
}
.ripple {
background-position: center;
transition: background 0.8s;
background-color: rgb(77, 143, 241);
background-size: 100%;
}
.ripple.active {
background: #d8230b radial-gradient(circle, transparent 1%, rgb(77, 143, 241) 1%) center/15000%;
}