зеркало из https://github.com/mozilla/gecko-dev.git
Bug 376025 browser-places.css not included in windows installer builds (r=mano)
This commit is contained in:
Родитель
0e764a6262
Коммит
62d82d27f4
|
@ -51,10 +51,6 @@
|
|||
|
||||
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
||||
|
||||
#ifdef MOZ_PLACES_BOOKMARKS
|
||||
<?xml-stylesheet href="chrome://browser/skin/places/browser-places.css" type="text/css"?>
|
||||
#endif
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/toolbar.css" type="text/css"?>
|
||||
|
||||
<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
|
||||
|
|
|
@ -158,25 +158,24 @@ toolbarbutton.bookmark-item .toolbarbutton-text {
|
|||
padding-top: 1px;
|
||||
}
|
||||
|
||||
/* Image locations for these toolbar icons are overridden in places/browser-places.css in Places-enabled builds.
|
||||
Those styles can be merged into these once the pre-Places bookmark system is no longer needed. */
|
||||
%ifndef MOZ_PLACES_BOOKMARKS
|
||||
.bookmark-item > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/bookmarks/folderarrow.png");
|
||||
height: 16px !important;
|
||||
padding: 5px 5px 4px 3px;
|
||||
list-style-image: url("chrome://browser/skin/bookmarks/folderarrow.png");
|
||||
height: 16px !important;
|
||||
padding: 5px 5px 4px 3px;
|
||||
}
|
||||
|
||||
.bookmark-item:hover > .toolbarbutton-menu-dropmarker, .bookmark-item[open] > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/bookmarks/folderarrow-hover.png");
|
||||
list-style-image: url("chrome://browser/skin/bookmarks/folderarrow-hover.png");
|
||||
}
|
||||
|
||||
.bookmark-item[livemark] > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/bookmarks/livemark-folder.png");
|
||||
padding: 4px 4px 3px 2px;
|
||||
list-style-image: url("chrome://browser/skin/bookmarks/livemark-folder.png");
|
||||
padding: 4px 4px 3px 2px;
|
||||
}
|
||||
|
||||
.bookmark-item[livemark]:hover > .toolbarbutton-menu-dropmarker, .bookmark-item[livemark][open] > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/bookmarks/livemark-folder-hover.png");
|
||||
list-style-image: url("chrome://browser/skin/bookmarks/livemark-folder-hover.png");
|
||||
}
|
||||
|
||||
.bookmark-item[livemark] {
|
||||
|
@ -184,8 +183,41 @@ list-style-image: url("chrome://browser/skin/bookmarks/livemark-folder-hover.png
|
|||
}
|
||||
|
||||
.bookmark-item[livemark] .menuitem-iconic {
|
||||
list-style-image: url("chrome://browser/skin/bookmarks/livemark-item.png");
|
||||
list-style-image: url("chrome://browser/skin/bookmarks/livemark-item.png");
|
||||
}
|
||||
%else
|
||||
.bookmark-item > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/places/folderDropArrow.png");
|
||||
height: 16px !important;
|
||||
padding: 5px 5px 4px 3px;
|
||||
}
|
||||
|
||||
.bookmark-item:hover > .toolbarbutton-menu-dropmarker, .bookmark-item[open] > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/places/folderDropHoverArrow.png");
|
||||
}
|
||||
|
||||
.bookmark-item[livemark] > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/places/livemarkFolder.png");
|
||||
padding: 4px 4px 3px 2px;
|
||||
}
|
||||
|
||||
.bookmark-item[livemark]:hover > .toolbarbutton-menu-dropmarker, .bookmark-item[livemark][open] > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/places/livemarkFolderHover.png");
|
||||
}
|
||||
|
||||
.bookmark-item[livemark] {
|
||||
list-style-image: url("chrome://browser/skin/page-livemarks.png");
|
||||
}
|
||||
|
||||
.bookmark-item[livemark] .menuitem-iconic {
|
||||
list-style-image: url("chrome://browser/skin/places/livemarkItem.png");
|
||||
}
|
||||
|
||||
.bookmark-item menuitem[openInTabs],
|
||||
.bookmark-item menuitem[siteURI] {
|
||||
list-style-image: none;
|
||||
}
|
||||
%endif
|
||||
|
||||
.toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
|
||||
background: url("chrome://browser/skin/bookmarks/Toolbar-bookmarks.png") no-repeat;
|
||||
|
|
|
@ -39,7 +39,6 @@ classic.jar:
|
|||
skin/classic/browser/places/livemarkItem.png (places/livemarkItem.png)
|
||||
#endif
|
||||
#ifdef MOZ_PLACES_BOOKMARKS
|
||||
skin/classic/browser/places/browser-places.css (places/browser-places.css)
|
||||
skin/classic/browser/places/bookmarksMenu.png (places/bookmarksMenu.png)
|
||||
skin/classic/browser/places/bookmarksToolbar.png (places/bookmarksToolbar.png)
|
||||
skin/classic/browser/places/toolbarDropMarker.png (places/toolbarDropMarker.png)
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
/* Tell the bookmarks toolbar where to find the new icons.
|
||||
|
||||
These settings complement and override settings in browser.css.
|
||||
They should be merged into chrome://browser/skin/browser.css
|
||||
when the pre-Places bookmark system is no longer needed. */
|
||||
|
||||
.bookmark-item > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/places/folderDropArrow.png") !important;
|
||||
}
|
||||
|
||||
.bookmark-item:hover > .toolbarbutton-menu-dropmarker, .bookmark-item[open] > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/places/folderDropHoverArrow.png") !important;
|
||||
}
|
||||
|
||||
.bookmark-item[livemark] > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/places/livemarkFolder.png") !important;
|
||||
}
|
||||
|
||||
.bookmark-item[livemark]:hover > .toolbarbutton-menu-dropmarker, .bookmark-item[livemark][open] > .toolbarbutton-menu-dropmarker {
|
||||
list-style-image: url("chrome://browser/skin/places/livemarkFolderHover.png") !important;
|
||||
}
|
||||
|
||||
.bookmark-item[livemark] .menuitem-iconic {
|
||||
list-style-image: url("chrome://browser/skin/places/livemarkItem.png") !important;
|
||||
}
|
||||
|
||||
#page-proxy-button {
|
||||
list-style-image: url("chrome://browser/skin/bookmarks/bookmark-item.png") !important;
|
||||
}
|
||||
|
||||
.bookmark-item[container] {
|
||||
list-style-image: url("chrome://global/skin/tree/folder.png") !important;
|
||||
}
|
||||
|
||||
.bookmark-item {
|
||||
list-style-image: url("chrome://browser/skin/bookmarks/bookmark-item.png") !important;
|
||||
}
|
||||
|
||||
.bookmark-item menuitem[openInTabs],
|
||||
.bookmark-item menuitem[siteURI] {
|
||||
list-style-image: none;
|
||||
}
|
Загрузка…
Ссылка в новой задаче