2018-12-10 12:21:08 -08:00
|
|
|
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
|
|
|
|
$primary-color: #53C0FA;
|
|
|
|
$primary-color-highlight: #4298C7;
|
|
|
|
$primary-color-light: #9FDBFB;
|
|
|
|
$active-input-color: white;
|
|
|
|
$transition-duration: .125s;
|
|
|
|
|
|
|
|
$inactive-input-color: darken($active-input-color, 3%);
|
|
|
|
$active-input-border-color: $primary-color;
|
|
|
|
$inactive-input-border-color: darken($inactive-input-color, 10%);
|
|
|
|
|
2018-12-10 15:27:18 -08:00
|
|
|
html, body {
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
2018-12-10 12:21:08 -08:00
|
|
|
body {
|
|
|
|
font-family: 'Open Sans', sans-serif;
|
|
|
|
margin: 0px;
|
2018-12-10 15:10:38 -08:00
|
|
|
background-color: #fbfbfb;
|
2018-12-10 12:21:08 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin input-common {
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 3px;
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
transition: background-color $transition-duration;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
@include input-common();
|
|
|
|
background-color: $inactive-input-color;
|
|
|
|
color: black;
|
|
|
|
border: .5px solid $inactive-input-border-color;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: $active-input-color;
|
|
|
|
border-color: $active-input-border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
@include input-common();
|
|
|
|
border: none;
|
|
|
|
background-color: $primary-color;
|
|
|
|
color: white;
|
2018-12-10 12:47:31 -08:00
|
|
|
text-transform: uppercase;
|
2018-12-10 12:21:08 -08:00
|
|
|
|
|
|
|
&:hover, &:focus {
|
|
|
|
background-color: $primary-color-highlight;
|
|
|
|
}
|
|
|
|
}
|
2018-12-10 12:47:31 -08:00
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: $primary-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary-color-highlight;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-10 13:18:02 -08:00
|
|
|
h2 {
|
|
|
|
margin: 0px;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
2018-12-10 12:47:31 -08:00
|
|
|
/*
|
|
|
|
* Login Screen
|
|
|
|
*/
|
|
|
|
div.login-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
max-width: 300px;
|
|
|
|
margin: auto;
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
|
|
input, button {
|
|
|
|
margin: 3px;
|
|
|
|
}
|
2018-12-10 13:18:02 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Base View
|
|
|
|
*/
|
|
|
|
div.base-wrapper {
|
|
|
|
display: flex;
|
2018-12-10 15:27:18 -08:00
|
|
|
height: 100%;
|
2018-12-10 12:47:31 -08:00
|
|
|
|
2018-12-10 13:18:02 -08:00
|
|
|
div {
|
2018-12-10 15:27:18 -08:00
|
|
|
padding: 3px;
|
|
|
|
box-sizing: border-box;
|
2018-12-10 13:18:02 -08:00
|
|
|
}
|
2018-12-10 15:10:38 -08:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
padding-bottom: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
border-bottom: 1px solid $inactive-input-border-color;
|
|
|
|
}
|
2018-12-10 13:18:02 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The list of rooms
|
|
|
|
*/
|
|
|
|
div.rooms-wrapper {
|
2018-12-10 14:32:29 -08:00
|
|
|
flex-shrink: 0;
|
|
|
|
|
2018-12-10 13:18:02 -08:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The current room, if any.
|
|
|
|
*/
|
|
|
|
div.room-wrapper {
|
|
|
|
flex-grow: 1;
|
2018-12-10 15:27:18 -08:00
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
flex-direction: column;
|
2018-12-10 13:18:02 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The message input and send button.
|
|
|
|
*/
|
|
|
|
div.message-wrapper {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
input {
|
|
|
|
flex-grow: 9;
|
|
|
|
margin: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin: 3px;
|
2018-12-10 12:47:31 -08:00
|
|
|
}
|
|
|
|
}
|
2018-12-10 14:20:06 -08:00
|
|
|
|
2018-12-10 15:27:18 -08:00
|
|
|
div.events-wrapper {
|
|
|
|
overflow-y: scroll;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.events-table {
|
2018-12-10 14:20:06 -08:00
|
|
|
td {
|
|
|
|
padding-left: 5px;
|
2018-12-10 14:32:29 -08:00
|
|
|
vertical-align: top;
|
2018-12-10 14:20:06 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
span.sender-wrapper {
|
|
|
|
border-radius: 2px;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
float: right;
|
|
|
|
}
|
2018-12-10 16:16:39 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Icons
|
|
|
|
*/
|
|
|
|
.feather-icon {
|
|
|
|
stroke: currentColor;
|
|
|
|
stroke-width: 2;
|
|
|
|
stroke-linecap: round;
|
|
|
|
stroke-linejoin: round;
|
|
|
|
fill: none;
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
}
|