manuscript-thumbnails-viewer.component.scss 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. @import "../../../assets/scss/themes";
  2. @import "../../../assets/scss/mixins";
  3. @import "../../../assets/scss/variables";
  4. .thumbnails-view {
  5. height: 100%;
  6. @include themify($themes) {
  7. background-color: themed("secondaryColorDark");
  8. }
  9. overflow: auto;
  10. position: relative;
  11. }
  12. .change-page-container {
  13. padding: 10px;
  14. @include themify($themes) {
  15. background-color: themed("baseColorDark");
  16. }
  17. position: absolute;
  18. bottom: 0;
  19. width: 100%;
  20. }
  21. .page {
  22. display: none;
  23. padding: 0 20px;
  24. }
  25. .active {
  26. display: block;
  27. }
  28. .item-content {
  29. position: relative;
  30. }
  31. p.item-page-index {
  32. position: absolute;
  33. top: 70%;
  34. @include calc("width", "100% - 16px");
  35. text-align: center;
  36. @include themify($themes) {
  37. background-color: themed("baseColorLight");
  38. color: themed("secondaryColorDark");
  39. }
  40. }
  41. .item-content:hover p.item-page-index:not(.clicked-item-par) {
  42. @include themify($themes) {
  43. background: themed("secondaryColorDark");
  44. color: themed("baseColorLight");
  45. }
  46. }
  47. .pages-controller {
  48. width: 20px;
  49. @include themify($themes) {
  50. color: themed("baseColorLight");
  51. }
  52. margin: 5px;
  53. @include themify($themes) {
  54. border: 3px solid themed("baseColorLight");
  55. }
  56. border-radius: 3px;
  57. }
  58. .clicked-item {
  59. @include themify($themes) {
  60. border: 2px solid themed("baseColorLight");
  61. }
  62. }
  63. .clicked-item-par {
  64. @include themify($themes) {
  65. background-color: themed("baseColorLight");
  66. color: themed("secondaryColorDark");
  67. }
  68. }
  69. .current-page {
  70. @include themify($themes) {
  71. color: themed("baseColorLight");
  72. }
  73. display: inline;
  74. padding: 0 10px;
  75. }
  76. .evt-img-page {
  77. min-height: $thumbnail-height;
  78. min-width: $thumbnail-width;
  79. max-height: $thumbnail-height;
  80. max-width: $thumbnail-width;
  81. cursor: pointer;
  82. }