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

« back to all changes in this revision

Viewing changes to mozilla/toolkit/themes/qute/global/colorpicker.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-1999 Netscape Communications Corporation. All
 
18
 * Rights Reserved.
 
19
 *
 
20
 * Contributor(s):
 
21
 *
 
22
 */
 
23
 
 
24
/* ===== colorpicker.css ================================================
 
25
  == Styles used by the XUL colorpicker element.
 
26
  ======================================================================= */
 
27
 
 
28
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
29
 
 
30
/* ::::: colorpicker button ::::: */
 
31
 
 
32
/* colorpicker button */
 
33
 
 
34
colorpicker[type="button"] {
 
35
  width: 38px;
 
36
  height: 24px;
 
37
  border: 2px solid;
 
38
  -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
 
39
  -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
 
40
  -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
 
41
  -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
 
42
  background-color: ThreeDFace;
 
43
  padding: 3px;
 
44
}
 
45
 
 
46
.colorpicker-button-colorbox {
 
47
  border: 1px solid #000000;
 
48
}
 
49
 
 
50
colorpicker[type="button"]:focus {
 
51
  -moz-border-top-colors: ThreeDDarkShadow ThreeDHighlight;
 
52
  -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
 
53
  -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
 
54
  -moz-border-left-colors: ThreeDDarkShadow ThreeDHighlight;
 
55
}
 
56
 
 
57
colorpicker[type="button"][open="true"] {
 
58
  -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
 
59
  -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
 
60
  -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
 
61
  -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
 
62
}
 
63
 
 
64
/* ::::: colorpicker tiles ::::: */
 
65
 
 
66
.colorpickertile {
 
67
  width                 : 20px;
 
68
  height                : 20px;
 
69
  margin                : 1px;
 
70
  border-left           : 1px solid ThreeDShadow;
 
71
  border-top            : 1px solid ThreeDShadow;
 
72
  border-right          : 1px solid ThreeDHighlight;
 
73
  border-bottom         : 1px solid ThreeDHighlight;
 
74
}
 
75
 
 
76
.colorpickertile[selected="true"] {
 
77
  border : 2px outset #C0C0C0;
 
78
 
 
79
}
 
80
 
 
81
.colorpickertile[hover="true"] {
 
82
  border : 2px dotted #FFFFFF;
 
83
}
 
84
 
 
85
.cp-light[hover="true"] {
 
86
  border : 2px dotted #909090;
 
87
}