From 7dc2dcd68118e6a0cfbb4eb0f4bf57e3f478e1b7 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Thu, 26 Nov 2020 19:57:26 +0100 Subject: [PATCH] Change color when clicking on copy --- scss/partials/_codes.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scss/partials/_codes.scss b/scss/partials/_codes.scss index 13da373..72a3bc3 100644 --- a/scss/partials/_codes.scss +++ b/scss/partials/_codes.scss @@ -22,6 +22,7 @@ text-align: center; cursor: text; + // Listing num .listing-number { font-weight: bold; color: #343131; @@ -37,7 +38,8 @@ // When button is clicked &.src-copied { - background-color: #d6e9ff; + color: $white; + background-color: $color-primary; } } @@ -96,9 +98,7 @@ pre { } } - - - +// Additional Formating of the code itself .org-type { color: #228b22; }