Bug 747742 - The identity panel's arrow should point to the center of the identity icon. r=jaws

This commit is contained in:
Dão Gottwald 2012-04-23 21:12:47 +02:00
Родитель 5c12ace140
Коммит 6b8d1f26ce
2 изменённых файлов: 17 добавлений и 9 удалений

Просмотреть файл

@ -950,6 +950,10 @@ toolbar[iconsize="small"] #feed-button {
-moz-box-align: stretch;
}
.urlbar-input-box {
-moz-margin-start: 0;
}
.urlbar-history-dropmarker {
-moz-appearance: toolbarbutton-dropdown;
}
@ -1023,6 +1027,7 @@ toolbar[iconsize="small"] #feed-button {
#urlbar-display {
margin-top: 0;
margin-bottom: 0;
-moz-margin-start: 0;
color: GrayText;
}
@ -1033,7 +1038,7 @@ toolbar[iconsize="small"] #feed-button {
margin-top: 2px;
margin-bottom: 2px;
-moz-margin-start: 4px;
-moz-margin-end: 0;
-moz-margin-end: 3px;
list-style-image: url(chrome://browser/skin/identity-icons-generic.png);
-moz-image-region: rect(0, 16px, 16px, 0);
}
@ -1050,7 +1055,7 @@ toolbar[iconsize="small"] #feed-button {
-moz-image-region: rect(0, 32px, 16px, 16px);
}
#identity-box:hover:active > #identity-box-inner > #page-proxy-stack > #page-proxy-favicon,
#identity-box:hover:active > #identity-box-inner > #page-proxy-stack > #page-proxy-favicon,
#identity-box[open=true] > #identity-box-inner > #page-proxy-stack > #page-proxy-favicon {
-moz-image-region: rect(0, 48px, 16px, 32px);
}
@ -1082,7 +1087,6 @@ toolbar[iconsize="small"] #feed-button {
}
#identity-icon-labels {
-moz-margin-start: 4px;
-moz-padding-start: 2px;
-moz-padding-end: 5px;
}
@ -1091,6 +1095,7 @@ toolbar[iconsize="small"] #feed-button {
background-color: #fff;
color: hsl(92,81%,16%);
-moz-border-end: 1px solid hsla(92,81%,16%,.2);
-moz-margin-end: 4px;
}
/* Identity popup icons */

Просмотреть файл

@ -1299,6 +1299,10 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
.urlbar-textbox-container {
-moz-box-align: stretch;
}
.urlbar-input-box {
-moz-margin-start: 0;
}
#urlbar-icons {
-moz-box-align: center;
@ -1347,6 +1351,7 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
#urlbar-display {
margin-top: 0;
margin-bottom: 0;
-moz-margin-start: 0;
color: GrayText;
}
@ -1404,6 +1409,7 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
background-color: #fff;
color: hsl(92,100%,20%);
-moz-border-end: 1px solid hsla(92,81%,16%,.2);
-moz-margin-end: 4px;
}
#identity-box:-moz-focusring {
@ -1412,8 +1418,8 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
}
#identity-icon-labels {
-moz-margin-start: 5px;
-moz-margin-end: 3px;
-moz-padding-start: 2px;
-moz-padding-end: 5px;
}
/* Location bar dropmarker */
@ -1448,10 +1454,7 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
#page-proxy-favicon {
width: 16px;
height: 16px;
margin-top: 1px;
margin-bottom: 1px;
-moz-margin-start: 4px;
-moz-margin-end: 0;
margin: 1px 3px;
list-style-image: url(chrome://browser/skin/identity-icons-generic.png);
-moz-image-region: rect(0, 16px, 16px, 0);
}