зеркало из https://github.com/mozilla/gecko-dev.git
Bug 685059 - Remove empty placeholder icon in tabs when a page has no favicon. r=dao,ui-r=shorlander.
This commit is contained in:
Родитель
736fb82b33
Коммит
58f8f7cd17
|
@ -41,6 +41,7 @@ tabpanels {
|
|||
z-index: 2;
|
||||
}
|
||||
|
||||
.tab-icon-image:not([src]):not([pinned]),
|
||||
.tab-throbber:not([busy]),
|
||||
.tab-throbber[busy] + .tab-icon-image {
|
||||
display: none;
|
||||
|
|
|
@ -1612,10 +1612,7 @@ toolbar[iconsize="small"] #bookmarks-menu-button[starred],
|
|||
|
||||
.tab-throbber,
|
||||
.tab-icon-image {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
-moz-margin-end: 3px;
|
||||
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
||||
}
|
||||
|
||||
.tab-throbber {
|
||||
|
|
|
@ -2181,11 +2181,13 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
|
|||
|
||||
%include ../shared/tabs.inc.css
|
||||
|
||||
.tab-label {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.tab-throbber,
|
||||
.tab-icon-image {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
||||
-moz-margin-end: 6px;
|
||||
}
|
||||
|
||||
.tab-throbber {
|
||||
|
|
|
@ -210,3 +210,16 @@
|
|||
clip-path: url(chrome://browser/content/browser.xul#tab-clip-path-outer);
|
||||
width: 66px;
|
||||
}
|
||||
|
||||
|
||||
/* Tab icons */
|
||||
|
||||
.tab-throbber,
|
||||
.tab-icon-image {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.tab-icon-image {
|
||||
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
||||
}
|
||||
|
|
|
@ -1987,13 +1987,6 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
|
|||
text-shadow: 0 -0.5px 1.5px white;
|
||||
}
|
||||
|
||||
.tab-throbber,
|
||||
.tab-icon-image {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
||||
}
|
||||
|
||||
.tab-throbber {
|
||||
list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче