From d59f8c52bbf6f53ae9ea4a908a05c07b4fd5ff6f Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 16 Dec 2020 17:22:39 +0100 Subject: [PATCH] HTML buttons are now handle by default CSS (and light-blue one) --- src/css/default/base.css | 2 +- src/css/light-blue.css | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/css/default/base.css b/src/css/default/base.css index 0332cfc8..0aff50f4 100644 --- a/src/css/default/base.css +++ b/src/css/default/base.css @@ -353,7 +353,7 @@ input[type='text'].LSview_search { width: 12em; } -input[type='submit'].LSview_search { +input[type='submit'].LSview_search, button { border: 1px solid #0072b8; width: 8rem; background-color: #0072b8; diff --git a/src/css/light-blue.css b/src/css/light-blue.css index aac21922..7580ac95 100644 --- a/src/css/light-blue.css +++ b/src/css/light-blue.css @@ -311,7 +311,7 @@ tr.LSobject-list-bis, table.LStable tr.bis, .LSform input[type=text], .LSform in } /* ---- Dark ---- */ -li.LSform_layout_current, .LSform input[type=submit], input[type='submit'].LSview_search, ul.LSaccessRightsMatrixView_tabs li.LSaccessRightsMatrixView_active_tab { +li.LSform_layout_current, .LSform input[type=submit], input[type='submit'].LSview_search, button, ul.LSaccessRightsMatrixView_tabs li.LSaccessRightsMatrixView_active_tab { background-color: var(--dark-color); } @@ -319,7 +319,7 @@ li.menu a, a.menu, h1 { color: var(--dark-color); } -input[type='submit'].LSview_search, input[type='text'].LSview_search, div.LSaccessRightsMatrixView_tab_content { +input[type='submit'].LSview_search, input[type='text'].LSview_search, button, div.LSaccessRightsMatrixView_tab_content { border-color: var(--dark-color); } @@ -339,7 +339,7 @@ body, input, select, textarea, #status, th.LSobject-list, table.LStable th, th.L } /* ---- Contrasted grey ---- */ -tr.LSobject-list:hover, table.LStable tr.bis:hover, tr.LSobject-list:hover a.LSobject-list, table.LStable tbody tr:hover a, .LSform input[type=submit], input[type='submit'].LSview_search, li.LSform_layout_current { +tr.LSobject-list:hover, table.LStable tr.bis:hover, tr.LSobject-list:hover a.LSobject-list, table.LStable tbody tr:hover a, .LSform input[type=submit], input[type='submit'].LSview_search, button, li.LSform_layout_current { color: var(--contrasted-text-color); }