Merge "ChangeScreen2: Move star to far right of status bar"

This commit is contained in:
Edwin Kempin
2013-11-23 05:45:46 +00:00
committed by Gerrit Code Review

View File

@@ -86,16 +86,16 @@ limitations under the License.
right: 0; right: 0;
height: HEADER_HEIGHT; height: HEADER_HEIGHT;
} }
.starChangeStatus { .idAndStatus {
display: inline-block; display: inline-block;
position: relative; position: relative;
height: HEADER_HEIGHT; height: HEADER_HEIGHT;
width: 325px; width: 300px;
} }
.star { .star {
position: absolute; position: absolute;
top: 5px; top: 5px;
left: 0; right: 2px;
cursor: pointer; cursor: pointer;
outline: none; outline: none;
} }
@@ -118,6 +118,7 @@ limitations under the License.
display: inline-block; display: inline-block;
margin-top: 2px; margin-top: 2px;
margin-left: 5px; margin-left: 5px;
margin-right: 25px;
} }
.popdown button { .popdown button {
@@ -125,8 +126,9 @@ limitations under the License.
height: 25px; height: 25px;
border: none; border: none;
border-left: 2px solid #fff; border-left: 2px solid #fff;
border-right: 2px solid #fff;
background-color: trimColor; background-color: trimColor;
margin: 0; margin: 0 0 0 -2px;
padding-left: 2px; padding-left: 2px;
padding-right: 2px; padding-right: 2px;
min-width: 100px; min-width: 100px;
@@ -342,10 +344,7 @@ limitations under the License.
<ui:attribute name='title'/> <ui:attribute name='title'/>
</c:QuickApprove> </c:QuickApprove>
</div> </div>
<div class='{style.starChangeStatus}'> <div class='{style.idAndStatus}'>
<c:StarIcon ui:field='star' styleName='{style.star}' title='Star the change (Shortcut: s)'>
<ui:attribute name='title'/>
</c:StarIcon>
<span class='{style.changeId}'> <span class='{style.changeId}'>
<ui:msg>Change <g:Anchor ui:field='permalink' title='Reload the change (Shortcut: R)'> <ui:msg>Change <g:Anchor ui:field='permalink' title='Reload the change (Shortcut: R)'>
<ui:attribute name='title'/> <ui:attribute name='title'/>
@@ -366,6 +365,9 @@ limitations under the License.
<div><ui:msg>Download</ui:msg></div> <div><ui:msg>Download</ui:msg></div>
</g:Button> </g:Button>
</g:FlowPanel> </g:FlowPanel>
<c:StarIcon ui:field='star' styleName='{style.star}' title='Star the change (Shortcut: s)'>
<ui:attribute name='title'/>
</c:StarIcon>
</div> </div>
</g:HTMLPanel> </g:HTMLPanel>