diff --git a/xCAT-UI/css/style.css b/xCAT-UI/css/style.css index a5b0f301e..ad20ba2ab 100644 --- a/xCAT-UI/css/style.css +++ b/xCAT-UI/css/style.css @@ -28,7 +28,7 @@ } .tooltip h3 { - margin : 0px; + margin: 0px; } /****************** Header ******************/ @@ -99,7 +99,7 @@ color: #FF0000; } -#layoutselector{ +#layoutselector { padding: 2px 10px 0px 2px; /* Top right left bottom*/ text-align: right; color: #FFC125; @@ -315,6 +315,7 @@ legend { padding: 5px; margin: 0; } + /****************** Status bar ******************/ .statusBar { border: solid 1px #F5D0A9; @@ -657,57 +658,57 @@ table a:hover { } /****************** Physical layout section ******************/ -.frameDiv{ - width : 179px; - height : 500px; +.frameDiv { + width: 179px; + height: 500px; font-size: 10px; - background :url(../images/bpa.jpg); - border-width:2px; + background: url(../images/bpa.jpg); + border-width: 2px; } -.fspDiv2{ - margin: 0px 12px 2px 17px; - font-size: 12px; +.fspDiv2 { + margin: 0px 12px 2px 17px; + font-size: 12px; height: 20px; - line-height : 20px; - width : 140px; + line-height: 20px; + width: 140px; text-align: center; - background:url(../images/4ufsp.jpg); - border-style:solid; - border-width:1px; + background: url(../images/4ufsp.jpg); + border-style: solid; + border-width: 1px; cursor: pointer; } -.fspDiv4{ - margin: 0px 12px 2px 17px; - font-size: 12px; +.fspDiv4 { + margin: 0px 12px 2px 17px; + font-size: 12px; height: 44px; - line-height : 44px; - width : 140px; + line-height: 44px; + width: 140px; text-align: center; - background:url(../images/4ufsp.jpg); - border-style:solid; - border-width:1px; + background: url(../images/4ufsp.jpg); + border-style: solid; + border-width: 1px; cursor: pointer; } -.fspDiv42{ - width : 179px; - height : 500px; +.fspDiv42 { + width: 179px; + height: 500px; font-size: 15px; - background :url(../images/42ufsp.jpg); - border-width:2px; + background: url(../images/42ufsp.jpg); + border-width: 2px; cursor: pointer; } -.lparDiv{ +.lparDiv { margin: 5px 0px 0px 9px; - width : 80px; - height : 10px; + width: 80px; + height: 10px; opacity: 1; } -.lparStatus{ - width : 5px; - height : 5px; -} +.lparStatus { + width: 5px; + height: 5px; +} \ No newline at end of file diff --git a/xCAT-UI/js/nodes/nodes.js b/xCAT-UI/js/nodes/nodes.js index 018c7c4da..6375e5f9b 100644 --- a/xCAT-UI/js/nodes/nodes.js +++ b/xCAT-UI/js/nodes/nodes.js @@ -1870,25 +1870,21 @@ function createCommentsToolTip(comments) { 'width': '200px', 'background-color': '#000', 'color': '#fff', - 'border': '0px' + 'border': '0px', + 'display': 'block' }); // Create links to save and cancel changes - var saveLnk = $('Save'); - saveLnk.css({ + var lnkStyle = { 'color': '#58ACFA', 'font-size': '10px', - 'display' : 'inline-block', - 'padding' : '5px' - }); + 'display': 'inline-block', + 'padding': '5px', + 'float': 'right' + }; + var saveLnk = $('Save').css(lnkStyle); saveLnk.hide(); - var cancelLnk = $('Cancel'); - cancelLnk.css({ - 'color': '#58ACFA', - 'font-size': '10px', - 'display' : 'inline-block', - 'padding' : '5px' - }); + var cancelLnk = $('Cancel').css(lnkStyle); cancelLnk.hide(); // Save changes onclick @@ -1934,8 +1930,8 @@ function createCommentsToolTip(comments) { }); toolTip.append(txtArea); - toolTip.append(saveLnk); toolTip.append(cancelLnk); + toolTip.append(saveLnk); return toolTip; }