diff options
Diffstat (limited to 'browser/themes/windows/places')
34 files changed, 478 insertions, 0 deletions
diff --git a/browser/themes/windows/places/allBookmarks-XP.png b/browser/themes/windows/places/allBookmarks-XP.png Binary files differnew file mode 100644 index 000000000..f7903cc5f --- /dev/null +++ b/browser/themes/windows/places/allBookmarks-XP.png diff --git a/browser/themes/windows/places/allBookmarks.png b/browser/themes/windows/places/allBookmarks.png Binary files differnew file mode 100644 index 000000000..5331798e3 --- /dev/null +++ b/browser/themes/windows/places/allBookmarks.png diff --git a/browser/themes/windows/places/autocomplete-star-XPVista7.png b/browser/themes/windows/places/autocomplete-star-XPVista7.png Binary files differnew file mode 100644 index 000000000..af694e91c --- /dev/null +++ b/browser/themes/windows/places/autocomplete-star-XPVista7.png diff --git a/browser/themes/windows/places/autocomplete-star.png b/browser/themes/windows/places/autocomplete-star.png Binary files differnew file mode 100644 index 000000000..9ba69f727 --- /dev/null +++ b/browser/themes/windows/places/autocomplete-star.png diff --git a/browser/themes/windows/places/autocomplete-star@2x.png b/browser/themes/windows/places/autocomplete-star@2x.png Binary files differnew file mode 100644 index 000000000..f30523e3d --- /dev/null +++ b/browser/themes/windows/places/autocomplete-star@2x.png diff --git a/browser/themes/windows/places/bookmarks-notification-finish.png b/browser/themes/windows/places/bookmarks-notification-finish.png Binary files differnew file mode 100644 index 000000000..1e3f565f9 --- /dev/null +++ b/browser/themes/windows/places/bookmarks-notification-finish.png diff --git a/browser/themes/windows/places/bookmarksMenu-XP.png b/browser/themes/windows/places/bookmarksMenu-XP.png Binary files differnew file mode 100644 index 000000000..8f0c8bf58 --- /dev/null +++ b/browser/themes/windows/places/bookmarksMenu-XP.png diff --git a/browser/themes/windows/places/bookmarksMenu.png b/browser/themes/windows/places/bookmarksMenu.png Binary files differnew file mode 100644 index 000000000..84032e1f0 --- /dev/null +++ b/browser/themes/windows/places/bookmarksMenu.png diff --git a/browser/themes/windows/places/bookmarksToolbar-XP.png b/browser/themes/windows/places/bookmarksToolbar-XP.png Binary files differnew file mode 100644 index 000000000..9e988de20 --- /dev/null +++ b/browser/themes/windows/places/bookmarksToolbar-XP.png diff --git a/browser/themes/windows/places/bookmarksToolbar-menuPanel-XP.png b/browser/themes/windows/places/bookmarksToolbar-menuPanel-XP.png Binary files differnew file mode 100644 index 000000000..0e4247adb --- /dev/null +++ b/browser/themes/windows/places/bookmarksToolbar-menuPanel-XP.png diff --git a/browser/themes/windows/places/bookmarksToolbar-menuPanel.png b/browser/themes/windows/places/bookmarksToolbar-menuPanel.png Binary files differnew file mode 100644 index 000000000..7cbe93d7a --- /dev/null +++ b/browser/themes/windows/places/bookmarksToolbar-menuPanel.png diff --git a/browser/themes/windows/places/bookmarksToolbar.png b/browser/themes/windows/places/bookmarksToolbar.png Binary files differnew file mode 100644 index 000000000..70bba1457 --- /dev/null +++ b/browser/themes/windows/places/bookmarksToolbar.png diff --git a/browser/themes/windows/places/calendar-XP.png b/browser/themes/windows/places/calendar-XP.png Binary files differnew file mode 100644 index 000000000..7645af5cd --- /dev/null +++ b/browser/themes/windows/places/calendar-XP.png diff --git a/browser/themes/windows/places/calendar.png b/browser/themes/windows/places/calendar.png Binary files differnew file mode 100644 index 000000000..4127e5988 --- /dev/null +++ b/browser/themes/windows/places/calendar.png diff --git a/browser/themes/windows/places/downloads.png b/browser/themes/windows/places/downloads.png Binary files differnew file mode 100644 index 000000000..f21a170cf --- /dev/null +++ b/browser/themes/windows/places/downloads.png diff --git a/browser/themes/windows/places/editBookmarkOverlay.css b/browser/themes/windows/places/editBookmarkOverlay.css new file mode 100644 index 000000000..3d67cd3f4 --- /dev/null +++ b/browser/themes/windows/places/editBookmarkOverlay.css @@ -0,0 +1,80 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * 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/. */ + +/**** folder menulist ****/ +.folder-icon > .menulist-label-box > .menulist-icon { + width: 16px; + height: 16px; +} + +.folder-icon > .menu-iconic-left { + display: -moz-box; +} + +.folder-icon { + list-style-image: url("chrome://global/skin/icons/folder-item.png") !important; + -moz-image-region: rect(0px, 32px, 16px, 16px) !important; +} + + +/**** expanders ****/ + +.expander-up, +.expander-down { + min-width: 0; + margin: 0; + margin-inline-end: 4px; +} + +.expander-up > .button-box, +.expander-down > .button-box { + padding: 0; +} + +.expander-up { + list-style-image: url("chrome://global/skin/icons/collapse.png"); +} + +.expander-down { + list-style-image: url("chrome://global/skin/icons/expand.png"); +} + +#editBookmarkPanelContent { + min-width: 23em; +} + +#editBMPanel_folderTree { + margin-top: 2px; + margin-bottom: 2px; +} + +/* Hide the value column of the tag autocomplete popup + * leaving only the comment column visible. This is + * so that only the tag being edited is shown in the + * popup. + */ +#editBMPanel_tagsField #treecolAutoCompleteValue { + visibility: collapse; +} + + +/* ::::: bookmark panel dropdown icons ::::: */ + +#editBMPanel_folderMenuList[selectedIndex="0"], +#editBMPanel_toolbarFolderItem { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; + -moz-image-region: auto !important; +} + +#editBMPanel_folderMenuList[selectedIndex="1"], +#editBMPanel_bmRootItem { + list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png") !important; + -moz-image-region: auto !important; +} + +#editBMPanel_folderMenuList[selectedIndex="2"], +#editBMPanel_unfiledRootItem { + list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png") !important; + -moz-image-region: auto !important; +} diff --git a/browser/themes/windows/places/history-XP.png b/browser/themes/windows/places/history-XP.png Binary files differnew file mode 100644 index 000000000..fcc89bbbf --- /dev/null +++ b/browser/themes/windows/places/history-XP.png diff --git a/browser/themes/windows/places/history.png b/browser/themes/windows/places/history.png Binary files differnew file mode 100644 index 000000000..656626930 --- /dev/null +++ b/browser/themes/windows/places/history.png diff --git a/browser/themes/windows/places/libraryToolbar-XP.png b/browser/themes/windows/places/libraryToolbar-XP.png Binary files differnew file mode 100644 index 000000000..75b390ff6 --- /dev/null +++ b/browser/themes/windows/places/libraryToolbar-XP.png diff --git a/browser/themes/windows/places/libraryToolbar.png b/browser/themes/windows/places/libraryToolbar.png Binary files differnew file mode 100644 index 000000000..31cee7a49 --- /dev/null +++ b/browser/themes/windows/places/libraryToolbar.png diff --git a/browser/themes/windows/places/livemark-item.png b/browser/themes/windows/places/livemark-item.png Binary files differnew file mode 100644 index 000000000..4522a20ae --- /dev/null +++ b/browser/themes/windows/places/livemark-item.png diff --git a/browser/themes/windows/places/organizer.css b/browser/themes/windows/places/organizer.css new file mode 100644 index 000000000..4de603b9f --- /dev/null +++ b/browser/themes/windows/places/organizer.css @@ -0,0 +1,222 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * 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/. */ + +%include ../windowsShared.inc +%filter substitution + +/* Toolbar */ +#placesToolbar { + padding: 3px; + padding-inline-end: 6px; +} + +#placesToolbar > toolbarbutton[disabled] > .toolbarbutton-icon { + opacity: .4; +} + +#back-button, +#forward-button { + list-style-image: url("chrome://browser/skin/Toolbar.png"); +} + +@media (-moz-windows-theme: luna-silver) { + #back-button, + #forward-button { + list-style-image: url("chrome://browser/skin/Toolbar-lunaSilver.png"); + } +} + +#back-button { + -moz-image-region: rect(0, 54px, 18px, 36px); +} + +#forward-button { + -moz-image-region: rect(0, 72px, 18px, 54px); +} + +#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, +#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +/* Menu */ +#placesMenu { + margin-inline-start: 6px; + -moz-appearance: none; + border: none; +} + +#placesMenu > menu { + padding-inline-start: 4px; + padding-inline-end: 1px; + padding-top: 2px; + padding-bottom: 2px; + -moz-appearance: toolbarbutton; +%ifdef XP_WIN +% use standard menu colors on OS/2 + color: -moz-DialogText; +%endif + border: 1px solid transparent; +} + +#placesMenu > menu[_moz-menuactive="true"] { + background-color: transparent; +} + +#placesMenu > menu:hover { + border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight; +} + +#placesMenu > menu[open="true"] { + border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow; + padding-inline-start: 5px; + padding-inline-end: 0px; + padding-top: 3px; + padding-bottom: 1px; +} + +#placesMenu > menu > .menubar-text { + padding-inline-end: 8px; + background: url(chrome://global/skin/arrow/arrow-dn.gif) right center no-repeat; +} + +#placesMenu > menu > .menubar-text:-moz-locale-dir(rtl) { + background-position: left center; +} + +/* organize, view and maintenance buttons icons */ +#organizeButton, +#viewMenu, +#maintenanceButton { + list-style-image: url("chrome://browser/skin/places/libraryToolbar.png"); +} + +/* organize button */ +#organizeButton { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +#organizeButton:hover, +#organizeButton[open="true"] { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +/* view button */ +#viewMenu { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +#viewMenu:hover, +#viewMenu[open="true"] { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +/* maintenance button */ +#maintenanceButton { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} +#maintenanceButton:hover, +#maintenanceButton[open="true"] { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} + +/* Root View */ +#placesView { + border-top: 1px solid ThreeDDarkShadow; +} + +/* Info box */ +#detailsDeck { + border-top: 1px solid ThreeDShadow; + padding: 5px; +} + +#infoBoxExpanderLabel { + padding-inline-start: 2px; +} + +#searchFilter { + margin: 0; +} + +/** + * Downloads pane + */ + +#clearDownloadsButton > .toolbarbutton-icon { + display: none; +} + +#clearDownloadsButton { + padding-inline-start: 9px; + padding-inline-end: 9px; +} + + +@media not all and (-moz-os-version: windows-xp) { + #placesView { + border-top: none; + } + + @media not all and (-moz-windows-classic) { + #placesToolbox { + -moz-appearance: none; + background-color: transparent; + } + + #placesToolbar { + -moz-appearance: none; + background-color: -moz-Dialog; + color: -moz-dialogText; + } + } + + @media (-moz-windows-default-theme) { + #placesView > splitter { + border: 0; + border-inline-end: 1px solid #A9B7C9; + min-width: 0; + width: 3px; + background-color: transparent; + margin-inline-start: -3px; + position: relative; + } + } +} + +@media (-moz-windows-glass) { + #placesToolbox { + border-top: none; + } + + #placesToolbar { + background-image: linear-gradient(@toolbarHighlight@, transparent); + } +} + +@media (-moz-windows-default-theme) and (-moz-os-version: windows-vista), + (-moz-windows-default-theme) and (-moz-os-version: windows-win7) { + #placesView, + #infoPane, + #placesList, + #placeContent { + background-color: #EEF3FA; + } + + #placesToolbar { + background-color: @customToolbarColor@; + color: black; + } + + #detailsDeck { + border-top-color: #A9B7C9; + } + + #searchFilter { + -moz-appearance: none; + padding: 2px; + padding-inline-start: 4px; + background-clip: padding-box; + border: 1px solid rgba(0,0,0,.32); + border-radius: 2px; + } +} diff --git a/browser/themes/windows/places/places.css b/browser/themes/windows/places/places.css new file mode 100644 index 000000000..4ec8f6555 --- /dev/null +++ b/browser/themes/windows/places/places.css @@ -0,0 +1,176 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * 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/. */ + +/* Sidebars */ +.sidebar-placesTree { + -moz-appearance: none; + border: 0; + margin: 0; + border-top: 1px solid ThreeDShadow; +} + +.sidebar-placesTreechildren::-moz-tree-cell(leaf) , +.sidebar-placesTreechildren::-moz-tree-image(leaf) { + cursor: pointer; +} + +.sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) { + cursor: pointer; + text-decoration: underline; +} + +.sidebar-placesTreechildren::-moz-tree-cell(separator) { + cursor: default; +} + +/* Style Places sidebars as Vista media collection */ +@media (-moz-windows-default-theme) { + @media not all and (-moz-os-version: windows-xp) { + .sidebar-placesTree { + background-color: transparent; + border-top: none; + } + + .sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) { + text-decoration: none; + } + } + + @media (-moz-os-version: windows-vista), + (-moz-os-version: windows-win7) { + #bookmarksPanel, + #history-panel, + #tabs-panel { + background-color: #EEF3FA; + } + } +} + +/* Trees */ +treechildren::-moz-tree-image(title) { + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); + padding-right: 2px; + margin: 0px 2px; + width: 16px; + height: 16px; +} + +treechildren::-moz-tree-image(title, livemarkItem) { + list-style-image: url("chrome://browser/skin/places/livemark-item.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +treechildren::-moz-tree-image(title, livemarkItem, visited) { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +treechildren::-moz-tree-image(title, separator) { + list-style-image: none; + width: 0; + height: 0; +} + +treechildren::-moz-tree-image(title, container) { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +treechildren::-moz-tree-image(title, open) { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +treechildren::-moz-tree-image(title, container, livemark) { + list-style-image: url("chrome://browser/skin/livemark-folder.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) { + list-style-image: url("chrome://browser/skin/places/allBookmarks.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) { + list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) { + list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png"); + -moz-image-region: auto; +} + +/* query-nodes should be styled even if they're not expandable */ +treechildren::-moz-tree-image(title, query) { + list-style-image: url("chrome://browser/skin/places/query.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(title, query, tagContainer), +treechildren::-moz-tree-image(query, OrganizerQuery_Tags) { + list-style-image: url("chrome://browser/skin/places/tag.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(query, OrganizerQuery_Downloads) { + list-style-image: url("chrome://browser/skin/places/downloads.png"); + -moz-image-region: auto; +} + +/* calendar icon for folders grouping items by date */ +treechildren::-moz-tree-image(title, query, dayContainer) { + list-style-image: url("chrome://browser/skin/places/calendar.png"); + -moz-image-region: auto; +} + +treechildren::-moz-tree-image(title, query, hostContainer) { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +treechildren::-moz-tree-image(title, query, hostContainer, open) { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +treechildren::-moz-tree-image(title, query, OrganizerQuery_History) { + list-style-image: url("chrome://browser/skin/places/history.png"); +} + +/* We want some queries to look like ordinary folders. This must come + after the (title, query) selector, or it would get overridden. */ +treechildren::-moz-tree-image(title, query, folder) { + list-style-image: url("chrome://global/skin/icons/folder-item.png"); + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +treechildren::-moz-tree-image(title, query, folder, open) { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +treechildren::-moz-tree-image(cutting) { + opacity: 0.5; +} + +treechildren::-moz-tree-cell-text(cutting) { + opacity: 0.7; +} + +/* Browser Sidebars */ + +/* Default button vert. margins are 1px/2px, and this can cause misalignment */ +#viewButton { + margin-top: 2px; + margin-bottom: 2px; +} + +#viewButton > .button-box > .button-menu-dropmarker { + height: auto; + width: auto; + margin-inline-end: -3px; +} diff --git a/browser/themes/windows/places/query-XP.png b/browser/themes/windows/places/query-XP.png Binary files differnew file mode 100644 index 000000000..9e79fc791 --- /dev/null +++ b/browser/themes/windows/places/query-XP.png diff --git a/browser/themes/windows/places/query.png b/browser/themes/windows/places/query.png Binary files differnew file mode 100644 index 000000000..18b65bd71 --- /dev/null +++ b/browser/themes/windows/places/query.png diff --git a/browser/themes/windows/places/starred48-XP.png b/browser/themes/windows/places/starred48-XP.png Binary files differnew file mode 100644 index 000000000..1cb7bc57d --- /dev/null +++ b/browser/themes/windows/places/starred48-XP.png diff --git a/browser/themes/windows/places/starred48.png b/browser/themes/windows/places/starred48.png Binary files differnew file mode 100644 index 000000000..be9afdf3f --- /dev/null +++ b/browser/themes/windows/places/starred48.png diff --git a/browser/themes/windows/places/tag-XP.png b/browser/themes/windows/places/tag-XP.png Binary files differnew file mode 100644 index 000000000..4b4a13e66 --- /dev/null +++ b/browser/themes/windows/places/tag-XP.png diff --git a/browser/themes/windows/places/tag.png b/browser/themes/windows/places/tag.png Binary files differnew file mode 100644 index 000000000..ebe70a6b9 --- /dev/null +++ b/browser/themes/windows/places/tag.png diff --git a/browser/themes/windows/places/toolbarDropMarker-XP.png b/browser/themes/windows/places/toolbarDropMarker-XP.png Binary files differnew file mode 100644 index 000000000..9173b7a7a --- /dev/null +++ b/browser/themes/windows/places/toolbarDropMarker-XP.png diff --git a/browser/themes/windows/places/toolbarDropMarker.png b/browser/themes/windows/places/toolbarDropMarker.png Binary files differnew file mode 100644 index 000000000..6c1b61d30 --- /dev/null +++ b/browser/themes/windows/places/toolbarDropMarker.png diff --git a/browser/themes/windows/places/unsortedBookmarks-XP.png b/browser/themes/windows/places/unsortedBookmarks-XP.png Binary files differnew file mode 100644 index 000000000..cf73f9464 --- /dev/null +++ b/browser/themes/windows/places/unsortedBookmarks-XP.png diff --git a/browser/themes/windows/places/unsortedBookmarks.png b/browser/themes/windows/places/unsortedBookmarks.png Binary files differnew file mode 100644 index 000000000..b8d3e69ab --- /dev/null +++ b/browser/themes/windows/places/unsortedBookmarks.png diff --git a/browser/themes/windows/places/unstarred48.png b/browser/themes/windows/places/unstarred48.png Binary files differnew file mode 100644 index 000000000..c287f0c4a --- /dev/null +++ b/browser/themes/windows/places/unstarred48.png |