Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Moved icon positioning CSS from button to core because we use it for …
Browse files Browse the repository at this point in the history
…multiple widgets.
  • Loading branch information
jaspermdegroot committed Apr 23, 2013
1 parent 0ba1ee8 commit 761d19b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 28 deletions.
28 changes: 0 additions & 28 deletions css/structure/jquery.mobile.button.css
Expand Up @@ -39,34 +39,6 @@ button.ui-btn {
padding-bottom: 40px;
}

.ui-btn-icon-notext:after {
top: 3px;
left: 3px;
}
.ui-btn-icon-left:after,
.ui-btn-icon-right:after {
top: 50%; margin-top: -9px;
}
.ui-btn-icon-left:after {
left: 10px;
}
.ui-btn-icon-right:after {
right: 10px;
}
.ui-btn-icon-top:after,
.ui-btn-icon-bottom:after {
left: 50%;
margin-left: -9px;
}
.ui-btn-icon-top:after {
top: 10px;
}
.ui-btn-icon-bottom:after {
top: auto;
bottom: 10px;
}



.ui-mini { margin-top: .25em; margin-bottom: .25em; }
.ui-btn-left, .ui-btn-right, .ui-input-clear, .ui-btn-inline,
Expand Down
26 changes: 26 additions & 0 deletions css/structure/jquery.mobile.core.css
Expand Up @@ -97,6 +97,32 @@ div.ui-mobile-viewport { overflow-x: hidden; }
width: 18px;
height: 18px;
}
.ui-btn-icon-notext:after {
top: 3px;
left: 3px;
}
.ui-btn-icon-left:after,
.ui-btn-icon-right:after {
top: 50%; margin-top: -9px;
}
.ui-btn-icon-left:after {
left: 10px;
}
.ui-btn-icon-right:after {
right: 10px;
}
.ui-btn-icon-top:after,
.ui-btn-icon-bottom:after {
left: 50%;
margin-left: -9px;
}
.ui-btn-icon-top:after {
top: 10px;
}
.ui-btn-icon-bottom:after {
top: auto;
bottom: 10px;
}

/* non-js content hiding */
.ui-nojs { position: absolute; left: -9999px; }
Expand Down

0 comments on commit 761d19b

Please sign in to comment.