diff options
-rw-r--r-- | index.php | 2 | ||||
-rw-r--r-- | libraries/classes/CentralColumns.php | 4 | ||||
-rw-r--r-- | themes/original/css/common.css.php | 14 | ||||
-rw-r--r-- | themes/pmahomme/css/common.css.php | 14 |
4 files changed, 31 insertions, 3 deletions
@@ -191,7 +191,7 @@ if ($server > 0 || count($cfg['Servers']) > 1 if ($cfg['DBG']['demo']) { echo '<div class="group">'; echo '<h2>' , __('phpMyAdmin Demo Server') , '</h2>'; - echo '<p style="margin: 0.5em 1em 0.5em 1em">'; + echo '<p class="cfg_dbg_demo">'; printf( __( 'You are using the demo server. You can do anything here, but ' diff --git a/libraries/classes/CentralColumns.php b/libraries/classes/CentralColumns.php index adcfbdddab..ab8314bef8 100644 --- a/libraries/classes/CentralColumns.php +++ b/libraries/classes/CentralColumns.php @@ -883,11 +883,11 @@ class CentralColumns $pos, $db ) { - $columnAdd = '<table style="display:inline-block;margin-left:1%;max-width:50%" ' + $columnAdd = '<table class="central_columns_add_column" ' . 'class="navigation nospacing nopadding">' . '<tr>' . '<td class="navigation_separator largescreenonly"></td>' - . '<td style="padding:1.5% 0em">' + . '<td class="central_columns_navigation">' . Util::getIcon( 'centralColumns_add', __('Add column') diff --git a/themes/original/css/common.css.php b/themes/original/css/common.css.php index 132e075b74..7c2c1fbfe0 100644 --- a/themes/original/css/common.css.php +++ b/themes/original/css/common.css.php @@ -622,6 +622,20 @@ form.login label { font-size: 70%; } +.cfg_dbg_demo{ + margin: 0.5em 1em 0.5em 1em; +} + +.central_columns_navigation{ + padding:1.5% 0em !important; +} + +.central_columns_add_column{ + display:inline-block; + margin-left:1%; + max-width:50% +} + /******************************************************************************/ /* specific elements */ diff --git a/themes/pmahomme/css/common.css.php b/themes/pmahomme/css/common.css.php index a4ea32b059..9630165c06 100644 --- a/themes/pmahomme/css/common.css.php +++ b/themes/pmahomme/css/common.css.php @@ -903,6 +903,20 @@ form.login select { font-size: 70%; } +.cfg_dbg_demo{ + margin: 0.5em 1em 0.5em 1em; +} + +.central_columns_navigation{ + padding:1.5% 0em !important; +} + +.central_columns_add_column{ + display:inline-block; + margin-left:1%; + max-width:50% +} + /******************************************************************************/ /* specific elements */ |