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