Skip to content

Commit

Permalink
implementation of the canvas texture renderer, for Caleydo/lineup_app#3
Browse files Browse the repository at this point in the history
  • Loading branch information
domdir committed Aug 13, 2018
1 parent 581e36b commit ca0dcaa
Show file tree
Hide file tree
Showing 7 changed files with 470 additions and 84 deletions.
68 changes: 62 additions & 6 deletions src/styles/engine/_texture_renderer.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,71 @@
@import '../vars';

##{$lu-css_prefix}-texture-container {
display: flex;
overflow-y: hidden;
flex-direction: row;
overflow-y: auto;
overflow-x: auto;

img {
margin-right: 5px;
.rankingContainer {
display: flex;
flex-direction: column;

&.partOfComposite {
margin-right: 6px;
.row {
position: relative;

.textureContainer {
display: flex;

.columnContainer {
flex: 0 0 auto;
margin-right: 5px;

&.partOfComposite {
margin-right: 6px;
}

canvas {
width: 100%;
height: 100%;
}
}
}

.engineRendererContainer {
> header {
display: none;
}

> main {
overflow: hidden;
width: 100%;
}
}
}
}

&:not(.expand) {
.engineRendererContainer:not(.always) {
display: none;
}
}

.row.expanded {
.engineRendererContainer:not(.always) {
display: block;
}
}

&.expand,
.row.expanded {
.textureContainer:not(.always) {
display: none;
}
}

#lu-drag-overlay {
position: absolute;
background-color: #c1c1c1;
opacity: 0.4;
left: 0;
}
}
Loading

0 comments on commit ca0dcaa

Please sign in to comment.