commit | 314f0dcbbfde9d99cd346099c55fe5fad57fb1bc | [log] [tgz] |
---|---|---|
author | rjrjr@google.com <rjrjr@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Aug 24 16:04:42 2010 +0000 |
committer | rjrjr@google.com <rjrjr@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Aug 24 16:04:42 2010 +0000 |
tree | 69ea68eca9006bf341ed249593e99ce24a062189 | |
parent | 993706e446d27343f3b3ee93df3fca659ef632df [diff] |
Tweak the styling of the login widget. Dont clobber the rounded corner behind it, and use a pointer cursor on the sign out bit. Review at http://gwt-code-reviews.appspot.com/795801 Review by: jlabanca@google.com git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@8637 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ScaffoldShell.ui.xml b/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ScaffoldShell.ui.xml index 594234a..cdd606f 100644 --- a/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ScaffoldShell.ui.xml +++ b/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ScaffoldShell.ui.xml
@@ -51,7 +51,6 @@ left: 75%; right: 0%; text-align: center; - background-color: #777; color: #def; }
diff --git a/user/src/com/google/gwt/requestfactory/client/LoginWidget.ui.xml b/user/src/com/google/gwt/requestfactory/client/LoginWidget.ui.xml index 58af72c..13259d7 100644 --- a/user/src/com/google/gwt/requestfactory/client/LoginWidget.ui.xml +++ b/user/src/com/google/gwt/requestfactory/client/LoginWidget.ui.xml
@@ -1,10 +1,15 @@ <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui'> - + <ui:style> + .link { + cursor: pointer; + } + </ui:style> + <g:HTMLPanel> <div> <span ui:field="name">Not logged in</span> | - <g:InlineLabel ui:field="logoutLink">Sign out</g:InlineLabel> + <g:InlineLabel ui:field="logoutLink" addStyleNames="{style.link}">Sign out</g:InlineLabel> </div> </g:HTMLPanel> </ui:UiBinder>