| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834 |
- /*
- General page styling
- */
- 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;
- position: relative;
- padding-bottom: 25px;
- }
- /*
- Multi-strand use classes
- */
- .strand{
- flex-direction: column;
- height: 100vh;
- width: 100%;
- padding-bottom: 25px;
- box-sizing: border-box;
- }
- .strandHead{
- display: flex;
- justify-content: space-between;
- width: 100%;
- padding: 10px 50px 0 50px;
- align-items: center;
- box-sizing: border-box;
- height: 10%;
- }
- .strandTitle{
- text-align: left;
- margin: 15px;
- padding: 0;
- }
- .itemDisplay{
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20px;
- width: 100%;
- background: rgb(240, 252, 255);
- border-radius: 5px;
- border: 1px solid gray;
- cursor: pointer;
- box-sizing: border-box;
- }
- .itemDisplay:hover{
- background: rgb(0, 27, 45);
- color: white;
- }
- .itemDisplay > *:first-of-type{
- font-size: 20px;
- font-weight: bold;
- }
- .smallItemDisplay{
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 10px;
- margin: 5px 0;
- width: 100%;
- background: rgb(240, 252, 255);
- border-radius: 5px;
- border: 1px solid gray;
- box-sizing: border-box;
- }
- .searchBar{
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 3px;
- width: 80%;
- padding: 10px 25px;
- box-sizing: border-box;
- background: rgb(0, 27,45);
- border-radius: 5px;
- }
- .searchAndIcon{
- display: flex;
- width: 25%;
- }
- .searchAndIcon svg{
- background: rgb(201, 201, 201);
- border-bottom-left-radius: 5px;
- border-top-left-radius: 5px;
- color: gray;
- padding: 5px 0 5px 5px;
- width: 30px;
- z-index: 10;
- }
- .searchAndIcon input{
- background: rgb(201, 201, 201);
- border: none;
- height: 30px;
- border-bottom-right-radius: 5px;
- border-top-right-radius: 5px;
- font-size: 20px;
- padding: 5px 0 5px 10px;
- max-width: 200px;
- }
- .clearButton{
- background: none;
- border: none;
- color: rgb(255, 99, 107);
- cursor: pointer;
- }
- .clearButton:hover{
- background: rgb(0, 27, 45);
- }
- .searchBar select{
- background: rgb(201, 201, 201);
- font-size: 20px;
- border-radius: 5px;
- border: none;
- height: 30px;
- padding: 5px 0;
- box-sizing: content-box;
- -webkit-appearance: none;
- -moz-appearance: none;
- background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
- background-repeat: no-repeat;
- background-position-x: 100%;
- background-position-y: 50%;
- cursor: pointer;
- }
- .button2Link{
- background: none;
- border: none;
- color: blue;
- text-decoration: underline;
- font-size: 15px;
- margin-top: auto;
- cursor: pointer;
- }
- #sidebarCloser{
- width: 30px;
- background: rgb(0, 27, 45);
- color: white;
- margin-right: auto;
- border: none;
- position: fixed;
- top: 15px;
- left: 15px;
- }
- .buttonBox{
- display: flex;
- justify-content: space-around;
- margin-top: 50px;
- }
- .buttonBox > *{
- margin-right: 10px;
- }
- .choosable{
- display: flex;
- justify-content: space-around;
- align-items: center;
- background: rgb(0, 27, 45);
- color: white;
- border-radius: 5px;
- margin: 2px;
- padding: 5px;
- text-align: center;
- cursor: pointer;
- width: 99%;
- box-sizing: border-box;
- }
- .choosable.tall{
- padding: 15px;
- }
- .choosable:hover{
- background: rgb(201, 201, 201);
- color: black;
- }
- .choosable.active{
- background: rgb(179, 191, 209);
- color: white;
- }
- /*
- Home Strand
- */
- #homeStrand{
- display: flex;
- }
- .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;
- }
- .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-basis: 100px;
- flex-grow: 1;
- }
- #inventoryCheckCard ul{
- list-style: none;
- }
- #inventoryCheckCard button{
- margin-left: auto;
- }
- .ingredientCheck{
- display: flex;
- align-items: center;
- margin: 5px 0;
- }
- .ingredientCheck p:first-of-type{
- width: 40%;
- font-weight: 300;
- font-size: 15px;
- margin-right: 25px;
- }
- .ingredientCheck p:last-of-type{
- width: 20%
- }
- .numberInput{
- display: flex;
- justify-content: center;
- width: 40%;
- margin-right: 25px;
- }
- .numberInput button{
- width: 30%;
- font-size: 23px;
- background: rgb(0, 27, 45);
- border: none;
- color: white;
- font-weight: bold;
- cursor: pointer;
- }
- .numberInput button:first-of-type{
- border-bottom-left-radius: 5px;
- border-top-left-radius: 5px;
- }
- .numberInput button:last-of-type{
- border-bottom-right-radius: 5px;
- border-top-right-radius: 5px;
- }
- .numberInput input{
- width: 55%;
- font-size: 15px;
- text-align: center;
- }
- .numberInput input::-webkit-outer-spin-button,
- .numberInput input::-webkit-inner-spin-button {
- -webkit-appearance: none;
- margin: 0;
- }
- .numberInput input[type=number] {
- -moz-appearance: textfield;
- }
- #popularIngredientsCard{
- display: flex;
- flex-direction: column;
- align-items: center;
- flex-basis: 100px;
- flex-grow: 2.5;
- padding: 5px;
- box-sizing: border-box;
- }
- #popularCanvas{
- margin: 0 35px;
- }
- .notice{
- color: red;
- font-size: 35px;
- font-weight: bold;
- }
- /*
- Ingredients Strand
- */
- #ingredientsStrand{
- display: none;
- align-items: center;
- height: 100%;
- box-sizing: border-box;
- }
- #categoryList{
- align-items:center;
- overflow-y: auto;
- width: 80%;
- }
- .categoryDiv{
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .categoryDiv > div:first-of-type{
- display: flex;
- cursor: pointer;
- width: 100%;
- }
- .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;
- width: 50%;
- }
- .ingredientSpacer{
- border: none;
- border-top: 1px dashed black;
- margin: auto;
- }
- /*
- Recipe Book Strand
- */
- #recipeBookStrand{
- display: none;
- align-items: center;
- }
- #recipeBookStrand .searchBar{
- width: 50%;
- }
- #recipeSearch{
- width: 50%;
- }
- #recipeSelect{
- width: 25%;
- }
- #recipeList{
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 50%;
- overflow-y: auto;
- }
- /*
- Analytics Strand
- */
- .switch{
- position: relative;
- display: inline-block;
- width: 239px;
- height: 34px;
- border: 3px solid rgb(0, 27, 45);
- color: white;
- }
- .switch input{
- opacity: 0;
- width: 0;
- height: 0;
- }
- .switch input:focus + .slider{
- box-shadow: 0 0 1px #2196F3;
- }
- .switch input:checked + .slider:before {
- -webkit-transform: translateX(105px);
- -ms-transform: translateX(92px);
- transform: translateX(125px);
- }
- .slider{
- display: flex;
- justify-content: space-between;
- align-items: center;
- position: absolute;
- cursor: pointer;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- padding: 0 24px 0 5px;
- background: rgb(255, 99, 107);
- transition: 0.2s;
- }
- .slider:before{
- position: absolute;
- content: "";
- height: 30px;
- width: 110px;
- left: 1px;
- bottom: 1px;
- background: rgba(255, 255, 255, 0.6);
- border: 1px solid rgb(0, 27, 45);
- transition: 0.2s;
- }
-
- .analContent{
- display: flex;
- justify-content: space-around;
- align-items:center;
- padding: 15px;
- box-sizing: border-box;
- height: 90%;
- }
- .itemsList{
- list-style-type: none;
- width: 15%;
- max-height: 95%;
- overflow-y: auto;
- }
- .itemButton{
- background: rgb(0, 27, 45);
- color: white;
- border-radius: 5px;
- padding: 5px;
- margin: 2px;
- width: 90%;
- text-align: center;
- cursor: pointer;
- }
- .itemButton:hover{
- background: rgb(201, 201, 201);
- color: black;
- }
- .analItemActive{
- background: rgb(179, 191, 209);
- cursor: default;
- }
- .analData{
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- width: 100%;
- height: 100%;
- }
- #itemUseGraph{
- padding: 10px;
- height: 60%;
- flex-basis: 100px;
- flex-grow: 5;
- }
- .dataRow{
- display: flex;
- justify-content: space-between;
- flex-basis: 150px;
- flex-grow: 0;
- }
- .analCard{
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- margin: 5px;
- height: inherit;
- }
- .analCard > *{
- margin: 0;
- }
- #analRecipeContent{
- display: flex;
- justify-content: space-around;
- align-items: center;
- padding: 15px;
- box-sizing: border-box;
- height: 90%;
- }
- /*
- Orders Strand
- */
- #ordersStrand{
- display: none;
- align-items: center;
- }
- #orderList{
- width: 50%;
- margin-top: 50px;
- overflow-y: auto;
- }
- .filterForm{
- padding: 5px;
- margin: 0;
- align-items: center;
- max-height: 150px;
- }
- .filterForm > div{
- display: flex;
- justify-content: space-around;
- width: 100%;
- }
- .filterForm input[type=submit]{
- max-height: 30px;
- padding: 0;
- font-size: 15px;
- }
- /*
- Transactions Strand
- */
- .transactions{
- display: none;
- align-items: center;
- }
- .transactionsList{
- width: 50%;
- overflow-y: auto;
- margin-top: 50px;
- }
- #transactionFilter{
- padding: 5px;
- margin: 0;
- align-items: center;
- max-height: 150px;
- }
- #transactionFilter > div{
- display: flex;
- justify-content: space-around;
- width: 100%;
- }
- .dropdown{
- display: flex;
- flex-direction: column;
- align-items: center;
- position: relative;
- margin: 0;
- }
- .dropdown button{
- display: flex;
- align-items: center;
- justify-content: center;
- height: 25px;
- width: 25px;
- border-radius: 5px;
- border: 1px solid black;
- background: none;
- cursor: pointer;
- }
- .dropdownHead{
- display: flex;
- }
- .dropdown button:hover{
- background: rgb(0, 27, 45);
- color: white;
- }
- .dropdownContents{
- text-align: left;
- position: absolute;
- top: 25px;
- background: rgb(240, 252, 255);
- z-index: 1;
- padding: 2px;
- border: 1px solid black;
- border-radius: 5px;
- padding: 5px;
- white-space: nowrap;
- }
- .dropDownContents label{
- margin: 0;
- }
- @media screen and (max-width: 1000px){
- body{
- flex-direction: column;
- background: rgb(0, 27, 45);
- color: white;
- }
- .contentBlock{
- padding: 0;
- }
- .banner{
- display: none;
- }
- .strandHead{
- padding: 0;
- }
- .strandTitle{
- margin-top: 35px;
- }
- .mobileHide{
- display: none;
- }
- .smallItemDisplay{
- color: black;
- }
- .filterForm{
- display: none;
- }
- /*
- Home
- */
- .card{
- margin: 5px 10px;
- background: white;
- color: black;
- }
- #inventoryCheckCard{
- display: none;
- }
- #popularIngredientsCard{
- padding-bottom: 10px;
- }
- .flexRow{
- flex-direction: column;
- margin: 0;
- }
- /*
- Ingredients
- */
- #categoryList{
- width: 95%;
- color: black;
- }
- #ingredientSearch{
- border-radius: 5px;
- }
- .categoryDiv > div:first-of-type p{
- padding: 5px 0 5px 5px;
- }
- .categoryDiv div:first-of-type button{
- height: 50px;
- width: 50px;
- }
- .ingredient{
- color: white;
- width: 75%;
- border: 2px solid rgb(201, 201, 201);
- padding: 5px;
- margin-top: 5px;
- margin-bottom: 5px;
- box-shadow: 1px 1px gray;
- }
- .ingredient > *{
- width: 50%;
- }
- /*
- Recipe Book
- */
- .searchBar{
- padding: 0;
- }
- .searchAndIcon{
- width: 100%;
- }
- #recipeSearch{
- border-radius: 5px;
- width: 100%;
- }
- #recipeList{
- width: 95%;
- }
- /*
- Orders
- */
- #orderList{
- width: 95%;
- }
- /*
- Transactions
- */
- .transactionsList{
- width: 100%;
- }
- }
|