Permalink
Browse files

Listview CSS: replaced class ui-li-last by :last-child selector

  • Loading branch information...
jaspermdegroot committed Nov 6, 2012
1 parent cc9843a commit d75a238482bdae59b9a3bbb5267e4aa803495e3d
Showing with 4 additions and 4 deletions.
  1. +4 −4 css/structure/jquery.mobile.listview.css
@@ -13,9 +13,9 @@ ol.ui-listview, ol.ui-listview .ui-li-divider { counter-reset: listnumbering; }
ol.ui-listview .ui-link-inherit:before, ol.ui-listview .ui-li-static:before, .ui-li-dec { font-size: .8em; display: inline-block; padding-right: .3em; font-weight: normal; counter-increment: listnumbering; content: counter(listnumbering) ". "; }
ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid chance of duplication */
.ui-listview-inset .ui-li { border-right-width: 1px; border-left-width: 1px; }
.ui-li-last, .ui-li.ui-field-contain.ui-li-last { border-bottom-width: 1px; }
.ui-collapsible-themed-content .ui-listview:not(.ui-listview-inset) .ui-li-last { border-bottom-width: 0; }
.ui-collapsible-content > .ui-listview:not(.ui-listview-inset) .ui-li:first-child { border-top-width: 0; }
.ui-listview > .ui-li:last-child, .ui-li.ui-field-contain:last-child { border-bottom-width: 1px; }
.ui-collapsible-themed-content .ui-listview:not(.ui-listview-inset) .ui-listview > .ui-li:last-child { border-bottom-width: 0; }
.ui-collapsible-content > .ui-listview:not(.ui-listview-inset) > .ui-li:first-child { border-top-width: 0; }
/* Corner styling */
.ui-listview > .ui-li:first-child,
.ui-listview .ui-btn:first-child > .ui-li > .ui-btn-text > .ui-link-inherit {
@@ -27,7 +27,7 @@ ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid
.ui-listview > .ui-li:last-child,
.ui-listview .ui-btn:last-child > .ui-li > .ui-btn-text > .ui-link-inherit,
.ui-collapsible-content > .ui-listview:not(.ui-listview-inset),
.ui-collapsible-content > .ui-listview:not(.ui-listview-inset) .ui-li-last {
.ui-collapsible-content > .ui-listview:not(.ui-listview-inset) .ui-li:last-child {
-webkit-border-bottom-right-radius: inherit;
border-bottom-right-radius: inherit;
-webkit-border-bottom-left-radius: inherit;

0 comments on commit d75a238

Please sign in to comment.