Skip to content

Commit

Permalink
Added new less variables
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap committed Jul 19, 2017
1 parent fd9f047 commit 7cc0cfc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,10 @@
.react-grid-Row:hover .react-grid-Cell.modified {
background-color: @ms2-color-warning-active;
}

.react-grid-Row .react-grid-Cell.modified.invalid,
.react-grid-Row .react-grid-Cell.invalid,
.react-grid-Row.row-selected .react-grid-Cell.invalid,
.react-grid-Row.row-selected .react-grid-Cell.modified.invalid {
background-color: @ms2-color-danger-active;
}
4 changes: 4 additions & 0 deletions web/client/themes/default/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@
@ms2-color-warning-light: lighten(@ms2-color-warning, 40%);
@ms2-color-danger-light: lighten(@ms2-color-danger, 40%);

@ms2-color-primary-active: darken(@ms2-color-primary, 20%);
@ms2-color-info-active: darken(@ms2-color-info, 20%);
@ms2-color-success-active: darken(@ms2-color-success, 20%);
@ms2-color-warning-active: darken(@ms2-color-warning, 20%);
@ms2-color-danger-active: darken(@ms2-color-danger, 20%);

@ms2-color-shade: #555555;
@ms2-color-shade-darker: #222222;
Expand Down

0 comments on commit 7cc0cfc

Please sign in to comment.