| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171 |
- /*
- 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;
- }
- .mobileMenuSelector{
- display: none;
- position: fixed;
- left: 13px;
- top: -2px;
- font-size: 40px;
- }
- .mobileMenuSelector:active{
- color: rgb(255, 99, 107);
- }
- /*
- 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;
- }
- #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;
- border: none;
- font-size: 16px;
- }
- .choosable.tall{
- padding: 15px;
- }
- .choosable:hover{
- background: rgb(201, 201, 201);
- color: black;
- }
- .choosable.active{
- background: rgb(179, 191, 209);
- color: white;
- }
- .searchBar{
- display: flex;
- align-items: center;
- margin-bottom: 10px;
- }
- .searchButton{
- padding: 6px;
- background: rgb(0, 27, 45);
- cursor: pointer;
- color: white;
- border-top-left-radius: 10px;
- border-bottom-left-radius: 10px;
- }
- .searchButton:hover{
- background: rgb(201, 201, 201);
- color: black;
- }
- .searchButton:active{
- background: rgb(179, 191, 209);
- color: white;
- }
- .searchInput{
- border: 4px solid rgb(0, 27, 45);
- font-size: 20px;
- border-top-right-radius: 10px;
- border-bottom-right-radius: 10px;
- padding: 1px 0 1px 4px;
- }
- .dateRange{
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .dateRangeInput{
- display: flex;
- justify-content: space-between;
- }
- .dateRangeInput p{
- margin: 0 5px;
- font-size: 20px;
- font-weight: bold;
- }
- .fileUpload{
- background: rgb(240, 252, 255);
- padding: 5px;
- border-radius: 5px;
- font-size: 16px;
- }
- .fileUpload::file-selector-button{
- background: rgb(0, 27, 45);
- border-radius: 5px;
- color: white;
- border: none;
- cursor: pointer;
- font-size: 18px;
- margin: auto 0;
- }
- .fileUpload::file-selector-button:hover{
- background: rgb(201, 201, 201);
- color: black;
- }
-
- /*
- 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;
- }
- #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;
- }
- .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;
- }
- /*
- Transactions Strand
- */
- .transactions{
- display: none;
- align-items: center;
- }
- .transactionsList{
- width: 50%;
- overflow-y: auto;
- margin-top: 50px;
- }
- /*
- ACCOUNT STRAND
- */
- #accountStrand{
- padding: 15px;
- box-sizing: border-box;
- align-items: center;
- }
- .settings{
- display: flex;
- flex-direction: column;
- width: 75%;
- max-height: 100%;
- overflow-y: auto;
- }
- .settingsSection{
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- margin: 15px 0;
- background: rgb(201, 201, 201);
- padding: 35px;
- }
- .settingsSectionHeader{
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 25px;
- border-bottom: 1px solid black;
- }
- #accountUpdate{
- max-width: 500px;
- }
- #accountShowPassword{
- max-width: 300px;
- }
- #changePasswordBox{
- flex-direction: column;
- padding: 25px;
- background: rgb(201, 201, 201);
- /* border: 2px solid black; */
- border-radius: 10px;
- }
- #changePasswordBox label{
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin: 5px;
- }
- #changePasswordBox p{
- color: red;
- }
- #accountButtonBox{
- margin: 0;
- }
- /*
- Modal
- */
- .modal{
- flex-direction: column;
- justify-content: center;
- align-items: center;
- position: fixed;
- height: 100vh;
- width: 100vw;
- background: rgba(0, 27, 45, 0.75);
- }
- .modalBox{
- display: flex;
- flex-direction: column;
- align-items: flex-end;
- }
- .modalBox svg{
- color: rgb(255, 99, 107);
- cursor: pointer;
- }
- .modalSpreadsheetUpload{
- flex-direction: column;
- align-items: center;
- justify-content: space-between;
- margin-top: 0;
- padding: 25px 100px;
- background: rgb(240, 252, 255);
- border: 2px solid black;
- border-radius: 10px;
- }
- .modalSpreadsheetUpload > *{
- margin-top: 15px;
- }
- #modalFeedback{
- display: flex;
- flex-direction: column;
- background: white;
- padding: 50px;
- }
- #modalFeedback > *{
- margin: 15px;
- }
- #modalFeedback label{
- display: flex;
- flex-direction: column;
- }
- #modalNewMerchant{
- display: flex;
- flex-direction: column;
- background: white;
- padding: 50px;
- min-width: 350px;
- }
- #modalNewMerchant h2{
- text-align: center;
- }
- #modalNewMerchant > *{
- margin: 15px;
- }
- #modalNewMerchant label{
- display: flex;
- flex-direction: column;
- }
- @media screen and (orientation: portrait){
- @media screen and (max-width: 1400px){
- body{
- background:rgb(0, 27, 45);
- }
- .button{
- padding: 3px 0;
- }
- .mobileMenuSelector{
- color:rgb(240, 252, 255);
- z-index: 10;
- }
- .strandTitle{
- color: white;
- position: fixed;
- top: 15px;
- left: 0;
- right: 0;
- margin: 0;
- text-align: center;
- font-size: 20px;
- }
- .searchInput{
- border-radius: 10px;
- }
- .choosable{
- background:rgb(201, 201, 201);
- color: black;
- }
- /* HOME */
- #inventoryCheckCard{
- display: none;
- }
- #graphCard{
- display: none;
- }
- .card{
- background: white;
- }
- /* INGREDIENT INVENTORY */
- #categoryList{
- width: 95%;
- }
- .categoryDiv{
- margin: 5px;
- }
- .categoryDiv > div:first-of-type p{
- padding: 10px;
- margin-right: 15px;
- }
- .categoryDiv > div:first-of-type button{
- padding: 10px;
- height: initial;
- width: initial;
- display: flex;
- }
- .ingredientsDiv{
- width: 90%;
- }
- /* RECIPE BOOK */
- #recipeList{
- width: 90%;
- }
- /* ANALYTICS */
- #analyticsStrand .strandHead{
- height: 23vh;
- flex-direction: column;
- }
- #analyticsStrand .strandTitle{
- position: static;
- }
- .switch{
- margin-top: 0;
- }
- .analDateRange{
- display: none;
- }
- .analContent{
- flex-direction: column;
- justify-content: space-between;
- padding: 0;
- height: 70vh;
- }
- .itemsList{
- width: 90%;
- height: 47%;
- margin-bottom: 10px;
- }
- .analData{
- height: 47%;
- }
- .dataRow{
- flex-direction: column;
- }
- #itemUseGraph{
- display: none;
- }
- #analDailyAverages{
- display: none;
- }
- #recipeSalesGraph{
- display: none;
- }
- /* ORDERS */
- #ordersStrand .strandHead{
- justify-content: center;
- }
- #newOrderBtn{
- display: none;
- }
- #orderList{
- width: 90%;
- }
- #orderList > div p:nth-child(2){
- display: none;
- }
- /* TRANSACTIONS */
- #transactionsStrand .strandHead{
- justify-content: center;
- }
- .transactionsList{
- width: 90%;
- }
- @media screen and (min-width: 601px){
- .strandTitle{
- font-size: 40px;
- }
- .mobileMenuSelector{
- left: 40px;
- top: 20px;
- }
- /* HOME */
- #graphCard{
- display: flex;
- }
- /* RECIPE BOOK */
- #recipeList{
- width: 75%;
- }
- /* ORDERS */
- #ordersStrand .strandHead{
- margin-top: 25px;
- }
- /* TRANSACTIONS */
- #transactionsStrand .strandHead{
- margin-top: 25px;
- }
- }
- }
- }
- @media screen and (orientation: landscape){
- @media screen and (max-width: 1200px){
- body{
- background: rgb(0, 27, 45);
- }
- .contentBlock{
- padding: 0;
- }
- .button{
- padding: 3px 0;
- }
- .mobileMenuSelector{
- display: flex;
- color: rgb(240, 252, 255);
- z-index: 10;
- }
- .strandHead{
- color: white;
- position: fixed;
- top: 5px;
- left: 25px;
- right: 0;
- margin: 0;
- text-align: center;
- font-size: 20px;
- }
- .strandTitle{
- margin: 0;
- }
- .searchInput{
- border-radius: 10px;
- }
- .choosable{
- background: rgb(201, 201, 201);
- color: black;
- }
- /* HOME */
- #homeStrand{
- flex-direction: row;
- padding: 0;
- align-items: flex-end;
- }
- #graphCard{
- display: none;
- }
- #inventoryCheckCard{
- display: none;
- }
- .flexRow{
- height: 80%;
- }
- .flexRow:nth-child(3){
- flex-grow: 2;
- }
- .card{
- background: white;
- }
- #popularIngredientsCard{
- max-height: 100%;
- padding-bottom: 5px;
- }
- /* INGREDIENTS */
- #ingredientsStrand{
- padding-bottom: 10px;
- justify-content: flex-end;
- }
- #categoryList{
- height: 70%;
- }
- .categoryDiv{
- margin: 3px;
- }
- .categoryDiv > div:first-of-type p{
- padding: 5px 10px;
- }
- .categoryDiv > div:first-of-type button{
- padding: 0;
- height: initial;
- width: initial;
- display: flex;
- align-items: center;
- }
-
- .ingredientsDiv{
- width: 90%;
- }
- /* RECIPE BOOK */
- #recipeBookStrand{
- padding-bottom: 10px;
- justify-content: flex-end;
- }
- #recipeList{
- height: 70%;
- }
- /* ANALYTICS */
- #analyticsStrand{
- padding-bottom: 10px;
- justify-content: space-between;
- }
- #analyticsStrand .strandHead{
- position: static;
- height: unset;
- flex-wrap: wrap;
- }
- #analyticsStrand .strandTitle{
- width: 100%;
- margin-top: -13px;
- margin-left: 10px;
- }
- .switch{
- margin-top: -15px;
- font-size: 15px;
- }
- #analyticsStrand .dateRange{
- margin-top: -55px;
- }
- .analDateRange{
- display: none;
- }
- .analContent{
- padding: 0;
- height: 70%;
- }
- .itemsList{
- width: 23%;
- }
- .analData{
- width: 73%
- }
- .dataRow{
- display: none;
- }
- .modebar-container{
- display: none;
- }
- #analRecipeContent{
- height: 70%;
- }
- #newOrderBtn{
- display: none;
- }
- /* ORDERS */
- #ordersStrand{
- justify-content: flex-end;
- }
- #ordersStrand .buttonBox{
- margin: 0;
- }
- #orderList{
- height: 70%;
- }
- /* TRANSACTIONS */
- #transactionsStrand{
- justify-content: flex-end;
- }
- #transactionsStrand .buttonBox{
- margin: 0;
- }
- #transactionsList{
- height: 70%;
- }
- @media screen and (min-width: 1000px){
- .mobileMenuSelector{
- top: 20px;
- left: 40px;
- }
- .strandTitle{
- margin: 15px;
- }
- /* HOME */
- #homeStrand{
- flex-direction: column;
- justify-content: flex-end;
- }
- #graphCard{
- display: flex;
- }
- .flexRow{
- max-height: 40vh;
- }
- .flexRow:nth-child(2){
- flex-grow: 2;
- }
- .flexRow:nth-child(3){
- flex-grow: 1;
- }
- /* INGREDIENTS */
- #categoryList{
- height: 80%;
- }
- /* RECIPE BOOK */
- #recipeList{
- height: 80%;
- }
- /* ANALYTICS */
- #analyticsStrand .strandTitle{
- margin-top: 8px;
- margin-left: 30px;
- }
- .analDateRange{
- display: block;
- }
- #analRecipeContent, .analContent{
- height: 80%;
- }
- /* ORDERS */
- #orderList{
- height: 80%;
- }
- /* TRANSACTIONS */
- #transactionsList{
- height: 80%;
- }
- }
- }
- }
|