| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297 |
- html{
- height: 100%;
- max-width: 100%;
- }
- body{
- display: flex;
- flex-direction: row;
- height: 100%;
- max-width: 100%;
- }
- .contentBlock{
- width: 100%;
- height: 100vh;
- flex: 1;
- box-sizing: border-box;
- padding: 50px;
- padding-top: 0;
- }
- .strand{
- flex-direction: column;
- height: 100%;
- width: 100%;
- }
- .strandTitle{
- text-align: left;
- margin: 15px;
- padding: 0;
- }
- .strandHead{
- display: flex;
- justify-content: space-between;
- width: 100%;
- align-items: center;
- }
- /* Cards */
- .card{
- margin: 0 15px;
- border: 1px solid rgba(183, 183, 183, 0.9);
- border-radius: 7px;
- box-shadow: 1px 2px gray;
- flex-grow: 1;
- height: 100%;
- }
- .card > *{
- margin: 10px;
- }
- .card p:first-of-type{
- font-size: 14px;
- font-weight: bold;
- text-align: center;
- }
- /* Home Strand */
- #homeStrand{
- display: flex;
- }
- .flexRow{
- display: flex;
- justify-content: space-around;
- width: 100%;
- flex-basis: 100px;
- flex-grow: 1;
- margin: 15px 0;
- }
- #revenueCard{
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- #revenue{
- text-align: center;
- font-size: 30px;
- font-weight: bold;
- }
- #revenueChange{
- display: flex;
- }
- #revenueChange > p{
- font-weight: 100;
- }
- #revenueChange img{
- height: 15px;
- width: 15px;
- margin-right: 10px;
- }
- #graphCard{
- flex-grow: 5;
- display: flex;
- justify-content: center;
- }
- #inventoryCheckCard{
- display: flex;
- flex-direction: column;;
- justify-content: space-between;
- flex-grow: 0.1;
- }
- #inventoryCheckCard ul{
- list-style: none;
- }
- #inventoryCheckCard li{
- margin: 5px 0;
- }
- #inventoryCheckCard li > p{
- font-weight: 300;
- font-size: 15px;
- margin-right: 25px;
- }
- #inventoryCheckCard li > p:nth-of-type(1){
- width: 50%;
- }
- #inventoryCheckCard li input{
- width: 75px;
- margin-right: 25px;
- font-size: 20px;
- text-align: center;
- }
- #inventoryCheckCard li p:nth-of-type(2){
- width: 25%;
- min-width: 75px;
- }
- #inventoryCheckCard button{
- width: 150px;
- text-align: center;
- margin-left: auto;
- }
- #popularIngredientsCard{
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .notice{
- color: red;
- font-size: 35px;
- font-weight: bold;
- }
- /* Ingredients Strand */
- #ingredientsStrand{
- display: none;
- align-items: center;
- height: 100%;
- box-sizing: border-box;
- }
- #ingredientsStrand > h1{
- margin-bottom: 100px;
- }
- #ingredientHead button{
- display: flex;
- align-items: center;
- }
- #ingredientHead svg{
- margin-right: 5px;
- }
- #categoryList{
- align-items:center;
- overflow-y: auto;
- width: 80%;
- margin-top: 50px;
- }
- .categoryDiv > div:first-of-type{
- display: flex;
- margin: auto;
- width: 95%;
- }
- .categoryDiv > div:first-of-type p{
- display: flex;
- align-items: center;
- padding: 20px 0 20px 100px;
- background: rgb(240, 252, 255);
- border: 1px solid gray;
- border-radius: 5px;
- margin-right: 25px;
- flex-grow: 1;
- }
- .categoryDiv > div:first-of-type button{
- padding: 10px;
- background: rgb(240, 252, 255);
- border: 1px solid black;
- border-radius: 5px;
- width: 75px;
- height: 75px;
- cursor: pointer;
- }
- .ingredientsDiv{
- flex-direction: column;
- }
- .ingredient{
- display: flex;
- width: 50%;
- padding: 15px;
- margin: auto;
- cursor: pointer;
- border-radius: 5px;
- }
- .ingredient:hover{
- background: rgb(0, 27, 45);
- color: white;
- }
- .ingredient > *{
- width: 33%;
- margin-right: 15px;
- }
- .ingredient > p:last-of-type{
- text-align: right;
- }
- .ingredientSpacer{
- border: none;
- border-top: 1px dashed black;
- margin: auto;
- }
- /* Recipe Book Strand */
- #recipeBookStrand{
- display: none;
- align-items: center;
- }
- #recipeHead{
- display: flex;
- justify-content: space-between;
- width: 100%;
- align-items: center;
- }
- #recipeHead svg{
- margin-right: 5px
- }
- #recipeList{
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 50%;
- margin-top: 50px;
- overflow-y: auto;
- }
- .recipeItem{
- display: flex;
- justify-content: space-between;
- align-items: center;
- background: rgb(240, 252, 255);
- border-radius: 5px;
- padding: 20px 20px;
- width: 90%;
- border: 1px solid gray;
- cursor: pointer;
- }
- .recipeItem:hover{
- background: rgb(0, 27, 45);
- color: white;
- }
- /* Orders Strand */
- #ordersStrand{
- display: none;
- }
|