Styles were affecting edit columns as well as edit central columns

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2015-03-11 18:47:33 +05:30
parent ebbaf9685c
commit aa74cd29fb
3 changed files with 24 additions and 21 deletions

View File

@ -174,7 +174,8 @@ function PMA_getHtmlForFooter()
*/
function PMA_getHtmlForTableNameAndNoOfColumns()
{
$html = '<table class="menucontainer" id="table_name_col_no">'
$html = '<div id="table_name_col_no_outer">'
. '<table id="table_name_col_no">'
. '<tr class="vmiddle floatleft">'
. '<td>' . __('Table name')
. ':&nbsp;<input type="text" name="table" size="40" maxlength="80"'
@ -194,7 +195,8 @@ function PMA_getHtmlForTableNameAndNoOfColumns()
$html .= '</td>'
. '</tr>'
. '</table>';
. '</table>'
. '</div>';
return $html;
}

View File

@ -821,14 +821,6 @@ div#tablestatistics table {
width: 100%;
}
.menucontainer#table_name_col_no {
position:fixed;
top:48px;
z-index:500;
width:100%;
background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
}
#serverinfo {
background: white;
font-weight: bold;
@ -2026,8 +2018,16 @@ fieldset .disabled-field td {
padding: 0.5em;
}
#table_columns.noclick {
margin-top:40px;
#table_name_col_no_outer {
margin-top: 30px;
}
#table_name_col_no {
position: fixed;
top: 44px;
z-index: 500;
width: 100%;
background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
}
#table_columns input[type="text"],

View File

@ -975,13 +975,6 @@ ul#topmenu2 li {
border-top: 1px solid #aaa;
}
.menucontainer#table_name_col_no {
position:fixed;
top:58px;
z-index:500;
width:100%;
}
/* default tab styles */
.tabactive {
background: #fff !important;
@ -2569,8 +2562,16 @@ fieldset .disabled-field td {
padding: 1.5em;
}
#table_columns.noclick {
margin-top:50px;
#table_name_col_no_outer {
margin-top: 45px;
}
#table_name_col_no {
position: fixed;
top: 55px;
z-index: 500;
width: 100%;
background: '#ffffff';
}
#table_columns input[type="text"],