Issue #303 Part 1: Move basilisk files from /browser to /application/basilisk
BIN
application/basilisk/themes/linux/places/autocomplete-star.png
Normal file
|
After Width: | Height: | Size: 636 B |
|
After Width: | Height: | Size: 183 B |
|
After Width: | Height: | Size: 2.8 KiB |
BIN
application/basilisk/themes/linux/places/bookmarksMenu.png
Normal file
|
After Width: | Height: | Size: 461 B |
|
After Width: | Height: | Size: 700 B |
BIN
application/basilisk/themes/linux/places/bookmarksToolbar.png
Normal file
|
After Width: | Height: | Size: 508 B |
BIN
application/basilisk/themes/linux/places/calendar.png
Normal file
|
After Width: | Height: | Size: 670 B |
BIN
application/basilisk/themes/linux/places/downloads.png
Normal file
|
After Width: | Height: | Size: 599 B |
|
|
@ -0,0 +1,71 @@
|
|||
%if 0
|
||||
/* 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/. */
|
||||
%endif
|
||||
/**** 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("moz-icon://stock/gtk-directory?size=menu") !important;
|
||||
}
|
||||
|
||||
|
||||
/**** expanders ****/
|
||||
|
||||
.expander-up,
|
||||
.expander-down {
|
||||
min-width: 0;
|
||||
padding: 2px 0;
|
||||
padding-inline-start: 2px;
|
||||
}
|
||||
|
||||
.expander-up > .button-box {
|
||||
-moz-appearance: button-arrow-up;
|
||||
}
|
||||
|
||||
.expander-down > .button-box {
|
||||
-moz-appearance: button-arrow-down;
|
||||
}
|
||||
|
||||
#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 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/unsortedBookmarks.png") !important;
|
||||
}
|
||||
BIN
application/basilisk/themes/linux/places/livemark-item.png
Normal file
|
After Width: | Height: | Size: 863 B |
103
application/basilisk/themes/linux/places/organizer.css
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
/* 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 {
|
||||
-moz-appearance: menubar;
|
||||
}
|
||||
|
||||
#placesToolbar:-moz-system-metric(menubar-drag) {
|
||||
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag");
|
||||
}
|
||||
|
||||
#placesToolbar > toolbarbutton {
|
||||
color: -moz-menubartext;
|
||||
}
|
||||
|
||||
#placesToolbar > toolbarbutton:hover {
|
||||
color: ButtonText;
|
||||
}
|
||||
|
||||
#placesToolbar > toolbarbutton[disabled=true] {
|
||||
color: GrayText;
|
||||
}
|
||||
|
||||
/* back button */
|
||||
|
||||
#back-button {
|
||||
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar");
|
||||
}
|
||||
#back-button[disabled="true"] {
|
||||
list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar&state=disabled");
|
||||
}
|
||||
|
||||
#back-button:-moz-locale-dir(rtl) {
|
||||
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar");
|
||||
}
|
||||
#back-button[disabled="true"]:-moz-locale-dir(rtl) {
|
||||
list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar&state=disabled");
|
||||
}
|
||||
|
||||
/* forward button */
|
||||
|
||||
#forward-button {
|
||||
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar");
|
||||
}
|
||||
#forward-button[disabled="true"] {
|
||||
list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar&state=disabled");
|
||||
}
|
||||
|
||||
#forward-button:-moz-locale-dir(rtl) {
|
||||
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar");
|
||||
}
|
||||
#forward-button[disabled="true"]:-moz-locale-dir(rtl) {
|
||||
list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar&state=disabled");
|
||||
}
|
||||
|
||||
/* Menu */
|
||||
#placesMenu {
|
||||
-moz-appearance: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#placesMenu > menu {
|
||||
padding-inline-start: 4px;
|
||||
-moz-binding: url("chrome://browser/skin/places/organizer.xml#toolbarbutton-dropdown");
|
||||
-moz-appearance: toolbarbutton;
|
||||
}
|
||||
|
||||
#placesMenu > menu:active,
|
||||
#placesMenu > menu:hover,
|
||||
#placesMenu > menu[open] {
|
||||
color: ButtonText;
|
||||
}
|
||||
|
||||
#placesMenu > menu > .menubar-right {
|
||||
-moz-appearance: toolbarbutton-dropdown;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
/* Root View */
|
||||
#placesView {
|
||||
background-color: Window;
|
||||
}
|
||||
|
||||
/* Info box */
|
||||
#detailsDeck {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#infoBoxExpanderLabel {
|
||||
padding-inline-start: 2px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Downloads pane
|
||||
*/
|
||||
|
||||
#clearDownloadsButton > .toolbarbutton-icon {
|
||||
display: none;
|
||||
}
|
||||
21
application/basilisk/themes/linux/places/organizer.xml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!-- 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/. -->
|
||||
|
||||
<bindings id="organizerBindings"
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:xbl="http://www.mozilla.org/xbl">
|
||||
|
||||
<binding id="toolbarbutton-dropdown"
|
||||
extends="chrome://global/content/bindings/menu.xml#menu-base">
|
||||
<content>
|
||||
<xul:image class="menubar-left" xbl:inherits="src=image"/>
|
||||
<xul:label class="menubar-text" xbl:inherits="value=label,accesskey,crop" crop="right"/>
|
||||
<xul:hbox class="menubar-right"/>
|
||||
<children includes="menupopup"/>
|
||||
</content>
|
||||
</binding>
|
||||
</bindings>
|
||||
122
application/basilisk/themes/linux/places/places.css
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
/* 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 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.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) {
|
||||
padding-right: 2px;
|
||||
margin: 0px 2px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
|
||||
}
|
||||
|
||||
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("moz-icon://stock/gtk-directory?size=menu");
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-image(title, container, livemark) {
|
||||
list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
|
||||
-moz-image-region: auto;
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) {
|
||||
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
||||
-moz-image-region: rect(0px 48px 16px 32px);
|
||||
}
|
||||
|
||||
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");
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-image(query, OrganizerQuery_Downloads) {
|
||||
list-style-image: url("chrome://browser/skin/places/downloads.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");
|
||||
}
|
||||
|
||||
/* 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");
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-image(title, query, hostContainer) {
|
||||
list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-image(title, query, hostContainer, open) {
|
||||
list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-image(title, query, OrganizerQuery_History) {
|
||||
list-style-image: url("chrome://browser/skin/Toolbar-small.png");
|
||||
-moz-image-region: rect(0px 32px 16px 16px);
|
||||
}
|
||||
|
||||
/* 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("moz-icon://stock/gtk-directory?size=menu");
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-image(cutting) {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-cell-text(cutting) {
|
||||
opacity: 0.7;
|
||||
}
|
||||
BIN
application/basilisk/themes/linux/places/query.png
Normal file
|
After Width: | Height: | Size: 678 B |
BIN
application/basilisk/themes/linux/places/starred48.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
application/basilisk/themes/linux/places/tag.png
Normal file
|
After Width: | Height: | Size: 877 B |
BIN
application/basilisk/themes/linux/places/toolbarDropMarker.png
Normal file
|
After Width: | Height: | Size: 583 B |
BIN
application/basilisk/themes/linux/places/unsortedBookmarks.png
Normal file
|
After Width: | Height: | Size: 748 B |
BIN
application/basilisk/themes/linux/places/unstarred48.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |