Last change
on this file since 28599 was 28599, checked in by jlwhisler, 10 years ago |
Draft interface for use in Defining Libraries tutorial.
|
File size:
1.5 KB
|
Line | |
---|
1 | .tip-violet {
|
---|
2 | z-index:1000;
|
---|
3 | text-align:left;
|
---|
4 | border:1px solid #afafaf;
|
---|
5 | padding:7px;
|
---|
6 | min-width:50px;
|
---|
7 | max-width:530px;
|
---|
8 | color:#860404;
|
---|
9 | background-color:#f2e7fd;
|
---|
10 | background-image:url(tip-violet.png); /* bgImageFrameSize >= 9 should work fine */
|
---|
11 | /**
|
---|
12 | * - If you set a background-image, border/padding/background-color will be ingnored.
|
---|
13 | * You can set any padding to .tip-inner instead if you need.
|
---|
14 | * - If you want a tiled background-image and border/padding for the tip,
|
---|
15 | * set the background-image to .tip-inner instead.
|
---|
16 | */
|
---|
17 | }
|
---|
18 | .tip-violet .tip-inner {
|
---|
19 | font:bold 12px/18px 'trebuchet ms',arial,helvetica,sans-serif;
|
---|
20 | margin-top:-1px;
|
---|
21 | padding:0 3px 2px 3px;
|
---|
22 | }
|
---|
23 |
|
---|
24 | /* Configure an arrow image - the script will automatically position it on the correct side of the tip */
|
---|
25 | .tip-violet .tip-arrow-top {
|
---|
26 | margin-top:-7px;
|
---|
27 | margin-left:15px;
|
---|
28 | top:0;
|
---|
29 | left:0;
|
---|
30 | width:16px;
|
---|
31 | height:10px;
|
---|
32 | background:url(tip-violet_arrows.png) no-repeat;
|
---|
33 | }
|
---|
34 | .tip-violet .tip-arrow-right {
|
---|
35 | margin-top:-9px; /* approx. half the height to center it */
|
---|
36 | margin-left:-4px;
|
---|
37 | top:50%;
|
---|
38 | left:100%;
|
---|
39 | width:10px;
|
---|
40 | height:20px;
|
---|
41 | background:url(tip-violet_arrows.png) no-repeat -16px 0;
|
---|
42 | }
|
---|
43 | .tip-violet .tip-arrow-bottom {
|
---|
44 | margin-top:-6px;
|
---|
45 | margin-left:15px;
|
---|
46 | top:100%;
|
---|
47 | left:0;
|
---|
48 | width:16px;
|
---|
49 | height:13px;
|
---|
50 | background:url(tip-violet_arrows.png) no-repeat -32px 0;
|
---|
51 | }
|
---|
52 | .tip-violet .tip-arrow-left {
|
---|
53 | margin-top:-9px; /* approx. half the height to center it */
|
---|
54 | margin-left:-6px;
|
---|
55 | top:50%;
|
---|
56 | left:0;
|
---|
57 | width:10px;
|
---|
58 | height:20px;
|
---|
59 | background:url(tip-violet_arrows.png) no-repeat -48px 0;
|
---|
60 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.