Initial commit

This commit is contained in:
ポール ウェッブ 2019-03-28 17:52:41 -05:00
parent 22172654c2
commit cc91d0ac57
3 changed files with 12 additions and 2 deletions

2
dev.sh
View file

@ -19,4 +19,4 @@ $DIR/hooks/install.sh
$PHPBIN composer.phar install $PHPBIN composer.phar install
git submodule update --init git submodule update --init
$PHPBIN --server localhost:8000 --docroot "$DIR/web" "$DIR/web/index.php" $PHPBIN --server 0.0.0.0:8000 --docroot "$DIR/web" "$DIR/web/index.php"

View file

@ -130,3 +130,13 @@ document.addEventListener("DOMContentLoaded", () => {
break; break;
} }
}); });
// Fix for touchscreen devices
const navigationLinks = document.querySelectorAll("drawer-title");
navigationLinks.forEach(navigationLink => {
navigationLink.ontouchstart = () => {
// $("drawer-navigation-helper").hide(); // rewrite this in vanilla JS
navigationLink.onhover.call(navigationLink);
};
});

View file

@ -206,7 +206,7 @@ drawer-navigation-helper {
width: 30vw; height: 100%; width: 30vw; height: 100%;
top: 3rem; left: -15vw; top: 3rem; left: -15vw;
// background-color: bisque; // uncomment to view path background-color: bisque; // uncomment to view path
border: none; // border: none; //
clip-path: ellipse(farthest-side closest-side at 50% 50%); clip-path: ellipse(farthest-side closest-side at 50% 50%);
display: block; display: block;