Permalink
Browse files

Theme: Make it easy for people to override the icon color by just add…

…ing the ui-icon-alt class to the element or a container.
  • Loading branch information...
1 parent b008515 commit e0ceaacf48e0be55f9e3b2e98c03a05dd5215f46 @jaspermdegroot jaspermdegroot committed Jan 29, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 css/themes/default/jquery.mobile.theme.css
@@ -841,7 +841,8 @@ a.ui-link-inherit {
/* Alt icon color
-----------------------------------------------------------------------------------------------------------*/
-.ui-icon-alt {
+.ui-icon-alt .ui-icon,
+.ui-icon-alt .ui-icon-searchfield:after {
background: #fff;
background: rgba(255,255,255,.3);
background-image: url(images/icons-18-black.png);
@@ -866,7 +867,7 @@ a.ui-link-inherit {
-webkit-background-size: 864px 18px;
background-size: 864px 18px;
}
- .ui-icon-alt {
+ .ui-icon-alt .ui-icon {
background-image: url(images/icons-36-black.png);
}
}

0 comments on commit e0ceaac

Please sign in to comment.