vendor/assets/stylesheets/flat-ui/modules/_todo.sass in flatui-rails-0.0.1 vs vendor/assets/stylesheets/flat-ui/modules/_todo.sass in flatui-rails-0.0.2

- old
+ new

@@ -8,11 +8,11 @@ ul margin: 0 list-style-type: none li - background: $base url('../images/todo/todo.png') 92% center no-repeat + background: $base url(asset-path('todo/todo.png', image)) 92% center no-repeat background-size: 20px 20px cursor: pointer margin-top: 2px padding: 18px 42px 17px 25px position: relative @@ -21,19 +21,19 @@ margin-top: 0 &:last-child border-radius: 0 0 6px 6px padding-bottom: 18px &.todo-done - background: transparent url('../images/todo/done.png') 92% center no-repeat + background: transparent url(asset-path('todo/done.png', image)) 92% center no-repeat background-size: 20px 20px color: $firm .todo-name color: $firm .todo-search - background: $firm url('../images/todo/search.png') 92% center no-repeat + background: $firm url(asset-path('todo/search.png', image)) 92% center no-repeat background-size: 16px 16px border-radius: 6px 6px 0 0 color: $base padding: 19px 25px 20px @@ -66,12 +66,12 @@ // Serving 2x images @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 2) .todo li - background-image: ('../images/todo/todo-2x.png') + background-image: (asset-path('todo/todo-2x.png', image)) &.todo-done - background-image: ('../images/todo/done-2x.png') + background-image: (asset-path('todo/done-2x.png', image)) .todo-search - background-image: ('../images/todo/search-2x.png') + background-image: (asset-path('todo/search-2x.png', image))