mirror of
https://github.com/unraid/webgui.git
synced 2026-01-13 21:20:01 -06:00
Merge pull request #771 from Squidly271/Notify
Fix unable to dismiss all notifications when on bottom
This commit is contained in:
@@ -380,7 +380,7 @@ $(function() {
|
||||
$('#'+tab).attr('checked', true);
|
||||
updateTime();
|
||||
$.jGrowl.defaults.closeTemplate = '<i class="fa fa-close"></i>';
|
||||
$.jGrowl.defaults.closerTemplate = '<?=$notify['position'][0]=='b' ? '<div>':'<div class="top">'?>[ <?=_("close all notifications")?> ]</div>';
|
||||
$.jGrowl.defaults.closerTemplate = '<?=$notify['position'][0]=='b' ? '<div class="bottom">':'<div class="top">'?>[ <?=_("close all notifications")?> ]</div>';
|
||||
$.jGrowl.defaults.sticky = true;
|
||||
$.jGrowl.defaults.check = 100;
|
||||
$.jGrowl.defaults.position = '<?=$notify['position']?>';
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
.jGrowl-notification:first-of-type {pointer-events: none !important;}
|
||||
.jGrowl-notification {pointer-events:all !important;}
|
||||
.jGrowl-closer.top {pointer-events:all !important;}
|
||||
.jGrowl-closer.bottom {pointer-events:all !important;}
|
||||
@media print{.jGrowl{display:none}}
|
||||
.ui-dropdownchecklist{background-color:transparent;background-image:linear-gradient(66.6deg, transparent 60%, #606e7f 40%),linear-gradient(113.4deg, #606e7f 40%, transparent 60%);background-position:calc(100% - 8px),calc(100% - 4px);background-size:4px 6px,4px 6px;background-repeat:no-repeat;border:none;box-shadow:0 1px 0 #606e7f;outline:none;height:3rem;line-height:3rem;cursor:pointer}
|
||||
.ui-dropdownchecklist-selector{border:1px solid #606E7F;display:inline-block;cursor:pointer;padding:1px 14px 1px 6px}
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
.jGrowl-notification:first-of-type {pointer-events: none !important;}
|
||||
.jGrowl-notification {pointer-events:all !important;}
|
||||
.jGrowl-closer.top {pointer-events:all !important;}
|
||||
.jGrowl-closer.bottom {pointer-events:all !important;}
|
||||
@media print{.jGrowl{display:none}}
|
||||
.ui-dropdownchecklist{background-color:transparent;background-image:linear-gradient(66.6deg, transparent 60%, #f2f2f2 40%),linear-gradient(113.4deg, #f2f2f2 40%, transparent 60%);background-position:calc(100% - 4px),100%;background-size:4px 6px,4px 6px;background-repeat:no-repeat;border:none;box-shadow:0 1px 0 #f2f2f2;outline:none;height:2.5rem;line-height:2.5rem;cursor:pointer}
|
||||
.ui-dropdownchecklist-selector{border:none;border-bottom:1px solid #f2f2f2;outline:none;display:inline-block;cursor:pointer;padding:1px 0}
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
.jGrowl-notification:first-of-type {pointer-events: none !important;}
|
||||
.jGrowl-notification {pointer-events:all !important;}
|
||||
.jGrowl-closer.top {pointer-events:all !important;}
|
||||
.jGrowl-closer.bottom {pointer-events:all !important;}
|
||||
@media print{.jGrowl{display:none}}
|
||||
.ui-dropdownchecklist{background-color:transparent;background-image:linear-gradient(66.6deg, transparent 60%, #606e7f 40%),linear-gradient(113.4deg, #606e7f 40%, transparent 60%);background-position:calc(100% - 8px),calc(100% - 4px);background-size:4px 6px,4px 6px;background-repeat:no-repeat;border:none;box-shadow:0 1px 0 #606e7f;outline:none;height:3rem;line-height:3rem;cursor:pointer}
|
||||
.ui-dropdownchecklist-selector{border:1px solid #606E7F;display:inline-block;cursor:pointer;padding:1px 14px 1px 6px}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
.jGrowl-notification:first-of-type {pointer-events: none !important;}
|
||||
.jGrowl-notification {pointer-events:all !important;}
|
||||
.jGrowl-closer.top {pointer-events:all !important;}
|
||||
.jGrowl-closer.bottom {pointer-events:all !important;}
|
||||
.jGrowl-closer{width:400px;color:#808080;background-color:#121510;opacity:0.96;border:2px solid #b0b0b0;margin:5px 0;padding:4px 0;cursor:pointer;font-weight:bold;text-align:center;border-radius:6px}
|
||||
.jGrowl-closer.top{position:fixed;top:130px}
|
||||
@media print{.jGrowl{display:none}}
|
||||
|
||||
Reference in New Issue
Block a user