mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
related to #1415 Adjustments for new plugin manager
Removed "!" from alerts better hover on lines
This commit is contained in:
@@ -95,7 +95,7 @@ function activatePlugin(id) {
|
||||
}).done(function (data) {
|
||||
console.log(data);
|
||||
$("#"+id+" .switch").attr("disabled", false);
|
||||
$("#" + id + " .AddPluginSuccess").fadeOut(2500);
|
||||
$("#" + id + " .AddPluginSuccess").fadeOut(3000);
|
||||
})
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ function disactivatePlugin(id) {
|
||||
}).done(function (data) {
|
||||
console.log(data);
|
||||
$("#"+id+" .switch").attr("disabled", false);
|
||||
$("#" + id + " .DeactivatePluginSuccess").fadeOut(2500);
|
||||
$("#" + id + " .DeactivatePluginSuccess").fadeOut(3000);
|
||||
})
|
||||
}
|
||||
|
||||
@@ -204,7 +204,7 @@ function restorePlugin(id) {
|
||||
$("#" + id + " .PluginActionError").delay(1500).fadeOut(2500);
|
||||
}
|
||||
}).done(function (data) {
|
||||
$("#" + id + " .RestorePluginSuccess").fadeOut(2500);
|
||||
$("#" + id + " .RestorePluginSuccess").fadeOut(3000);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@ let delete_plugin_msg = '{'Are you sure you want to delete the plugin "%s"?'|@tr
|
||||
let deleted_plugin_msg = '{'Plugin "%s" deleted!'|@translate|@escape:'javascript'}';
|
||||
let restore_plugin_msg = '{'Are you sure you want to restore the plugin "%s"?'|@translate|@escape:'javascript'}';
|
||||
const restore_tip_msg = "{'Restore default configuration. You will lose your plugin settings!'|@translate}";
|
||||
const plugin_added_str = '{'Activated!'|@translate}';
|
||||
const plugin_deactivated_str = '{'Deactivated!'|@translate}';
|
||||
const plugin_restored_str = '{'Restored!'|@translate}';
|
||||
const plugin_added_str = '{'Activated'|@translate}';
|
||||
const plugin_deactivated_str = '{'Deactivated'|@translate}';
|
||||
const plugin_restored_str = '{'Restored'|@translate}';
|
||||
const plugin_action_error = '{'an error happened'|@translate}';
|
||||
{literal}
|
||||
var queuedManager = jQuery.manageAjax.create('queued', {
|
||||
@@ -660,6 +660,7 @@ jQuery(".pluginMiniBox").each(function(index){
|
||||
|
||||
.pluginContainer.classic .pluginMiniBoxNameCell {
|
||||
position: relative;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.pluginContainer.classic .switch {
|
||||
|
||||
@@ -2128,6 +2128,12 @@ h2:lang(en) { text-transform:capitalize; }
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.pluginContainer.line .pluginMiniBox.inactive:hover .pluginContent .pluginActions a{
|
||||
background: transparent;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
|
||||
.PluginOptionsBlock{
|
||||
display:none;
|
||||
position:absolute;
|
||||
@@ -5206,7 +5212,6 @@ color:#FF7B00;
|
||||
|
||||
.line {
|
||||
background: #fafafa;
|
||||
box-shadow: 0px 2px 4px #00000024;
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
@@ -1160,9 +1160,15 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important;
|
||||
background: #777777;
|
||||
}
|
||||
|
||||
.pluginContainer.line .pluginMiniBox:hover .pluginContent .pluginActions .pluginUnavailableAction{
|
||||
.pluginContainer.line .pluginMiniBox:hover .pluginContent .pluginActions a{
|
||||
/* color: #ffffff; */
|
||||
opacity: 0.5;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.pluginContainer.line .pluginMiniBox.inactive:hover .pluginContent .pluginActions a{
|
||||
background: transparent;
|
||||
opacity: 1;
|
||||
color: #777777;
|
||||
}
|
||||
|
||||
.addAlbum label{
|
||||
@@ -1419,8 +1425,7 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important;
|
||||
}
|
||||
|
||||
.line {
|
||||
background: #333333;
|
||||
box-shadow: 0px 2px 4px #00000024;
|
||||
background: transparent;
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
@@ -1225,6 +1225,6 @@ $lang['%d tags moved'] = '%d tags moved';
|
||||
$lang['Download all activities'] = 'Download all activities';
|
||||
$lang['Plugin "%s" has been activated!'] = 'Plugin "%s" has been activated!';
|
||||
$lang['Plugin "%s" deleted!'] = 'Plugin "%s" deleted!';
|
||||
$lang['Activated!'] = 'Activated!';
|
||||
$lang['Deactivated!'] = 'Deactivated!';
|
||||
$lang['Restored!'] = 'Restored!';
|
||||
$lang['Activated'] = 'Activated';
|
||||
$lang['Deactivated'] = 'Deactivated';
|
||||
$lang['Restored'] = 'Restored';
|
||||
@@ -1227,6 +1227,6 @@ $lang['%d tags moved'] = '%d tags déplacés';
|
||||
$lang['Download all activities'] = 'Télécharger toutes les activités';
|
||||
$lang['Plugin "%s" has been activated!'] = 'Le plugin "%s" a été activé !';
|
||||
$lang['Plugin "%s" deleted!'] = 'Plugin "%s" supprimé !';
|
||||
$lang['Activated!'] = 'Activé!';
|
||||
$lang['Deactivated!'] = 'Désactivé!';
|
||||
$lang['Restored!'] = 'Restoré !';
|
||||
$lang['Activated'] = 'Activé';
|
||||
$lang['Deactivated'] = 'Désactivé';
|
||||
$lang['Restored'] = 'Restoré';
|
||||
Reference in New Issue
Block a user