Skip to content

Commit

Permalink
fix(dataviz): dont override selection colors with series colors
Browse files Browse the repository at this point in the history
  • Loading branch information
joneff committed Sep 9, 2021
1 parent 1987b10 commit 0a53881
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 26 deletions.
1 change: 0 additions & 1 deletion packages/bootstrap/scss/dataviz/_variables.scss
Expand Up @@ -125,7 +125,6 @@ $chart-notes-lines: rgba(0, 0, 0, .5) !default;

$error-bars-background: rgba(0, 0, 0, .5) !default;

$chart-selection-marque-background: $series-a !default;
$selection-handle-size: 22px !default;
$selection-border-color: rgba(0, 0, 0, .08) !default;
$selection-shadow: inset 0 1px 7px rgba(0, 0, 0, .15) !default;
Expand Down
1 change: 0 additions & 1 deletion packages/classic/scss/dataviz/_variables.scss
Expand Up @@ -123,7 +123,6 @@ $chart-notes-lines: rgba(0, 0, 0, .5) !default;

$error-bars-background: rgba(0, 0, 0, .5) !default;

$chart-selection-marque-background: $series-a !default;
$selection-handle-size: 22px !default;
$selection-border-color: rgba(0, 0, 0, .08) !default;
$selection-shadow: inset 0 1px 7px rgba(0, 0, 0, .15) !default;
Expand Down
2 changes: 2 additions & 0 deletions packages/default/scss/common/_selection.scss
Expand Up @@ -4,6 +4,7 @@
position: absolute;
z-index: 100000;
}

.k-marquee-color,
.k-marquee-text {
position: absolute;
Expand All @@ -12,6 +13,7 @@
width: 100%;
height: 100%;
}

.k-marquee-color {
color: $selected-text;
background-color: $selected-bg;
Expand Down
14 changes: 0 additions & 14 deletions packages/default/scss/dataviz/_layout.scss
Expand Up @@ -180,20 +180,6 @@
height: 100%;
}

.k-marquee {
position: absolute;
z-index: 100000;
}

.k-marquee-color,
.k-marquee-text {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

// Navigator hint
.k-navigator-hint div {
position: absolute;
Expand Down
8 changes: 0 additions & 8 deletions packages/default/scss/dataviz/_theme.scss
Expand Up @@ -112,14 +112,6 @@
background-color: $component-bg;
opacity: .8;
}

.k-marquee-color {
background-color: $chart-selection-marque-background;
}

.k-marquee-color {
opacity: .6;
}
}


Expand Down
1 change: 0 additions & 1 deletion packages/default/scss/dataviz/_variables.scss
Expand Up @@ -123,7 +123,6 @@ $chart-notes-lines: rgba(0, 0, 0, .5) !default;

$error-bars-background: rgba(0, 0, 0, .5) !default;

$chart-selection-marque-background: $series-a !default;
$selection-handle-size: 22px !default;
$selection-border-color: rgba(0, 0, 0, .08) !default;
$selection-shadow: inset 0 1px 7px rgba(0, 0, 0, .15) !default;
Expand Down
1 change: 0 additions & 1 deletion packages/material/scss/dataviz/_variables.scss
Expand Up @@ -123,7 +123,6 @@ $chart-notes-lines: rgba(0, 0, 0, .5) !default;

$error-bars-background: rgba(0, 0, 0, .5) !default;

$chart-selection-marque-background: $series-a !default;
$selection-handle-size: 22px !default;
$selection-border-color: rgba(0, 0, 0, .08) !default;
$selection-shadow: inset 0 1px 7px rgba(0, 0, 0, .15) !default;
Expand Down

0 comments on commit 0a53881

Please sign in to comment.