Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Hiding CMS-specific badges in TreeDropdownField (fixes #7456)

  • Loading branch information...
commit 04e5ff09ca79ffbeddb68662facad25bb7b63f26 1 parent c81d0e1
@chillu chillu authored
Showing with 7 additions and 0 deletions.
  1. +1 −0  admin/css/screen.css
  2. +6 −0 admin/scss/_forms.scss
View
1  admin/css/screen.css
@@ -172,6 +172,7 @@ form.small .field input.text, form.small .field textarea, form.small .field sele
.field .TreeDropdownField { padding: 0; }
.field .TreeDropdownField .treedropdownfield-panel { border: 1px solid #b3b3b3; border-top: none; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -ms-border-bottom-left-radius: 4px; -o-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -ms-border-bottom-right-radius: 4px; -o-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
.field .TreeDropdownField.treedropdownfield-open-tree { -moz-border-radius-bottomleft: 0; -webkit-border-bottom-left-radius: 0; -ms-border-bottom-left-radius: 0; -o-border-bottom-left-radius: 0; border-bottom-left-radius: 0; -moz-border-radius-bottomright: 0; -webkit-border-bottom-right-radius: 0; -ms-border-bottom-right-radius: 0; -o-border-bottom-right-radius: 0; border-bottom-right-radius: 0; }
+.field .TreeDropdownField .badge { display: none; }
.field .dropdown select { margin-top: 8px; }
.field .chzn-container .chzn-results li { font-size: 11px; line-height: 16px; padding: 4px 4px; }
.field .chzn-container-active .chzn-single { border: 1px solid #9a9a9a; }
View
6 admin/scss/_forms.scss
@@ -181,6 +181,12 @@ form.small .field, .field.small {
@include border-bottom-left-radius(0);
@include border-bottom-right-radius(0);
}
+
+ // Hide badges, as they cost too much horizontal space,
+ // and mess up rendering for selected node title
+ .badge {
+ display: none;
+ }
}
/* dropdowns */
Please sign in to comment.
Something went wrong with that request. Please try again.