*{ padding: 0; margin:0; } .Link{ color:inherit; text-decoration: none; } .AuthPage{ display: flex; justify-content: center; min-width: 100%; height: 100vh; align-items: center; & .AuthForm{ min-width: 400px; } } .carousel { & .thumb { border: 1px solid rgba(0,0,0,0)!important; cursor:pointer; &:hover{ border:1px solid #C9C5CA!important; } } } .GoodCard{ & .BuyButton{ margin-left: auto; white-space: nowrap; } } .DrawerCart{ width:350px; & .header{ justify-content: space-between; width: 100%; } & .header{ padding: 10px; } & .DrawerCartItem{ width:100%; display: flex; & .content{ flex:1; } & .buttons{ padding: 10px; display: flex; align-items: center; } } & .list{ } } .App{ & .Error404{ height: 99vh; } & .Header{ margin-bottom: 30px; & .AppBar{ background: white; color:#6750A4; & .ToolBar{ padding-left: 50px; padding-right: 50px; & .Logo{ width:50px; height:50px; margin-right: 10px; } & .SearchBarWrapper{ flex-grow: 1; margin-left: 10px; & .SearchBar{ position: relative; justify-content: center; padding-left: 20%; & .SearchBarInput{ width: 100%; max-width: 500px; } & .SearchResults{ position: absolute; width: 100%; max-width: 480px; background: white; padding: 10px; z-index: 2; & .SearchGoodResultItem{ text-align: left; & img{ width:100%; max-height: 100px; } &:hover{ background: #F1F2F4; } } } } } & .CartIcon{ & .MuiBadge-badge{ right: 4px; top: 35px; padding: 0 4px; } & .CartLogo{ color:#6750A4; width:30px; height:30px; } } & .LogoutIcon{ & .LogoutLogo{ color:#6750A4; width:30px; height:30px; } } } } } & .Aside{ margin-left: 50px; & .body{ padding: 10px 0px 100px 0px; border-radius: 5px; border:1px solid #C9C5CA ; & .Categories{ } } } & .Content{ margin-left: 50px; margin-right: 50px; min-height: 600px; border-radius: 5px; flex:1; border:1px solid #C9C5CA ; & .AdminLayoutPage{ padding: 10px; padding-bottom: 400px; & .AdminOrderPage{ text-align: left; } & .AdminGoodPage{ & .GoodForm{ width:40%; text-align: left; } & .EntityEditor{ & .DropZoneImage{ width: 100%; } & .Dropzone{ background: #F1F2F4; width: 100%; padding: 70px 0; border: 1px dashed #E9EAEC; border-radius: 5px; text-align: center; } } } & .AdminGoodList{ width:90%; display: flex; justify-content: center; flex-wrap: wrap; margin-left: 5%; & .AdminGoodItem{ & img{ width: 100px; } } } & .AdminCategoryPage{ & .CategoryForm{ width:40%; text-align: left; } & .AdminCategoryList{ width:90%; display: flex; justify-content: center; flex-wrap: wrap; margin-left: 5%; } } & .searchBarWrapper{ display: flex; justify-content: center; margin-bottom:10px ; & .SearchBar{ position: relative; & .SearchBarInput{ width: 100%; max-width: 500px; min-width: 500px; } & .SearchResults{ position: absolute; width: 100%; max-width: 480px; background: white; padding: 10px; z-index: 2; & .SearchGoodResultItem{ text-align: left; & img{ width:100%; max-height: 100px; } &:hover{ background: #F1F2F4; } } & .SearchOrderResultItem{ text-align:left; &:hover{ background: #F1F2F4; } } } } } } & .MainPage{ padding: 10px; & .MainPageImage{ width: 100%; border-radius: 10px; } } & .CartPage{ & .OrderForm{ padding: 10px 15px; text-align: left; } } & .GoodPage{ padding:10px; & .content{ text-align: left; } } & .GoodsPage{ padding:10px; & .sortOptionsWrapper{ display: flex; justify-content: right; padding-right: 15px; } & .Divider{ margin-top: 10px; margin-bottom: 10px; } & .SubCategories{ padding-top: 10px; padding-bottom: 10px; display: flex; & .SubCategory{ width: 250px; padding: 15px 7px; margin-right: 15px; margin-bottom: 15px; cursor: pointer; } } } } & .Footer{ margin-top:70px; background-color: #F4EFF4; padding: 25px 0px; & .TableCell{ border-bottom: none; padding: 0; padding-top: 5px; } } }