##// END OF EJS Templates
shorten prearrow
Matthias BUSSONNIER -
Show More
@@ -1,138 +1,138 b''
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,
8 8 * if this is a .css file, It has a lot of chance of beeing generated from the
9 9 * ../css/[samename].less file, it might not stay a less file forever,
10 10 * but as until now it is convenient to developp using less
11 11 *
12 12 * it it's a less file, don't forget to recompile it
13 13 */
14 14 @-moz-keyframes fadeOut {
15 15 from {
16 16 opacity: 1;
17 17 }
18 18 to {
19 19 opacity: 0;
20 20 }
21 21 }
22 22 @-webkit-keyframes fadeOut {
23 23 from {
24 24 opacity: 1;
25 25 }
26 26 to {
27 27 opacity: 0;
28 28 }
29 29 }
30 30 @-moz-keyframes fadeIn {
31 31 from {
32 32 opacity: 0;
33 33 }
34 34 to {
35 35 opacity: 1;
36 36 }
37 37 }
38 38 @-webkit-keyframes fadeIn {
39 39 from {
40 40 opacity: 0;
41 41 }
42 42 to {
43 43 opacity: 1;
44 44 }
45 45 }
46 46 .tooltip a {
47 47 float: right;
48 48 }
49 49 /*properties of tooltip after "expand"*/
50 50 .bigtooltip {
51 51 overflow: auto;
52 52 height: 200px;
53 53 }
54 54 /*properties of tooltip before "expand"*/
55 55 .smalltooltip {
56 56 text-overflow: ellipsis;
57 57 overflow: hidden;
58 58 height: 80px;
59 59 }
60 60 .tooltipbuttons {
61 61 position: absolute;
62 62 padding-right: 15px;
63 63 top: 0px;
64 64 right: 0px;
65 65 }
66 66 .tooltip {
67 67 -webkit-transition: all 0.8s ease;
68 68 -moz-transition: all 0.8s ease;
69 69 -ms-transition: all 0.8s ease;
70 70 -o-transition: all 0.8s ease;
71 71 /*transition when "expand"ing tooltip */
72 72
73 73 -webkit-transition-property: height;
74 74 -webkit-transition-duration: 1s;
75 75 -moz-transition-property: height;
76 76 -moz-transition-duration: 1s;
77 77 transition-property: height;
78 78 transition-duration: 1s;
79 79 max-width: 700px;
80 80 border-radius: 10px 10px 10px 10px;
81 81 box-shadow: 3px 3px 5px #999;
82 82 /*fade-in animation when inserted*/
83 83
84 84 -webkit-animation: fadeOut 800ms;
85 85 -moz-animation: fadeOut 800ms;
86 86 animation: fadeOut 800ms;
87 87 -webkit-animation: fadeIn 800ms;
88 88 -moz-animation: fadeIn 800ms;
89 89 animation: fadeIn 800ms;
90 90 vertical-align: middle;
91 91 background-color: #f7f7f7;
92 92 background-image: -webkit-linear-gradient(center bottom, #d7d7d7 13%, #d2d2d2 39%, #e3e3e3 56%, #f7f7f7 91%);
93 93 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));
94 94 background-image: -moz-linear-gradient(center bottom, #d7d7d7 13%, #d2d2d2 39%, #e3e3e3 56%, #f7f7f7 91%);
95 95 background-image: -ms-linear-gradient(center bottom, #d7d7d7 13%, #d2d2d2 39%, #e3e3e3 56%, #f7f7f7 91%);
96 96 background-image: -o-linear-gradient(center bottom, #d7d7d7 13%, #d2d2d2 39%, #e3e3e3 56%, #f7f7f7 91%);
97 97 background-image: linear-gradient(center bottom, #d7d7d7 13%, #d2d2d2 39%, #e3e3e3 56%, #f7f7f7 91%);
98 98 overflow: visible;
99 99 color: #000000;
100 100 border-color: #bbbbbb;
101 101 outline: none;
102 102 padding: 3px;
103 103 margin: 0px;
104 104 padding-left: 7px;
105 105 font-family: monospace;
106 106 min-height: 50px;
107 107 position: absolute;
108 108 }
109 109 .pretooltiparrow {
110 110 left: 0px;
111 margin-left: -25px;
111 margin-left: 0px;
112 112 top: -16px;
113 113 width: 70px;
114 114 height: 16px;
115 115 overflow: hidden;
116 116 position: absolute;
117 117 }
118 118 .pretooltiparrow:before {
119 119 background-color: #f7f7f7;
120 120 border: thin silver solid ;
121 z-index: 10;
121 z-index: 11;
122 122 content: "";
123 123 position: absolute;
124 left: 40px;
124 left: 15px;
125 125 top: 10px;
126 126 width: 25px;
127 127 height: 25px;
128 128 -webkit-transform: rotate(45deg);
129 129 -moz-transform: rotate(45deg);
130 130 -ms-transform: rotate(45deg);
131 131 -o-transform: rotate(45deg);
132 132 }
133 133 .tooltip.hide {
134 134 -webkit-animation: fadeOut 800ms;
135 135 -moz-animation: fadeOut 800ms;
136 136 animation: fadeOut 800ms;
137 137 opacity: 0;
138 138 }
@@ -1,177 +1,177 b''
1 1 /**
2 2 * Primary styles
3 3 *
4 4 * Author: IPython Development Team
5 5 */
6 6
7 7 /**
8 8 * WARNING IF YOU ARE EDITTING THIS FILE,
9 9 * if this is a .css file, It has a lot of chance of beeing generated from the
10 10 * ../css/[samename].less file, it might not stay a less file forever,
11 11 * but as until now it is convenient to developp using less
12 12 *
13 13 * it it's a less file, don't forget to recompile it
14 14 */
15 15
16 16 // **
17 17 // * Less mixins
18 18 // **/
19 19
20 20 // Four color of the background
21 21 @c1 : rgb(215,215,215);
22 22 @c2 : rgb(210,210,210);
23 23 @c3 : rgb(227,227,227);
24 24 @c4 : rgb(247,247,247);
25 25 @bordercolor : #BBB;
26 26 @textColor : #000;
27 27
28 28 @-moz-keyframes fadeOut {
29 29 from {opacity:1;}
30 30 to {opacity:0;}
31 31 }
32 32
33 33 @-webkit-keyframes fadeOut {
34 34 from {opacity:1;}
35 35 to {opacity:0;}
36 36 }
37 37
38 38 //@keyframes fadeOut {
39 39 // from {opacity:1;}
40 40 // to {opacity:0;}
41 41 //}
42 42
43 43 @-moz-keyframes fadeIn {
44 44 from {opacity:0;}
45 45 to {opacity:1;}
46 46 }
47 47
48 48 @-webkit-keyframes fadeIn {
49 49 from {opacity:0;}
50 50 to {opacity:1;}
51 51 }
52 52
53 53 //@keyframes fadeIn {
54 54 // from {opacity:0;}
55 55 // to {opacity:1;}
56 56 //}
57 57
58 58 .linearGradient(@stop1:0, @color1:#ccc, @stop2:33%, @color2:#ddd, @stop3:66%, @color3:#ccc, @stop4:100%, @color4:#ddd){
59 59 background-color:@color4;
60 60 background-image: -webkit-linear-gradient(center bottom, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4);
61 61 background-image: -webkit-gradient(
62 62 linear,
63 63 left bottom,
64 64 left top,
65 65 color-stop(@stop1, @color1),
66 66 color-stop(@stop2, @color2),
67 67 color-stop(@stop3, @color3),
68 68 color-stop(@stop4, @color4)
69 69 );
70 70 background-image:-moz-linear-gradient(center bottom, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4);
71 71 background-image:-ms-linear-gradient(center bottom, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4);
72 72 background-image:-o-linear-gradient(center bottom, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4);
73 73 background-image:linear-gradient(center bottom, @color1 @stop1, @color2 @stop2, @color3 @stop3, @color4 @stop4);
74 74
75 75 }
76 76
77 77 .tooltip a {
78 78 float:right;
79 79 }
80 80
81 81 /*properties of tooltip after "expand"*/
82 82 .bigtooltip {
83 83 overflow: auto;
84 84 height: 200px;
85 85 }
86 86
87 87 /*properties of tooltip before "expand"*/
88 88 .smalltooltip{
89 89 text-overflow: ellipsis;
90 90 overflow: hidden;
91 91 height:80px;
92 92 }
93 93 .tooltipbuttons
94 94 {
95 95 position: absolute;
96 96 padding-right : 15px;
97 97 top : 0px;
98 98 right:0px;
99 99 }
100 100 .tooltiptext
101 101 {
102 102 }
103 103
104 104 .tooltip {
105 105 -webkit-transition: all 0.8s ease;
106 106 -moz-transition: all 0.8s ease;
107 107 -ms-transition: all 0.8s ease;
108 108 -o-transition: all 0.8s ease;
109 109 /*transition when "expand"ing tooltip */
110 110 -webkit-transition-property: height;
111 111 -webkit-transition-duration: 1s;
112 112 -moz-transition-property: height;
113 113 -moz-transition-duration: 1s;
114 114 transition-property: height;
115 115 transition-duration: 1s;
116 116 max-width:700px;
117 117 border-radius: 10px 10px 10px 10px;
118 118 box-shadow: 3px 3px 5px #999;
119 119 /*fade-in animation when inserted*/
120 120 -webkit-animation: fadeOut 800ms;
121 121 -moz-animation: fadeOut 800ms;
122 122 animation: fadeOut 800ms;
123 123 -webkit-animation: fadeIn 800ms;
124 124 -moz-animation: fadeIn 800ms;
125 125 animation: fadeIn 800ms;
126 126 vertical-align: middle;
127 127
128 128 .linearGradient(13%,@c1, 39%, @c2 , 56%,@c3, 91% , @c4) ;
129 129 overflow : visible;
130 130 color: @textColor;
131 131 border-color: @bordercolor;
132 132 outline: none;
133 133 padding: 3px;
134 134 margin: 0px;
135 135 padding-left:7px;
136 136 font-family: monospace;
137 137 min-height:50px;
138 138 position: absolute;
139 139 }
140 140
141 141
142 142 .pretooltiparrow {
143 143 left: 0px;
144 margin-left: -25px;
144 margin-left: 0px;
145 145 top: -16px;
146 146 width: 70px;
147 147 height: 16px;
148 148 overflow: hidden;
149 149 position: absolute;
150 150
151 151 }
152 152 .pretooltiparrow:before {
153 153 background-color : @c4;
154 154 border : thin silver solid ;
155 z-index:10;
155 z-index:11;
156 156 content: "";
157 157 position: absolute;
158 left: 40px;
158 left: 15px;
159 159 top: 10px;
160 160 width: 25px;
161 161 height: 25px;
162 162 @theta : 45deg;
163 163 -webkit-transform: rotate(@theta);
164 164 -moz-transform: rotate(@theta);
165 165 -ms-transform: rotate(@theta);
166 166 -o-transform: rotate(@theta);
167 167
168 168 }
169 169
170 170 .tooltip.hide
171 171 {
172 172 -webkit-animation: fadeOut 800ms;
173 173 -moz-animation: fadeOut 800ms;
174 174 animation: fadeOut 800ms;
175 175 opacity : 0;
176 176
177 177 }
General Comments 0
You need to be logged in to leave comments. Login now