source: main/trunk/greenstone3/web/interfaces/therin/js/poshytip-1.1/src/tip-yellowsimple/tip-yellowsimple.css@ 28644

Last change on this file since 28644 was 28644, checked in by jlwhisler, 10 years ago

A new interface created using a CSS template by luiszuno.com. Based on the default interface.

File size: 1.6 KB
Line 
1.tip-yellowsimple {
2 z-index:1000;
3 text-align:left;
4 border:1px solid #c7bf93;
5 border-radius:4px;
6 -moz-border-radius:4px;
7 -webkit-border-radius:4px;
8 padding:6px 8px;
9 min-width:50px;
10 max-width:300px;
11 color:#000;
12 background-color:#fff9c9;
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-yellowsimple .tip-inner {
21 font:12px/16px arial,helvetica,sans-serif;
22}
23
24/* Configure an arrow image - the script will automatically position it on the correct side of the tip */
25.tip-yellowsimple .tip-arrow-top {
26 margin-top:-6px;
27 margin-left:-5px; /* approx. half the width to center it */
28 top:0;
29 left:50%;
30 width:9px;
31 height:6px;
32 background:url(tip-yellowsimple_arrows.gif) no-repeat;
33}
34.tip-yellowsimple .tip-arrow-right {
35 margin-top:-4px; /* approx. half the height to center it */
36 margin-left:0;
37 top:50%;
38 left:100%;
39 width:6px;
40 height:9px;
41 background:url(tip-yellowsimple_arrows.gif) no-repeat -9px 0;
42}
43.tip-yellowsimple .tip-arrow-bottom {
44 margin-top:0;
45 margin-left:-5px; /* approx. half the width to center it */
46 top:100%;
47 left:50%;
48 width:9px;
49 height:6px;
50 background:url(tip-yellowsimple_arrows.gif) no-repeat -18px 0;
51}
52.tip-yellowsimple .tip-arrow-left {
53 margin-top:-4px; /* approx. half the height to center it */
54 margin-left:-6px;
55 top:50%;
56 left:0;
57 width:6px;
58 height:9px;
59 background:url(tip-yellowsimple_arrows.gif) no-repeat -27px 0;
60}
Note: See TracBrowser for help on using the repository browser.