forked from GNUsocial/gnu-social
[CORE][COMPOSER] Move extlib packages with immediate composer correspondent to composer dependencies
This adds a composer.json for all dependencies that are available
This commit is contained in:
18
public/plugins/ModPlus/css/modplus.css
Normal file
18
public/plugins/ModPlus/css/modplus.css
Normal file
@@ -0,0 +1,18 @@
|
||||
.remote-profile-options {
|
||||
position: absolute;
|
||||
z-index: 999;
|
||||
|
||||
background: url(../../../theme/base/images/icons/twotone/green/admin.gif) no-repeat 8px 8px white;
|
||||
border: solid 1px #c0c0c0;
|
||||
|
||||
margin-top: 32px;
|
||||
|
||||
padding: 6px 16px;
|
||||
padding-left: 32px;
|
||||
|
||||
border-radius: 8px;
|
||||
|
||||
box-shadow:3px 3px 7px rgba(194, 194, 194, 0.3);
|
||||
|
||||
display: none;
|
||||
}
|
39
public/plugins/ModPlus/js/modplus.js
Normal file
39
public/plugins/ModPlus/js/modplus.js
Normal file
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* modplus.js
|
||||
* (c) 2010 StatusNet, Inc
|
||||
*/
|
||||
|
||||
$(function() {
|
||||
// Notice lists...
|
||||
$(document).on('mouseenter', '.notice .p-author', function(e) {
|
||||
var notice = $(this).closest('.notice');
|
||||
var popup = notice.find('.remote-profile-options');
|
||||
if (popup.length) {
|
||||
popup.fadeIn();
|
||||
}
|
||||
});
|
||||
$(document).on('mouseleave', '.notice', function(e) {
|
||||
var notice = $(this);
|
||||
var popup = notice.find('.remote-profile-options');
|
||||
if (popup.length) {
|
||||
popup.fadeOut();
|
||||
}
|
||||
});
|
||||
|
||||
// Profile lists...
|
||||
$(document).on('mouseenter', '.profile .u-photo', function(e) {
|
||||
var profile = $(this).closest('.profile');
|
||||
var popup = profile.find('.remote-profile-options');
|
||||
if (popup.length) {
|
||||
popup.fadeIn();
|
||||
}
|
||||
});
|
||||
$(document).on('mouseleave', '.profile', function(e) {
|
||||
var profile = $(this);
|
||||
var popup = profile.find('.remote-profile-options');
|
||||
if (popup.length) {
|
||||
popup.fadeOut();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
Reference in New Issue
Block a user