1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix header css and tidy up

This commit is contained in:
Nick O'Leary 2014-08-21 21:48:08 +01:00
parent 7176f3ee2b
commit 7a9696526a
4 changed files with 5 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 1019 B

View File

@ -121,7 +121,6 @@ RED.library = (function() {
$(".list-selected",ul).removeClass("list-selected"); $(".list-selected",ul).removeClass("list-selected");
$(this).addClass("list-selected"); $(this).addClass("list-selected");
$.get("library/"+options.url+root+item.fn, function(data) { $.get("library/"+options.url+root+item.fn, function(data) {
console.log(data);
selectedLibraryItem = item; selectedLibraryItem = item;
libraryEditor.setText(data); libraryEditor.setText(data);
}); });
@ -134,7 +133,7 @@ RED.library = (function() {
} }
$('#node-input-name').addClass('input-append-left').css("width","65%").after( $('#node-input-name').addClass('input-append-left').css("width","65%").after(
'<div class="btn-group" style="margin-left: -5px;">'+ '<div class="btn-group" style="margin-left: 0px;">'+
'<button id="node-input-'+options.type+'-lookup" class="btn input-append-right" data-toggle="dropdown"><i class="fa fa-book"></i> <i class="fa fa-caret-down"></i></button>'+ '<button id="node-input-'+options.type+'-lookup" class="btn input-append-right" data-toggle="dropdown"><i class="fa fa-book"></i> <i class="fa fa-caret-down"></i></button>'+
'<ul class="dropdown-menu pull-right" role="menu">'+ '<ul class="dropdown-menu pull-right" role="menu">'+
'<li><a id="node-input-'+options.type+'-menu-open-library" tabindex="-1" href="#">Open Library...</a></li>'+ '<li><a id="node-input-'+options.type+'-menu-open-library" tabindex="-1" href="#">Open Library...</a></li>'+

View File

@ -105,8 +105,6 @@ RED.menu = (function() {
function addItem(id,opt) { function addItem(id,opt) {
createMenuItem(opt).appendTo("#"+id+"-submenu"); createMenuItem(opt).appendTo("#"+id+"-submenu");
console.log(opt.id);
} }
function removeItem(id) { function removeItem(id) {
$("#"+id).parent().remove(); $("#"+id).parent().remove();

View File

@ -60,6 +60,8 @@ div.btn-group, a.btn {
} }
a.logo { a.logo {
float: left;
font-size: 30px;
line-height: 30px; line-height: 30px;
text-decoration: none; text-decoration: none;
color: #999; color: #999;
@ -75,7 +77,7 @@ a.logo:hover {
color: #bbb !important; color: #bbb !important;
} }
a.logo img { a.logo img {
height: 16px; height: 18px;
} }
.navbar-fixed-top { .navbar-fixed-top {
@ -811,6 +813,7 @@ ul.red-ui-tabs li a.red-ui-tab-close {
text-align: center; text-align: center;
padding: 0px; padding: 0px;
border-radius: 5px; border-radius: 5px;
color: #666;
} }
ul.red-ui-tabs li a.red-ui-tab-close:hover { ul.red-ui-tabs li a.red-ui-tab-close:hover {
background: #bbb !important; background: #bbb !important;