mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 14:02:47 +00:00
Bug 517416: Increase the tab-close image and expand the "hit" area so it is easier to click [r=mark.finkle]
This commit is contained in:
parent
2ef14f6bb7
commit
64a0b9b3fc
@ -12,8 +12,9 @@
|
||||
<xul:stack anonid="page" class="documenttab-container" flex="1">
|
||||
<html:canvas anonid="canvas" class="documenttab-canvas" left="8" width="106" height="64" moz-opaque="true"
|
||||
onclick="document.getBindingParent(this)._onClick()"/>
|
||||
<xul:image left="0" top="24" anonid="close" class="documenttab-close"
|
||||
onclick="document.getBindingParent(this)._close()"/>
|
||||
<xul:hbox left="0" top="10" height="64" align="center" onclick="document.getBindingParent(this)._close()">
|
||||
<xul:image anonid="close" class="documenttab-close"/>
|
||||
</xul:hbox>
|
||||
</xul:stack>
|
||||
</content>
|
||||
|
||||
|
@ -678,9 +678,9 @@ box[type="documenttab"][selected="true"] .documenttab-canvas {
|
||||
}
|
||||
|
||||
box[type="documenttab"] .documenttab-close {
|
||||
width: 28px;
|
||||
height: 30px;
|
||||
list-style-image: url("chrome://browser/skin/images/close-30.png");
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
list-style-image: url("chrome://browser/skin/images/close-40.png");
|
||||
}
|
||||
|
||||
box[type="documenttab"]:only-child .documenttab-close {
|
||||
|
BIN
mobile/themes/hildon/images/close-40.png
Normal file
BIN
mobile/themes/hildon/images/close-40.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
@ -91,6 +91,7 @@ chrome.jar:
|
||||
images/lock-40.png (images/lock-40.png)
|
||||
images/unlock-40.png (images/unlock-40.png)
|
||||
images/close-30.png (images/close-30.png)
|
||||
images/close-40.png (images/close-40.png)
|
||||
images/check-30.png (images/check-30.png)
|
||||
images/search-glass-30.png (images/search-glass-30.png)
|
||||
images/search-clear-30.png (images/search-clear-30.png)
|
||||
|
@ -273,9 +273,9 @@ autocompleteresult.allbookmarks > .autocomplete-item-image {
|
||||
}
|
||||
|
||||
box[type="documenttab"] .documenttab-close {
|
||||
width: 28px;
|
||||
height: 30px;
|
||||
list-style-image: url("chrome://browser/skin/images/close-30.png");
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
list-style-image: url("chrome://browser/skin/images/close-40.png");
|
||||
}
|
||||
|
||||
#newtab-button {
|
||||
|
BIN
mobile/themes/wince/images/close-40.png
Normal file
BIN
mobile/themes/wince/images/close-40.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
@ -63,6 +63,7 @@ chrome.jar:
|
||||
images/identitySSL-64.png (images/identitySSL-64.png)
|
||||
images/lock-40.png (images/lock-40.png)
|
||||
images/unlock-40.png (images/unlock-40.png)
|
||||
images/close-40.png (images/close-40.png)
|
||||
images/close-30.png (images/close-30.png)
|
||||
images/check-30.png (images/check-30.png)
|
||||
images/fullscreen-close-40.png (images/fullscreen-close-40.png)
|
||||
|
Loading…
x
Reference in New Issue
Block a user