From: Andrew Hunt Date: Thu, 30 Jul 2020 18:55:51 +0000 (-0400) Subject: Simplify button padding and set consistent line height X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=294a6eebb1d41964952df76c2b1311506003c244;p=civicrm-core.git Simplify button padding and set consistent line height --- diff --git a/css/civicrm.css b/css/civicrm.css index e0e1353d03..d4574ae5d8 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -1868,11 +1868,19 @@ input.crm-form-entityref { border: 1px solid #3e3e3e; } +.crm-container a.button, +.crm-container a.button:link, +.crm-container a.button:visited, .crm-container span.crm-button { display: block; - float: left !important; + float: left; overflow: hidden; - padding: 1px; + line-height: 135%; +} + +/* Preserving the important but not sure why */ +.crm-container span.crm-button { + float: left !important; } .crm-container button.crm-button { @@ -1890,20 +1898,12 @@ input.crm-form-entityref { .crm-container .crm-button input[type=button], .crm-container .crm-button input.crm-form-submit { - padding: 3px 5px 2px; + padding: 0; margin: 0; background: none; border: none; } -.crm-container a.button, -.crm-container a.button:link, -.crm-container a.button:visited { - display: block; - float: left; - line-height: 135%; -} - .crm-container .crm-button:hover, .crm-container .crm-button:focus, .crm-container input[type=submit]:hover, @@ -2088,15 +2088,6 @@ a.crm-i:hover { color: #86c661; } -.crm-button>.crm-i { - padding-left: 5px; -} - -.crm-container .crm-button .crm-i + input[type="button"], -.crm-container .crm-button .crm-i + input.crm-form-submit { - padding-left: 0; -} - .crm-container a.helpicon { opacity: .8; }