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

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

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