From 7dacf43de4df6feff94a4bda8c6feacd5ae5c913 Mon Sep 17 00:00:00 2001 From: Gabriel Albo Date: Tue, 14 Apr 2015 17:54:58 -0300 Subject: Refactoring the scss file to avoid duplication --- web-ui/app/scss/_mixins.scss | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/web-ui/app/scss/_mixins.scss b/web-ui/app/scss/_mixins.scss index f06e8c7d..e1f06425 100644 --- a/web-ui/app/scss/_mixins.scss +++ b/web-ui/app/scss/_mixins.scss @@ -202,12 +202,16 @@ &.selected { border: 1px solid #666666; } + + &:before { + font-family: FontAwesome; + padding-right: 4px; + + } &.encrypted { border-bottom-color: $will_be_encrypted; &:before { - font-family: FontAwesome; - padding-right: 4px; color: $will_be_encrypted; content: "\f023 "; } @@ -216,8 +220,6 @@ border-bottom-color: $wont_be_encrypted; &:before { - font-family: FontAwesome; - padding-right: 4px; color: $wont_be_encrypted; content: "\f13e "; } -- cgit v1.2.3