vendor/assets/stylesheets/modules/todo.less in flatui-rails-less-1.0 vs vendor/assets/stylesheets/modules/todo.less in flatui-rails-less-1.1
- old
+ new
@@ -13,11 +13,11 @@
padding: 0;
list-style-type: none;
border-radius: 0 0 @border-radius-large @border-radius-large;
}
li {
- background: @brand-primary ~"url(../images/todo/todo.png) 92% center no-repeat";
+ background: @brand-primary ~"url(/assets/todo/todo.png) 92% center no-repeat";
background-size: 20px 20px;
cursor: pointer;
font-size: ceil(@component-font-size-base * 0.933); // ~14px
line-height: 1.214;
margin-top: 2px;
@@ -31,11 +31,11 @@
&:last-child {
border-radius: 0 0 @border-radius-large @border-radius-large;
padding-bottom: 21px;
}
&.todo-done {
- background: transparent ~"url(../images/todo/done.png) 92% center no-repeat";
+ background: transparent ~"url(/assets/todo/done.png) 92% center no-repeat";
background-size: 20px 20px;
color: @brand-secondary;
.todo-name {
color: @brand-secondary;
@@ -98,13 +98,13 @@
// Retina Support
@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 (-moz-min-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: ~"url(../images/todo/todo-2x.png)";
+ background-image: ~"url(/assets/todo/todo-2x.png)";
&.todo-done {
- background-image: ~"url(../images/todo/done-2x.png)";
+ background-image: ~"url(/assets/todo/done-2x.png)";
}
}
}
}