This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
FoodLoop-Web/pages/home/home.css
2017-03-10 13:26:13 +00:00

353 lines
No EOL
5.3 KiB
CSS

/*
* Base structure
*/
/* Move down content because we have a fixed navbar that is 50px tall */
body {
padding-top: 50px;
background-color: whitesmoke;
}
/*
* Typography
*/
h1 {
margin-bottom: 20px;
padding-bottom: 9px;
border-bottom: 1px solid #eee;
}
main{
background-color: whitesmoke;
}
/*
* Sidebar
*/
.sidebar {
position: fixed;
top: 51px;
bottom: 0;
left: 0;
z-index: 1000;
padding: 20px;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
border-right: 1px solid #eee;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
/* Sidebar navigation */
.sidebar {
margin-top: -16px;
padding-left: 0;
padding-right: 0;
}
.sidebar .nav {
margin-bottom: 20px;
}
.sidebar .nav-item {
width: 100%;
}
.sidebar .nav-item + .nav-item {
margin-left: 0;
}
.sidebar .nav-link {
border-radius: 0;
}
.profile-pic {
border-radius: 80%;
background-color: transparent;
width: 100%;
height: 100%;
background-color: dodgerblue;
}
.profilePic{
padding: 16px;
background-color: transparent;
max-width: 100%;
height: 130px;
background-color: dodgerblue;
}
.profileInfo{
color:white;
padding: 16px;
padding-top: 30px;
height: 130px;
background-color: dodgerblue;
}
.profileTitle{
font-size: 0.8em;
}
/*
* Dashboard
*/
/* Placeholders */
.placeholders {
padding-bottom: 3rem;
}
.placeholder img {
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
.title{
color: black;
}
.flCard{
color:black;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
border-radius: 3px;
font-size: 1em;
/*width: 100%;*/
height: 110px;;
margin-top: 16px;
background-color: white;
border: green;
padding:16px;
}
.rankCard{
color:black;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
border-radius: 3px;
font-size: 1em;
height: 300px;;
margin-top: 16px;
background-color: white;
border: green;
}
.rankCardHeader{
border-radius: 3px 3px 0 0;
padding: 3px;
color:white;
height:30px;
background-color: dodgerblue;
}
.chartCardHeader{
border-radius: 3px 3px 0 0;
padding: 3px;
color:white;
height:30px;
background-color: orangered;
}
.rankCardContent{
padding: 3px;
/*color:white;*/
/*background-color: dodgerblue;*/
}
.flCardHeader{
height: 25px;
}
.flCardMain{
margin: -16px;
font-size: 3.0em;
color: dimgray;
text-align: center;
}
.chartCard{
color:black;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
border-radius: 3px;
font-size: 1em;
height: 300px;;
margin-top: 16px;
background-color: white;
}
.flCardNote{
font-size: 0.8em;
color: dodgerblue;
text-align: right;
}
#receiptTable{
padding: 16px;
}
/* CSS FOR RECEIPT */
.receiptItem{
color:black;
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
transition: 0.3s;
border-radius: 3px;
font-size: 1em;
padding: 16px;
background-color: white;
}
.receiptCard{
color:black;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
border-radius: 3px;
font-size: 1em;
margin-top: 16px;
padding:16px;
background-color: white;
}
.receiptCardHeader{
border-radius: 3px 3px 0 0;
padding: 3px;
color:white;
padding: 16px;
background-color: dodgerblue;
}
.receiptDetailCard{
color:black;
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
transition: 0.3s;
border-radius: 3px;
font-size: 1em;
height: 300px;
margin-top: 16px;
background-color: lightcyan;
}
.addButton{
background-color: transparent;
font-size: 1.0em;
margin-left: 50%;
}
.dragImageBox:hover{
background-color: whitesmoke;
}
.dragImageBox{
border: 2px dashed dodgerblue;
border-radius: 4px;
background-color:white;
height: 150px;
transition: 0.3s;
}
.thumb{
color:black;
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
transition: 0.3s;
border-radius: 3px;
font-size: 1em;
background-color: white;
width: 50px;
height: 130px;
}
/* TEMPALTE CSS FOR DISPLAY A CUSTOM CARD */
.pearCard{
color:black;
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
transition: 0.3s;
border-radius: 3px;
font-size: 1em;
background-color: white;
}
/* On mouse-over, add a deeper shadow */
.pearCard:hover {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.pearCardFooter{
width: 100%;
margin-bottom: -16px;
background-color: lightcyan;
}
.pearAutoHeight{
height: auto;
}
.pearCardHeader{
border-radius: 3px 3px 0 0;
padding: 9px;
color:white;
background-color: dodgerblue;
}
.pearOrange{
background-color: orangered;
}
.pearBlue{
background-color: dodgerblue;
}
.pearGreen{
background-color: lawngreen;
}
.pearYellow{
background-color: yellow;
}
.pearPurple{
background-color: purple;
}
.padding16{
padding: 16px;
}
.margin16{
margin-top:16px;
}
/* LOGIN CSS */
.mainSection{
margin-top: 20%;
padding:16px;
color:black;
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
transition: 0.3s;
border-radius: 3px;
font-size: 1em;
/*height: 150px;*/
background-color: white;
}
.mainItem{
padding: 16px;
}
.mainItem input[type=text] {
/*border: 2px solid ;*/
border-radius: 4px;
}
.mainItem input[type=password] {
/*border: 2px solid ;*/
border-radius: 4px;
}