diff options
Diffstat (limited to 'themes/osx/places')
31 files changed, 385 insertions, 0 deletions
diff --git a/themes/osx/places/allBookmarks.png b/themes/osx/places/allBookmarks.png Binary files differnew file mode 100644 index 0000000..d1abe81 --- /dev/null +++ b/themes/osx/places/allBookmarks.png diff --git a/themes/osx/places/bookmark.png b/themes/osx/places/bookmark.png Binary files differnew file mode 100644 index 0000000..2e9a206 --- /dev/null +++ b/themes/osx/places/bookmark.png diff --git a/themes/osx/places/bookmarksMenu.png b/themes/osx/places/bookmarksMenu.png Binary files differnew file mode 100644 index 0000000..c27bd6a --- /dev/null +++ b/themes/osx/places/bookmarksMenu.png diff --git a/themes/osx/places/bookmarksToolbar.png b/themes/osx/places/bookmarksToolbar.png Binary files differnew file mode 100644 index 0000000..2047bff --- /dev/null +++ b/themes/osx/places/bookmarksToolbar.png diff --git a/themes/osx/places/bookmarksToolbar@2x.png b/themes/osx/places/bookmarksToolbar@2x.png Binary files differnew file mode 100644 index 0000000..dd45898 --- /dev/null +++ b/themes/osx/places/bookmarksToolbar@2x.png diff --git a/themes/osx/places/calendar.png b/themes/osx/places/calendar.png Binary files differnew file mode 100644 index 0000000..1855c9f --- /dev/null +++ b/themes/osx/places/calendar.png diff --git a/themes/osx/places/downloads.png b/themes/osx/places/downloads.png Binary files differnew file mode 100644 index 0000000..0756cb6 --- /dev/null +++ b/themes/osx/places/downloads.png diff --git a/themes/osx/places/editBookmark.png b/themes/osx/places/editBookmark.png Binary files differnew file mode 100644 index 0000000..fbca052 --- /dev/null +++ b/themes/osx/places/editBookmark.png diff --git a/themes/osx/places/editBookmarkOverlay.css b/themes/osx/places/editBookmarkOverlay.css new file mode 100644 index 0000000..cc749c1 --- /dev/null +++ b/themes/osx/places/editBookmarkOverlay.css @@ -0,0 +1,105 @@ +/* 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/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/**** folder menulist ****/ +.folder-icon > .menulist-label-box > .menulist-icon, +.folder-icon > .menu-iconic-left > .menu-iconic-icon { + width: 16px; + height: 16px; +} + +.folder-icon > .menu-iconic-left { + display: -moz-box; +} + +.folder-icon { + 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 ****/ + +.expander-up, +.expander-down { + -moz-appearance: none; + margin: 0; + margin-left: 8px; + padding: 0; + min-width: 0; +} + +.expander-up { + list-style-image: url("chrome://browser/skin/places/expander-open.png"); +} + +.expander-down { + 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 { + min-width: 23em; +} + +#editBMPanel_folderTree { + margin: 6px 4px 0 4px; +} + +/* 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 MENU ITEMS ----- */ + +#editBMPanel_folderMenuList[selectedIndex="0"], +#editBMPanel_toolbarFolderItem { + list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; +} + +#editBMPanel_folderMenuList[selectedIndex="1"], +#editBMPanel_bmRootItem { + list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png") !important; +} + +#editBMPanel_folderMenuList[selectedIndex="2"], +#editBMPanel_unfiledRootItem { + list-style-image: url("chrome://browser/skin/places/unfiledBookmarks.png") !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; + } +} diff --git a/themes/osx/places/expander-closed-active.png b/themes/osx/places/expander-closed-active.png Binary files differnew file mode 100644 index 0000000..7ef5f04 --- /dev/null +++ b/themes/osx/places/expander-closed-active.png diff --git a/themes/osx/places/expander-closed.png b/themes/osx/places/expander-closed.png Binary files differnew file mode 100644 index 0000000..7850c9e --- /dev/null +++ b/themes/osx/places/expander-closed.png diff --git a/themes/osx/places/expander-open-active.png b/themes/osx/places/expander-open-active.png Binary files differnew file mode 100644 index 0000000..673ead5 --- /dev/null +++ b/themes/osx/places/expander-open-active.png diff --git a/themes/osx/places/expander-open.png b/themes/osx/places/expander-open.png Binary files differnew file mode 100644 index 0000000..7655357 --- /dev/null +++ b/themes/osx/places/expander-open.png diff --git a/themes/osx/places/folderDropArrow.png b/themes/osx/places/folderDropArrow.png Binary files differnew file mode 100644 index 0000000..8d722cc --- /dev/null +++ b/themes/osx/places/folderDropArrow.png diff --git a/themes/osx/places/folderDropArrow@2x.png b/themes/osx/places/folderDropArrow@2x.png Binary files differnew file mode 100644 index 0000000..9efb6d9 --- /dev/null +++ b/themes/osx/places/folderDropArrow@2x.png diff --git a/themes/osx/places/history.png b/themes/osx/places/history.png Binary files differnew file mode 100644 index 0000000..e5a00b5 --- /dev/null +++ b/themes/osx/places/history.png diff --git a/themes/osx/places/history@2x.png b/themes/osx/places/history@2x.png Binary files differnew file mode 100644 index 0000000..684b374 --- /dev/null +++ b/themes/osx/places/history@2x.png diff --git a/themes/osx/places/libraryToolbar.png b/themes/osx/places/libraryToolbar.png Binary files differnew file mode 100644 index 0000000..2ed627a --- /dev/null +++ b/themes/osx/places/libraryToolbar.png diff --git a/themes/osx/places/livemark-item.png b/themes/osx/places/livemark-item.png Binary files differnew file mode 100644 index 0000000..9184b95 --- /dev/null +++ b/themes/osx/places/livemark-item.png diff --git a/themes/osx/places/organizer.css b/themes/osx/places/organizer.css new file mode 100644 index 0000000..611c0c0 --- /dev/null +++ b/themes/osx/places/organizer.css @@ -0,0 +1,134 @@ +/* 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/. */ + +/* Toolbar */ +#placesToolbar { + padding: 3px; + -moz-padding-end: 6px; +} + +#placesToolbar > toolbarbutton[disabled] > .toolbarbutton-icon { + opacity: .4; +} + +#back-button, +#forward-button { + list-style-image: url("chrome://browser/skin/Toolbar.png"); +} + +#back-button { + -moz-image-region: rect(0, 18px, 18px, 0); +} + +#forward-button { + -moz-image-region: rect(0, 36px, 18px, 18px); +} + +#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, +#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +/* 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 { + -moz-padding-start: 2px; +} + +#searchFilter { + margin: 0; +} + +/** + * Downloads pane + */ + +#clearDownloadsButton > .toolbarbutton-icon { + display: none; +} + +#clearDownloadsButton { + -moz-padding-start: 9px; + -moz-padding-end: 9px; +} + +/* hover-over/open button highlighting */ + +#organizeButton, +#viewMenu, +#maintenanceButton, +#organizeButton, +#clearDownloadsButton { + color: #222; + border: 0; + border-radius: 10000px; + padding: 1px 8px; + margin: 0 0 1px; +} + +#back-button, +#forward-button { + color: #222; + border: 0; + border-radius: 10000px; + padding: 1px 1px; + margin: 0 0 1px; +} + +#organizeButton:hover, +#organizeButton[open="true"], +#viewMenu:hover, +#viewMenu[open="true"], +#maintenanceButton:hover, +#maintenanceButton[open="true"], +#organizeButton:hover, +#organizeButton[open="true"], +#clearDownloadsButton:hover, +#back-button:not([disabled]):hover, +#forward-button:not([disabled]):hover { + background-color: rgba(0, 0, 0, .205); +} diff --git a/themes/osx/places/places.css b/themes/osx/places/places.css new file mode 100644 index 0000000..4243779 --- /dev/null +++ b/themes/osx/places/places.css @@ -0,0 +1,146 @@ +/* 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; +} + +/* 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), +treechildren::-moz-tree-image(title, open) { + list-style-image: url("chrome://global/skin/tree/folder.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +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/tree/folder.png"); +} + +treechildren::-moz-tree-image(title, query, hostContainer, open) { + list-style-image: url("chrome://global/skin/tree/folder.png"); +} + +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), +treechildren::-moz-tree-image(title, query, folder, open) { + list-style-image: url("chrome://global/skin/tree/folder.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +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; + -moz-margin-end: -3px; +} diff --git a/themes/osx/places/query.png b/themes/osx/places/query.png Binary files differnew file mode 100644 index 0000000..0ccb847 --- /dev/null +++ b/themes/osx/places/query.png diff --git a/themes/osx/places/query@2x.png b/themes/osx/places/query@2x.png Binary files differnew file mode 100644 index 0000000..20b458a --- /dev/null +++ b/themes/osx/places/query@2x.png diff --git a/themes/osx/places/starred48.png b/themes/osx/places/starred48.png Binary files differnew file mode 100644 index 0000000..bfa1459 --- /dev/null +++ b/themes/osx/places/starred48.png diff --git a/themes/osx/places/tag.png b/themes/osx/places/tag.png Binary files differnew file mode 100644 index 0000000..a4038bb --- /dev/null +++ b/themes/osx/places/tag.png diff --git a/themes/osx/places/tag@2x.png b/themes/osx/places/tag@2x.png Binary files differnew file mode 100644 index 0000000..673814b --- /dev/null +++ b/themes/osx/places/tag@2x.png diff --git a/themes/osx/places/toolbarDropMarker.png b/themes/osx/places/toolbarDropMarker.png Binary files differnew file mode 100644 index 0000000..a217b0e --- /dev/null +++ b/themes/osx/places/toolbarDropMarker.png diff --git a/themes/osx/places/unfiledBookmarks.png b/themes/osx/places/unfiledBookmarks.png Binary files differnew file mode 100644 index 0000000..69495da --- /dev/null +++ b/themes/osx/places/unfiledBookmarks.png diff --git a/themes/osx/places/unfiledBookmarks@2x.png b/themes/osx/places/unfiledBookmarks@2x.png Binary files differnew file mode 100644 index 0000000..44efd6a --- /dev/null +++ b/themes/osx/places/unfiledBookmarks@2x.png diff --git a/themes/osx/places/unsortedBookmarks.png b/themes/osx/places/unsortedBookmarks.png Binary files differnew file mode 100644 index 0000000..893e75a --- /dev/null +++ b/themes/osx/places/unsortedBookmarks.png diff --git a/themes/osx/places/unstarred48.png b/themes/osx/places/unstarred48.png Binary files differnew file mode 100644 index 0000000..8b82aab --- /dev/null +++ b/themes/osx/places/unstarred48.png |