From 13ac133db6a52741aff9f6cf32402256604097d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Thu, 9 Apr 2020 10:48:31 +0200 Subject: [PATCH] Add cursors on links --- src/style/_animations.scss | 1 + src/style/atoms/_switcher.scss | 3 +++ src/style/molecules/_photo.scss | 2 +- src/style/organisms/_footer.scss | 1 + src/style/pages/_place.scss | 2 +- static/img/icons/zoom.svg | 3 --- 6 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 static/img/icons/zoom.svg diff --git a/src/style/_animations.scss b/src/style/_animations.scss index 429a289..6e53ae4 100644 --- a/src/style/_animations.scss +++ b/src/style/_animations.scss @@ -12,6 +12,7 @@ display: flex; align-items: center; justify-content: center; + cursor: wait; &, * { will-change: transform, opacity; diff --git a/src/style/atoms/_switcher.scss b/src/style/atoms/_switcher.scss index 472d6bc..ccac584 100644 --- a/src/style/atoms/_switcher.scss +++ b/src/style/atoms/_switcher.scss @@ -18,6 +18,9 @@ line-height: 1; text-align: right; + a { + cursor: w-resize; + } em { margin-left: -2px; margin-right: 16px; diff --git a/src/style/molecules/_photo.scss b/src/style/molecules/_photo.scss index 75ddf95..4ed67f6 100644 --- a/src/style/molecules/_photo.scss +++ b/src/style/molecules/_photo.scss @@ -108,7 +108,7 @@ // Hover &:hover { - cursor: url(#{$dir-img}/icons/zoom.svg) 6 8, pointer; + cursor: zoom-in; &:after { opacity: 0.6; diff --git a/src/style/organisms/_footer.scss b/src/style/organisms/_footer.scss index a0166bb..214a812 100644 --- a/src/style/organisms/_footer.scss +++ b/src/style/organisms/_footer.scss @@ -94,6 +94,7 @@ display: inline-flex; align-items: center; justify-content: center; + cursor: ne-resize; } svg { display: block; diff --git a/src/style/pages/_place.scss b/src/style/pages/_place.scss index 54c0d5b..b532d45 100644 --- a/src/style/pages/_place.scss +++ b/src/style/pages/_place.scss @@ -1,7 +1,7 @@ // Place section .place { position: relative; - overflow-x: hidden; + overflow: hidden; // Title &__title { diff --git a/static/img/icons/zoom.svg b/static/img/icons/zoom.svg deleted file mode 100644 index 4b48cef..0000000 --- a/static/img/icons/zoom.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file