Skip to content

Commit

Permalink
change design of service mobile in homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacgh0 committed Apr 21, 2019
1 parent b413b36 commit 462d4d2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
23 changes: 19 additions & 4 deletions src/components/homepage/homepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
cursor: pointer;
}
.navlinkMobile{
width: 100%;
width: 80%;
text-decoration: none;
color: #000;
}
Expand Down Expand Up @@ -556,7 +556,7 @@
align-items: center;
width: 60%;
margin: 0 20% 0 calc(20% - 10px);
background: #fff8;
background: transparent;
border-radius: 10px;
padding: 10px;
.containerServiceMobile{
Expand Down Expand Up @@ -677,13 +677,12 @@
img{
border-radius: 50%;
width: 7vw;
background: #403c3c;
padding: 5px;
}
}
.borderDivMobile{
width: 100%;
border: 1px solid #000;
//border: 1px solid #000;
padding: 3px;
max-height: 23vh;
min-height: 23vh;
Expand All @@ -700,6 +699,19 @@
flex-direction: column;
justify-content: flex-start;
align-items: center;
&::-webkit-scrollbar{
width: 10px;
background: transparent;
}
&::-webkit-scrollbar-thumb{
border-radius: 10px;
//background-image: linear-gradient(to right, transparent 40%, #000 50%, transparent 60%);
background: #fff;
//border: 0.5px solid #000;
}
&::-webkit-scrollbar-track{
background-image: linear-gradient(to right, transparent 40%, #000 41%, #000 59%, transparent 60%);
}
p{
text-align: center;
display: flex;
Expand All @@ -719,6 +731,9 @@
}
}
}
.navlinkMobile:last-child p{
border-bottom: none;
}
.changeServicesCM{
animation: changeSCM 0.5s;
@keyframes changeSCM {
Expand Down
2 changes: 1 addition & 1 deletion src/static/assets/Icons/left-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/static/assets/Icons/right-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 462d4d2

Please sign in to comment.