UI Mechanics / New Look (orange - gray)

This commit is contained in:
2020-08-01 17:11:43 +02:00
parent bf609fc5cd
commit e5a68f4b85
32 changed files with 766 additions and 118 deletions

7
src/styles/Dialogs.scss Normal file
View File

@@ -0,0 +1,7 @@
.dialog-login {
}
.login-dialog-buttons {
display: flex;
justify-content: center;
}

View File

@@ -3,16 +3,30 @@
h4 {
font-weight: 400;
margin-left: 1rem;
}
.carddish-container {
margin-top: 20px;
margin-bottom: 20px;
background-color: #303030;
border-radius: 10px;
margin-right: auto;
margin-left: auto;
margin-top: 10px;
margin-bottom: 10px;
padding: 20px;
display: flex;
width: 100%;
justify-content: space-between;
width: 95%;
cursor: pointer;
transition: all 0.25s;
h2 {
font-weight: 300;
color: $main-color;
margin-top: 1rem;
}
&:hover {
background-color: #3a3a3a;
}
}
@@ -20,10 +34,18 @@ h4 {
background-color: $secondary-color;
width: 150px;
height: 150px;
border-radius: 75px;
border-radius: 10px;
margin: 0px 20px 0px 0px;
}
.carddish-left {
display: flex;
}
.carddish-right {
h5 {
font-weight: 500;
font-size: 1.2rem;
margin-top: 1rem;
}
}

View File

@@ -1,7 +1,7 @@
@import "../Design.scss";
.footer {
background-color: $main-color;
position: fixed;
bottom: 0;
background-color: $dark-gray;
p {
color: white;

View File

@@ -3,8 +3,30 @@
margin: 8px 8px 8px 0px;
}
.pictograms-container-separated {
width: 100%;
display: flex;
flex-wrap: wrap;
}
.pictogram {
margin: 6px;
height: 20px;
width: 20px;
}
.separate-pictogram {
background-color: $dark-gray;
display: flex;
align-items: center;
border-radius: 25px;
font-size: 0.8rem;
padding: 4px;
margin: 8px;
h4 {
margin: 8px;
}
.pictogram {
margin: 8px;
}
}

View File

@@ -1,14 +1,17 @@
.restaurant-container {
min-width: 100vw;
width: 100vw;
height: 100%;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
align-items: flex-start;
h1 {
font-weight: 100;
color: $gray;
background-color: $dark-gray;
padding: 15px;
font-size: 3rem;
margin: 16px;
margin-bottom: 4px;
margin-bottom: 16px;
margin-top: 0;
}
p {
margin: 6px;
@@ -21,17 +24,17 @@
.restaurant-hero {
width: 100%;
height: 400px;
height: 500px;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
background-size: cover;
display: flex;
align-items: flex-end;
}
.restaurant-pictograms {
background-color: white;
width: fit-content;
width: 100%;
display: flex;
padding: 4px;
margin: 20px;
margin-top: 20px;
border-radius: 50px;
.pictograms-container {
margin: 8px;
@@ -39,5 +42,47 @@
}
.restaurant-dishes {
min-width: 60%;
h3 {
font-size: 1.6rem;
font-weight: 400;
}
}
.restaurant-content {
padding-top: 10rem;
padding-bottom: 10rem;
display: flex;
justify-content: space-between;
align-items: flex-start;
min-width: 70%;
}
.restaurant-info {
text-align: center;
max-width: 30%;
background-color: #1d1d1d;
box-shadow: -2px 10px 20px rgba(0, 0, 0, 0.212);
border-radius: 15px;
p {
font-size: 1rem;
font-weight: 300;
margin-top: 8px;
margin-bottom: 8px;
}
hr {
border: 1px solid $dark-gray;
margin-top: 18px;
margin-bottom: 18px;
}
h5 {
font-size: 1rem;
font-weight: 500;
}
}
.restaurant-span {
font-weight: 500;
color: $gray;
}

View File

@@ -1,12 +1,10 @@
@import "./Design.scss";
.search-results {
}
.card-restaurant {
border: solid 1px rgb(224, 224, 224);
border-radius: 25px;
border-radius: 15px;
padding: 10px;
margin: 20px 0px 20px 0px;
background-color: #202020;
color: $secondary-color;
max-width: 70vw;
min-height: 200px;
@@ -14,8 +12,7 @@
cursor: pointer;
transition: all 0.25s;
&:hover {
background-color: #fcfcfc;
border-color: rgba(241, 177, 38, 0.87);
background-color: #2e2e2e;
}
}
@@ -23,33 +20,39 @@
min-width: 180px;
height: 180px;
margin: 10px;
border-radius: 18px;
border-radius: 10px;
//border-radius: 100px;
background-size: cover;
}
.card-info {
text-align: start;
padding-left: 10px;
padding-right: 10px;
flex-grow: 6;
display: flex;
flex-direction: column;
justify-content: space-between;
h1 {
color: $main-color;
color: $secondary-color;
font-size: 1.6rem;
font-weight: 300;
margin-bottom: 4px;
margin-top: 8px;
}
h3 {
color: $gray;
font-weight: 400;
margin-top: 2px;
margin-bottom: 2px;
font-size: 0.9rem;
}
p {
color: $gray;
}
hr {
color: $main-color;
color: #2e2e2e;
border: solid 1px;
}
}
@@ -65,7 +68,7 @@
margin-top: 20px;
margin-bottom: 20px;
hr {
border: solid 1px rgb(238, 238, 238);
border: solid 1px rgb(44, 44, 44);
}
p {
font-size: 0.9rem;

View File

@@ -5,6 +5,8 @@
display: flex;
justify-content: space-between;
background-color: $main-color;
position: fixed;
z-index: 1;
}
.topBarLogo {
@@ -15,3 +17,44 @@
opacity: 0.5;
}
}
.topBar-logo-container {
margin: 0;
display: flex;
h5 {
color: $bg-color;
font-weight: 300;
font-size: 1rem;
margin-left: 20px;
margin-top: auto;
margin-bottom: auto;
}
}
.topBar-hamburger {
margin-right: 20px;
margin-top: auto;
margin-bottom: auto;
display: flex;
}
.topbar-username {
color: rgb(221, 221, 221);
margin-right: 16px;
padding-top: 2px;
}
.drawer-bottom {
width: 100%;
margin-bottom: 20px;
display: flex;
justify-content: center;
position: absolute;
bottom: 0;
}
.drawer-buttons {
margin-left: auto;
margin-right: auto;
}