~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/themes/modern/communicator/bookmarks/bookmarksToolbar.css

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ***** BEGIN LICENSE BLOCK *****
 
2
 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
 
3
 *
 
4
 * The contents of this file are subject to the Netscape Public License
 
5
 * Version 1.1 (the "License"); you may not use this file except in
 
6
 * compliance with the License. You may obtain a copy of the License at
 
7
 * http://www.mozilla.org/NPL/
 
8
 *
 
9
 * Software distributed under the License is distributed on an "AS IS" basis,
 
10
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
11
 * for the specific language governing rights and limitations under the
 
12
 * License.
 
13
 *
 
14
 * The Original Code is mozilla.org code.
 
15
 *
 
16
 * The Initial Developer of the Original Code is 
 
17
 * Netscape Communications Corporation.
 
18
 * Portions created by the Initial Developer are Copyright (C) 1998
 
19
 * the Initial Developer. All Rights Reserved.
 
20
 *
 
21
 * Contributor(s):
 
22
 *  Ben Goodger <ben@netscape.com>
 
23
 *  Josh Soref  <timeless@mac.com>
 
24
 *  Joe Hewitt <hewitt@netscape.com>
 
25
 *
 
26
 * Alternatively, the contents of this file may be used under the terms of
 
27
 * either the GNU General Public License Version 2 or later (the "GPL"), or 
 
28
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
29
 * in which case the provisions of the GPL or the LGPL are applicable instead
 
30
 * of those above. If you wish to allow use of your version of this file only
 
31
 * under the terms of either the GPL or the LGPL, and not to allow others to
 
32
 * use your version of this file under the terms of the NPL, indicate your
 
33
 * decision by deleting the provisions above and replace them with the notice
 
34
 * and other provisions required by the GPL or the LGPL. If you do not delete
 
35
 * the provisions above, a recipient may use your version of this file under
 
36
 * the terms of any one of the NPL, the GPL or the LGPL.
 
37
 *
 
38
 * ***** END LICENSE BLOCK ***** */
 
39
 
 
40
/* ===== bookmarksToolbar.css ===========================================
 
41
  == Styles specific to bookmark items in a toolbar.
 
42
  ======================================================================= */
 
43
 
 
44
@import url("chrome://communicator/skin/bookmarks/bookmarks.css");
 
45
 
 
46
/* ::::: bookmark toolbar buttons ::::: */
 
47
 
 
48
/* ..... bookmark items ..... */
 
49
 
 
50
toolbarbutton.bookmark-item {
 
51
  cursor: pointer;
 
52
  min-width: 0;
 
53
  max-width: 10em;  
 
54
}
 
55
 
 
56
toolbarbutton.bookmark-item:hover {
 
57
  text-decoration: underline;
 
58
}
 
59
 
 
60
toolbarbutton.bookmark-item[container="true"],
 
61
toolbarbutton.bookmark-item[container="true"]:hover {
 
62
  cursor: default;
 
63
  text-decoration: none;
 
64
}
 
65
 
 
66
/* removes border from non-container bookmark items */
 
67
toolbarbutton.bookmark-item:not([container="true"]):hover,
 
68
toolbarbutton.bookmark-item:not([container="true"]):hover:active {
 
69
  border: 1px solid transparent;
 
70
}
 
71
 
 
72
toolbarbutton.bookmark-item[disabled="true"] {
 
73
  cursor: default !important;
 
74
  text-decoration: none !important;
 
75
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-dis.gif") !important;
 
76
}
 
77
 
 
78
toolbarbutton.bookmark-item[disabled="true"][container="true"] {
 
79
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-dis.gif") !important;
 
80
}
 
81
 
 
82
.bookmark-item > .toolbarbutton-icon {
 
83
  width: 16px;
 
84
  height: 16px;
 
85
}
 
86
 
 
87
.bookmark-item > .toolbarbutton-menu-dropmarker {
 
88
  display: none;
 
89
}
 
90
 
 
91
/* ..... drag and drop styles ..... */
 
92
 
 
93
toolbarbutton.bookmark-item[dragover-left="true"] {
 
94
  border-left-color: #000000;
 
95
}
 
96
 
 
97
toolbarbutton.bookmark-item[dragover-right="true"] {
 
98
  border-right-color: #000000;
 
99
}
 
100
 
 
101
toolbarbutton.bookmark-item[dragover-top="true"] {
 
102
  border: 1px solid #000000;
 
103
}
 
104
 
 
105
/* ::::: bookmark menus ::::: */
 
106
 
 
107
menu.bookmark-item,
 
108
menuitem.bookmark-item {
 
109
  border-top: 1px solid transparent !important;
 
110
  border-bottom: 1px solid transparent !important;
 
111
  padding: 1px 3px 1px 2px;
 
112
  margin-top: -1px;
 
113
}
 
114
  
 
115
.bookmark-group {
 
116
  list-style-image: url(chrome://communicator/skin/bookmarks/bookmark-group.gif) !important;
 
117
}
 
118
 
 
119
menuitem.bookmark-item[disabled="true"] {
 
120
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-dis.gif");
 
121
}
 
122
 
 
123
menuitem.bookmark-item[disabled="true"][container="true"] {
 
124
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-dis.gif");
 
125
}
 
126
 
 
127
/* ..... drag and drop styles ..... */
 
128
 
 
129
menu.bookmark-item[dragover-top="true"],
 
130
menuitem.bookmark-item[dragover-top="true"] {
 
131
  border-top: 1px solid #000000 !important;
 
132
 
133
 
 
134
menu.bookmark-item[dragover-bottom="true"],
 
135
menuitem.bookmark-item[dragover-bottom="true"] {
 
136
  border-bottom: 1px solid #000000 !important;
 
137
}
 
138
 
 
139
menu.bookmark-item[dragover="true"] {
 
140
  background: #424F63 !important;
 
141
  color: #FFFFFF !important;
 
142
}
 
143