app/assets/stylesheets/active_admin/_forms.scss in activeadmin-1.0.0.pre1 vs app/assets/stylesheets/active_admin/_forms.scss in activeadmin-1.0.0.pre2
- old
+ new
@@ -57,11 +57,10 @@
.has_many_fields { position: relative }
.has_many_container {
.handle {
position: absolute;
- @include icon-size(3em);
top: calc(50% - 3em / 2);
right: 2px;
padding: 0;
cursor: move;
}
@@ -117,11 +116,18 @@
}
}
}
/* Text Fields */
- input[type=text], input[type=password], input[type=email], input[type=number], input[type=url], input[type=tel], textarea {
+ input[type=text],
+ input[type=password],
+ input[type=email],
+ input[type=number],
+ input[type=url],
+ input[type=tel],
+ input[type=date],
+ textarea {
width: calc(80% - #{$text-input-total-padding});
border: $border-width solid #c9d0d6;
@include rounded;
font-size: 0.95em;
@include sans-family;
@@ -132,10 +138,14 @@
border: $border-width solid #99a2aa;
@include shadow(0,0,4px,#99a2aa);
}
}
+ input[type=date] {
+ width: calc(100% - #{$text-input-total-padding});
+ }
+
fieldset > ol > li {
/* Hints */
p.inline-hints {
font-size: 0.95em;
@@ -233,16 +243,11 @@
fieldset.buttons li, fieldset.actions li {
float:left;
padding: 0;
- &.cancel {
- a {
- @include light-button; @include icon(#777, 9px);
- }
- }
+ &.cancel a { @include light-button; }
}
-
}
// -------------------------------------- Sidebar Forms
$sidebar-inner-content-width: $sidebar-width - ($section-padding * 2);