source: documentation/trunk/tutorial_sample_files/libraries/althor/js/poshytip-1.1/src/tip-darkgray/tip-darkgray.css@ 28599

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.6 KB
Line 
1.tip-darkgray {
2 opacity:0.95;
3 z-index:1000;
4 text-align:left;
5 text-shadow:#444 0 1px 1px;
6 border:1px solid #888;
7 padding:8px;
8 min-width:50px;
9 max-width:530px;
10 color:#fff;
11 background-color:#999;
12 background-image:url(tip-darkgray.png); /* bgImageFrameSize >= 11 should work fine */
13 /**
14 * - If you set a background-image, border/padding/background-color will be ingnored.
15 * You can set any padding to .tip-inner instead if you need.
16 * - If you want a tiled background-image and border/padding for the tip,
17 * set the background-image to .tip-inner instead.
18 */
19}
20.tip-darkgray .tip-inner {
21 font:bold 12px/18px arial,helvetica,sans-serif;
22 margin-top:-1px;
23 padding:0 4px 3px 4px;
24}
25
26/* Configure an arrow image - the script will automatically position it on the correct side of the tip */
27.tip-darkgray .tip-arrow-top {
28 margin-top:-7px;
29 margin-left:15px;
30 top:0;
31 left:0;
32 width:16px;
33 height:10px;
34 background:url(tip-darkgray_arrows.png) no-repeat;
35}
36.tip-darkgray .tip-arrow-right {
37 margin-top:-9px; /* approx. half the height to center it */
38 margin-left:-7px;
39 top:50%;
40 left:100%;
41 width:11px;
42 height:21px;
43 background:url(tip-darkgray_arrows.png) no-repeat -22px 0;
44}
45.tip-darkgray .tip-arrow-bottom {
46 margin-top:-7px;
47 margin-left:15px;
48 top:100%;
49 left:0;
50 width:22px;
51 height:13px;
52 background:url(tip-darkgray_arrows.png) no-repeat -44px 0;
53}
54.tip-darkgray .tip-arrow-left {
55 margin-top:-9px; /* approx. half the height to center it */
56 margin-left:-6px;
57 top:50%;
58 left:0;
59 width:11px;
60 height:21px;
61 background:url(tip-darkgray_arrows.png) no-repeat -66px 0;
62}
Note: See TracBrowser for help on using the repository browser.