| <!-- Copyright 2009 Google Inc. --> |
| <!-- Licensed under the Apache License, Version 2.0 (the "License"); you --> |
| <!-- may not use this file except in compliance with the License. You may --> |
| <!-- may obtain a copy of the License at --> |
| <!-- --> |
| <!-- http://www.apache.org/licenses/LICENSE-2.0 --> |
| <!-- --> |
| <!-- Unless required by applicable law or agreed to in writing, software --> |
| <!-- distributed under the License is distributed on an "AS IS" BASIS, --> |
| <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or --> |
| <!-- implied. License for the specific language governing permissions and --> |
| <!-- limitations under the License. --> |
| |
| <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' > |
| <ui:with field='bundle' type='com.google.gwt.uibinder.test.client.CssImportScopeSample.Bundle' /> |
| |
| <ui:style gss="true" import='com.google.gwt.uibinder.test.client.CssImportScopeSample.OuterStyle |
| com.google.gwt.uibinder.test.client.CssImportScopeSample.InnerStyle'> |
| .outer-body .inner-body { |
| width: 100px; |
| background-color: red; |
| } |
| |
| </ui:style> |
| |
| <div class='{bundle.style.body}'> |
| <span ui:field='outer'/> |
| <div ui:field='inner' class='{bundle.innerStyle.body}'>Inner!</div> |
| </div> |
| </ui:UiBinder> |