From a7d422e23fc113044d322423870504291f5a4b9b Mon Sep 17 00:00:00 2001 From: advplyr Date: Mon, 9 May 2022 18:23:23 -0500 Subject: [PATCH] Add:Alternate view for home page, series and collections without wood texture #424 --- client/assets/app.css | 9 ++ .../components/app/BookShelfCategorized.vue | 30 +++- client/components/app/BookShelfRow.vue | 28 +--- client/components/app/LazyBookshelf.vue | 10 +- client/components/cards/AuthorCard.vue | 50 +++--- client/components/cards/LazyBookCard.vue | 4 +- .../components/cards/LazyCollectionCard.vue | 20 ++- client/components/cards/LazySeriesCard.vue | 13 +- client/components/widgets/AuthorsSlider.vue | 112 +++++++++++++ client/components/widgets/EpisodeSlider.vue | 148 ++++++++++++++++++ client/components/widgets/ItemSlider.vue | 13 +- client/components/widgets/SeriesSlider.vue | 109 +++++++++++++ client/pages/author/_id.vue | 4 +- client/pages/config/index.vue | 4 +- .../pages/library/_library/authors/index.vue | 5 +- 15 files changed, 483 insertions(+), 76 deletions(-) create mode 100644 client/components/widgets/AuthorsSlider.vue create mode 100644 client/components/widgets/EpisodeSlider.vue create mode 100644 client/components/widgets/SeriesSlider.vue diff --git a/client/assets/app.css b/client/assets/app.css index 6decbb29..9a406d09 100644 --- a/client/assets/app.css +++ b/client/assets/app.css @@ -23,10 +23,19 @@ background-image: linear-gradient(to right bottom, #2e2e2e, #303030, #313131, #333333, #353535, #343434, #323232, #313131, #2c2c2c, #282828, #232323, #1f1f1f); } +.bookshelf-row { + /* Sidebar width + scrollbar width */ + width: calc(100vw - 88px); +} + @media (max-width: 768px) { #bookshelf { height: calc(100% - 80px); } + + .bookshelf-row { + width: 100vw; + } } #page-wrapper { diff --git a/client/components/app/BookShelfCategorized.vue b/client/components/app/BookShelfCategorized.vue index b7ac317b..04156442 100644 --- a/client/components/app/BookShelfCategorized.vue +++ b/client/components/app/BookShelfCategorized.vue @@ -1,9 +1,9 @@