java - Overriding the default widget class names in gwt -
gwt uses standardized css class names such
.gwt-image .gwt-button
and on. prevents me using these classes popular css frameworks such bootstrap.
is there way can override these default style names , use bootstrap or foundation compliant class names ?
if using less css preprocessor, extend bootstrap mixins gwt classes
ex :
.gwt-button { .btn(); //this bootstrap mixin buttons }
renders :
.gwt-button{ display: inline-block; margin-bottom: 0; font-weight: normal; text-align: center; vertical-align: middle; touch-action: manipulation; cursor: pointer; background-image: none; border: 1px solid transparent; white-space: nowrap; padding: 6px 12px; font-size: 14px; line-height: 1.42857143; border-radius: 4px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
it's little time consuming, allows have in css
Comments
Post a Comment