File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
qiita_pet/templates/study_ajax Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 1
1
{% from qiita_core.qiita_settings import qiita_config %}
2
2
< link rel ="stylesheet " href ="{% raw qiita_config.portal_dir %}/static/vendor/css/chosen.css " type ="text/css ">
3
+ < style >
4
+ .tooltip {
5
+ background-color : # 000 ;
6
+ }
7
+ .tooltip .tooltip-inner {
8
+ background-color : # 000 ;
9
+ color : # FFF ;
10
+ max-width : none;
11
+ }
12
+ </ style >
13
+
3
14
< script type ="text/javascript> ">
4
15
/**
5
16
*
125
136
}
126
137
127
138
$ ( document ) . ready ( function ( ) {
139
+ // tooltip configuration
140
+ $ ( ".filenames-tooltip" ) . tooltip ( {
141
+ html : "true" ,
142
+ placement : "auto" ,
143
+ delay : { "show" : 0 , "hide" : 100 }
144
+ } ) ;
145
+
128
146
//make the files draggable
129
147
$ ( ".connectedSortable" ) . sortable ( {
130
148
connectWith : ".connectedSortable"
214
232
< ul id ="remaining-list " class ="connectedSortable ">
215
233
{% for fp in remaining %}
216
234
< li id ="{{fp}} " style ="text-overflow:ellipsis; " title ="{{fp}} ">
217
- < a class ="tooltip-list " href ="# " data-toggle ="tooltip " data-placement ="top " title ="{{fp}} "> {{fp}}</ a >
235
+ < div class ="filenames-tooltip " title ="{{fp}} " container ="body ">
236
+ < a class ="tooltip-list " href ="# " data-toggle ="tooltip "> {{fp}}</ a >
237
+ </ div >
218
238
</ li >
219
239
{% end %}
220
240
</ ul >
226
246
< ul id ="{{ft}}-list " data-file-required ="{{req}} " data-file-count ="{{num_prefixes}} " data-correct ="true " class ="connectedSortable checkable ">
227
247
{% for fp in files %}
228
248
< li id ="{{fp}} ">
229
- < a class ="tooltip-list " href ="# " data-toggle ="tooltip " data-placement ="top " title ="{{fp}} "> {{fp}}</ a >
249
+ < div class ="filenames-tooltip " title ="{{fp}} " container ="body ">
250
+ < a class ="tooltip-list " href ="# " data-toggle ="tooltip "> {{fp}}</ a >
251
+ </ div >
230
252
</ li >
231
253
{% end %}
232
254
</ ul >
You can’t perform that action at this time.
0 commit comments