cleaning up and comments

This commit is contained in:
Sriram Hariharan
2018-07-17 01:17:33 -05:00
parent add9171851
commit ce87d11578
7 changed files with 174 additions and 169 deletions

View File

@@ -36,7 +36,6 @@
background: #FF9800;
}
/* Ripple magic */
.matbut{
position: relative;
overflow: hidden;

View File

@@ -1,63 +1,62 @@
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%;
height: 100%; /* Full height */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
display: none;
position: fixed;
z-index: 1;
padding-top: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
.modal-content {
background-color: #fefefe;
margin: auto;
max-height: 85%;
overflow-y: auto;
padding: 20px;
border: 1px solid #888;
width: 50%;
background-color: #fefefe;
margin: auto;
max-height: 85%;
overflow-y: auto;
padding: 20px;
border: 1px solid #888;
width: 50%;
}
/* The Close Button */
.close {
color: #aaaaaa;
float: right;
padding: 5px;
font-size: 28px;
font-weight: bold;
color: #aaaaaa;
float: right;
padding: 5px;
font-size: 28px;
font-weight: bold;
}
.title {
font-size: x-large;
font-weight: bold ;
padding-top: 5px;
padding-left: 5px;
margin:5px 0px 5px 0px;
font-size: x-large;
font-weight: bold ;
padding-top: 5px;
padding-left: 5px;
margin:5px 0px 5px 0px;
}
.description {
padding: 5px;
font-size: 15px;
font-weight: normal;
padding: 5px;
font-size: 15px;
font-weight: normal;
}
.profname {
margin-left: 5px;
padding-bottom: 5px;
font-size: medium;
margin-top: 10px;
margin-left: 5px;
padding-bottom: 5px;
font-size: medium;
margin-top: 10px;
}
.dateTimePlace {
margin-left: 5px;
font-size: smaller;
font-weight: bold;
margin-left: 5px;
font-size: smaller;
font-weight: bold;
}
#chart {
@@ -65,43 +64,39 @@
max-width: 800px;
height: 250px;
margin: 0 auto
z-index:1;
z-index:1;
}
.card {
/* Add shadows to create the "card" effect */
transition: 0.3s;
margin-bottom: 10px;
box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)
transition: 0.3s;
margin-bottom: 10px;
box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12)
}
/* On mouse-over, add a deeper shadow */
.card:hover {
box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19)
box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19)
}
/* Add some padding inside the card container */
.cardcontainer {
padding: 2px 16px;
transition:width 300ms ease-in-out, height 300ms ease-in-out;
padding: 2px 16px;
transition:width 300ms ease-in-out, height 300ms ease-in-out;
}
.description {
padding: 10px;
padding: 10px;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
color: #000;
text-decoration: none;
cursor: pointer;
}
.topbuttons .matbut {
display:inline-block;
display:inline-block;
}
/* Material style */
.matbut {
border: none;
outline: none;
@@ -116,7 +111,6 @@
background: #FF9800;
}
/* Ripple magic */
.matbut{
position: relative;
overflow: hidden;
@@ -140,15 +134,15 @@
0% {
transform: scale(0, 0);
opacity: 1;
}
20% {
}
20% {
transform: scale(25, 25);
opacity: 1;
}
100% {
}
100% {
opacity: 0;
transform: scale(40, 40);
}
}
}
.matbut:focus:not(:active)::after {
@@ -156,42 +150,42 @@
}
#snackbar {
visibility: hidden;
min-width: 250px;
margin-left: -200px;
background-color: #333;
color: #fff;
border-radius: 2px;
padding: 16px;
position: fixed;
z-index: 1;
left: 50%;
bottom: 30px;
visibility: hidden;
min-width: 250px;
margin-left: -200px;
background-color: #333;
color: #fff;
border-radius: 2px;
padding: 16px;
position: fixed;
z-index: 1;
left: 50%;
bottom: 30px;
}
#snackbar.show {
visibility: visible;
visibility: visible;
-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
animation: fadein 0.5s, fadeout 0.5s 2.5s;
-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@-webkit-keyframes fadein {
from {bottom: 0; opacity: 0;}
to {bottom: 30px; opacity: 1;}
from {bottom: 0; opacity: 0;}
to {bottom: 30px; opacity: 1;}
}
@keyframes fadein {
from {bottom: 0; opacity: 0;}
to {bottom: 30px; opacity: 1;}
from {bottom: 0; opacity: 0;}
to {bottom: 30px; opacity: 1;}
}
@-webkit-keyframes fadeout {
from {bottom: 30px; opacity: 1;}
to {bottom: 0; opacity: 0;}
from {bottom: 30px; opacity: 1;}
to {bottom: 0; opacity: 0;}
}
@keyframes fadeout {
from {bottom: 30px; opacity: 1;}
to {bottom: 0; opacity: 0;}
from {bottom: 30px; opacity: 1;}
to {bottom: 0; opacity: 0;}
}