diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-04 13:17:38 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-04 13:17:38 +0200 |
commit | a1be17c1cea81ebb1e8b131a662c698d78f3f7f2 (patch) | |
tree | a92f7de513be600cc07bac458183e9af40e00c06 /application/basilisk/themes/windows/places | |
parent | bf11fdd304898ac675e39b01b280d39550e419d0 (diff) | |
download | UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.gz UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.lz UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.xz UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.zip |
Issue #303 Part 1: Move basilisk files from /browser to /application/basilisk
Diffstat (limited to 'application/basilisk/themes/windows/places')
22 files changed, 454 insertions, 0 deletions
diff --git a/application/basilisk/themes/windows/places/allBookmarks.png b/application/basilisk/themes/windows/places/allBookmarks.png Binary files differnew file mode 100644 index 000000000..5331798e3 --- /dev/null +++ b/application/basilisk/themes/windows/places/allBookmarks.png diff --git a/application/basilisk/themes/windows/places/autocomplete-star-win7.png b/application/basilisk/themes/windows/places/autocomplete-star-win7.png Binary files differnew file mode 100644 index 000000000..af694e91c --- /dev/null +++ b/application/basilisk/themes/windows/places/autocomplete-star-win7.png diff --git a/application/basilisk/themes/windows/places/autocomplete-star.png b/application/basilisk/themes/windows/places/autocomplete-star.png Binary files differnew file mode 100644 index 000000000..9ba69f727 --- /dev/null +++ b/application/basilisk/themes/windows/places/autocomplete-star.png diff --git a/application/basilisk/themes/windows/places/autocomplete-star@2x.png b/application/basilisk/themes/windows/places/autocomplete-star@2x.png Binary files differnew file mode 100644 index 000000000..f30523e3d --- /dev/null +++ b/application/basilisk/themes/windows/places/autocomplete-star@2x.png diff --git a/application/basilisk/themes/windows/places/bookmarks-notification-finish.png b/application/basilisk/themes/windows/places/bookmarks-notification-finish.png Binary files differnew file mode 100644 index 000000000..1e3f565f9 --- /dev/null +++ b/application/basilisk/themes/windows/places/bookmarks-notification-finish.png diff --git a/application/basilisk/themes/windows/places/bookmarksMenu.png b/application/basilisk/themes/windows/places/bookmarksMenu.png Binary files differnew file mode 100644 index 000000000..84032e1f0 --- /dev/null +++ b/application/basilisk/themes/windows/places/bookmarksMenu.png diff --git a/application/basilisk/themes/windows/places/bookmarksToolbar-menuPanel.png b/application/basilisk/themes/windows/places/bookmarksToolbar-menuPanel.png Binary files differnew file mode 100644 index 000000000..7cbe93d7a --- /dev/null +++ b/application/basilisk/themes/windows/places/bookmarksToolbar-menuPanel.png diff --git a/application/basilisk/themes/windows/places/bookmarksToolbar.png b/application/basilisk/themes/windows/places/bookmarksToolbar.png Binary files differnew file mode 100644 index 000000000..70bba1457 --- /dev/null +++ b/application/basilisk/themes/windows/places/bookmarksToolbar.png diff --git a/application/basilisk/themes/windows/places/calendar.png b/application/basilisk/themes/windows/places/calendar.png Binary files differnew file mode 100644 index 000000000..4127e5988 --- /dev/null +++ b/application/basilisk/themes/windows/places/calendar.png diff --git a/application/basilisk/themes/windows/places/downloads.png b/application/basilisk/themes/windows/places/downloads.png Binary files differnew file mode 100644 index 000000000..f21a170cf --- /dev/null +++ b/application/basilisk/themes/windows/places/downloads.png diff --git a/application/basilisk/themes/windows/places/editBookmarkOverlay.css b/application/basilisk/themes/windows/places/editBookmarkOverlay.css new file mode 100644 index 000000000..3d67cd3f4 --- /dev/null +++ b/application/basilisk/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/application/basilisk/themes/windows/places/history.png b/application/basilisk/themes/windows/places/history.png Binary files differnew file mode 100644 index 000000000..656626930 --- /dev/null +++ b/application/basilisk/themes/windows/places/history.png diff --git a/application/basilisk/themes/windows/places/libraryToolbar.png b/application/basilisk/themes/windows/places/libraryToolbar.png Binary files differnew file mode 100644 index 000000000..31cee7a49 --- /dev/null +++ b/application/basilisk/themes/windows/places/libraryToolbar.png diff --git a/application/basilisk/themes/windows/places/livemark-item.png b/application/basilisk/themes/windows/places/livemark-item.png Binary files differnew file mode 100644 index 000000000..4522a20ae --- /dev/null +++ b/application/basilisk/themes/windows/places/livemark-item.png diff --git a/application/basilisk/themes/windows/places/organizer.css b/application/basilisk/themes/windows/places/organizer.css new file mode 100644 index 000000000..9ae4c8370 --- /dev/null +++ b/application/basilisk/themes/windows/places/organizer.css @@ -0,0 +1,202 @@ +/* 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"); +} + +#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); +} + +/* 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-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-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/application/basilisk/themes/windows/places/places.css b/application/basilisk/themes/windows/places/places.css new file mode 100644 index 000000000..769cfcc25 --- /dev/null +++ b/application/basilisk/themes/windows/places/places.css @@ -0,0 +1,172 @@ +/* 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; +} + +@media (-moz-windows-default-theme) { + .sidebar-placesTree { + background-color: transparent; + border-top: none; + } + + .sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) { + text-decoration: none; + } + + @media (-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/application/basilisk/themes/windows/places/query.png b/application/basilisk/themes/windows/places/query.png Binary files differnew file mode 100644 index 000000000..18b65bd71 --- /dev/null +++ b/application/basilisk/themes/windows/places/query.png diff --git a/application/basilisk/themes/windows/places/starred48.png b/application/basilisk/themes/windows/places/starred48.png Binary files differnew file mode 100644 index 000000000..be9afdf3f --- /dev/null +++ b/application/basilisk/themes/windows/places/starred48.png diff --git a/application/basilisk/themes/windows/places/tag.png b/application/basilisk/themes/windows/places/tag.png Binary files differnew file mode 100644 index 000000000..ebe70a6b9 --- /dev/null +++ b/application/basilisk/themes/windows/places/tag.png diff --git a/application/basilisk/themes/windows/places/toolbarDropMarker.png b/application/basilisk/themes/windows/places/toolbarDropMarker.png Binary files differnew file mode 100644 index 000000000..6c1b61d30 --- /dev/null +++ b/application/basilisk/themes/windows/places/toolbarDropMarker.png diff --git a/application/basilisk/themes/windows/places/unsortedBookmarks.png b/application/basilisk/themes/windows/places/unsortedBookmarks.png Binary files differnew file mode 100644 index 000000000..b8d3e69ab --- /dev/null +++ b/application/basilisk/themes/windows/places/unsortedBookmarks.png diff --git a/application/basilisk/themes/windows/places/unstarred48.png b/application/basilisk/themes/windows/places/unstarred48.png Binary files differnew file mode 100644 index 000000000..c287f0c4a --- /dev/null +++ b/application/basilisk/themes/windows/places/unstarred48.png |