Skip to content
This repository
Browse code

Restricting input.time width

  • Loading branch information...
commit b6c59f2c95e8260579dbafbc094b84c5913671b1 1 parent de73db9
ARNHOE authored July 04, 2012 chillu committed July 04, 2012
1  admin/css/screen.css
@@ -181,6 +181,7 @@ form.small .field input.text, form.small .field textarea, form.small .field sele
181 181
 .field .chzn-container-single .chzn-single div { width: 24px; }
182 182
 .field .chzn-container-single .chzn-single div b { background-position: 4px 0px; }
183 183
 .field input.hasDatepicker { width: 50%; max-width: 96px; }
  184
+.field input.time { width: 64px; }
184 185
 .field.remove-splitter { border-bottom: none; box-shadow: none; }
185 186
 
186 187
 /** ---------------------------------------------------- Buttons ---------------------------------------------------- */
4  admin/scss/_forms.scss
@@ -240,6 +240,10 @@ form.small .field, .field.small {
240 240
 		width: 50%;
241 241
 		max-width: ($grid-x * 12);
242 242
 	}
  243
+
  244
+	input.time { 
  245
+		width: ($grid-x * 8); // smaller time field, since input is restricted
  246
+	}
243 247
 	
244 248
 	/* Hides borders in settings/access. Activated from JS */
245 249
 	&.remove-splitter {

0 notes on commit b6c59f2

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