Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
* {
box-sizing: border-box;
}
html {
--bg: white;
--main: #7A9E9F;
--accent: #FE5F55;
--light: #B8D8D8;
--dark: #4F6367;
--mainTxt: black;
--headTxt: white;
--gray: #eeeeee;
}
html[data-theme='dark'] {
--bg: #333333;
--main: #2e494a;
--accent: #FE5F55;
--light: #5d6e6e;
--dark: #233033;
--mainTxt: white;
--headTxt: white;
--gray: #525252;
}
body {
background-color: var(--bg);
font-family: 'Open Sans Condensed', sans-serif;
margin: 0;
}
/* ============Hamburger Menu============================================================================= */
#menuToggle
{
display: block;
position: relative;
top: 0px;
left: 0px;
z-index: 1;
-webkit-user-select: none;
user-select: none;
}
#menuToggle a
{
text-decoration: none;
color: var(--headTxt);
transition: color 0.3s ease;
}
#menuToggle a:hover
{
color: var(--accent);
}
#menuToggle input
{
display: block;
width: 40px;
height: 32px;
position: absolute;
top: -7px;
left: -5px;
cursor: pointer;
opacity: 0; /* hide this */
z-index: 2; /* and place it over the hamburger */
-webkit-touch-callout: none;
}
/*
* Just a quick hamburger
*/
#menuToggle span
{
display: block;
width: 33px;
height: 4px;
margin-bottom: 5px;
position: relative;
background: var(--headTxt);
border-radius: 3px;
z-index: 1;
transform-origin: 4px 0px;
transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
opacity 0.55s ease;
}
#menuToggle span:first-child
{
transform-origin: 0% 0%;
}
#menuToggle span:nth-last-child(2)
{
transform-origin: 0% 100%;
}
/*
* Transform all the slices of hamburger
* into a crossmark.
*/
#menuToggle input:checked ~ span
{
opacity: 1;
transform: rotate(45deg) translate(-2px, -1px);
background: var(--accent);
}
/*
* But let's hide the middle one.
*/
#menuToggle input:checked ~ span:nth-last-child(3)
{
opacity: 0;
transform: rotate(0deg) scale(0.2, 0.2);
}
/*
* Ohyeah and the last one should go the other direction
*/
#menuToggle input:checked ~ span:nth-last-child(2)
{
transform: rotate(-45deg) translate(0, -1px);
}
/*
* Make this absolute positioned
* at the top left of the screen
*/
#menu
{
position: absolute;
width: 250px;
margin: -100px 0 0 -60px;
padding: 125px 25px 50px 75px;
/* padding-top: ; */
background: var(--dark);
list-style-type: none;
-webkit-font-smoothing: antialiased;
/* to stop flickering of text in safari */
transform-origin: 0% 0%;
transform: translate(-100%, 0);
transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
#menu li
{
padding: 10px 0;
font-size: 22px;
}
/*
* And let's slide it in from the left
*/
#menuToggle input:checked ~ ul
{
transform: none;
}
.lastNav {
display: flex;
}
.toggle-container {
height: 27px;
padding-left: 15px;
}
/* ============End Hamburger Menu============================================================================= */
#time {
text-align: center;
font-size: 0.8rem;
}
h1 {
font-weight: normal;
letter-spacing: 0.2em;
text-align: center;
margin: 0;
}
.course-name {
margin: auto;
text-align: center;
letter-spacing: 0.2em;
background-color: var(--accent);
}
header {
/* height: 82px; */
color: var(--headTxt);
background-color: var(--main);
}
.top {
display: flex;
align-items: center;
justify-content: space-between;
margin: 0px 10px;
}
.profile-icon {
vertical-align: bottom
}
.display {
display: flex;
align-items: center;
padding: 5px;
background-color: var(--gray);
}
.display > * {
margin: 2px;
}
a {
color: var(--mainTxt);
text-decoration: none;
font-weight: bold;
}
.small {
font-size: 14px;
color: var(--mainTxt);
}
.smallImage {
width:40px;
border-radius: 50%;
}
.nameAndStatus {
display: flex;
flex-direction: column;
line-height: 1.1;
padding-left: 3px;
}
#chatBox {
background-color: var(--bg);
width: 100%;
position: absolute;
bottom: 65px;
top: 82px;
right: 0px;
left: 0px;
overflow: scroll;
}
.message-display {
padding: 0px 10px;
}
#newMsg {
padding: 5px 10px;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: var(--dark);
opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: var(--dark);
}
::-ms-input-placeholder { /* Microsoft Edge */
color: var(--dark);
}
p {
margin: 0 10px;
color: var(--mainTxt);
}
.username {
color: var(--main);
font-weight: bold;
}
.message {
color: var(--mainTxt);
line-height: 1.3;
}
.sentMsg {
background-color: var(--light);
padding: 10px 20px;
border-radius: 0px 30px 30px 30px;
width: fit-content;
margin: 0 20px 10px 20px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(122, 158, 159, 0.2);
}
.content-right {
display: flex;
justify-content: flex-end;
}
.msg-right {
border-radius: 30px 30px 0px 30px;
background-color: var(--accent);
color: var(--headTxt);
}
.display-right {
display: flex;
flex-direction: row-reverse;
margin-left: 10px;
margin-right: 20px;
}
.sender {
margin: 10px 10px 10px 20px;
}
.dateTime {
padding-right: 10px;
color: var(--mainTxt);
}
.senderAndDate {
display: flex;
justify-content: space-between;
align-items: center;
}
footer {
background-color: var(--main);
position: fixed;
bottom: 0;
width: 100%;
}
.msgInputArea{
display: flex;
align-items: flex-start;
margin: 8px;
}
input[type=text] {
width: 100%;
padding: 10px !important;
border-radius: 5px;
border: none;
font-family: 'Open Sans Condensed', sans-serif;
font-size: 1.2rem;
background-color: var(--light);
}
#sendBtn {
margin-left: 5px;
padding: 10px;
border-radius: 5px;
border: none;
font-family: 'Open Sans Condensed', sans-serif;
font-size: 1.2rem;
background-color: var(--dark);
color: var(--headTxt);
}
.dark-title {
font-weight: bold;
}
#left {
display: none;
}
label[for=switch] {
cursor: pointer;
text-indent: -9999px;
width: 52px;
height: 27px;
background: grey;
display: inline-block;
border-radius: 100px;
position: relative;
}
label[for=switch]:after {
content: '';
position: absolute;
top: 3px;
left: 3px;
width: 20px;
height: 20px;
background: #fff;
border-radius: 90px;
transition: 0.3s;
}
input:checked + label[for=switch] {
background: var(--accent);
}
input:checked + label[for=switch]:after {
left: calc(100% - 5px);
transform: translateX(-100%);
}
label[for=switch]:active:after {
width: 45px;
}
label[for=switch2] {
cursor: pointer;
text-indent: -9999px;
width: 52px;
height: 27px;
background: grey;
display: inline-block;
border-radius: 100px;
position: relative;
}
label[for=switch2]:after {
content: '';
position: absolute;
top: 3px;
left: 3px;
width: 20px;
height: 20px;
background: #fff;
border-radius: 90px;
transition: 0.3s;
}
input:checked + label[for=switch2] {
background: var(--accent);
}
input:checked + label[for=switch2]:after {
left: calc(100% - 5px);
transform: translateX(-100%);
}
label[for=switch2]:active:after {
width: 45px;
}
html.transition,
html.transition *,
html.transition *:before,
html.transition *:after {
transition: all 750ms !important;
transition-delay: 0 !important;
}
/* Desktop Layout ======================================================================================*/
@media (min-width: 1024px) {
#box {
display: flex;
width: 100%;
}
#chatBox {
position: relative;
top: 0;
margin-bottom: 45px;
}
#right {
width: 85%;
}
#left {
display: flex;
width: 15%;
background-color: var(--light);
justify-content: center;
}
#sidebar {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 82px;
padding: 15px;
position: fixed;
}
#icon {
width: auto;
height: 45px;
}
.logo {
display: flex;
height: 45px;
flex-direction: row;
align-items: center;
}
.name {
padding-left: 10px;
font-size: 40px;
color: var(--headTxt);
}
.display {
display: none;
}
.display2 {
padding: 70px 0 40px 0;
text-align: center;
}
.smallImage {
width: 150px;
border: 5px solid var(--headTxt);
}
.nameAndStatus {
line-height: 1.5;
padding: 0px;
font-size: 25px;
}
#userStatusDisplay {
font-size: 18px;
}
.sideNav {
font-size: 27px;
padding: 10px 0;
display: flex;
align-items: center;
border-top: 1px solid var(--main);
color: var(--mainTxt);
}
.lastNav {
border-bottom: 1px solid var(--main);
}
.toggle-container {
height: 27px;
padding-left: 50px;
}
input[type=checkbox]{
height: 0;
width: 0;
visibility: hidden;
}
.signOut {
font-size: 18px;
position: fixed;
bottom: 10px;
}
i {
padding-right: 5px;
}
p {
font-size: 20px;
margin: 10px 10px 10px 20px;
}
footer {
width: 85%;
}
#menu {
display: none;
}
.burg {
visibility: hidden;
}
}