From 3e5a591afe6901bed91eb5ac93c5de3dacfbb357 Mon Sep 17 00:00:00 2001 From: marcotuts Date: Tue, 4 Feb 2014 18:57:09 -0500 Subject: [PATCH 1/2] added back in component header visual separation from component rendering block, making clear the display name for each component is not rendered to students --- cms/static/sass/views/_unit.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cms/static/sass/views/_unit.scss b/cms/static/sass/views/_unit.scss index 1cd74e12a1..0c93e26415 100644 --- a/cms/static/sass/views/_unit.scss +++ b/cms/static/sass/views/_unit.scss @@ -881,6 +881,8 @@ body.unit { padding: $baseline/4 $baseline/2; top: 0; left: 0; + border-bottom: 1px solid $gray-l4; + background-color: $gray-l6; } .component-header { From 799095fd7b6e30aad1115f6cc44a5fc194a286d9 Mon Sep 17 00:00:00 2001 From: marco Date: Wed, 5 Feb 2014 17:04:00 -0500 Subject: [PATCH 2/2] updated csscomb ordering for css properties, moving border above padding. --- cms/static/sass/views/_unit.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cms/static/sass/views/_unit.scss b/cms/static/sass/views/_unit.scss index 0c93e26415..4634d9fe6b 100644 --- a/cms/static/sass/views/_unit.scss +++ b/cms/static/sass/views/_unit.scss @@ -877,10 +877,10 @@ body.unit { .wrapper-component-action-header { @include box-sizing(border-box); position: absolute; - width: 100%; - padding: $baseline/4 $baseline/2; top: 0; left: 0; + padding: $baseline/4 $baseline/2; + width: 100%; border-bottom: 1px solid $gray-l4; background-color: $gray-l6; } @@ -892,7 +892,7 @@ body.unit { max-width: 60%; color: $gray-l1; text-overflow: ellipsis; - white-space: nowrap; + white-space: nowrap; font-weight: 300; }