From 73da39a2f83399d8f7adc67ae05804083d39e19b Mon Sep 17 00:00:00 2001 From: "Warren A. Layton" Date: Tue, 3 Mar 2015 05:55:35 -0500 Subject: [PATCH 1/2] Adjust placement of "X" to remove pivot facets. Offset was causing the "X" to be placed over top of the facet text for pivot facets. --- app/assets/stylesheets/blacklight/_facets.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/blacklight/_facets.scss b/app/assets/stylesheets/blacklight/_facets.scss index f233b6ee58..71a17b1260 100644 --- a/app/assets/stylesheets/blacklight/_facets.scss +++ b/app/assets/stylesheets/blacklight/_facets.scss @@ -46,6 +46,8 @@ @extend .text-success; } + } + .remove { @extend .text-muted; text-indent: $padding-base-horizontal; @@ -60,7 +62,6 @@ } } - } @mixin hyphens-auto { // breaks long words apart so they don't cause the containing div to From 253ccb98644c08e42a0134ca527944cac155fb3f Mon Sep 17 00:00:00 2001 From: "Warren A. Layton" Date: Wed, 4 Mar 2015 05:59:55 -0500 Subject: [PATCH 2/2] Fixed indenting for .remove --- .../stylesheets/blacklight/_facets.scss | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/assets/stylesheets/blacklight/_facets.scss b/app/assets/stylesheets/blacklight/_facets.scss index 71a17b1260..995da1361f 100644 --- a/app/assets/stylesheets/blacklight/_facets.scss +++ b/app/assets/stylesheets/blacklight/_facets.scss @@ -48,21 +48,21 @@ } - .remove { - @extend .text-muted; - text-indent: $padding-base-horizontal; + .remove { + @extend .text-muted; + text-indent: $padding-base-horizontal; - .glyphicon { - top: 0.1em; - vertical-align: text-top; - } - - &:hover { - color: $brand-danger; - } + .glyphicon { + top: 0.1em; + vertical-align: text-top; + } + &:hover { + color: $brand-danger; } + } + @mixin hyphens-auto { // breaks long words apart so they don't cause the containing div to // be too big