* Wrote my own step tracker and added a prev button. Works up to first conflict flow. * Everything but final import is hooked up in the UI. Polish still needed, but getting there. * Making more progress in the CBL import flow. * Ready for the last step * Cleaned up some logic to prepare for the last step and reset * Users like order to be starting at 1 * Fixed a few bugs around cbl import * CBL import is ready for some basic testing * Added a reading list hook on side nav * Fixed up unit tests * Added icons and color to the import flow * Tweaked some phrasing * Hooked up a loading variable but disabled the component as it didn't look good. * Styling it up * changed an icon to better fit --------- Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
93 lines
2 KiB
SCSS
93 lines
2 KiB
SCSS
img {
|
|
user-select: none;
|
|
}
|
|
|
|
.image-container {
|
|
text-align: center;
|
|
align-items: center;
|
|
|
|
&.full-width {
|
|
height: calc(var(--vh)*100);
|
|
display: grid;
|
|
}
|
|
|
|
&.full-height {
|
|
height: calc(100vh - 34px); // 34px is the height of the horizontal scrollbar that will appear
|
|
display: flex; // changed from inline-block to fix the centering on tablets not working
|
|
}
|
|
|
|
&.original {
|
|
height: 100vh;
|
|
display: grid;
|
|
}
|
|
|
|
.full-height {
|
|
width: auto;
|
|
margin: 0 auto;
|
|
max-height: calc(var(--vh)*100);
|
|
vertical-align: top;
|
|
&.wide {
|
|
height: 100vh;
|
|
}
|
|
}
|
|
|
|
.original {
|
|
align-self: center;
|
|
width: auto;
|
|
margin: 0 auto;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.full-width {
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
vertical-align: top;
|
|
max-width: fit-content;
|
|
}
|
|
|
|
.fit-to-screen.full-width {
|
|
max-height: calc(var(--vh)*100);
|
|
}
|
|
}
|
|
|
|
|
|
.bookmark-effect {
|
|
animation: bookmark 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
|
|
}
|
|
|
|
|
|
.highlight {
|
|
background-color: var(--manga-reader-next-highlight-bg-color) !important;
|
|
animation: fadein .5s both;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
.highlight-2 {
|
|
background-color: var(--manga-reader-prev-highlight-bg-color) !important;
|
|
animation: fadein .5s both;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
|
|
::ng-deep .image-container.book-shadow.center-double:before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
height: 100%;
|
|
box-shadow:
|
|
0px 0px calc(17px*3.14) 25px rgb(0 0 0 / 43%),
|
|
0px 0px calc(2px*3.14) 2px rgb(0 0 0 / 43%),
|
|
0px 0px calc(5px*3.14) 4px rgb(0 0 0 / 43%),
|
|
0px 0px calc(0.5px*3.14) 0.3px rgb(0 0 0 / 43%);
|
|
}
|
|
|
|
@supports (-moz-appearance:none) {
|
|
::ng-deep .image-container.book-shadow.center-double:before {
|
|
box-shadow:
|
|
0px 0px calc(17px*3.14) 25px rgb(0 0 0 / 43%),
|
|
0px 0px calc(2px*3.14) 2px rgb(0 0 0 / 43%),
|
|
0px 0px calc(5px*3.14) 4px rgb(0 0 0 / 43%),
|
|
0px 0px calc(0.5px*3.14) 0.3px rgb(0 0 0 / 43%),
|
|
0px 0px 1px 0.5px rgb(0 0 0 / 43%);
|
|
}
|
|
}
|