From 868e1af28a5bb9fedbd154280657334b3e0eda1a Mon Sep 17 00:00:00 2001 From: Mark Cooper Date: Tue, 28 Sep 2021 06:44:40 -0500 Subject: [PATCH] Starting point for home page --- client/assets/app.css | 18 ++ client/components/app/Appbar.vue | 13 +- client/components/app/BookShelf.vue | 5 +- .../components/app/BookShelfCategorized.vue | 234 ++++++++++++++++++ client/components/app/BookShelfToolbar.vue | 7 +- client/components/app/SideRail.vue | 19 +- client/components/cards/BookCard.vue | 10 +- client/package.json | 2 +- client/pages/index.vue | 14 +- client/pages/login.vue | 2 +- client/store/audiobooks.js | 5 +- client/store/index.js | 10 +- client/tailwind.config.js | 6 + package.json | 2 +- 14 files changed, 321 insertions(+), 26 deletions(-) create mode 100644 client/components/app/BookShelfCategorized.vue diff --git a/client/assets/app.css b/client/assets/app.css index 7367e374f7..a03d64f82d 100644 --- a/client/assets/app.css +++ b/client/assets/app.css @@ -9,20 +9,38 @@ height: calc(100% - 64px - 165px); max-height: calc(100% - 64px - 165px); } +#bookshelf { + height: calc(100% - 40px); +} /* width */ ::-webkit-scrollbar { width: 8px; } +/* ::-webkit-scrollbar:horizontal { */ + /* height: 16px; */ + /* height: 24px; +} */ /* Track */ ::-webkit-scrollbar-track { background-color: rgba(0,0,0,0); } +/* ::-webkit-scrollbar-track:horizontal { */ + /* background: rgb(149, 119, 90); */ + /* background: linear-gradient(180deg, rgba(149, 119, 90, 1) 0%, rgba(103, 70, 37, 1) 17%, rgba(103, 70, 37, 1) 88%, rgba(71, 48, 25, 1) 100%); */ + /* background: linear-gradient(180deg, rgb(117, 88, 60) 0%, rgb(65, 41, 17) 17%, rgb(71, 43, 15) 88%, rgb(3, 2, 1) 100%); + box-shadow: 2px 14px 8px #111111aa; +} */ /* Handle */ ::-webkit-scrollbar-thumb { background: #855620; border-radius: 4px; } +/* ::-webkit-scrollbar-thumb:horizontal { */ + /* background: linear-gradient(180deg, rgba(149, 119, 90, 1) 0%, rgba(103, 70, 37, 1) 17%, rgba(103, 70, 37, 1) 88%, rgba(71, 48, 25, 1) 100%); */ + /* box-shadow: 2px 14px 8px #111111aa; + border-radius: 4px; +} */ /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: #704922; diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index fa3b726b1f..9085f66d93 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -1,6 +1,6 @@