After selecting color, the color button is closed

Signed-off-by: Cheng <1309173081@qq.com>
This commit is contained in:
Cheng 2018-09-20 14:09:05 +08:00
parent 7d9c6287b3
commit e47e17ed3f
2 changed files with 2 additions and 18 deletions

View File

@ -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>

View File

@ -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;
}
}