Skip to content
Browse files

better sandboxing of submit button styles

  • Loading branch information...
1 parent a11ed24 commit 822bf6ab882fe74c13eae777704e0938caac711e @taitems taitems committed May 19, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 css/Aristo/jquery-ui-1.8.7.custom.css
View
6 css/Aristo/jquery-ui-1.8.7.custom.css
@@ -513,15 +513,15 @@ button.ui-button-icons-only { width: 3.7em; }
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
/* no icon support for input elements, provide padding by default */
-input[type="submit"] { font-size: 14px; font-weight: bold; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); padding: 0 1em !important; height: 33px; }
+input.ui-button[type="submit"] { font-size: 14px; font-weight: bold; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); padding: 0 1em !important; height: 33px; }
/*remove submit button internal padding in Firefox*/
-input::-moz-focus-inner {
+input.ui-button::-moz-focus-inner {
border: 0;
padding: 0;
}
/* fix webkits handling of the box model */
@media screen and (-webkit-min-device-pixel-ratio:0) {
- input[type="submit"] {
+ input.ui-button[type="submit"] {
height: 31px;
}
}

0 comments on commit 822bf6a

Please sign in to comment.
Something went wrong with that request. Please try again.