From 5587b14e20a6075b55fb1950a46de46fad38de40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Schmelczer=20Andr=C3=A1s?= Date: Mon, 30 Dec 2019 00:43:29 +0100 Subject: [PATCH] quicksave --- .idea/workspace.xml | 29 ++++++----------------------- src/page/background/background.scss | 3 ++- src/page/content/content.scss | 2 +- webpack.config.js | 2 +- 4 files changed, 10 insertions(+), 26 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 0111147..f93c4bc 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,30 +2,12 @@ - - - - - - - - - - - - - + + + - - - - - - - - - + diff --git a/src/page/background/background.scss b/src/page/background/background.scss index 895d584..ed62e3f 100644 --- a/src/page/background/background.scss +++ b/src/page/background/background.scss @@ -6,9 +6,10 @@ left: 0; top: 0; z-index: -1; - transform-style: preserve-3d; overflow: hidden; + will-change: width, height; + transition: height $long-transition-time, width $long-transition-time; div { diff --git a/src/page/content/content.scss b/src/page/content/content.scss index 57d5057..3b92ed1 100644 --- a/src/page/content/content.scss +++ b/src/page/content/content.scss @@ -16,9 +16,9 @@ font-size: 0; box-shadow: inset $shadow1, inset $shadow2; pointer-events: none; + cursor: pointer; img { pointer-events: all; - cursor: pointer; position: relative; z-index: -2; } diff --git a/webpack.config.js b/webpack.config.js index aef99eb..a9d9248 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -59,7 +59,7 @@ module.exports = { disable: !isProduction, mozjpeg: { progressive: true, - quality: 45 + quality: 65 }, optipng: { enabled: true