mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Namespace all header css
This commit is contained in:
@@ -62,7 +62,7 @@ RED.deploy = (function() {
|
||||
'</span>'+
|
||||
'</a>'+
|
||||
'<a id="btn-deploy-options" data-toggle="dropdown" class="deploy-button" href="#"><i class="fa fa-caret-down"></i></a>'+
|
||||
'</span></li>').prependTo(".header-toolbar");
|
||||
'</span></li>').prependTo(".red-ui-header-toolbar");
|
||||
RED.menu.init({id:"btn-deploy-options",
|
||||
options: [
|
||||
{id:"deploymenu-item-full",toggle:"deploy-type",icon:"red/images/deploy-full.png",label:RED._("deploy.full"),sublabel:RED._("deploy.fullDesc"),selected: true, onselect:function(s) { if(s){changeDeploymentType("full")}}},
|
||||
@@ -90,7 +90,7 @@ RED.deploy = (function() {
|
||||
'<img src="red/images/spin.svg"/>'+
|
||||
'</span>'+
|
||||
'</a>'+
|
||||
'</span></li>').prependTo(".header-toolbar");
|
||||
'</span></li>').prependTo(".red-ui-header-toolbar");
|
||||
}
|
||||
|
||||
$('#btn-deploy').on("click", function(event) {
|
||||
@@ -271,7 +271,7 @@ RED.deploy = (function() {
|
||||
var deployWasEnabled = !$("#btn-deploy").hasClass("disabled");
|
||||
$("#btn-deploy").addClass("disabled");
|
||||
deployInflight = true;
|
||||
$("#header-shade").show();
|
||||
$("#red-ui-header-shade").show();
|
||||
$("#editor-shade").show();
|
||||
$("#red-ui-palette-shade").show();
|
||||
$("#red-ui-sidebar-shade").show();
|
||||
@@ -306,7 +306,7 @@ RED.deploy = (function() {
|
||||
setTimeout(function() {
|
||||
$(".deploy-button-content").css('opacity',1);
|
||||
$(".deploy-button-spinner").hide();
|
||||
$("#header-shade").hide();
|
||||
$("#red-ui-header-shade").hide();
|
||||
$("#editor-shade").hide();
|
||||
$("#red-ui-palette-shade").hide();
|
||||
$("#red-ui-sidebar-shade").hide();
|
||||
@@ -422,7 +422,7 @@ RED.deploy = (function() {
|
||||
}
|
||||
|
||||
deployInflight = true;
|
||||
$("#header-shade").show();
|
||||
$("#red-ui-header-shade").show();
|
||||
$("#editor-shade").show();
|
||||
$("#red-ui-palette-shade").show();
|
||||
$("#red-ui-sidebar-shade").show();
|
||||
@@ -492,7 +492,7 @@ RED.deploy = (function() {
|
||||
setTimeout(function() {
|
||||
$(".deploy-button-content").css('opacity',1);
|
||||
$(".deploy-button-spinner").hide();
|
||||
$("#header-shade").hide();
|
||||
$("#red-ui-header-shade").hide();
|
||||
$("#editor-shade").hide();
|
||||
$("#red-ui-palette-shade").hide();
|
||||
$("#red-ui-sidebar-shade").hide();
|
||||
|
@@ -267,7 +267,7 @@ RED.notifications = (function() {
|
||||
'<a id="btn-notifications" class="button" href="#">'+
|
||||
'<i class="fa fa-warning"></i>'+
|
||||
'</a>'+
|
||||
'</li>').prependTo(".header-toolbar").hide();
|
||||
'</li>').prependTo(".red-ui-header-toolbar").hide();
|
||||
$('#btn-notifications').on("click", function() {
|
||||
showPersistent();
|
||||
})
|
||||
|
@@ -2226,13 +2226,13 @@ RED.projects = (function() {
|
||||
resizable: false,
|
||||
open: function(e) {
|
||||
$(this).parent().find(".ui-dialog-titlebar-close").hide();
|
||||
// $("#header-shade").show();
|
||||
// $("#red-ui-header-shade").show();
|
||||
// $("#editor-shade").show();
|
||||
// $("#red-ui-palette-shade").show();
|
||||
// $("#red-ui-sidebar-shade").show();
|
||||
},
|
||||
close: function(e) {
|
||||
// $("#header-shade").hide();
|
||||
// $("#red-ui-header-shade").hide();
|
||||
// $("#editor-shade").hide();
|
||||
// $("#red-ui-palette-shade").hide();
|
||||
// $("#red-ui-sidebar-shade").hide();
|
||||
|
@@ -254,7 +254,7 @@ RED.search = (function() {
|
||||
}
|
||||
if (!visible) {
|
||||
RED.keyboard.add("*","escape",function(){hide()});
|
||||
$("#header-shade").show();
|
||||
$("#red-ui-header-shade").show();
|
||||
$("#editor-shade").show();
|
||||
$("#red-ui-palette-shade").show();
|
||||
$("#red-ui-sidebar-shade").show();
|
||||
@@ -275,7 +275,7 @@ RED.search = (function() {
|
||||
if (visible) {
|
||||
RED.keyboard.remove("escape");
|
||||
visible = false;
|
||||
$("#header-shade").hide();
|
||||
$("#red-ui-header-shade").hide();
|
||||
$("#editor-shade").hide();
|
||||
$("#red-ui-palette-shade").hide();
|
||||
$("#red-ui-sidebar-shade").hide();
|
||||
@@ -299,7 +299,7 @@ RED.search = (function() {
|
||||
|
||||
|
||||
|
||||
$("#header-shade").on('mousedown',hide);
|
||||
$("#red-ui-header-shade").on('mousedown',hide);
|
||||
$("#editor-shade").on('mousedown',hide);
|
||||
$("#red-ui-palette-shade").on('mousedown',hide);
|
||||
$("#red-ui-sidebar-shade").on('mousedown',hide);
|
||||
|
@@ -115,7 +115,7 @@ RED.tray = (function() {
|
||||
}
|
||||
|
||||
function finishBuild() {
|
||||
$("#header-shade").show();
|
||||
$("#red-ui-header-shade").show();
|
||||
$("#editor-shade").show();
|
||||
$("#red-ui-palette-shade").show();
|
||||
$(".red-ui-sidebar-shade").show();
|
||||
@@ -267,7 +267,7 @@ RED.tray = (function() {
|
||||
done();
|
||||
}
|
||||
if (stack.length === 0) {
|
||||
$("#header-shade").hide();
|
||||
$("#red-ui-header-shade").hide();
|
||||
$("#editor-shade").hide();
|
||||
$("#red-ui-palette-shade").hide();
|
||||
$(".red-ui-sidebar-shade").hide();
|
||||
|
Reference in New Issue
Block a user