From 7840c2b6c2997a96352fda697d12635e4b616364 Mon Sep 17 00:00:00 2001 From: Bruno Alves de Faria Date: Wed, 22 Nov 2017 10:26:29 -0200 Subject: [PATCH] Removing spinning animation from close buttons --- .../components/bootstrap/notification/notification.styl | 7 +------ Packages/ohif-design/styles/common/global.styl | 6 +++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Packages/ohif-core/client/components/bootstrap/notification/notification.styl b/Packages/ohif-core/client/components/bootstrap/notification/notification.styl index 1efd61b64..1fecb2eeb 100644 --- a/Packages/ohif-core/client/components/bootstrap/notification/notification.styl +++ b/Packages/ohif-core/client/components/bootstrap/notification/notification.styl @@ -47,17 +47,12 @@ position: absolute text-align: center top: 50% - transform(translateY(-50%) rotate(0deg)) - transform-origin(50% 50%) - transition(transform 0.3s ease) + transform(translateY(-50%)) width: 100% &:hover background-color: rgba(0, 0, 0, 0.1) - i - transform(translateY(-50%) rotate(180deg)) - &.in max-height: auto opacity: 1 diff --git a/Packages/ohif-design/styles/common/global.styl b/Packages/ohif-design/styles/common/global.styl index 128ce123e..a7f7e043b 100644 --- a/Packages/ohif-design/styles/common/global.styl +++ b/Packages/ohif-design/styles/common/global.styl @@ -114,15 +114,15 @@ body .select2-container--default .select2-results>.select2-results__options overflow: hidden text-align: center text-shadow: none + transition(color 0.3s ease) width: 20px span display: block line-height: 20px - transition(transform 0.3s ease) - &:hover span - transform(rotate(180deg)) + &:hover + theme('color', '$textPrimaryColor') .full-width width: 100%