From 25741ebcd425adc3488789726319bb4a93bc5005 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 7 Aug 2014 16:44:35 +0100 Subject: [PATCH] Fix table row striping --- css/civicrm.css | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/css/civicrm.css b/css/civicrm.css index 6fc41a78a9..90c1ae6d0f 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -5,6 +5,10 @@ * Other civi blocks outside the main container also have the class crm-container (but not the id) * All styles should start with .crm-container unless they are specific to the main div only */ +.crm-container input, +#civicrm-menu input { + box-sizing: content-box; +} div.crm-container label { font-weight: normal; @@ -105,11 +109,6 @@ div.crm-container fieldset label{ border-top: none; } -.crm-container tr { - font-size: .95em; - background: none !important; -} - .crm-container td { padding: 4px; vertical-align: top; @@ -122,25 +121,11 @@ div.crm-container fieldset label{ border-collapse: collapse; } -.crm-container .crm-row-selected { - margin: 0px; - padding: 3px 0px 3px 0px; - clear: none; - background-color: #FFFFCC !important; -} - .crm-container .crm-row-child { margin: 0px; padding: 3px 0px 3px 0px; clear: none; - background-color: #F1F8EB !important; -} - -.crm-container .row-highlighted { - margin: 0px; - padding: 3px 0px 3px 0px; - clear: none; - background-color: #FFFFCC; + background-color: #F1F8EB; } /* @@ -3936,7 +3921,8 @@ div.m ul#civicrm-menu, } /* table row highlightng */ -.crm-container table.row-highlight tr:hover { +.crm-container table.row-highlight tr:hover, +.crm-container .crm-row-selected { background-color: #FFFFCC !important; } #crm-container .civicrm-drupal-wysiwyg .collapsed { -- 2.25.1