mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-05 00:57:59 +01:00
8d47f56917
* 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
53 lines
974 B
SCSS
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;
|
|
}
|