Bug 468191 - Padding on the Web feed icon and Star icon in location bar. r=gavin

This commit is contained in:
Dão Gottwald 2008-12-17 08:30:37 +01:00
parent b8a21b0ae5
commit e9e4d416ee
4 changed files with 19 additions and 38 deletions

View File

@ -31,9 +31,14 @@ toolbar[printpreview="true"] {
display: none;
}
#feed-button > .button-box > .box-inherit > .button-text {
display: none;
}
#urlbar[pageproxystate="invalid"] > #urlbar-icons > :not(#go-button) ,
#urlbar[pageproxystate="valid"] > #urlbar-icons > #go-button ,
#urlbar[empty="true"] > #urlbar-icons > #go-button {
#urlbar[empty="true"] > #urlbar-icons > #go-button,
#feed-button:not([feeds]) {
visibility: collapse;
}

View File

@ -986,19 +986,14 @@ toolbar[iconsize="small"] #paste-button[disabled="true"] {
background-color: transparent;
}
#feed-button > hbox > .button-menu-dropmarker,
#feed-button > hbox > .button-text {
#feed-button > .button-box > .button-menu-dropmarker {
display: none;
}
#feed-button {
-moz-binding: url("chrome://global/content/bindings/button.xml#menu");
-moz-appearance: none;
min-width: 0px;
margin-right: 1px !important;
}
#feed-button[feeds] {
list-style-image: url("chrome://browser/skin/page-livemarks.png");
}

View File

@ -983,6 +983,7 @@ richlistitem[selected="true"][current="true"] > hbox > .ac-result-type-bookmark,
/* STAR BUTTON */
#star-button {
padding: 1px;
-moz-padding-start: 4px !important;
list-style-image: url("chrome://browser/skin/places/star-icons.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
}
@ -1444,35 +1445,23 @@ sidebarheader > .tabs-closebutton > .toolbarbutton-text {
/* ----- FEED CONTENT DISPLAY ---- */
#feed-button, #feed-button > .button-box,
#feed-button:hover:active > .button-box {
padding: 0px;
margin: -1px;
border: 0px;
background-color: transparent;
}
#feed-button .button-menu-dropmarker,
#feed-button .button-text {
#feed-button > .button-box > .button-menu-dropmarker {
display: none;
}
#feed-button {
-moz-binding: url("chrome://global/content/bindings/button.xml#menu");
-moz-appearance: none;
min-width: 0;
min-height: 0;
margin-right: 1px !important;
}
#feed-button[feeds] {
-moz-padding-start: 4px !important;
list-style-image: url("chrome://browser/skin/feed-icons.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
}
#feed-button[feeds]:hover {
#feed-button:hover {
-moz-image-region: rect(0px, 32px, 16px, 16px);
}
#feed-button[feeds]:active {
#feed-button[open="true"],
#feed-button:hover:active {
-moz-image-region: rect(0px, 48px, 16px, 32px);
}

View File

@ -1654,7 +1654,8 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
}
/* Feed icon */
#feed-button, #feed-button > .button-box,
#feed-button,
#feed-button > .button-box,
#feed-button:hover:active > .button-box {
padding: 0px;
margin: 0px;
@ -1662,36 +1663,27 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
background-color: transparent;
}
#feed-button > hbox > .button-menu-dropmarker,
#feed-button > hbox > .button-text {
#feed-button > .button-box > .button-menu-dropmarker {
display: none;
}
#feed-button {
-moz-binding: url("chrome://global/content/bindings/button.xml#menu");
-moz-appearance: none;
min-width: 0px;
padding: 0 2px !important;
}
#feed-button[feeds] {
list-style-image: url("chrome://browser/skin/feeds/feed-icons-16.png");
-moz-image-region: rect(0px 16px 16px 0px);
}
#feed-button[feeds]:hover {
#feed-button:hover {
-moz-image-region: rect(0px 32px 16px 16px);
}
#feed-button[feeds][open="true"],
#feed-button[feeds]:hover:active {
#feed-button[open="true"],
#feed-button:hover:active {
-moz-image-region: rect(0px 48px 16px 32px);
}
#feed-button:not([feeds]) {
visibility: collapse;
}
/* ::::: About Popup Blocking dialog ::::: */
#pageReportFirstTime statusbarpanel.statusbar-resizerpanel {
visibility: collapse;