Skip to content

Commit

Permalink
refactor: Avoid general aside styles caused by CLUE (#763)
Browse files Browse the repository at this point in the history
Refactor CLUE aside styles

* Avoid general `<aside>` styles
* Copy general aside styles into nested panels
  • Loading branch information
thinkh authored Aug 11, 2022
1 parent 77256a9 commit 2825d40
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
18 changes: 11 additions & 7 deletions dist/scss/_clue_override.scss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 11 additions & 7 deletions src/scss/_clue_override.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,29 @@ header.clue-modeselector {

// overrides caleydo_clue/styles/base
aside {
border: 0;
border-left: 2px solid $core_colour_selected;
border-radius: 0;
margin: 0;

&.provenance-layout-vis {
border-color: $core_colour_selected;
border: 0;
border-left: 2px solid $core_colour_selected;
border-radius: 0;
margin: 0;

&.collapsed {
border-left: 0; // hide border when panel is collapsed
}
}

&.provenance-story-vis {
border-color: $core_colour_selected;
border: 0;
border-left: 2px solid $core_colour_selected;
border-radius: 0;
margin: 0;
}

&.annotations {
border-radius: 0;
margin: 0;
border: 2px solid $core_colour_selected;

> div:first-of-type {
background-color: $presentation-stage;
}
Expand Down

0 comments on commit 2825d40

Please sign in to comment.