litle fix

master
Boris Voropaev 2023-09-06 14:32:30 +03:00
parent 1bb513c2af
commit 94aaf99674
5 changed files with 16 additions and 26 deletions

View File

@ -23,9 +23,12 @@
<div class="main-menu-btn" (click)="showBottom=true" [ngClass]="{hidemobile:showBottom,showmobile:!showBottom}">
<button class=" clear"></button>
</div>
<div class="logo" [ngClass]="{hidemobile:showBottom,showmobile:!showBottom}">
<header-user-bar *ngIf="user" [user]="user"></header-user-bar>
</div>
<a href="/glavnaia/">
<div class="logo" [ngClass]="{hidemobile:showBottom,showmobile:!showBottom}">
<header-user-bar *ngIf="user" [user]="user"></header-user-bar>
</div>
</a>
<div class="grid-menu" [ngClass]="{hidemobile:!showBottom,showmobile:showBottom}">
<button class="close" (click)="showBottom=false"></button>
<pages-menu [items]="menuItems" (onSelected)="itemSelect($event)"></pages-menu>

View File

@ -12,6 +12,8 @@
align-items: stretch;
justify-content: space-between;
.main-menu-btn{
display: flex;
align-items: center;
button{
width: 40px;
height: 40px;

View File

@ -1,4 +1,4 @@
<ul class="breadcrumbs" *ngIf="parents.length>2">
<ul class="breadcrumbs" *ngIf="parents.length>1">
<li *ngFor="let parent of parents"><a [routerLink]="parent.link">{{parent.name}}</a></li>
<li>{{page.name}}</li>
</ul>

View File

@ -32,7 +32,7 @@
vertical-align: -5px;
background: url("~src/assets/images/icons/chevron_right_24dp.svg") no-repeat center;
}
&:first-child,&:nth-child(2){
&:first-child{
display: none;
}
&:last-child {

View File

@ -86,26 +86,6 @@
a.active-mob span{
border-bottom: 2px solid rgba(255, 255, 255, 0.63);
}
// :host-context(.active){
// border-bottom: none !important;
// }
// // level 2 and below
// pages-menu{
// flex-grow: 1;
// flex-shrink: 0;
// flex-basis: 100%;
// align-self: auto;
// order: 0;
// pages-menu-item {
// color: rgba(255, 255, 255, 0.75);
// /* 16-24/Regular */
// font-weight: 400;
// margin-left: 28px;
// }
// }
}
}
}
@ -262,7 +242,12 @@
display: block;
padding: 0;
margin: 20px 0 0 0;
opacity: 0.63;
a{
opacity: 0.63;
}
a:hover{
opacity: 1;
}
}
}
}