File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 349349 // add insert button
350350 var insertButton = $ (
351351 '<div class="image-button gallery-btn-insert-image">' +
352- '<img title="<?!= msg(' SEARCH_RESULT_LIST_INSERT_IMAGE ') ?>" src="https://www.dimis.fim.uni-passau.de/eexcess/link .png">' +
352+ '<img title="<?!= msg(' SEARCH_RESULT_LIST_INSERT_IMAGE ') ?>" src="https://www.dimis.fim.uni-passau.de/eexcess/photo .png">' +
353353 '</div>' ) ;
354354 insertButton . data ( 'image' , image ) ;
355355 insertButton . data ( 'documentBadge' , documentBadge ) ;
Original file line number Diff line number Diff line change 4040 }
4141
4242 .image-button {
43- background : -webkit-linear-gradient (top, # f5f5f5, # f1f1f1 );
44- background : linear-gradient (top, # f5f5f5, # f1f1f1 );
43+ background : # f5f5f5 ;
4544 border : 1px solid # dcdcdc ;
4645 -moz-border-radius : 2px ;
4746 -webkit-border-radius : 2px ;
5150 }
5251
5352 .image-button : hover {
53+ background : # f1f1f1 ;
5454 background : -webkit-linear-gradient (top, # f8f8f8, # f1f1f1 );
5555 background : linear-gradient (top, # f8f8f8, # f1f1f1 );
5656 border : 1px solid # c6c6c6 ;
267267
268268 .gallery-btn-insert-image {
269269 position : absolute;
270- bottom : 10px ;
271- right : 5px ;
270+ bottom : 20px ;
271+ margin-left : auto;
272+ margin-right : auto;
273+ left : 0 ;
274+ right : 0 ;
275+ display : none;
276+ }
277+
278+ .gallery-item : hover .gallery-btn-insert-image {
279+ display : block;
272280 }
273281
274282 .gallery-item : hover .gallery-img {
You can’t perform that action at this time.
0 commit comments