-
Notifications
You must be signed in to change notification settings - Fork 790
Expand file tree
/
Copy pathui.src
More file actions
184 lines (155 loc) · 6.2 KB
/
ui.src
File metadata and controls
184 lines (155 loc) · 6.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<!-- $Id: ui.src,v 1.19 1997-12-12 18:03:22 ijacobs Exp $ -->
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>User interface</TITLE>
<LINK rel="next" href="aural.html">
<LINK rel="previous" href="tables.html">
<LINK rel="STYLESHEET" href="style/default.css" type="text/css">
</HEAD>
<BODY>
<H1 align="center">User interface</H1>
<H2><a name="cursor-props">Cursors</a> the <span
class="propinst-cursor">'cursor'</span> property</H2>
<!-- #include src=properties/cursor.srb -->
<P>This property specifies the type of cursor to be displayed for the
mouse pointer. The values have the following meanings:
<dl>
<dt><strong>auto</strong>
<dd>The UA determines the cursor to display based on the current
context.
<dt><strong>crosshair</strong>
<dd>A simple crosshair
<dt><strong>default</strong>
<dd>The platform-dependent default cursor. Often rendered as an arrow.
<dt><strong>pointer</strong>
<dd>The cursor is a pointer that indicates a link.
<dt><strong>move</strong>
<dd>Indicates something is to be moved
<dt><strong>*-resize</strong>
<dd>Indicates that the edge is to be moved.
<dt><strong>text</strong>
<dd> Indicates text that may be selected. Often rendered as an I-bar.
<dt><strong>wait</strong>
<dd>A cursor to indicate that the program is busy and the user should
wait. Often rendered as a watch or hourglass.
<dt><strong>help</strong>
<dd>Help is available for the object under the cursor. Often rendered
as a question mark or a balloon.
<dt><strong><span class="value-inst-uri"><uri></span></strong>
<dd>The user agent should retrieve the cursor from the resource
designated by the URI. It is considered an error if the resource is
not a proper cursor. User agents may handle this error condition in
different ways.
</dl>
<div class="example"><P>
The following example makes the cursor stored in the
resource <samp>mything.cur</samp> the "text" cursor.
<PRE>
{ cursor : text url(mything.cur) }
</PRE>
</div>
<P>CSS2 does not allow users to specify animated cursors.
<H2><a name="system-colors">User preferences for colors</a></H2>
<p>In addition to being able to assign pre-defined color values to
text, backgrounds, etc. CSS2 allows authors to specify colors in a
manner that integrates them into the user's graphic environment. For
instance, color blind users may have their environment configured to
avoid specific colors. Style rules that take into account user
preferences thus offer the following advantages:
<ol>
<li>They produce pages that fit the user's defined look and feel.</li>
<li>They produce pages that may be more accessible as the current user
settings may be related to a disability.</li>
</ol>
<p>The set of values defined for system colors is intended to
be exhaustive. For systems that do not expose a corresponding
value, it should be mapped to the nearest system attribute, or to
a default color.</p>
<p>The following lists additional values for color related CSS
attributes and their general meaning. Any color property (e.g., <span
class="propinst-color">'color'</span> or <span
class="propinst-background-color">'background-color'</span>) can take
one of the following names:</p>
<dl>
<dt><strong>activeborder</strong>
<dd>Active window border.
<dt><strong>activecaption</strong>
<dd>Active window caption.
<dt><strong>appworkspace</strong>
<dd>Background color of multiple document interface.
<dt><strong>background</strong>
<dd>Desktop background.
<dt><strong>buttonface</strong>
<dd>Face color for three-dimensional display elements.
<dt><strong>buttonhighlight</strong>
<dd>Dark shadow for three-dimensional display elements (for
edges facing away from the light source).
<dt><strong></strong>
<dd>Shadow color for three-dimensional display elements.
<dt><strong>buttontext</strong>
<dd>Text on push buttons.
<dt><strong>captiontext</strong>
<dd>Text in caption, size box, and scroll bar arrow box.
<dt><strong>graytext</strong>
<dd>Grayed (disabled) text. This color is set to #000 if
the current display driver does not support a solid gray color.
<dt><strong>highlight</strong>
<dd>Item(s) selected in a control.
<dt><strong>highlighttext</strong>
<dd>Text of item(s) selected in a control.
<dt><strong>inactiveborder</strong>
<dd>Inactive window border.
<dt><strong>inactivecaption</strong>
<dd>Inactive window caption.
<dt><strong>inactivecaptiontext</strong>
<dd>Color of text in an inactive caption.
<dt><strong>infobackground</strong>
<dd>Background color for tooltip controls.
<dt><strong>infotext</strong>
<dd>Text color for tooltip controls.
<dt><strong>menu</strong>
<dd>Menu background.
<dt><strong>menutext</strong>
<dd>Text in menus.
<dt><strong>scrollbar</strong>
<dd>Scroll bar gray area.
<dt><strong>threeddarkshadow</strong>
<dd>Dark shadow for three-dimensional display elements.
<dt><strong>threedface</strong>
<dd>Face color for three-dimensional display elements.
<dt><strong>threedhighlight</strong>
<dd>Highlight color for three-dimensional display elements.
<dt><strong>threedlightshadow</strong>
<dd>Light color for three-dimensional display elements
(for edges facing the light source).
<dt><strong>threedshadow</strong>
<dd>Dark shadow for three-dimensional display elements.
<dt><strong>window</strong>
<dd>Window background.
<dt><strong>windowframe</strong>
<dd>Window frame.
<dt><strong>windowtext</strong>
<dd>Text in windows.
</dl>
<div class="example"><P>
For example, to set the foreground and background colors of a paragraph
to the same foreground and background colors of the user's window,
write the following:
<PRE>
P { color: windowtext; background-color: window }
</PRE>
</div>
<H2>Other rendering issues that depend on user agents</H2>
<H3>Magnification</H3>
<P>The CSS working group considers that the magnification of a
document or portions of a document should not be specified through
style sheets. User agents may support such magnification in different ways
(e.g., larger images, louder sounds, etc.)
<P>When magnifying a page, UAs should preserve the relationships
between positioned elements. For example, a comic strip may be
composed of images with overlaid text elements. When magnifying this
page, a user agent should keep the text within the comic strip balloon.
</BODY>
</html>