176 lines
2.3 KiB
CSS
176 lines
2.3 KiB
CSS
:root {
|
|
--dark-purple: #271f30;
|
|
--light-red: #ff686b;
|
|
--eggshell: #dfe2cf;
|
|
--ucla-blue: #4d7298;
|
|
--robin-egg-blue: #66ced6;
|
|
}
|
|
|
|
html {
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
body {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
|
|
background-color: var(--dark-purple);
|
|
}
|
|
|
|
#page {
|
|
max-width: 600px;
|
|
}
|
|
|
|
h1 {
|
|
margin-left: 0.5em;
|
|
display: inline;
|
|
|
|
color: var(--eggshell);
|
|
}
|
|
|
|
.delay {
|
|
display: inline;
|
|
|
|
color: var(--robin-egg-blue);
|
|
}
|
|
|
|
.rounded-rectangle {
|
|
border-width: 2px;
|
|
border: black;
|
|
border-style: none;
|
|
border-radius: 1em;
|
|
|
|
padding: .6em .8em;
|
|
}
|
|
|
|
.message-content {
|
|
z-index: 1;
|
|
position: absolute;
|
|
}
|
|
|
|
.message-content.theirs {
|
|
background-color: var(--ucla-blue);
|
|
|
|
left: 0;
|
|
}
|
|
|
|
.theirs .message-text {
|
|
color: var(--eggshell);
|
|
}
|
|
|
|
.message-content.ours {
|
|
background-color: var(--eggshell);
|
|
|
|
right: 0;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.ours .message-text {
|
|
color: var(--dark-purple);
|
|
}
|
|
|
|
ul {
|
|
margin: 1em;
|
|
margin-bottom: 4em;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
li {
|
|
height: 2.5em;
|
|
width: 100%;
|
|
|
|
margin-bottom: 1.5em;
|
|
position: relative;
|
|
}
|
|
|
|
|
|
#textbox {
|
|
width: 100%;
|
|
position: fixed;
|
|
bottom: 0;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
z-index: 1;
|
|
}
|
|
|
|
#typing-indicator {
|
|
color: var(--eggshell);
|
|
|
|
margin: 0;
|
|
margin-left: 1em;
|
|
margin-bottom: 0.5em;
|
|
|
|
position: fixed;
|
|
bottom: 3em;
|
|
}
|
|
|
|
#textbox input {
|
|
color: var(--dark-purple);
|
|
background-color: var(--eggshell);
|
|
|
|
margin: 0.5em;
|
|
left: 1em;
|
|
|
|
width: 80%;
|
|
font-size: 1em;
|
|
|
|
z-index: 1;
|
|
}
|
|
|
|
button {
|
|
background-color: var(--dark-purple);
|
|
color: var(--eggshell);
|
|
|
|
margin: 0.5em;
|
|
padding: 0;
|
|
width: 15%;
|
|
position: absolute;
|
|
right: 0;
|
|
font-size: 1em;
|
|
}
|
|
|
|
button:hover {
|
|
color: var(--dark-purple);
|
|
background-color: var(--eggshell);
|
|
}
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
button {
|
|
width: 10%;
|
|
}
|
|
|
|
#textbox input {
|
|
width: 85%;
|
|
}
|
|
}
|
|
|
|
.progress-bar {
|
|
width: 100%;
|
|
height: 100%;
|
|
max-width: 400px;
|
|
border-radius: 1em;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
|
|
z-index: -1;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.progress {
|
|
opacity: 50%;
|
|
width: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.message-status {
|
|
color: var(--robin-egg-blue);
|
|
|
|
position: absolute;
|
|
top: 2.3em;
|
|
right: 1em;
|
|
font-size: .8em;
|
|
}
|