From e7303ccb086b34dbb41741001b303d2042b2bb03 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 1 Mar 2016 09:56:57 -0500 Subject: [PATCH] change styles from table constructs to class constructs --- web/skins/classic/css/flat/views/console.css | 45 ++++++++++++++++++-- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/web/skins/classic/css/flat/views/console.css b/web/skins/classic/css/flat/views/console.css index 49920402a..5015f0ef1 100644 --- a/web/skins/classic/css/flat/views/console.css +++ b/web/skins/classic/css/flat/views/console.css @@ -42,21 +42,21 @@ width: 100%; } -#consoleTable tr.highlight { +#consoleTable div.highlight { background-color: #eeeeee; } -#consoleTable thead th { +#consoleTable .thead .tr div { padding-bottom: 4px; vertical-align: middle; } -#consoleTable tfoot td { +#consoleTable .tfoot .tr div { padding-top: 4px; vertical-align: middle; } -#consoleTable th,td { +#consoleTable .tr div { height: 16px; text-align: left; } @@ -80,6 +80,7 @@ #consoleTable .colLeftButtons { text-align: left; + min-width:300px; } #consoleTable .colLeftButtons input { @@ -89,9 +90,45 @@ #consoleTable .colRightButtons { text-align: right; padding-right: 8px; + min-width: 150px; } #consoleTable .colRightButtons input { margin: 0 8px; } +/* + * Console table for the main event table + */ +#consoleTable { +display: table; +} + +#consoleTable .tr { + display: table-row; +} +#consoleTable .tr div { + text-align: left; + display: table-cell; + padding: 5px; + border-bottom: 2px solid #f2f2f2; +} + +#consoleTable input[type=button] { + margin-right: 3px !important; +} + +#consoleTable .tfoot { + display: table-footer-group; + background-color: #f2f2f2; +} +#consoleTable .tbody { + display: table-row-group; +} +#consoleTable .thead { + display: table-header-group; + text-transform: uppercase; + font-size: 0.8em; + font-weight: 600; +} +