From dd50313f82d3829c49a54f7653539f7b73b1f199 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Tue, 12 Feb 2013 15:19:08 -0500 Subject: [PATCH] studio - revised manual policy editor scss to have value field height match key values' and condensed error message UI --- cms/static/sass/_settings.scss | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/cms/static/sass/_settings.scss b/cms/static/sass/_settings.scss index b0b4f7c15f..531b0c15f4 100644 --- a/cms/static/sass/_settings.scss +++ b/cms/static/sass/_settings.scss @@ -553,7 +553,7 @@ // specific to code mirror instance in JSON policy editing, need to sync up with other similar code mirror UIs .CodeMirror { - padding: 6px 8px 8px; + padding: 6px 8px; @include box-sizing(border-box); border: 1px solid $mediumGrey; border-radius: 2px; @@ -566,7 +566,7 @@ .CodeMirror-scroll { height: auto; - min-height: 50px; + min-height: 20px; max-height: 200px; } } @@ -643,6 +643,8 @@ .tip { @include transition (opacity 0.5s ease-in-out 0s); opacity: 0; + position: absolute; + bottom: 25px; } input:focus { @@ -651,6 +653,13 @@ opacity: 1.0; } } + + input.error { + + & + .tip { + opacity: 0; + } + } } }