From 5f8e36d79d5d215949083eaefb40f404e61651a0 Mon Sep 17 00:00:00 2001 From: Anxhelo Lushka Date: Sat, 8 Sep 2018 13:23:42 +0200 Subject: [PATCH] Added transition --- _site/assets/styles/layout.scss | 4 ++++ _site/assets/styles/main.css | 2 +- assets/styles/layout.scss | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/_site/assets/styles/layout.scss b/_site/assets/styles/layout.scss index 76338c1..7c7f9a9 100644 --- a/_site/assets/styles/layout.scss +++ b/_site/assets/styles/layout.scss @@ -40,6 +40,10 @@ &:hover { color: $oc-black !important; + transition-timing-function: linear; + -webkit-transition-timing-function: linear; + -webkit-transition-duration: .15s; + transition-duration: .15s; } &:active { diff --git a/_site/assets/styles/main.css b/_site/assets/styles/main.css index 14871d5..2bf4a23 100644 --- a/_site/assets/styles/main.css +++ b/_site/assets/styles/main.css @@ -9,7 +9,7 @@ .sidebar-wrapper { background-color: #dee2e6; } .sidebar__link__light { color: #868e96 !important; } -.sidebar__link__light:hover { color: #000000 !important; } +.sidebar__link__light:hover { color: #000000 !important; transition-timing-function: linear; -webkit-transition-timing-function: linear; -webkit-transition-duration: .15s; transition-duration: .15s; } .sidebar__link__light:active { color: #4661A9; } .row { margin: auto !important; } diff --git a/assets/styles/layout.scss b/assets/styles/layout.scss index 76338c1..7c7f9a9 100644 --- a/assets/styles/layout.scss +++ b/assets/styles/layout.scss @@ -40,6 +40,10 @@ &:hover { color: $oc-black !important; + transition-timing-function: linear; + -webkit-transition-timing-function: linear; + -webkit-transition-duration: .15s; + transition-duration: .15s; } &:active {