|
7 | 7 | /* Uncomment for shadow */
|
8 | 8 | /*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/
|
9 | 9 |
|
10 |
| - .tipsy-arrow { position: absolute; width: 0; height: 0; } |
| 10 | + .tipsy-arrow { position: absolute; width: 0; height: 0; border: 5px solid transparent; } |
11 | 11 |
|
12 |
| - .tipsy-n .tipsy-arrow, .tipsy-nw .tipsy-arrow, .tipsy-ne .tipsy-arrow { top: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid black; } |
13 |
| - .tipsy-s .tipsy-arrow, .tipsy-sw .tipsy-arrow, .tipsy-se .tipsy-arrow { bottom: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid black; } |
| 12 | + /* Rules to colour arrows */ |
| 13 | + .tipsy-arrow-n { border-bottom-color: #000; } |
| 14 | + .tipsy-arrow-s { border-top-color: #000; } |
| 15 | + .tipsy-arrow-e { border-left-color: #000; } |
| 16 | + .tipsy-arrow-w { border-right-color: #000; } |
| 17 | + |
| 18 | + .tipsy-n .tipsy-arrow, .tipsy-nw .tipsy-arrow, .tipsy-ne .tipsy-arrow { top: 0; border-top: none; } |
| 19 | + .tipsy-s .tipsy-arrow, .tipsy-sw .tipsy-arrow, .tipsy-se .tipsy-arrow { bottom: 0; border-bottom: none; } |
14 | 20 | .tipsy-n .tipsy-arrow, .tipsy-s .tipsy-arrow { left: 50%; margin-left: -5px; }
|
15 | 21 | .tipsy-nw .tipsy-arrow, .tipsy-sw .tipsy-arrow { left: 10px; }
|
16 | 22 | .tipsy-ne .tipsy-arrow, .tipsy-se .tipsy-arrow { right: 10px; }
|
17 | 23 | .tipsy-e .tipsy-arrow, .tipsy-w .tipsy-arrow { top: 50%; margin-top: -5px; }
|
18 |
| - .tipsy-e .tipsy-arrow { right: 0; border-top: 5px solid transparent; border-left: 5px solid black; border-bottom: 5px solid transparent; } |
19 |
| - .tipsy-w .tipsy-arrow { left: 0; border-top: 5px solid transparent; border-right: 5px solid black; border-bottom: 5px solid transparent; } |
| 24 | + .tipsy-e .tipsy-arrow { right: 0; border-right: none; } |
| 25 | + .tipsy-w .tipsy-arrow { left: 0; border-left: none; } |
0 commit comments