From 80d4d2ff7af57428829e6bad88ea4b230d4c2d35 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Mon, 21 Sep 2015 13:14:14 +0200 Subject: [PATCH] Adds animation on proposals full text --- app/assets/stylesheets/admin.scss | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index 1cd29620d..337ce4b0e 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -204,11 +204,18 @@ body.admin { } .proposal-description { - height: rem-calc(65); + max-height: rem-calc(65); overflow: hidden; max-width: rem-calc(750); + &:hover { - height: auto; + cursor: text; + max-height: rem-calc(1000); + outline: 3px solid #ffbf47; + padding: rem-calc(12); + transition: max-height 0.9s; + -moz-transition: max-height 0.9s; + -webkit-transition: max-height 0.9s; } }