diff options
author | Juvenv <Juvenv@users.noreply.github.com> | 2017-12-23 20:24:01 +0300 |
---|---|---|
committer | MaurĂcio Meneghini Fauth <mauriciofauth@gmail.com> | 2017-12-23 20:24:01 +0300 |
commit | 561c6bf82c453491781fb5e7a557a34e97179365 (patch) | |
tree | 707ee533fc068e2b555f25fa514be90c391dd7f6 | |
parent | bd5b7f0d39989e378f4ed590565afe0612b2a854 (diff) |
Remove inline styles from elements (#13883)
* Remove inline styles from elements in index.php #12262
* Remove inline style from element in CentralColumns #12262
Related to #12262
Signed-off-by: Juvenildo Vaz <juvenildo1511@yahoo.com.br>
-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 */ |