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
|
Rev | Line | |
---|
[28599] | 1 | .tip-twitter {
|
---|
| 2 | opacity:0.8;
|
---|
| 3 | z-index:1000;
|
---|
| 4 | text-align:left;
|
---|
| 5 | border-radius:4px;
|
---|
| 6 | -moz-border-radius:4px;
|
---|
| 7 | -webkit-border-radius:4px;
|
---|
| 8 | padding:8px 8px;
|
---|
| 9 | max-width:200px;
|
---|
| 10 | color:#fff;
|
---|
| 11 | background-color:#000;
|
---|
| 12 | /**
|
---|
| 13 | * - If you set a background-image, border/padding/background-color will be ingnored.
|
---|
| 14 | * You can set any padding to .tip-inner instead if you need.
|
---|
| 15 | * - If you want a tiled background-image and border/padding for the tip,
|
---|
| 16 | * set the background-image to .tip-inner instead.
|
---|
| 17 | */
|
---|
| 18 | }
|
---|
| 19 | .tip-twitter .tip-inner {
|
---|
| 20 | font:bold 11px/14px 'Lucida Grande',sans-serif;
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 | /* Configure an arrow image - the script will automatically position it on the correct side of the tip */
|
---|
| 24 | .tip-twitter .tip-arrow-top {
|
---|
| 25 | margin-top:-5px;
|
---|
| 26 | margin-left:-5px; /* approx. half the width to center it */
|
---|
| 27 | top:0;
|
---|
| 28 | left:50%;
|
---|
| 29 | width:9px;
|
---|
| 30 | height:5px;
|
---|
| 31 | background:url(tip-twitter_arrows.gif) no-repeat;
|
---|
| 32 | }
|
---|
| 33 | .tip-twitter .tip-arrow-right {
|
---|
| 34 | margin-top:-4px; /* approx. half the height to center it */
|
---|
| 35 | margin-left:0;
|
---|
| 36 | top:50%;
|
---|
| 37 | left:100%;
|
---|
| 38 | width:5px;
|
---|
| 39 | height:9px;
|
---|
| 40 | background:url(tip-twitter_arrows.gif) no-repeat -9px 0;
|
---|
| 41 | }
|
---|
| 42 | .tip-twitter .tip-arrow-bottom {
|
---|
| 43 | margin-top:0;
|
---|
| 44 | margin-left:-5px; /* approx. half the width to center it */
|
---|
| 45 | top:100%;
|
---|
| 46 | left:50%;
|
---|
| 47 | width:9px;
|
---|
| 48 | height:5px;
|
---|
| 49 | background:url(tip-twitter_arrows.gif) no-repeat -18px 0;
|
---|
| 50 | }
|
---|
| 51 | .tip-twitter .tip-arrow-left {
|
---|
| 52 | margin-top:-4px; /* approx. half the height to center it */
|
---|
| 53 | margin-left:-5px;
|
---|
| 54 | top:50%;
|
---|
| 55 | left:0;
|
---|
| 56 | width:5px;
|
---|
| 57 | height:9px;
|
---|
| 58 | background:url(tip-twitter_arrows.gif) no-repeat -27px 0;
|
---|
| 59 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.