-
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
56 additions
and
37 deletions.
There are no files selected for viewing
36 changes: 15 additions & 21 deletions
36
src/components/revoGrid/styles/revo-grid.common.dark.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,67 @@ | ||
@mixin revoGridDark() { | ||
$font-color: #d8d8d8; | ||
color: $font-color; | ||
|
||
$cell-border-color: #404040; | ||
$cell-shadow-cell: 0 -1px 0 0 $cell-border-color inset; | ||
$focused-header: rgba(#7394a0, 0.15); | ||
$el-color: #28272b; | ||
color: $font-color-dark; | ||
|
||
.rowHeaders { | ||
background-color: rgba($el-color, 0.8); | ||
background-color: rgba($el-color-dark, 0.8); | ||
revogr-data .rgCell { | ||
color: rgba($font-color, 0.8); | ||
color: rgba($font-color-dark, 0.8); | ||
} | ||
} | ||
|
||
revogr-edit { | ||
background-color: $el-color; | ||
background-color: $el-color-dark; | ||
} | ||
|
||
revogr-header { | ||
.header-rgRow { | ||
&.group { | ||
$shadow-bottom: 0 -1px 0 0 $cell-border-color inset; | ||
$shadow-bottom: 0 -1px 0 0 $cell-border-color-dark inset; | ||
box-shadow: $shadow-bottom; | ||
} | ||
|
||
&:not(.group) { | ||
$shadow-bottom: 0 -1px 0 0 $cell-border-color inset; | ||
$shadow-top: 0 -1px 0 0 $cell-border-color; | ||
$shadow-bottom: 0 -1px 0 0 $cell-border-color-dark inset; | ||
$shadow-top: 0 -1px 0 0 $cell-border-color-dark; | ||
box-shadow: $shadow-top, $shadow-bottom; | ||
} | ||
} | ||
|
||
.rgHeaderCell { | ||
&.sortable { | ||
&:hover { | ||
background-color: rgba($cell-border-color, 0.5); | ||
background-color: rgba($cell-border-color-dark, 0.5); | ||
} | ||
} | ||
&.focused-cell { | ||
background: $focused-header; | ||
background: $focused-header-dark; | ||
} | ||
} | ||
} | ||
|
||
.footer-wrapper revogr-data { | ||
box-shadow: 0 -1px 0 $cell-border-color; | ||
box-shadow: 0 -1px 0 $cell-border-color-dark; | ||
} | ||
|
||
revogr-data { | ||
.rgCell { | ||
color: rgba($font-color, 0.9); | ||
color: rgba($font-color-dark, 0.9); | ||
} | ||
|
||
.rgRow { | ||
box-shadow: $cell-shadow-cell; | ||
box-shadow: $cell-shadow-cell-dark; | ||
&.focused-rgRow { | ||
background-color: $focused-header; | ||
background-color: $focused-header-dark; | ||
} | ||
} | ||
} | ||
|
||
revogr-viewport-scroll { | ||
&.colPinStart { | ||
box-shadow: -1px 0 0 $cell-border-color inset; | ||
box-shadow: -1px 0 0 $cell-border-color-dark inset; | ||
} | ||
|
||
&.colPinEnd { | ||
box-shadow: -1px 0 0 $cell-border-color; | ||
box-shadow: -1px 0 0 $cell-border-color-dark; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$font-color-dark: #d8d8d8; | ||
$cell-border-color-dark: #404040; | ||
$cell-shadow-cell-dark: 0 -1px 0 0 $cell-border-color-dark inset; | ||
$focused-header-dark: rgba(#7394a0, 0.15); | ||
$el-color-dark: #28272b; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters