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

« back to all changes in this revision

Viewing changes to mozilla/themes/classic/global/mac/toolbar.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
/*
 
2
 * The contents of this file are subject to the Netscape Public
 
3
 * License Version 1.1 (the "License"); you may not use this file
 
4
 * except in compliance with the License. You may obtain a copy of
 
5
 * the License at http://www.mozilla.org/NPL/
 
6
 *
 
7
 * Software distributed under the License is distributed on an "AS
 
8
 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 
9
 * implied. See the License for the specific language governing
 
10
 * rights and limitations under the License.
 
11
 *
 
12
 * The Original Code is Mozilla Communicator client code, released
 
13
 * March 31, 1998.
 
14
 *
 
15
 * The Initial Developer of the Original Code is Netscape
 
16
 * Communications Corporation. Portions created by Netscape are
 
17
 * Copyright (C) 1998-2001 Netscape Communications Corporation. All
 
18
 * Rights Reserved.
 
19
 *
 
20
 * Contributor(s):
 
21
 *   Joe Hewitt (hewitt@netscape.com)
 
22
 */
 
23
 
 
24
/* ===== toolbar.css ====================================================
 
25
  == Styles used by XUL toolbar-related elements.
 
26
  ======================================================================= */
 
27
 
 
28
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
29
 
 
30
/* ::::: toolbox ::::: */
 
31
 
 
32
toolbox {
 
33
  -moz-appearance: toolbox;
 
34
  background-color: -moz-Dialog;
 
35
  border-left: 1px solid ThreeDShadow;
 
36
  border-top: 1px solid ThreeDShadow;
 
37
  border-right: none;
 
38
  border-bottom: 1px solid #000000;
 
39
}
 
40
 
 
41
/* ::::: toolbar & menubar ::::: */
 
42
 
 
43
toolbar,
 
44
menubar {
 
45
  -moz-appearance: toolbar;
 
46
  min-width: 1px; /* DON'T DELETE!
 
47
    Prevents hiding of scrollbars in browser when window is made smaller.*/
 
48
}
 
49
 
 
50
.toolbar-holder {
 
51
  border-left: 1px solid ThreeDHighlight;
 
52
  border-top: 1px solid ThreeDHighlight;
 
53
  border-right: 1px solid ThreeDShadow;
 
54
  border-bottom: 1px solid ThreeDShadow;
 
55
}  
 
56
 
 
57
/* ::::: toolbargrippy ::::: */
 
58
 
 
59
toolbargrippy {
 
60
  -moz-box-orient: vertical;
 
61
  -moz-box-align: center;
 
62
  border-left: 1px solid ThreeDHighlight;
 
63
  border-top: 1px solid ThreeDHighlight;
 
64
  border-right: 1px solid ThreeDShadow;
 
65
  border-bottom: 1px solid ThreeDShadow;
 
66
  width: 10px;
 
67
  padding: 2px 1px;
 
68
  list-style-image: url("chrome://global/skin/toolbar/tbgrip-arrow.gif");
 
69
}
 
70
 
 
71
toolbargrippy:hover {
 
72
  background-color: #CCCCFF;
 
73
}
 
74
 
 
75
.toolbargrippy-texture {
 
76
  margin-top: 2px;
 
77
  width: 6px;
 
78
  background: url("chrome://global/skin/toolbar/tbgrip-texture.gif");
 
79
}
 
80
 
 
81
/* ::::: collapsed tray and grippies ::::: */
 
82
 
 
83
toolbargrippy[tbgrippy-collapsed="true"] {
 
84
  -moz-box-orient: horizontal;
 
85
  border-left: 1px solid ThreeDHighlight;
 
86
  border-top: 1px solid ThreeDHighlight;
 
87
  border-right: 1px solid ThreeDShadow;
 
88
  border-bottom: 1px solid ThreeDShadow;
 
89
  width: 40px;
 
90
  height: 10px;
 
91
  padding: 1px 2px;
 
92
  list-style-image: url("chrome://global/skin/toolbar/tbgrip-arrow-clps.gif");
 
93
}
 
94
 
 
95
toolbargrippy[tbgrippy-collapsed="true"] > .toolbargrippy-texture {
 
96
  margin-top: 0;
 
97
  margin-left: 2px;
 
98
  width: 0px;
 
99
  height: 6px;
 
100
}
 
101
 
 
102
.collapsed-tray-spacer {
 
103
  border-bottom: 1px solid ThreeDShadow;
 
104
}  
 
105
 
 
106
/* ::::: toolbarseparator ::::: */
 
107
 
 
108
toolbarseparator {
 
109
  -moz-appearance       : separator;
 
110
  margin                : 2px 0.2em 2px 0.2em;
 
111
  border-right          : 1px solid ThreeDHighlight; 
 
112
  border-left           : 1px solid ThreeDShadow;
 
113
  width                 : 2px;
 
114
}
 
115