| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115 |
- /*
- 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;
- }
- .horizontal{
- display: flex;
- justify-content: space-around;
- }
- .vertical{
- display: flex;
- flex-direction: column;
- }
- #accountUpdate{
- max-width: 500px;
- }
- #accountShowPassword{
- max-width: 300px;
- }
- #changePasswordBox{
- flex-direction: column;
- padding: 25px;
- background: rgb(240, 252, 255);
- 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;
- }
- @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%;
- }
- }
- }
- }
|