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

« back to all changes in this revision

Viewing changes to mozilla/toolkit/themes/qute/help/help.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: MPL 1.1/GPL 2.0/LGPL 2.1
 
3
#
 
4
# The contents of this file are subject to the Mozilla Public License Version
 
5
# 1.1 (the "License"); you may not use this file except in compliance with
 
6
# the License. You may obtain a copy of the License at
 
7
# http://www.mozilla.org/MPL/
 
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 Help CSS
 
15
#
 
16
# The Initial Developer of the Original Code is
 
17
# R.J. Keller
 
18
# Portions created by the Initial Developer are Copyright (C) 2003
 
19
# the Initial Developer. All Rights Reserved.
 
20
#
 
21
# Contributor(s):
 
22
#
 
23
# Alternatively, the contents of this file may be used under the terms of
 
24
# either the GNU General Public License Version 2 or later (the "GPL"), or
 
25
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
26
# in which case the provisions of the GPL or the LGPL are applicable instead
 
27
# of those above. If you wish to allow use of your version of this file only
 
28
# under the terms of either the GPL or the LGPL, and not to allow others to
 
29
# use your version of this file under the terms of the MPL, indicate your
 
30
# decision by deleting the provisions above and replace them with the notice
 
31
# and other provisions required by the GPL or the LGPL. If you do not delete
 
32
# the provisions above, a recipient may use your version of this file under
 
33
# the terms of any one of the MPL, the GPL or the LGPL.
 
34
#
 
35
# ***** END LICENSE BLOCK *****
 
36
@import url("chrome://global/skin/");
 
37
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
38
 
 
39
.toolbarbutton-1 {
 
40
        -moz-box-orient: vertical;
 
41
        min-width: 0px;
 
42
#ifdef MOZ_PHOENIX
 
43
        list-style-image: url("chrome://browser/skin/Toolbar.png");
 
44
#else
 
45
        list-style-image: url("chrome://help/skin/Toolbar.png");
 
46
#endif
 
47
}
 
48
 
 
49
 #help-zoom-large-button,
 
50
 #help-zoom-small-button,
 
51
 #help-sidebar-button {
 
52
        list-style-image: url("chrome://help/skin/zoomImg.png");
 
53
}
 
54
 
 
55
toolbarbutton:not([disabled="true"]):hover,
 
56
menubutton:not([disabled="true"]):hover,
 
57
toolbarbutton:not([disabled="true"]):hover:active,
 
58
menubutton:not([disabled="true"]):hover:active {
 
59
        color: ButtonText !important;
 
60
}
 
61
 
 
62
# *** BEGIN TOOLBAR BUTTON CODE ***
 
63
# All toolbar button images are 30x30 for the Help Viewer.
 
64
#
 
65
 #help-back-button { -moz-image-region: rect(0px 30px 30px 0px); }
 
66
 #help-back-button[buttonover="true"] { -moz-image-region: rect(30px 30px 60px 0px); }
 
67
 #help-back-button[disabled="true"] { -moz-image-region: rect(60px 30px 90px 0px); }
 
68
 
 
69
 #help-forward-button { -moz-image-region: rect(0px 60px 30px 30px); }
 
70
 #help-forward-button[buttonover="true"] { -moz-image-region: rect(30px 60px 60px 30px); }
 
71
 #help-forward-button[disabled="true"] { -moz-image-region: rect(60px 60px 90px 30px); }
 
72
 
 
73
 #help-find-button { -moz-image-region: rect(0px 240px 30px 210px); }
 
74
 #help-find-button:hover { -moz-image-region: rect(30px 240px 60px 210px); }
 
75
 
 
76
 #help-toolbar-customization { -moz-image-region: rect(0px 330px 30px 300px); }
 
77
 #help-toolbar-customization:hover { -moz-image-region: rect(30px 330px 60px 300px); }
 
78
 
 
79
 #help-home-button { -moz-image-region: rect(0px 150px 30px 120px); }
 
80
 #help-home-button:hover { -moz-image-region: rect(30px 150px 60px 120px); }
 
81
 
 
82
 #help-print-button { -moz-image-region: rect(0px 270px 30px 240px); }
 
83
 #help-print-button:hover { -moz-image-region: rect(30px 270px 60px 240px); }
 
84
 
 
85
 #help-zoom-large-button { -moz-image-region: rect(0px 30px 30px 0px); }
 
86
 #help-zoom-large-button:hover { -moz-image-region: rect(30px 30px 60px 0px); }
 
87
 
 
88
 #help-zoom-small-button { -moz-image-region: rect(0px 60px 30px 30px); }
 
89
 #help-zoom-small-button:hover { -moz-image-region: rect(30px 60px 60px 30px); }
 
90
 
 
91
 #help-sidebar-button { -moz-image-region: rect(0px 90px 60px 60px); }
 
92
 #help-sidebar-button { -moz-image-region: rect(30px 90px 60px 60px); }
 
93
 
 
94
# ** Toolbar Customization stuff **
 
95
toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-icon,
 
96
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text 
 
97
toolbar[mode="icons"] > toolbarbutton[type="menu-button"] > .toolbarbutton-icon,
 
98
toolbar[mode="text"] > toolbarbutton[type="menu-button"] > .toolbarbutton-text {
 
99
        display: -moz-box;
 
100
}
 
101
 
 
102
toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-text,
 
103
toolbar[mode="text"] > toolbarbutton > .toolbarbutton-icon,
 
104
toolbar[mode="text"] > toolbarbutton > toolbarbutton > .toolbarbutton-icon,
 
105
toolbar[mode="icons"] > toolbarbutton > toolbarbutton > .toolbarbutton-text {
 
106
        display: none;
 
107
}
 
108
 
 
109
# Small icons are not supported.
 
110
 #smallicons { display: none; }
 
111
 
 
112
# *** THROBBER ***
 
113
 #help-throbber {
 
114
  -moz-appearance: none;
 
115
  -moz-user-focus: ignore;
 
116
  margin: 0 !important;
 
117
  border: none !important;
 
118
  padding: 0px !important;
 
119
  min-width: 0;
 
120
  background-color: transparent;
 
121
#ifdef MOZ_PHOENIX
 
122
  list-style-image: url("chrome://browser/skin/Throbber.png");
 
123
#else
 
124
  list-style-image: url("chrome://help/skin/throbber.png");
 
125
#endif
 
126
}
 
127
 
 
128
 #help-throbber[busy="true"] {
 
129
#ifdef MOZ_PHOENIX
 
130
  list-style-image: url("chrome://global/skin/icons/Loading.gif");
 
131
#else
 
132
  list-style-image: url("chrome://help/skin/throbber-busy.gif");
 
133
#endif
 
134
}