philomena/assets/css/views/_duplicate_reports.scss
David Joseph Guzsik 8d47f56917
Build assets using Webpack (#150)
* Build assets using webpack

* Change webpack bundling method, add path aliases, restore deploy script

* Remove babel dependencies

* Add buble rollup plugin and always attach promise polyfill to window

* Fix object formatting for buble rollup plugin config

* Remove reference to setImmediate from promise polyfill
2020-06-28 14:53:19 -04:00

53 lines
974 B
SCSS

// 16x16 checkerboard
@mixin img-checkerboard-background {
img {
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAGUlEQVR42mP474AKGdDhCFGALoChYWQoAACpW7+B5lv5BwAAAABJRU5ErkJggg==");
}
}
.grid--dupe-report-list {
grid-template-rows: auto;
grid-template-columns: 200px [image-cell-1] 200px [image-cell-2] auto [diff] auto [status-options];
}
.grid--dupe-report-list__cell {
padding: .5em .25em .5em .25em;
}
.dr__image-cell {
.image-container {
@include img-checkerboard-background;
}
}
.dr__diff {
white-space: nowrap;
}
.dr__status-options {
padding: .5em;
}
.report-duplicate {
margin-top: 1em;
}
.difference, .swipe, .onion-skin {
display: flex;
flex-direction: column;
align-items: center;
}
.onion-skin__slider {
width: 100%;
margin-top: 10px;
max-width: 500px;
}
.swipe__image {
cursor: ew-resize;
}
.difference__image, .swipe__image, .onion-skin__image {
max-height: 900px;
}