mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-27 11:07:46 +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>
|
||||
|
@ -61,22 +61,6 @@ form {
|
||||
border: 1px solid #A1A1A1 !important;
|
||||
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