mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
After selecting color, the color button is closed
Signed-off-by: Cheng <1309173081@qq.com>
This commit is contained in:
parent
7d9c6287b3
commit
e47e17ed3f
@ -15,7 +15,7 @@
|
||||
<label>
|
||||
<label for="color">{{'LABEL.COLOR' | translate}}</label>
|
||||
<clr-dropdown [clrCloseMenuOnItemClick]="false" clrDropdownTrigger>
|
||||
<clr-icon shape="caret down" class="icon-style"></clr-icon>
|
||||
<clr-icon shape="caret down" class="btn btn-outline btnColor btn-sm"></clr-icon>
|
||||
<clr-dropdown-menu *clrIfOpen>
|
||||
<label class="dropdown-item" (click)="labelModel.color=i.color" *ngFor="let i of labelColor"
|
||||
[class.borderSty]="i.color == '#FFFFFF'" [ngStyle]="{'background-color': i.color, 'color': i.textColor }">Aa</label>
|
||||
|
@ -62,21 +62,5 @@ form {
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.icon-style
|
||||
{
|
||||
border: 1px solid #0077b7;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
padding: 4px;
|
||||
width: 25px;
|
||||
height: 22px;
|
||||
margin-left: 3px;
|
||||
color: #0077b7;
|
||||
}
|
||||
.icon-style:hover
|
||||
{
|
||||
background-color: #e1f1f6;
|
||||
color:#004a70;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user