Skip to content

Commit

Permalink
Added new variable in less
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap committed Jul 12, 2017
1 parent 28e574e commit 3f7965a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
16 changes: 12 additions & 4 deletions web/client/themes/default/less/dock-panel-react-data-grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@
border-bottom: 1px solid @ms2-color-shade-lighter;
}

.react-grid-Canvas, .react-grid-Grid {
background-color: @ms2-color-background;
}

.react-grid-Row.row-context-menu .react-grid-Cell, .react-grid-Row:hover .react-grid-Cell {
background-color: @ms2-color-shade-lighter;
cursor: pointer;
Expand Down Expand Up @@ -145,3 +141,15 @@
.react-grid-Cell:focus {
outline: 2px solid @ms2-color-text;
}

.react-grid-Row .react-grid-Cell.modified,
.react-grid-Row.row-selected .react-grid-Cell.modified,
.react-grid-Row.row-selected:active .react-grid-Cell.modified,
.react-grid-Row:hover .react-grid-Cell.modified {
background-color: @ms2-color-warning-active;
}

.react-grid-Row.row-selected:active .react-grid-Cell.modified,
.react-grid-Row:hover .react-grid-Cell.modified {
background-color: @ms2-color-warning-active;
}
4 changes: 4 additions & 0 deletions web/client/themes/default/less/home.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@
font-size: @grid-icon-size;
margin-top: -2px; /* remove after new icons */
}

.gridcard-title {
color: @ms2-color-text-primary;
}
2 changes: 2 additions & 0 deletions web/client/themes/default/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
@ms2-color-warning-light: lighten(@ms2-color-warning, 40%);
@ms2-color-danger-light: lighten(@ms2-color-danger, 40%);

@ms2-color-warning-active: darken(@ms2-color-warning, 20%);

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

0 comments on commit 3f7965a

Please sign in to comment.