From a401ff0b462c5a5458f5b77f34040ceb9af7cda3 Mon Sep 17 00:00:00 2001 From: Deepjyoti Barman Date: Thu, 17 Sep 2020 11:12:47 +0530 Subject: [PATCH] Resize the cog icon and change it's look The cog icon looked too large before and the way it looked wasn't too good. Updated the icons SVG and changed its size. --- css/main.css | 13 ++++++++----- index.html | 6 ++++-- scss/main.scss | 13 ++++++++----- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/css/main.css b/css/main.css index cd59a45..5d4d7bf 100644 --- a/css/main.css +++ b/css/main.css @@ -154,10 +154,13 @@ body { cursor: pointer; } #settings-cog { - width: 48px; - height: 48px; + width: 23px; + height: 23px; position: absolute; bottom: 25px; - right: 25px; } - #settings-cog .cog:hover { - fill: white; } + right: 25px; + transition: 2s ease-in; } + #settings-cog:hover .cog { + fill: white; + stroke: white; + transition: 2s ease-in; } diff --git a/index.html b/index.html index 1c7312d..9334809 100644 --- a/index.html +++ b/index.html @@ -35,8 +35,10 @@
- - + + + + diff --git a/scss/main.scss b/scss/main.scss index 0247f1b..96fd6b8 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -254,13 +254,16 @@ body { } #settings-cog { - width: 48px; - height: 48px; + width: 23px; + height: 23px; position: absolute; bottom: 25px; - right: 25px; - - .cog:hover { + right: 25px; + transition: 2s ease-in; + + &:hover .cog { fill: white; + stroke: white; + transition: 2s ease-in; } } \ No newline at end of file