Fairoj : Merge Changes
This commit is contained in:
parent
2407ffdb4e
commit
ee5e97554a
@ -6,7 +6,7 @@
|
|||||||
<!-- <div class="container"> -->
|
<!-- <div class="container"> -->
|
||||||
<div fxLayout="column" fxLayoutAlign="center">
|
<div fxLayout="column" fxLayoutAlign="center">
|
||||||
<!-- <div fxFlex="100"> -->
|
<!-- <div fxFlex="100"> -->
|
||||||
<div style="margin: 0px;" fxLayoutAlign="center" fxFlex="10">
|
<div fxLayoutAlign="center" fxFlex="10">
|
||||||
<h5 class="flex-text">There is no exercise better for the heart than reaching down and lifting people up.</h5>
|
<h5 class="flex-text">There is no exercise better for the heart than reaching down and lifting people up.</h5>
|
||||||
</div>
|
</div>
|
||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
|
|||||||
@ -69,24 +69,25 @@ $p: 12px;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.mc-2{
|
.mc-2{
|
||||||
z-index: 4;
|
z-index: 1;
|
||||||
background-color: rgba(0,190,214,0.9);
|
background-color: rgba(0,190,214,0.9);
|
||||||
}
|
}
|
||||||
.mc-3{
|
.mc-3{
|
||||||
background-color: rgba(0,165,228,0.9);
|
background-color: rgba(0,165,228,0.9);
|
||||||
z-index: 4;
|
z-index: auto;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
.mc-4{
|
.mc-4{
|
||||||
background-color: rgba(0,136,223,0.9);
|
background-color: rgba(0,136,223,0.9);
|
||||||
z-index: 4;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
.mc-5{
|
.mc-5{
|
||||||
background-color: rgba(111,99,195,0.9);
|
background-color: rgba(111,99,195,0.9);
|
||||||
z-index: 4;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
.mc-6{
|
.mc-6{
|
||||||
background-color: rgba(255,198,88,0.9);
|
background-color: rgba(255,198,88,0.9);
|
||||||
z-index: 4;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
.mc-7{
|
.mc-7{
|
||||||
background-color: rgba(255,148,92,0.9);
|
background-color: rgba(255,148,92,0.9);
|
||||||
@ -108,13 +109,14 @@ $p: 12px;
|
|||||||
color:white;
|
color:white;
|
||||||
font-style: oblique;
|
font-style: oblique;
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
z-index: 2;
|
position:relative;
|
||||||
|
z-index: auto;
|
||||||
}
|
}
|
||||||
.flex-text2{
|
.flex-text2{
|
||||||
color:white;
|
color:white;
|
||||||
font-style: oblique;
|
font-style: oblique;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
z-index: 2;
|
z-index: auto;
|
||||||
}
|
}
|
||||||
.form-bg{
|
.form-bg{
|
||||||
height: 80vh;
|
height: 80vh;
|
||||||
|
|||||||
@ -56,7 +56,7 @@
|
|||||||
</a>
|
</a>
|
||||||
<mat-nav-list class="sub-menu" *ngIf="menuitem.type === 'sub'">
|
<mat-nav-list class="sub-menu" *ngIf="menuitem.type === 'sub'">
|
||||||
<mat-list-item *ngFor="let childitem of menuitem.children" routerLinkActive="open">
|
<mat-list-item *ngFor="let childitem of menuitem.children" routerLinkActive="open">
|
||||||
<a [routerLink]="['/', menuitem.state, childitem.state ]" class="relative" mat-ripple>{{ childitem.name | translate }}</a>
|
<a [routerLink]="['/'+childitem.state ]" class="relative" mat-ripple>{{ childitem.name | translate }}</a>
|
||||||
</mat-list-item>
|
</mat-list-item>
|
||||||
</mat-nav-list>
|
</mat-nav-list>
|
||||||
</mat-list-item>
|
</mat-list-item>
|
||||||
|
|||||||
@ -28,9 +28,15 @@ const HORIZONTALMENUITEMS = [
|
|||||||
type: 'link',
|
type: 'link',
|
||||||
icon: 'home'
|
icon: 'home'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
state: 'contribute',
|
||||||
|
name: 'Contribute',
|
||||||
|
type: 'link',
|
||||||
|
icon: 'error_outline'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
state: 'apps',
|
state: 'apps',
|
||||||
name: 'Components',
|
name: 'Pages',
|
||||||
type: 'sub',
|
type: 'sub',
|
||||||
icon: 'apps',
|
icon: 'apps',
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@ -62,11 +62,29 @@ const MENUITEMS : Menu[] = [
|
|||||||
icon: 'error_outline'
|
icon: 'error_outline'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
state: 'payment',
|
state: 'apps',
|
||||||
name: 'Payment',
|
name: 'Pages',
|
||||||
type: 'link',
|
type: 'sub',
|
||||||
icon: 'error_outline'
|
icon: 'apps',
|
||||||
|
children: [
|
||||||
|
{state: 'contribute', name: 'Contribute',},
|
||||||
|
{state: 'projects', name: 'Projects',},
|
||||||
|
{state: 'payment', name: 'Payment'},
|
||||||
|
{state: 'paymentconfirmation', name: 'PaymentConfirmation'}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
state: 'my-account',
|
||||||
|
name: 'My-Account',
|
||||||
|
type: 'link',
|
||||||
|
icon: 'person'
|
||||||
|
},
|
||||||
|
// {
|
||||||
|
// state: 'payment',
|
||||||
|
// name: 'Payment',
|
||||||
|
// type: 'link',
|
||||||
|
// icon: 'error_outline'
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
state: 'authentication',
|
state: 'authentication',
|
||||||
name: 'Login',
|
name: 'Login',
|
||||||
|
|||||||
@ -126,17 +126,19 @@ $mat-toolbar-height-mobile-landscape: 48px !default;
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.dropdown {
|
.dropdown {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
opacity: 0;
|
z-index: 5;
|
||||||
|
opacity: 1;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
width: 200px;
|
// width: 200px;
|
||||||
transition: all 0.2s ease-in-out 0s;
|
transition: all 0.2s ease-in-out 0s;
|
||||||
transform: translateY(-20px);
|
transform: translateY(-20px);
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
color:black;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
z-index: 9;
|
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
||||||
a {
|
a {
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 1rem;
|
||||||
@ -147,7 +149,9 @@ $mat-toolbar-height-mobile-landscape: 48px !default;
|
|||||||
}
|
}
|
||||||
li:hover {
|
li:hover {
|
||||||
>.dropdown {
|
>.dropdown {
|
||||||
opacity: 1;
|
// opacity: 100;
|
||||||
|
position: relative;
|
||||||
|
z-index: 9;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
transform: translateY(0px);
|
transform: translateY(0px);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -43,6 +43,7 @@
|
|||||||
color: $sidebar-menu-color;
|
color: $sidebar-menu-color;
|
||||||
}
|
}
|
||||||
.sub-menu {
|
.sub-menu {
|
||||||
|
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
-webkit-transition: .5s cubic-bezier(.35, 0, .25, 1);
|
-webkit-transition: .5s cubic-bezier(.35, 0, .25, 1);
|
||||||
@ -51,6 +52,7 @@
|
|||||||
-webkit-transition-property: max-height;
|
-webkit-transition-property: max-height;
|
||||||
-moz-transition-property: max-height;
|
-moz-transition-property: max-height;
|
||||||
transition-property: max-height;
|
transition-property: max-height;
|
||||||
|
|
||||||
}
|
}
|
||||||
.sub-menu a {
|
.sub-menu a {
|
||||||
@include padding-left(64px);
|
@include padding-left(64px);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user