You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.5 KiB
CSS
60 lines
1.5 KiB
CSS
8 years ago
|
.tip-violet {
|
||
|
z-index:1000;
|
||
|
text-align:left;
|
||
|
border:1px solid #afafaf;
|
||
|
padding:7px;
|
||
|
min-width:50px;
|
||
|
max-width:530px;
|
||
|
color:#860404;
|
||
|
background-color:#f2e7fd;
|
||
|
background-image:url(tip-violet.png); /* bgImageFrameSize >= 9 should work fine */
|
||
|
/**
|
||
|
* - If you set a background-image, border/padding/background-color will be ingnored.
|
||
|
* You can set any padding to .tip-inner instead if you need.
|
||
|
* - If you want a tiled background-image and border/padding for the tip,
|
||
|
* set the background-image to .tip-inner instead.
|
||
|
*/
|
||
|
}
|
||
|
.tip-violet .tip-inner {
|
||
|
font:bold 12px/18px 'trebuchet ms',arial,helvetica,sans-serif;
|
||
|
margin-top:-1px;
|
||
|
padding:0 3px 2px 3px;
|
||
|
}
|
||
|
|
||
|
/* Configure an arrow image - the script will automatically position it on the correct side of the tip */
|
||
|
.tip-violet .tip-arrow-top {
|
||
|
margin-top:-7px;
|
||
|
margin-left:15px;
|
||
|
top:0;
|
||
|
left:0;
|
||
|
width:16px;
|
||
|
height:10px;
|
||
|
background:url(tip-violet_arrows.png) no-repeat;
|
||
|
}
|
||
|
.tip-violet .tip-arrow-right {
|
||
|
margin-top:-9px; /* approx. half the height to center it */
|
||
|
margin-left:-4px;
|
||
|
top:50%;
|
||
|
left:100%;
|
||
|
width:10px;
|
||
|
height:20px;
|
||
|
background:url(tip-violet_arrows.png) no-repeat -16px 0;
|
||
|
}
|
||
|
.tip-violet .tip-arrow-bottom {
|
||
|
margin-top:-6px;
|
||
|
margin-left:15px;
|
||
|
top:100%;
|
||
|
left:0;
|
||
|
width:16px;
|
||
|
height:13px;
|
||
|
background:url(tip-violet_arrows.png) no-repeat -32px 0;
|
||
|
}
|
||
|
.tip-violet .tip-arrow-left {
|
||
|
margin-top:-9px; /* approx. half the height to center it */
|
||
|
margin-left:-6px;
|
||
|
top:50%;
|
||
|
left:0;
|
||
|
width:10px;
|
||
|
height:20px;
|
||
|
background:url(tip-violet_arrows.png) no-repeat -48px 0;
|
||
|
}
|