diff options
author | Saksham Gupta <shucon01@gmail.com> | 2018-01-29 19:43:47 +0300 |
---|---|---|
committer | MaurĂcio Meneghini Fauth <mauriciofauth@gmail.com> | 2018-01-29 19:43:47 +0300 |
commit | 439185c6127ebb77731c71966005dcaeb6aa4834 (patch) | |
tree | ddaf2011513c64f35c575d46949f81cdc3ec7696 /themes | |
parent | 7278e72812cbbea7ad3fc98e68a13aae8873a065 (diff) |
Fix Row coloring issue@Indexes (#13877)
Fix #13090
* Fix Row coloring issue@Indexes
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/13090
* Update Index.php
* Update Index.php
* Update common.css.php
* Fix Row Colouring Issue
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/13090
* Fix Row Colouring Issue @ Indexes
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/13090
* Fix Row Colouring Issue [Original Theme]
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/13090
* Refactor code
* Fix Row coloring issue@Indexes
* Body wrap
* Fix Keyname Column and colour inversion
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
Diffstat (limited to 'themes')
-rw-r--r-- | themes/original/css/common.css.php | 12 | ||||
-rw-r--r-- | themes/pmahomme/css/common.css.php | 8 |
2 files changed, 14 insertions, 6 deletions
diff --git a/themes/original/css/common.css.php b/themes/original/css/common.css.php index 146e3fc632..2df7a062fe 100644 --- a/themes/original/css/common.css.php +++ b/themes/original/css/common.css.php @@ -270,13 +270,17 @@ button.mult_submit { } /* odd items 1,3,5,7,... */ -table tr:nth-child(odd) { - background: <?php echo $GLOBALS['cfg']['BgOne']; ?>; +table tr:nth-child(odd), +#table_index tbody:nth-of-type(odd) tr, +#table_index tbody:nth-of-type(odd) th { + background: <?php echo $GLOBALS['cfg']['BgOne']; ?>; } /* even items 2,4,6,8,... */ -table tr:nth-child(even) { - background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>; +table tr:nth-child(even), +#table_index tbody:nth-of-type(even) tr, +#table_index tbody:nth-of-type(even) th { + background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>; } table tr th, diff --git a/themes/pmahomme/css/common.css.php b/themes/pmahomme/css/common.css.php index 6ad48a7aa3..597f0cfc72 100644 --- a/themes/pmahomme/css/common.css.php +++ b/themes/pmahomme/css/common.css.php @@ -554,13 +554,17 @@ button.mult_submit { /* odd items 1,3,5,7,... */ table tbody:first-of-type tr:nth-child(odd), -table tbody:first-of-type tr:nth-child(odd) th { +table tbody:first-of-type tr:nth-child(odd) th, +#table_index tbody:nth-of-type(odd) tr, +#table_index tbody:nth-of-type(odd) th { background: #fff; } /* even items 2,4,6,8,... */ table tbody:first-of-type tr:nth-child(even), -table tbody:first-of-type tr:nth-child(even) th { +table tbody:first-of-type tr:nth-child(even) th, +#table_index tbody:nth-of-type(even) tr, +#table_index tbody:nth-of-type(even) th { background: #DFDFDF; } |