Revert osx editBookmarkOverlay.css to osx version

This commit is contained in:
SpockMan02 2018-08-05 05:32:46 -07:00 • committed by Roy Tam
commit e54a42877d

View file

@ -2,8 +2,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
/**** folder menulist ****/ /**** folder menulist ****/
.folder-icon > .menulist-label-box > .menulist-icon { .folder-icon > .menulist-label-box > .menulist-icon,
.folder-icon > .menu-iconic-left > .menu-iconic-icon {
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
@ -16,27 +20,41 @@
list-style-image: url("chrome://global/skin/tree/folder.png") !important; list-style-image: url("chrome://global/skin/tree/folder.png") !important;
} }
@media (min-resolution: 2dppx) {
.folder-icon {
list-style-image: url("chrome://global/skin/tree/folder@2x.png") !important;
}
}
.menulist-icon {
margin: 0 !important;
}
/**** expanders ****/ /**** expanders ****/
.expander-up, .expander-up,
.expander-down { .expander-down {
min-width: 0; -moz-appearance: none;
margin: 0; margin: 0;
-moz-margin-end: 4px; margin-left: 8px;
}
.expander-up > .button-box,
.expander-down > .button-box {
padding: 0; padding: 0;
min-width: 0;
} }
.expander-up { .expander-up {
list-style-image: url("chrome://global/skin/icons/collapse.png"); list-style-image: url("chrome://browser/skin/places/expander-open.png");
} }
.expander-down { .expander-down {
list-style-image: url("chrome://global/skin/icons/expand.png"); list-style-image: url("chrome://browser/skin/places/expander-closed.png");
}
.expander-down:hover:active {
list-style-image: url("chrome://browser/skin/places/expander-closed-active.png");
}
.expander-up:hover:active {
list-style-image: url("chrome://browser/skin/places/expander-open-active.png");
} }
#editBookmarkPanelContent { #editBookmarkPanelContent {
@ -44,8 +62,7 @@
} }
#editBMPanel_folderTree { #editBMPanel_folderTree {
margin-top: 2px; margin: 6px 4px 0 4px;
margin-bottom: 2px;
} }
/* Hide the value column of the tag autocomplete popup /* Hide the value column of the tag autocomplete popup
@ -58,22 +75,31 @@
} }
/* ::::: bookmark panel dropdown icons ::::: */ /* ----- BOOKMARK PANEL DROPDOWN MENU ITEMS ----- */
#editBMPanel_folderMenuList[selectedIndex="0"], #editBMPanel_folderMenuList[selectedIndex="0"],
#editBMPanel_toolbarFolderItem { #editBMPanel_toolbarFolderItem {
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
-moz-image-region: auto !important;
} }
#editBMPanel_folderMenuList[selectedIndex="1"], #editBMPanel_folderMenuList[selectedIndex="1"],
#editBMPanel_bmRootItem { #editBMPanel_bmRootItem {
list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png") !important; list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png") !important;
-moz-image-region: auto !important;
} }
#editBMPanel_folderMenuList[selectedIndex="2"], #editBMPanel_folderMenuList[selectedIndex="2"],
#editBMPanel_unfiledRootItem { #editBMPanel_unfiledRootItem {
list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png") !important; list-style-image: url("chrome://browser/skin/places/unfiledBookmarks.png") !important;
-moz-image-region: auto !important; }
@media (min-resolution: 2dppx) {
#editBMPanel_folderMenuList[selectedIndex="0"],
#editBMPanel_toolbarFolderItem {
list-style-image: url("chrome://browser/skin/places/bookmarksToolbar@2x.png") !important;
}
#editBMPanel_folderMenuList[selectedIndex="2"],
#editBMPanel_unfiledRootItem {
list-style-image: url("chrome://browser/skin/places/unfiledBookmarks@2x.png") !important;
}
} }