From be2a69ba2b8ed3a5ac15a6f46266ce3583832bdc Mon Sep 17 00:00:00 2001 From: Debarshi Bhaumik Date: Mon, 19 Oct 2020 10:24:48 +0100 Subject: [PATCH] CPS-332: Fix for case type buttons --- package-lock.json | 23 ++++++++++++++----- .../administer/civi-case/_case-types.scss | 22 ++++++++++++++++++ 2 files changed, 39 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 684de963..7338b11b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3052,12 +3052,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -3070,17 +3072,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -3195,7 +3200,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -3207,6 +3213,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -3221,6 +3228,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -3345,7 +3353,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -3357,6 +3366,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -3477,6 +3487,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", diff --git a/scss/civicrm/administer/civi-case/_case-types.scss b/scss/civicrm/administer/civi-case/_case-types.scss index 3b474dbe..5eebd421 100644 --- a/scss/civicrm/administer/civi-case/_case-types.scss +++ b/scss/civicrm/administer/civi-case/_case-types.scss @@ -41,6 +41,28 @@ } } } + + .crm-button { + @extend %btn-civi; + + &[crm-icon=fa-check] { + @extend %btn-civi-primary; + padding: 8px 19px; + } + + &[crm-icon=fa-times] { + @extend %btn-civi-secondary-outline; + border: solid 1px $gray-dark; + color: $gray; + margin: 0; + padding: 7px 19px; + + &:hover { + background: $gray-dark; + color: $crm-white; + } + } + } } table tr.forked {