browser/themes/linux/places/places.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/themes/linux/places/places.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,216 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +/* Sidebars */
     1.9 +.sidebar-placesTree {
    1.10 +  margin: 0;
    1.11 +}
    1.12 +
    1.13 +.sidebar-placesTreechildren::-moz-tree-cell(leaf) ,
    1.14 +.sidebar-placesTreechildren::-moz-tree-image(leaf) {
    1.15 +  cursor: pointer;
    1.16 +}
    1.17 +
    1.18 +.sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) {
    1.19 +  cursor: pointer;
    1.20 +  text-decoration: underline;
    1.21 +}
    1.22 +
    1.23 +.sidebar-placesTreechildren::-moz-tree-cell(separator) {
    1.24 +  cursor: default;
    1.25 +}
    1.26 +
    1.27 +/* Trees */
    1.28 +treechildren::-moz-tree-image(title) {
    1.29 +  padding-right: 2px;
    1.30 +  margin: 0px 2px;
    1.31 +  width: 16px;
    1.32 +  height: 16px;
    1.33 +  list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
    1.34 +}
    1.35 +
    1.36 +treechildren::-moz-tree-image(title, livemarkItem) {
    1.37 +  list-style-image: url("chrome://browser/skin/places/livemark-item.png");
    1.38 +  -moz-image-region: rect(0px, 16px, 16px, 0px);
    1.39 +}
    1.40 +
    1.41 +treechildren::-moz-tree-image(title, livemarkItem, visited) {
    1.42 +  -moz-image-region: rect(0px, 32px, 16px, 16px);
    1.43 +}
    1.44 +
    1.45 +treechildren::-moz-tree-image(title, separator) {
    1.46 +  list-style-image: none;
    1.47 +  width: 0;
    1.48 +  height: 0;
    1.49 +}
    1.50 +
    1.51 +treechildren::-moz-tree-image(title, container) {
    1.52 +  list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
    1.53 +}
    1.54 +
    1.55 +treechildren::-moz-tree-image(title, container, livemark) {
    1.56 +  list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
    1.57 +  -moz-image-region: auto;
    1.58 +}
    1.59 +
    1.60 +treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) {
    1.61 +  list-style-image: url("chrome://browser/skin/Toolbar-small.png");
    1.62 +  -moz-image-region: rect(0px 48px 16px 32px);
    1.63 +}
    1.64 +
    1.65 +treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) {
    1.66 +  list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
    1.67 +  -moz-image-region: auto;
    1.68 +}
    1.69 +
    1.70 +treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) {
    1.71 +  list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png");
    1.72 +  -moz-image-region: auto;
    1.73 +}
    1.74 +
    1.75 +treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) {
    1.76 +  list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png");
    1.77 +  -moz-image-region: auto;
    1.78 +}
    1.79 +
    1.80 +/* query-nodes should be styled even if they're not expandable */
    1.81 +treechildren::-moz-tree-image(title, query) {
    1.82 +  list-style-image: url("chrome://browser/skin/places/query.png");
    1.83 +}
    1.84 +
    1.85 +treechildren::-moz-tree-image(query, OrganizerQuery_Downloads) {
    1.86 +  list-style-image: url("chrome://browser/skin/places/downloads.png");
    1.87 +  -moz-image-region: auto;
    1.88 +}
    1.89 +
    1.90 +treechildren::-moz-tree-image(title, query, tagContainer),
    1.91 +treechildren::-moz-tree-image(query, OrganizerQuery_Tags) {
    1.92 +  list-style-image: url("chrome://browser/skin/places/tag.png");
    1.93 +}
    1.94 +
    1.95 +/* calendar icon for folders grouping items by date */
    1.96 +treechildren::-moz-tree-image(title, query, dayContainer) {
    1.97 +  list-style-image: url("chrome://browser/skin/places/calendar.png");
    1.98 +}
    1.99 +
   1.100 +treechildren::-moz-tree-image(title, query, hostContainer) {
   1.101 +  list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
   1.102 +}
   1.103 +
   1.104 +treechildren::-moz-tree-image(title, query, hostContainer, open) {
   1.105 +  list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
   1.106 +}
   1.107 +
   1.108 +treechildren::-moz-tree-image(title, query, OrganizerQuery_History) {
   1.109 +  list-style-image: url("chrome://browser/skin/Toolbar-small.png");
   1.110 +  -moz-image-region: rect(0px 32px 16px 16px);
   1.111 +}
   1.112 +
   1.113 +/* We want some queries to look like ordinary folders. This must come
   1.114 +   after the (title, query) selector, or it would get overridden. */
   1.115 +treechildren::-moz-tree-image(title, query, folder) {
   1.116 +  list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
   1.117 +}
   1.118 +
   1.119 +treechildren::-moz-tree-image(cutting) {
   1.120 +  opacity: 0.5;
   1.121 +}
   1.122 +
   1.123 +treechildren::-moz-tree-cell-text(cutting) {
   1.124 +  opacity: 0.7;
   1.125 +}
   1.126 +
   1.127 +/**** menuitem stock icons ****/
   1.128 +menuitem:not([type]) {
   1.129 +  -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
   1.130 +}
   1.131 +
   1.132 +menuitem[command="cmd_cut"],
   1.133 +menuitem[cmd="cmd_cut"] {
   1.134 +  list-style-image: url("moz-icon://stock/gtk-cut?size=menu");
   1.135 +}
   1.136 +
   1.137 +menuitem[command="cmd_cut"][disabled],
   1.138 +menuitem[cmd="cmd_cut"][disabled] {
   1.139 +  list-style-image: url("moz-icon://stock/gtk-cut?size=menu&state=disabled");
   1.140 +}
   1.141 +
   1.142 +menuitem[command="cmd_copy"],
   1.143 +menuitem[cmd="cmd_copy"] {
   1.144 +  list-style-image: url("moz-icon://stock/gtk-copy?size=menu");
   1.145 +}
   1.146 +
   1.147 +menuitem[command="cmd_copy"][disabled],
   1.148 +menuitem[cmd="cmd_copy"][disabled] {
   1.149 +  list-style-image: url("moz-icon://stock/gtk-copy?size=menu&state=disabled");
   1.150 +}
   1.151 +
   1.152 +menuitem[command="cmd_paste"],
   1.153 +menuitem[cmd="cmd_paste"] {
   1.154 +  list-style-image: url("moz-icon://stock/gtk-paste?size=menu");
   1.155 +}
   1.156 +
   1.157 +menuitem[command="cmd_paste"][disabled],
   1.158 +menuitem[cmd="cmd_paste"][disabled] {
   1.159 +  list-style-image: url("moz-icon://stock/gtk-paste?size=menu&state=disabled");
   1.160 +}
   1.161 +
   1.162 +menuitem[command="cmd_delete"],
   1.163 +menuitem[cmd="cmd_delete"] {
   1.164 +  list-style-image: url("moz-icon://stock/gtk-delete?size=menu");
   1.165 +}
   1.166 +
   1.167 +menuitem[command="cmd_delete"][disabled],
   1.168 +menuitem[cmd="cmd_delete"][disabled] {
   1.169 +  list-style-image: url("moz-icon://stock/gtk-delete?size=menu&state=disabled");
   1.170 +}
   1.171 +
   1.172 +menuitem[command="cmd_undo"],
   1.173 +menuitem[cmd="cmd_undo"] {
   1.174 +  list-style-image: url("moz-icon://stock/gtk-undo?size=menu");
   1.175 +}
   1.176 +
   1.177 +menuitem[command="cmd_undo"][disabled],
   1.178 +menuitem[cmd="cmd_undo"][disabled] {
   1.179 +  list-style-image: url("moz-icon://stock/gtk-undo?size=menu&state=disabled");
   1.180 +}
   1.181 +
   1.182 +menuitem[command="cmd_redo"] {
   1.183 +  list-style-image: url("moz-icon://stock/gtk-redo?size=menu");
   1.184 +}
   1.185 +
   1.186 +menuitem[command="cmd_redo"][disabled] {
   1.187 +  list-style-image: url("moz-icon://stock/gtk-redo?size=menu&state=disabled");
   1.188 +}
   1.189 +
   1.190 +menuitem[command="cmd_selectAll"],
   1.191 +menuitem[cmd="cmd_selectAll"] {
   1.192 +  list-style-image: url("moz-icon://stock/gtk-select-all?size=menu");
   1.193 +}
   1.194 +
   1.195 +menuitem[command="cmd_selectAll"][disabled],
   1.196 +menuitem[cmd="cmd_selectAll"][disabled] {
   1.197 +  list-style-image: url("moz-icon://stock/gtk-select-all?size=menu&state=disabled");
   1.198 +}
   1.199 +
   1.200 +#placesContext_open\:newwindow,
   1.201 +menuitem[command="placesCmd_open:window"] {
   1.202 +  list-style-image: url("chrome://browser/skin/Toolbar-small.png");
   1.203 +  -moz-image-region: rect(0px 80px 16px 64px);
   1.204 +}
   1.205 +
   1.206 +#placesContext_open\:newtab,
   1.207 +menuitem[command="placesCmd_open:tab"] {
   1.208 +  list-style-image: url("chrome://browser/skin/Toolbar-small.png");
   1.209 +  -moz-image-region: rect(0px 64px 16px 48px);
   1.210 +}
   1.211 +
   1.212 +#placesContext_show\:info,
   1.213 +menuitem[command="placesCmd_show:info"] {
   1.214 +  list-style-image: url("moz-icon://stock/gtk-properties?size=menu");
   1.215 +}
   1.216 +
   1.217 +#placesContext_reload {
   1.218 +  list-style-image: url("moz-icon://stock/gtk-refresh?size=menu");
   1.219 +}

mercurial