Skip to content
This repository
Browse code

BUGFIX: #6853 Necessary styles required to complement work on same-in…

…dexed commit in cms project
  • Loading branch information...
commit 5b4f83a567c6936cc79101c8710e9045547f7588 1 parent e4a6dd5
Russell Michell authored March 09, 2012
5  admin/css/screen.css
@@ -151,7 +151,7 @@ form.small .field label.left, .field.small label.left { width: 112px; }
151 151
 form.small .field .middleColumn, .field.small .middleColumn { margin-left: 120px; }
152 152
 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; }
153 153
 
154  
-.field { /* TreeDropdowns */ /* dropdowns */ /* chzn override */ /* Date Fields */ }
  154
+.field { /* TreeDropdowns */ /* dropdowns */ /* chzn override */ /* Date Fields */ /* Hides borders in settings/access. Activated from JS */ }
155 155
 .field .TreeDropdownField { padding: 0; }
156 156
 .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; }
157 157
 .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
163 163
 .field .chzn-container-single .chzn-single div { width: 24px; }
164 164
 .field .chzn-container-single .chzn-single div b { background-position: 4px 0px; }
165 165
 .field input.hasDatepicker { width: 50%; max-width: 96px; }
  166
+.field.remove-splitter { border-bottom: none; box-shadow: none; }
166 167
 
167 168
 /** ---------------------------------------------------- Buttons ---------------------------------------------------- */
168 169
 .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
403 404
 .cms .cms-content-fields .aligned_right_label { margin-left: 184px; padding: 8px 0; }
404 405
 
405 406
 /** -------------------------------------------- "Settings" Form -------------------------------------------- */
406  
-#CanViewType .optionset li, #CanEditType .optionset li, #CanCreateTopLevelType .optionset li { float: none; width: auto; }
  407
+#CanViewType .optionset li, #CanEditType .optionset li, #CanCreateTopLevelType .optionset li { float: none; width: auto; white-space: nowrap; }
407 408
 
408 409
 #ViewerGroups select, #EditorGroups select, #CreateTopLevelGroups select { width: 512px; }
409 410
 
6  admin/scss/_forms.scss
@@ -220,6 +220,12 @@ form.small .field, .field.small {
220 220
 		width: 50%;
221 221
 		max-width: ($grid-x * 12);
222 222
 	}
  223
+	
  224
+	/* Hides borders in settings/access. Activated from JS */
  225
+	&.remove-splitter {
  226
+		border-bottom: none;
  227
+		box-shadow: none;
  228
+	}
223 229
 }
224 230
 
225 231
 /** ----------------------------------------------------
1  admin/scss/_style.scss
@@ -921,6 +921,7 @@ form.member-profile-form {
921 921
 		// All options on their own line
922 922
 		float: none;
923 923
 		width: auto;
  924
+		white-space: nowrap;
924 925
 	}
925 926
 }
926 927
 #ViewerGroups, #EditorGroups, #CreateTopLevelGroups {

0 notes on commit 5b4f83a

Please sign in to comment.
Something went wrong with that request. Please try again.