Simplified style.css by reducing redundancies.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2010-09-11 13:06:07 +00:00
parent 6637a67916
commit 0e87948c8f
3 changed files with 15 additions and 45 deletions

View File

@ -544,6 +544,17 @@ div.cleanblue button:hover {
display: block;
}
.form ol {
margin: 0;
padding: 0;
}
.form li {
list-style: none;
padding: 5px 5px 5px 20px;
margin: 0;
}
.form .indent {
display: inline-table;
}
@ -578,15 +589,6 @@ div.cleanblue button:hover {
border: solid 1px #d4d4d4;
}
.form a {
text-decoration: none;
color: #0000FF;
}
.form a:hover {
color: #FF0000;
}
/****************** Provision disk table ******************/
.provision table {
border-width: 1px;
@ -621,34 +623,11 @@ div.cleanblue button:hover {
}
/****************** Provision and monitor forms ******************/
.provision label, .monitor label {
color: #424242;
line-height: 1.5;
vertical-align: top;
padding: 0px 0px 0px 20px;
display: inline-table;
}
.provision div, .monitor div {
margin: 10px 0;
display: block;
}
.provision input, .monitor input {
font: 12px verdana, arial, helvetica, sans-serif;
border: solid 1px #BDBDBD;
padding: 5px;
display: inline-table;
}
.provision select, .monitor select {
font: 12px verdana, arial, helvetica, sans-serif;
border: solid 1px #BDBDBD;
padding: 5px;
margin: 10px;
display: inline-table;
}
.provision textarea, .monitor textarea {
font: 12px verdana, arial, helvetica, sans-serif;
border: solid 1px #BDBDBD;
@ -658,15 +637,6 @@ div.cleanblue button:hover {
height: 150px;
}
.provision a, .monitor a {
text-decoration: none;
color: #0000FF;
}
.provision a:hover, .monitor a:hover {
color: #FF0000;
}
.monitorsumdiv{
width : 300px;
height : 150px;

View File

@ -51,7 +51,7 @@ function loadMonitorPage() {
/**
* Monitor nodes
*/
var monitorForm = $('<div class="monitor"></div>');
var monitorForm = $('<div class="form"></div>');
// Create info bar
var monitorInfoBar = createInfoBar('Select the Monitor Tool');
@ -60,7 +60,7 @@ function loadMonitorPage() {
// Create drop-down menu
// Hardware available to provision - ipmi, blade, hmc, ivm, fsp, and zvm
var monitorList = $('<ul></ul>');
var monitorList = $('<ol></ol>');
var items = "<li><a href='#' name='xcatmon'>xCAT Monitor</a> : xcatmon provides node status " +
"monitoring using fping on AIX and nmap on Linux. It also provides application " +
"status monitoring. The status and the appstatus columns of the nodelist table " +
@ -85,7 +85,7 @@ function loadMonitorPage() {
/**
* Monitor resources
*/
var resrcForm = $('<div class="monitor"></div>');
var resrcForm = $('<div class="form"></div>');
// Create info bar
var resrcInfoBar = createInfoBar('View current resources');

View File

@ -41,7 +41,7 @@ function loadProvisionPage() {
$('#content').append(infoBar);
// Create provision form
provForm = $('<div class="provision"></div>');
provForm = $('<div class="form"></div>');
provForm.append(infoBar);
// Create provision tab