##// END OF EJS Templates
Change z-index of ipython_tooltip...
Ramiro Gómez -
Show More
@@ -1,158 +1,158
1 1 /**
2 2 * Primary styles
3 3 *
4 4 * Author: IPython Development Team
5 5 */
6 6
7 7 /** WARNING IF YOU ARE EDITTING THIS FILE, if this is a .css file, It has a lot
8 8 * of chance of beeing generated from the ../less/[samename].less file, you can
9 9 * try to get back the less file by reverting somme commit in history
10 10 **/
11 11
12 12 /*
13 13 * We'll try to get something pretty, so we
14 14 * have some strange css to have the scroll bar on
15 15 * the left with fix button on the top right of the tooltip
16 16 */
17 17
18 18 // double slash comment are remove by less compilation
19 19 // **
20 20 // * Less mixins
21 21 // **/
22 22
23 23 // Four color of the background
24 24 @import "variables" ;
25 25
26 26 .dropshadow(){
27 27 -moz-box-shadow: 0px 6px 10px -1px #adadad;
28 28 -webkit-box-shadow: 0px 6px 10px -1px #adadad;
29 29 box-shadow: 0px 6px 10px -1px #adadad;
30 30 }
31 31
32 32 // smoth height adaptation
33 33 .smoothheight(@t:500ms) {
34 34 -webkit-transition-property: height;
35 35 -webkit-transition-duration: @t;
36 36 -moz-transition-property: height;
37 37 -moz-transition-duration: @t;
38 38 transition-property: height;
39 39 transition-duration: @t;
40 40 }
41 41
42 42 @-moz-keyframes fadeOut {
43 43 from {opacity:1;}
44 44 to {opacity:0;}
45 45 }
46 46
47 47 @-webkit-keyframes fadeOut {
48 48 from {opacity:1;}
49 49 to {opacity:0;}
50 50 }
51 51
52 52 @-moz-keyframes fadeIn {
53 53 from {opacity:0;}
54 54 to {opacity:1;}
55 55 }
56 56
57 57 @-webkit-keyframes fadeIn {
58 58 from {opacity:0;}
59 59 to {opacity:1;}
60 60 }
61 61
62 62 /*properties of tooltip after "expand"*/
63 63 .bigtooltip {
64 64 overflow: auto;
65 65 height: 200px;
66 66 .smoothheight();
67 67 }
68 68
69 69 /*properties of tooltip before "expand"*/
70 70 .smalltooltip{
71 71 .smoothheight();
72 72 text-overflow: ellipsis;
73 73 overflow: hidden;
74 74 height:80px;
75 75 }
76 76
77 77 .tooltipbuttons
78 78 {
79 79 position: absolute;
80 80 padding-right : 15px;
81 81 top : 0px;
82 82 right:0px;
83 83 }
84 84
85 85 .tooltiptext
86 86 {
87 87 /*avoid the button to overlap on some docstring*/
88 88 padding-right:30px
89 89 }
90 90
91 91 .ipython_tooltip {
92 92 max-width:700px;
93 93 /*fade-in animation when inserted*/
94 94 -webkit-animation: fadeOut 400ms;
95 95 -moz-animation: fadeOut 400ms;
96 96 animation: fadeOut 400ms;
97 97 -webkit-animation: fadeIn 400ms;
98 98 -moz-animation: fadeIn 400ms;
99 99 animation: fadeIn 400ms;
100 100 vertical-align: middle;
101 101 background-color: @cell_background;
102 102
103 103 overflow : visible;
104 104 border: @border_color @border_width solid;
105 105 outline: none;
106 106 padding: 3px;
107 107 margin: 0px;
108 108 padding-left:7px;
109 109 font-family: @monoFontFamily;
110 110 min-height:50px;
111 111
112 112 .dropshadow;
113 113 .corner-all;
114 114
115 115 a {
116 116 float:right;
117 117 };
118 118 position: absolute;
119 119
120 z-index: 2;
120 z-index: 1000;
121 121
122 122 .tooltiptext {
123 123 pre {
124 124 border: 0;
125 125 .border-radius(0);
126 126 font-size: 100%;
127 127 background-color: @cell_background;
128 128 }
129 129 }
130 130 }
131 131
132 132 .pretooltiparrow {
133 133 left: 0px;
134 134 margin: 0px;
135 135 top: -16px;
136 136 width: 40px;
137 137 height: 16px;
138 138 overflow: hidden;
139 139 position: absolute;
140 140
141 141 }
142 142
143 143 .pretooltiparrow:before {
144 144 background-color : @cell_background;
145 145 border : @border_width @border_color solid;
146 146 z-index:11;
147 147 content: "";
148 148 position: absolute;
149 149 left: 15px;
150 150 top: 10px;
151 151 width: 25px;
152 152 height: 25px;
153 153 @theta : 45deg;
154 154 -webkit-transform: rotate(@theta);
155 155 -moz-transform: rotate(@theta);
156 156 -ms-transform: rotate(@theta);
157 157 -o-transform: rotate(@theta);
158 158 }
General Comments 0
You need to be logged in to leave comments. Login now