blob: f85bd507abcdcbb31e3970cd1d4cc0e6f197bddc [file] [log] [blame]
@mixin base-nativebutton($primaryStyleName : v-nativebutton) {
.#{$primaryStyleName} .v-icon {
vertical-align: middle;
margin-right: 3px;
border: none;
}
.#{$primaryStyleName} .v-errorindicator {
display: inline-block;
zoom: 1;
vertical-align: middle;
float: none;
}
/* Link style (we really should deprecate this) */
.#{$primaryStyleName}-link {
border: none;
text-align: left !important;
background: transparent;
padding: 0;
color: inherit;
-khtml-user-select: text;
-moz-user-select: text;
-ie-user-select: text;
user-select: text;
}
.#{$primaryStyleName}-link .#{$primaryStyleName}-caption {
text-decoration: underline;
color: inherit;
text-align: left;
}
.#{$primaryStyleName} {
text-align: center !important;
cursor: pointer;
white-space: nowrap;
margin: 0;
color: inherit;
font: inherit;
line-height: normal;
}
.#{$primaryStyleName} .#{$primaryStyleName}-caption {
vertical-align: middle;
white-space: nowrap;
font: inherit;
color: inherit;
}
.#{$primaryStyleName} .v-icon {
vertical-align: middle;
margin-right: 3px;
}
.#{$primaryStyleName} .v-errorindicator {
display: inline-block;
zoom: 1;
float: none;
}
/* Fixes stretched buttons in IE7*/
.v-ie & .#{$primaryStyleName} {
overflow: visible;
padding-left: 1em;
padding-right: 1em;
}
.v-ie & .#{$primaryStyleName}-link {
padding: 0;
}
}