Show More
@@ -1,148 +1,139 b'' | |||
|
1 | 1 | /** |
|
2 | 2 | * Primary styles |
|
3 | 3 | * |
|
4 | 4 | * Author: IPython Development Team |
|
5 |
* |
|
|
6 | /** | |
|
7 | * WARNING IF YOU ARE EDITTING THIS FILE, | |
|
8 | * if this is a .css file, It has a lot of chance of beeing generated from the | |
|
9 | * ../css/[samename].less file, it might not stay a less file forever, | |
|
10 | * but as until now it is convenient to developp using less | |
|
11 | * | |
|
12 | * it it's a less file, don't forget to recompile it | |
|
13 | */ | |
|
14 | /* | |
|
5 | * | |
|
15 | 6 | * We'll try to get something prety, so we |
|
16 | 7 | * have some strange ccs to have the scroll bar on |
|
17 | 8 | * the left of the left with fix button on the top right of the tooltip |
|
18 | 9 | */ |
|
19 | 10 | @-moz-keyframes fadeOut { |
|
20 | 11 | from { |
|
21 | 12 | opacity: 1; |
|
22 | 13 | } |
|
23 | 14 | to { |
|
24 | 15 | opacity: 0; |
|
25 | 16 | } |
|
26 | 17 | } |
|
27 | 18 | @-webkit-keyframes fadeOut { |
|
28 | 19 | from { |
|
29 | 20 | opacity: 1; |
|
30 | 21 | } |
|
31 | 22 | to { |
|
32 | 23 | opacity: 0; |
|
33 | 24 | } |
|
34 | 25 | } |
|
35 | 26 | @-moz-keyframes fadeIn { |
|
36 | 27 | from { |
|
37 | 28 | opacity: 0; |
|
38 | 29 | } |
|
39 | 30 | to { |
|
40 | 31 | opacity: 1; |
|
41 | 32 | } |
|
42 | 33 | } |
|
43 | 34 | @-webkit-keyframes fadeIn { |
|
44 | 35 | from { |
|
45 | 36 | opacity: 0; |
|
46 | 37 | } |
|
47 | 38 | to { |
|
48 | 39 | opacity: 1; |
|
49 | 40 | } |
|
50 | 41 | } |
|
51 | 42 | .tooltip a { |
|
52 | 43 | float: right; |
|
53 | 44 | } |
|
54 | 45 | /*properties of tooltip after "expand"*/ |
|
55 | 46 | .bigtooltip { |
|
56 | 47 | overflow: auto; |
|
57 | 48 | height: 200px; |
|
58 | 49 | -webkit-transition-property: height; |
|
59 | 50 | -webkit-transition-duration: 1s; |
|
60 | 51 | -moz-transition-property: height; |
|
61 | 52 | -moz-transition-duration: 1s; |
|
62 | 53 | transition-property: height; |
|
63 | 54 | transition-duration: 1s; |
|
64 | 55 | } |
|
65 | 56 | /*properties of tooltip before "expand"*/ |
|
66 | 57 | .smalltooltip { |
|
67 | 58 | -webkit-transition-property: height; |
|
68 | 59 | -webkit-transition-duration: 1s; |
|
69 | 60 | -moz-transition-property: height; |
|
70 | 61 | -moz-transition-duration: 1s; |
|
71 | 62 | transition-property: height; |
|
72 | 63 | transition-duration: 1s; |
|
73 | 64 | text-overflow: ellipsis; |
|
74 | 65 | overflow: hidden; |
|
75 | 66 | height: 80px; |
|
76 | 67 | } |
|
77 | 68 | .tooltipbuttons { |
|
78 | 69 | position: absolute; |
|
79 | 70 | padding-right: 15px; |
|
80 | 71 | top: 0px; |
|
81 | 72 | right: 0px; |
|
82 | 73 | } |
|
83 | 74 | .tooltiptext { |
|
84 | 75 | /*avoid the button to overlap on some docstring*/ |
|
85 | 76 | |
|
86 | 77 | padding-right: 30px; |
|
87 | 78 | } |
|
88 | 79 | .tooltip { |
|
89 | 80 | max-width: 700px; |
|
90 | 81 | border-radius: 10px 10px 10px 10px; |
|
91 | 82 | box-shadow: 3px 3px 5px #999; |
|
92 | 83 | /*fade-in animation when inserted*/ |
|
93 | 84 | |
|
94 | 85 | -webkit-animation: fadeOut 800ms; |
|
95 | 86 | -moz-animation: fadeOut 800ms; |
|
96 | 87 | animation: fadeOut 800ms; |
|
97 | 88 | -webkit-animation: fadeIn 800ms; |
|
98 | 89 | -moz-animation: fadeIn 800ms; |
|
99 | 90 | animation: fadeIn 800ms; |
|
100 | 91 | vertical-align: middle; |
|
101 | 92 | background-color: #f7f7f7; |
|
102 | 93 | background-image: -webkit-linear-gradient(center bottom, #d7d7d7 13%, #d2d2d2 39%, #e3e3e3 56%, #f7f7f7 91%); |
|
103 | 94 | background-image: -webkit-gradient(linear, left bottom, left top, color-stop(13%, #d7d7d7), color-stop(39%, #d2d2d2), color-stop(56%, #e3e3e3), color-stop(91%, #f7f7f7)); |
|
104 | 95 | background-image: -moz-linear-gradient(center bottom, #d7d7d7 13%, #d2d2d2 39%, #e3e3e3 56%, #f7f7f7 91%); |
|
105 | 96 | background-image: -ms-linear-gradient(center bottom, #d7d7d7 13%, #d2d2d2 39%, #e3e3e3 56%, #f7f7f7 91%); |
|
106 | 97 | background-image: -o-linear-gradient(center bottom, #d7d7d7 13%, #d2d2d2 39%, #e3e3e3 56%, #f7f7f7 91%); |
|
107 | 98 | background-image: linear-gradient(center bottom, #d7d7d7 13%, #d2d2d2 39%, #e3e3e3 56%, #f7f7f7 91%); |
|
108 | 99 | overflow: visible; |
|
109 | 100 | color: #000000; |
|
110 | 101 | border: #bbbbbb 1px solid; |
|
111 | 102 | outline: none; |
|
112 | 103 | padding: 3px; |
|
113 | 104 | margin: 0px; |
|
114 | 105 | padding-left: 7px; |
|
115 | 106 | font-family: monospace; |
|
116 | 107 | min-height: 50px; |
|
117 | 108 | position: absolute; |
|
118 | 109 | } |
|
119 | 110 | .pretooltiparrow { |
|
120 | 111 | left: 0px; |
|
121 | 112 | margin: 0px; |
|
122 | 113 | top: -16px; |
|
123 | 114 | width: 40px; |
|
124 | 115 | height: 16px; |
|
125 | 116 | overflow: hidden; |
|
126 | 117 | position: absolute; |
|
127 | 118 | } |
|
128 | 119 | .pretooltiparrow:before { |
|
129 | 120 | background-color: #f7f7f7; |
|
130 | 121 | border: 1px #bbbbbb solid; |
|
131 | 122 | z-index: 11; |
|
132 | 123 | content: ""; |
|
133 | 124 | position: absolute; |
|
134 | 125 | left: 15px; |
|
135 | 126 | top: 10px; |
|
136 | 127 | width: 25px; |
|
137 | 128 | height: 25px; |
|
138 | 129 | -webkit-transform: rotate(45deg); |
|
139 | 130 | -moz-transform: rotate(45deg); |
|
140 | 131 | -ms-transform: rotate(45deg); |
|
141 | 132 | -o-transform: rotate(45deg); |
|
142 | 133 | } |
|
143 | 134 | .tooltip.hide { |
|
144 | 135 | -webkit-animation: fadeOut 800ms; |
|
145 | 136 | -moz-animation: fadeOut 800ms; |
|
146 | 137 | animation: fadeOut 800ms; |
|
147 | 138 | opacity: 0; |
|
148 | 139 | } |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now