From 40cc6e0681cd55ff062342d5141641bd28692b0f Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Wed, 29 Aug 2018 14:17:13 -0700 Subject: [PATCH] Drawer starting to work Signed-off-by: James Ketrenos --- .gitignore | 1 + config/default.json | 2 +- frontend/src/ketr-photos/ketr-photos.html | 101 ++++++++++++---------- 3 files changed, 56 insertions(+), 48 deletions(-) diff --git a/.gitignore b/.gitignore index 240acb1..78e7b5d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +config/local.json node_modules ./elements frontend/bower_components diff --git a/config/default.json b/config/default.json index 04d86cc..fa8d6dd 100644 --- a/config/default.json +++ b/config/default.json @@ -9,6 +9,6 @@ "server": { "port": 8123 }, - "picturesPath": "/multimedia/Pictures", + "picturesPath": "./fap", "basePath": "/photos" } diff --git a/frontend/src/ketr-photos/ketr-photos.html b/frontend/src/ketr-photos/ketr-photos.html index 5e35706..e70088a 100755 --- a/frontend/src/ketr-photos/ketr-photos.html +++ b/frontend/src/ketr-photos/ketr-photos.html @@ -3,25 +3,27 @@ - + + + + - + - @@ -52,13 +54,22 @@ padding: 0.5em; } - #albumList > div, + #albums { + height: 100%; + overflow-y: scroll; + } + + #albums > div { + margin: 0.5em; + cursor: pointer; + } + #breadcrumb > div { margin-right: 0.5em; cursor: pointer; } - #albumList > div:hover, + #albums div:hover, #breadcrumb > div:hover { text-decoration: underline; } @@ -73,15 +84,6 @@ --paper-toast-color: white; } - .folders > div { - margin: 0.5em; - width: 200px; - height: 200px; - border: 1px solid #ddd; - border-radius: 3px; - cursor: pointer; - } - #placeholder { position: absolute; left: -1000px; @@ -91,16 +93,12 @@ background-color: yellow; } - #header > div > * { - margin-right: 0.5em; - } - - app-header-layout { +/* app-header-layout { --layout-fit: { overflow-y: hidden !important; }; } - +*/ .date-line { display: block; @@ -123,10 +121,6 @@ text-decoration: underline; } - #content { - margin: 1em; - } - photo-thumbnail { --photo-thumbnail: { border: 3px solid rgba(0, 0, 0, 0); @@ -143,32 +137,35 @@ - - - - -