-
Notifications
You must be signed in to change notification settings - Fork 810
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Work on the header Ui * Work on the product page
- Loading branch information
Showing
39 changed files
with
746 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,7 @@ | |
], | ||
"styles": [ | ||
"node_modules/font-awesome/css/font-awesome.css", | ||
|
||
"src/styles.scss" | ||
], | ||
"scripts": [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 5 additions & 9 deletions
14
...eader/components/brand-menu-dropdown/brand-componant/brand-list/brand-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
<div class="row"> | ||
<div> | ||
<ul> | ||
<li> | ||
<a [routerLink]="['/products']" [queryParams]="{'q[name_cont]': taxons.name, id: taxons.id}">{{taxons.name}} </a> | ||
</li> | ||
</ul> | ||
<ul class="flex-container wrap"> | ||
<li class="flex-item"> | ||
<a [routerLink]="['/products']" [queryParams]="{'q[name_cont]': taxons.name, id: taxons.id}">{{taxons.name}} </a> | ||
</li> | ||
|
||
</div> | ||
</div> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/app/layout/header/components/brand-menu-dropdown/brand-menu-dropdown.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.dropdown-menu { | ||
width: 50rem; | ||
} | ||
width: 50rem; | ||
padding: 10px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 changes: 105 additions & 4 deletions
109
...-menu-dropdown/categories-components/categories-details/categories-details.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,111 @@ | ||
.sucathead { | ||
color: #000; | ||
text-decoration: underline; | ||
color: #282828; | ||
text-decoration: none; | ||
font-size: 14px; | ||
} | ||
|
||
a { | ||
color: #747474; | ||
.brandsmenu a { | ||
color: #fff; | ||
text-decoration: None; | ||
} | ||
|
||
.brandsmenu a:hover { | ||
color: #a3d032; | ||
text-decoration: underline; | ||
} | ||
|
||
.brandsmenu { | ||
ul { | ||
list-style: none; | ||
padding: 0.5rem 0 0.5rem 1.5rem; | ||
margin: 0px; | ||
background-color: #adadad; | ||
li { | ||
padding: 0.5rem 0.4rem; | ||
background-color: #adadad; | ||
border-bottom: 1px solid #ccc; | ||
color: #fff; | ||
cursor: pointer; | ||
&::after { | ||
font-family: 'FontAwesome'; | ||
content: "\f105"; | ||
width: 20px; | ||
height: 57px; | ||
margin-right: 12px; | ||
right: 0px; | ||
position: absolute; | ||
background-size: 10px; | ||
} | ||
&:hover::after { | ||
color: #a3d032 | ||
} | ||
&:hover { | ||
background-color: #fff; | ||
color: #a3d032 !important; | ||
border-radius: 4px 0px 0px 4px; | ||
} | ||
uL>LI { | ||
POSITION: absolute; | ||
LEFT: 20%; | ||
WIDTH: 78%; | ||
TOP: 0PX; | ||
display: NONE; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.catadjustwidth { | ||
width: 220%; | ||
} | ||
|
||
@media screen and (min-width: 320px) and (max-width: 332x) { | ||
.sucathead { | ||
color: #fff; | ||
} | ||
.catadjustwidth { | ||
width: 220%; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 375px) and (max-width: 413px) { | ||
.sucathead { | ||
color: #fff; | ||
} | ||
.catadjustwidth { | ||
width: 216%; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 414px) and (max-width: 627px) { | ||
.sucathead { | ||
color: #fff; | ||
} | ||
.catadjustwidth { | ||
width: 215%; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 628px) and (max-width: 767px) { | ||
.sucathead { | ||
color: #fff; | ||
} | ||
.catadjustwidth { | ||
width: 215%; | ||
} | ||
} | ||
|
||
@media screen and(min-width: 628px) and(max-width: 768px) { | ||
.catadjustwidth { | ||
width: 310%; | ||
} | ||
.brandsmenu a { | ||
color: #fff !important; | ||
} | ||
.catcon { | ||
padding: 0px; | ||
} | ||
.catconinner { | ||
padding: 0px; | ||
} | ||
} |
43 changes: 41 additions & 2 deletions
43
...es-menu-dropdown/categories-components/categories-details/categories-details.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 11 additions & 2 deletions
13
...n/categories-components/categories-details/categories-list/categories-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
<div *ngIf="!screenwidth"> | ||
<div *ngFor="let taxon of taxons"> | ||
<a [routerLink]="['/products']" [queryParams]="{id: taxon.id}">{{taxon.name}} </a> | ||
</div> | ||
</div> | ||
<div class="subbandmenu" *ngIf="screenwidth"> | ||
<ul> | ||
<li *ngFor="let taxon of taxons"> | ||
<a [routerLink]="['/products']" [queryParams]="{id: taxon.id}">{{taxon.name}} </a> | ||
|
||
<div *ngFor="let taxon of taxons"> | ||
<a [routerLink]="['/products']" [queryParams]="{id: taxon.id}">{{taxon.name}} </a> | ||
</li> | ||
</ul> | ||
</div> |
Oops, something went wrong.