1 | .tip {
|
2 | font-size: 11px;
|
3 | }
|
4 |
|
5 | .tip-inner {
|
6 | background-color: rgba(0,0,0,.75);
|
7 | color: #fff;
|
8 | padding: 8px 10px 7px 10px;
|
9 | text-align: center;
|
10 | }
|
11 |
|
12 | .tip-inner {
|
13 | border-radius: 3px;
|
14 | -moz-border-radius: 3px;
|
15 | -webkit-border-radius: 3px;
|
16 | }
|
17 |
|
18 | .tip-arrow {
|
19 | position: absolute;
|
20 | width: 0;
|
21 | height: 0;
|
22 | line-height: 0;
|
23 | border: 5px dashed rgba(0,0,0,.75);
|
24 | }
|
25 |
|
26 | .tip-arrow-north { border-bottom-color: rgba(0,0,0,.75) }
|
27 | .tip-arrow-south { border-top-color: rgba(0,0,0,.75) }
|
28 | .tip-arrow-east { border-left-color: rgba(0,0,0,.75) }
|
29 | .tip-arrow-west { border-right-color: rgba(0,0,0,.75) }
|
30 |
|
31 | .tip-north .tip-arrow,
|
32 | .tip-north-east .tip-arrow,
|
33 | .tip-north-west .tip-arrow {
|
34 | top: 0px;
|
35 | left: 50%;
|
36 | margin-left: -5px;
|
37 | border-bottom-style: solid;
|
38 | border-top: none;
|
39 | border-left-color: transparent;
|
40 | border-right-color: transparent
|
41 | }
|
42 |
|
43 | .tip-south .tip-arrow,
|
44 | .tip-south-east .tip-arrow,
|
45 | .tip-south-west .tip-arrow {
|
46 | bottom: 0;
|
47 | left: 50%;
|
48 | margin-left: -5px;
|
49 | border-top-style: solid;
|
50 | border-bottom: none;
|
51 | border-left-color: transparent;
|
52 | border-right-color: transparent
|
53 | }
|
54 |
|
55 | .tip-east .tip-arrow {
|
56 | right: 0;
|
57 | top: 50%;
|
58 | margin-top: -5px;
|
59 | border-left-style: solid;
|
60 | border-right: none;
|
61 | border-top-color: transparent;
|
62 | border-bottom-color: transparent
|
63 | }
|
64 |
|
65 | .tip-west .tip-arrow {
|
66 | left: 0;
|
67 | top: 50%;
|
68 | margin-top: -5px;
|
69 | border-right-style: solid;
|
70 | border-left: none;
|
71 | border-top-color: transparent;
|
72 | border-bottom-color: transparent
|
73 | }
|
74 |
|
75 | .tip-north-west .tip-arrow,
|
76 | .tip-south-west .tip-arrow {
|
77 | left: 15px;
|
78 | }
|
79 |
|
80 | .tip-north-east .tip-arrow,
|
81 | .tip-south-east .tip-arrow {
|
82 | left: 85%;
|
83 | }
|
84 |
|
85 | .tip {
|
86 | position: absolute;
|
87 | padding: 5px;
|
88 | z-index: 1000;
|
89 | }
|
90 |
|
91 |
|
92 |
|
93 | .tip.fade {
|
94 | transition: opacity 100ms;
|
95 | -moz-transition: opacity 100ms;
|
96 | -webkit-transition: opacity 100ms;
|
97 | }
|
98 |
|
99 | .tip-hide {
|
100 | opacity: 0;
|
101 | } |
\ | No newline at end of file |