Skip to content

Commit

Permalink
Fix label color issue (#14387)
Browse files Browse the repository at this point in the history
Signed-off-by: AllForNothing <sshijun@vmware.com>
  • Loading branch information
AllForNothing committed Mar 8, 2021
1 parent 4c47b17 commit f0dd9e5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
[class.borderSty]="i.color == '#FFFFFF'" [ngStyle]="{'background-color': i.color, 'color': i.textColor }">Aa</label>
</clr-dropdown-menu>
</clr-dropdown>
<input clrInput type="text" id="color" size="8" name="color" disabled [(ngModel)]="labelModel.color" #color="ngModel">
<input class="label-color-input" clrInput type="text" id="color" size="8" name="color" disabled [(ngModel)]="labelModel.color" #color="ngModel">
</label>
<label>
<label for="description">{{'LABEL.DESCRIPTION' | translate}}</label>
Expand Down
4 changes: 4 additions & 0 deletions src/portal/src/css/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,7 @@ artifact-list-tab {
.nav-divider {
background-color: $nav-divider-bg-color;
}

.label-color-input {
color: $label-color-input !important;
}
2 changes: 1 addition & 1 deletion src/portal/src/css/dark-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ $command-input-color: #eaedf0;
$command-input-bg-color: #2e4757;
$label-hover-bg-color: #28404d;
$nav-divider-bg-color: #fafafa;

$label-color-input: #ddd;
@import "./common.scss";
1 change: 1 addition & 0 deletions src/portal/src/css/light-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ $command-input-color: none;
$command-input-bg-color: #ededed;
$label-hover-bg-color: #eee;
$nav-divider-bg-color: #000;
$label-color-input: #5d5d5d;
@import "./common.scss";

0 comments on commit f0dd9e5

Please sign in to comment.