browser/themes/windows/places/places.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 /* Sidebars */
michael@0 6 .sidebar-placesTree {
michael@0 7 -moz-appearance: none;
michael@0 8 border: 0;
michael@0 9 margin: 0;
michael@0 10 border-top: 1px solid ThreeDShadow;
michael@0 11 }
michael@0 12
michael@0 13 .sidebar-placesTreechildren::-moz-tree-cell(leaf) ,
michael@0 14 .sidebar-placesTreechildren::-moz-tree-image(leaf) {
michael@0 15 cursor: pointer;
michael@0 16 }
michael@0 17
michael@0 18 .sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) {
michael@0 19 cursor: pointer;
michael@0 20 text-decoration: underline;
michael@0 21 }
michael@0 22
michael@0 23 .sidebar-placesTreechildren::-moz-tree-cell(separator) {
michael@0 24 cursor: default;
michael@0 25 }
michael@0 26
michael@0 27 /* Trees */
michael@0 28 treechildren::-moz-tree-image(title) {
michael@0 29 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
michael@0 30 padding-right: 2px;
michael@0 31 margin: 0px 2px;
michael@0 32 width: 16px;
michael@0 33 height: 16px;
michael@0 34 }
michael@0 35
michael@0 36 treechildren::-moz-tree-image(title, livemarkItem) {
michael@0 37 list-style-image: url("chrome://browser/skin/places/livemark-item.png");
michael@0 38 -moz-image-region: rect(0px, 16px, 16px, 0px);
michael@0 39 }
michael@0 40
michael@0 41 treechildren::-moz-tree-image(title, livemarkItem, visited) {
michael@0 42 -moz-image-region: rect(0px, 32px, 16px, 16px);
michael@0 43 }
michael@0 44
michael@0 45 treechildren::-moz-tree-image(title, separator) {
michael@0 46 list-style-image: none;
michael@0 47 width: 0;
michael@0 48 height: 0;
michael@0 49 }
michael@0 50
michael@0 51 treechildren::-moz-tree-image(title, container) {
michael@0 52 list-style-image: url("chrome://global/skin/icons/folder-item.png");
michael@0 53 -moz-image-region: rect(0px, 32px, 16px, 16px);
michael@0 54 }
michael@0 55
michael@0 56 treechildren::-moz-tree-image(title, open) {
michael@0 57 -moz-image-region: rect(16px, 32px, 32px, 16px);
michael@0 58 }
michael@0 59
michael@0 60 treechildren::-moz-tree-image(title, container, livemark) {
michael@0 61 list-style-image: url("chrome://browser/skin/livemark-folder.png");
michael@0 62 -moz-image-region: auto;
michael@0 63 }
michael@0 64
michael@0 65 treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) {
michael@0 66 list-style-image: url("chrome://browser/skin/places/allBookmarks.png");
michael@0 67 -moz-image-region: auto;
michael@0 68 }
michael@0 69
michael@0 70 treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) {
michael@0 71 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
michael@0 72 -moz-image-region: auto;
michael@0 73 }
michael@0 74
michael@0 75 treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) {
michael@0 76 list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png");
michael@0 77 -moz-image-region: auto;
michael@0 78 }
michael@0 79
michael@0 80 treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) {
michael@0 81 list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png");
michael@0 82 -moz-image-region: auto;
michael@0 83 }
michael@0 84
michael@0 85 /* query-nodes should be styled even if they're not expandable */
michael@0 86 treechildren::-moz-tree-image(title, query) {
michael@0 87 list-style-image: url("chrome://browser/skin/places/query.png");
michael@0 88 -moz-image-region: auto;
michael@0 89 }
michael@0 90
michael@0 91 treechildren::-moz-tree-image(title, query, tagContainer),
michael@0 92 treechildren::-moz-tree-image(query, OrganizerQuery_Tags) {
michael@0 93 list-style-image: url("chrome://browser/skin/places/tag.png");
michael@0 94 -moz-image-region: auto;
michael@0 95 }
michael@0 96
michael@0 97 treechildren::-moz-tree-image(query, OrganizerQuery_Downloads) {
michael@0 98 list-style-image: url("chrome://browser/skin/places/downloads.png");
michael@0 99 -moz-image-region: auto;
michael@0 100 }
michael@0 101
michael@0 102 /* calendar icon for folders grouping items by date */
michael@0 103 treechildren::-moz-tree-image(title, query, dayContainer) {
michael@0 104 list-style-image: url("chrome://browser/skin/places/calendar.png");
michael@0 105 -moz-image-region: auto;
michael@0 106 }
michael@0 107
michael@0 108 treechildren::-moz-tree-image(title, query, hostContainer) {
michael@0 109 list-style-image: url("chrome://global/skin/icons/folder-item.png");
michael@0 110 -moz-image-region: rect(0px, 32px, 16px, 16px);
michael@0 111 }
michael@0 112
michael@0 113 treechildren::-moz-tree-image(title, query, hostContainer, open) {
michael@0 114 list-style-image: url("chrome://global/skin/icons/folder-item.png");
michael@0 115 -moz-image-region: rect(16px, 32px, 32px, 16px);
michael@0 116 }
michael@0 117
michael@0 118 treechildren::-moz-tree-image(title, query, OrganizerQuery_History) {
michael@0 119 list-style-image: url("chrome://browser/skin/places/history.png");
michael@0 120 }
michael@0 121
michael@0 122 /* We want some queries to look like ordinary folders. This must come
michael@0 123 after the (title, query) selector, or it would get overridden. */
michael@0 124 treechildren::-moz-tree-image(title, query, folder) {
michael@0 125 list-style-image: url("chrome://global/skin/icons/folder-item.png");
michael@0 126 -moz-image-region: rect(0px, 32px, 16px, 16px);
michael@0 127 }
michael@0 128
michael@0 129 treechildren::-moz-tree-image(title, query, folder, open) {
michael@0 130 -moz-image-region: rect(16px, 32px, 32px, 16px);
michael@0 131 }
michael@0 132
michael@0 133 treechildren::-moz-tree-image(cutting) {
michael@0 134 opacity: 0.5;
michael@0 135 }
michael@0 136
michael@0 137 treechildren::-moz-tree-cell-text(cutting) {
michael@0 138 opacity: 0.7;
michael@0 139 }
michael@0 140
michael@0 141 /* Browser Sidebars */
michael@0 142
michael@0 143 /* Default button vert. margins are 1px/2px, and this can cause misalignment */
michael@0 144 #viewButton {
michael@0 145 margin-top: 2px;
michael@0 146 margin-bottom: 2px;
michael@0 147 }
michael@0 148
michael@0 149 #viewButton > .button-box > .button-menu-dropmarker {
michael@0 150 height: auto;
michael@0 151 width: auto;
michael@0 152 -moz-margin-end: -3px;
michael@0 153 }

mercurial