diff --git a/scss/_items.scss b/scss/_items.scss index 2fab47f839..55820389fa 100644 --- a/scss/_items.scss +++ b/scss/_items.scss @@ -5,21 +5,19 @@ .item { @include item-style($item-default-bg, $item-default-border, $item-default-text); + @include transition(margin-left 0.2s ease-in-out, margin-right 0.2s ease-in-out, left 0.2s ease-in-out); position: relative; - z-index: 2; // Make sure the borders and stuff don't get hidden by children display: block; - margin: $item-border-width * -1; + margin: $item-border-width * -1; padding: $item-padding; border-width: $item-border-width; border-style: solid; font-size: $item-font-size; - -webkit-transition: margin-left 0.2s ease-in-out, margin-right 0.2s ease-in-out, left 0.2s ease-in-out; - h2 { margin: 0 0 4px 0; font-size: 16px; @@ -175,21 +173,20 @@ button.item.item-complex { } .item-complex .item-content, .item-radio .item-content { + + @include transition(margin-left 0.2s ease-in-out, margin-right 0.2s ease-in-out, left 0.2s ease-in-out); /** * The content area of a complex list item. This area can * Slide left and right and be dragged to support different * UI interactions. */ position: relative; - - background-color: white; - z-index: 2; - padding: $item-padding (($item-padding * 3) - 5) $item-padding $item-padding; + padding: $item-padding (($item-padding * 3) - 5) $item-padding $item-padding; border: none; - -webkit-transition: margin-left 0.2s ease-in-out, margin-right 0.2s ease-in-out, left 0.2s ease-in-out; + background-color: white; } .item-text-wrap, @@ -350,6 +347,7 @@ button.item:after { /* By default, both and