search css

master
Boris Voropaev 2024-02-14 15:02:04 +03:00
parent 9e903ae62a
commit 1ff70de669
4 changed files with 15 additions and 20 deletions

View File

@ -11,7 +11,10 @@
</div>
<div class="results" *ngIf="searchString">
<div class="tabs default" *ngIf="total">
<button *ngFor="let tab of tabs" type="button" [class.disabled]="tab.disabled" [class.active]="tab.active" (click)="toggleTab(tab)">{{tab.title}} ({{tab.count || 0}})</button>
<div>
<button *ngFor="let tab of tabs" type="button" [class.disabled]="tab.disabled" [class.active]="tab.active" (click)="toggleTab(tab)">{{tab.title}} ({{tab.count || 0}})</button>
</div>
</div>
<div class="result">
<search-sections [class.hidden]="activeTab.name !== 'pages'"></search-sections>

View File

@ -1,9 +1,6 @@
.administration-page{
font-family: PT Sans;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 24px;
font-weight: 500;
h2{
color: var(--second-act);
margin-bottom: 48px;

View File

@ -555,12 +555,13 @@ auth-page, auth-modal{
.search-form{
margin-bottom: 32px;
}
.results{
.tabs{
button{
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
}
.results{
.tabs{
button{
}
}
}

View File

@ -9,22 +9,16 @@
margin-bottom: 24px;
}
>div{
margin-right: -1px;
button {
padding: 8px 20px;
background: #ffffff;
border-radius: 4px 4px 0 0;
border: var(--prime) solid 1px;
color: var(--prime);
font-family: PT Sans;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 150% */
cursor: pointer;
&:last-child {
margin-right: 0;
}
margin-right: -1px;
span {
white-space: nowrap;
}