diff --git a/admin/css/screen.css b/admin/css/screen.css index 355f28a082d..4a5485eeb04 100644 --- a/admin/css/screen.css +++ b/admin/css/screen.css @@ -151,7 +151,7 @@ form.small .field label.left, .field.small label.left { width: 112px; } form.small .field .middleColumn, .field.small .middleColumn { margin-left: 120px; } form.small .field input.text, form.small .field textarea, form.small .field select, form.small .field .TreeDropdownField, .field.small input.text, .field.small textarea, .field.small select, .field.small .TreeDropdownField { width: auto; } -.field { /* TreeDropdowns */ /* dropdowns */ /* chzn override */ /* Date Fields */ } +.field { /* TreeDropdowns */ /* dropdowns */ /* chzn override */ /* Date Fields */ /* Hides borders in settings/access. Activated from JS */ } .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; -o-border-bottom-left-radius: 4px; -ms-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -o-border-bottom-right-radius: 4px; -ms-border-bottom-right-radius: 4px; -khtml-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; -o-border-bottom-left-radius: 0; -ms-border-bottom-left-radius: 0; -khtml-border-bottom-left-radius: 0; border-bottom-left-radius: 0; -moz-border-radius-bottomright: 0; -webkit-border-bottom-right-radius: 0; -o-border-bottom-right-radius: 0; -ms-border-bottom-right-radius: 0; -khtml-border-bottom-right-radius: 0; border-bottom-right-radius: 0; } @@ -163,6 +163,7 @@ form.small .field input.text, form.small .field textarea, form.small .field sele .field .chzn-container-single .chzn-single div { width: 24px; } .field .chzn-container-single .chzn-single div b { background-position: 4px 0px; } .field input.hasDatepicker { width: 50%; max-width: 96px; } +.field.remove-splitter { border-bottom: none; box-shadow: none; } /** ---------------------------------------------------- Buttons ---------------------------------------------------- */ .cms .Actions > *, .cms .cms-actions-row > * { display: block; float: left; margin-right: 8px; } @@ -403,7 +404,7 @@ form.member-profile-form .ui-corner-all, form.member-profile-form .ui-corner-top .cms .cms-content-fields .aligned_right_label { margin-left: 184px; padding: 8px 0; } /** -------------------------------------------- "Settings" Form -------------------------------------------- */ -#CanViewType .optionset li, #CanEditType .optionset li, #CanCreateTopLevelType .optionset li { float: none; width: auto; } +#CanViewType .optionset li, #CanEditType .optionset li, #CanCreateTopLevelType .optionset li { float: none; width: auto; white-space: nowrap; } #ViewerGroups select, #EditorGroups select, #CreateTopLevelGroups select { width: 512px; } diff --git a/admin/scss/_forms.scss b/admin/scss/_forms.scss index a4fe1e7a327..12a48816c4e 100644 --- a/admin/scss/_forms.scss +++ b/admin/scss/_forms.scss @@ -220,6 +220,12 @@ form.small .field, .field.small { width: 50%; max-width: ($grid-x * 12); } + + /* Hides borders in settings/access. Activated from JS */ + &.remove-splitter { + border-bottom: none; + box-shadow: none; + } } /** ---------------------------------------------------- diff --git a/admin/scss/_style.scss b/admin/scss/_style.scss index a6861edbc8d..30af1247cc1 100644 --- a/admin/scss/_style.scss +++ b/admin/scss/_style.scss @@ -921,6 +921,7 @@ form.member-profile-form { // All options on their own line float: none; width: auto; + white-space: nowrap; } } #ViewerGroups, #EditorGroups, #CreateTopLevelGroups {