From 842306addd36aaa1f3e05bd4d0e0da0642ae8dfd Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Fri, 5 Oct 2012 09:18:10 -0400 Subject: [PATCH] updated styles and template for unit location tree --- cms/static/sass/_cms_mixins.scss | 2 +- cms/static/sass/_unit.scss | 2 +- cms/templates/unit.html | 47 +++++++++----------------------- 3 files changed, 15 insertions(+), 36 deletions(-) diff --git a/cms/static/sass/_cms_mixins.scss b/cms/static/sass/_cms_mixins.scss index 8ca737f33d..e4ecc953e9 100644 --- a/cms/static/sass/_cms_mixins.scss +++ b/cms/static/sass/_cms_mixins.scss @@ -153,7 +153,7 @@ } &.editing { - background: #d1dae3; + background: #fffcf1; } .draft-item, diff --git a/cms/static/sass/_unit.scss b/cms/static/sass/_unit.scss index 38981d2563..8c9e54cc0f 100644 --- a/cms/static/sass/_unit.scss +++ b/cms/static/sass/_unit.scss @@ -386,7 +386,7 @@ } .new-unit-item { - margin-left: 50px; + margin: 0 0 15px 50px; } } } diff --git a/cms/templates/unit.html b/cms/templates/unit.html index 16d337f57b..3d48461231 100644 --- a/cms/templates/unit.html +++ b/cms/templates/unit.html @@ -92,46 +92,25 @@

Unit Location

-
-
-
-

${section.display_name}

-
-
-
+
    +
  1. + ${section.display_name}
      -
    1. - - ${units.enum_units(subsection, actions=False, selected=unit.location)} +
    2. + + + ${subsection.display_name} + +
        + ${units.enum_units(subsection, actions=False, selected=unit.location)} +
    -
-
+ +
- -
- - -
- -