From e575a7467f8e21fb974dca7a4c5f1c7e05212350 Mon Sep 17 00:00:00 2001 From: Ivan Urdenko Date: Tue, 19 Sep 2023 12:43:09 +0200 Subject: [PATCH] changed active button color --- src/assets/favicon.ico | Bin 0 -> 15406 bytes .../outline-tab/LmsHtmlFragment.jsx | 19 ------------------ src/index.scss | 5 ++--- 3 files changed, 2 insertions(+), 22 deletions(-) create mode 100644 src/assets/favicon.ico diff --git a/src/assets/favicon.ico b/src/assets/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..89d1ceee4a2450aa344c30f37918a53ca1e2f9e1 GIT binary patch literal 15406 zcmeI2y=x*-5Wt`DlL+dGi6W@0=tWR4g`9;52MK|I_*Ge+ohWGnVka02MQgPXuCNj$ z2-*sEN5I0we`xN_=F;4uL5;4Pn+L<{?)%s`^LrmV^B7YwB{P{AzX~j`V(c4ZOb}lG z`@b;uli$0%{PX-PW53QA^Yc8s2ruz^pI=rb;15XlpaZ2+38_>H(&@A)E|=?FJ)fVS zgG!}(H{U9o>GgWZX0s5B#kQ^k>%O?SfV;c9t?IbCx`Iq50~(EHJL4<5;g$D$wb44!RdsC=}wi1NJ!*i5#@g$ZWk{hg>cP zCnqNdZ+q7MK#K1}hxN832gnkn4qGdn0ke_5FBed>+^6yxVKiQacKnxHA z!~iis3=jjdVgO_M7@uD!nCBSxIe509(P%)k*<33R4-aDe|JeF~=Lv3ZZs7LzcCDb_ z+GH{vr45cvr*H3rzTdasa=S*OQFwfOl*DKK5xUapbWkW1;N|57aO`=#URnCUJsuC# zYBiWlCUAd$4|cm%bUFB9VZnrzbIn77B$VjVW&1 zf2-9B)oK- elements inside .small in the iframe's body - var links = iframeContent.querySelectorAll('body .small a'); - - // Check if the elements exist - if (links.length > 0) { - // Apply the desired styles - links.forEach(function(link) { - link.style.color = '#25a78e'; - }); - } -}; - const LmsHtmlFragment = ({ className, diff --git a/src/index.scss b/src/index.scss index 3b6c1b1d6c..68ffb45f48 100755 --- a/src/index.scss +++ b/src/index.scss @@ -395,9 +395,8 @@ a.btn-inverse-outline-primary:active { color: #454545 !important; } -a[href$="demoPDF.pdf"] { - color: #25a78e; /* Change 'red' to whatever style you want */ - /* Add more styles if needed */ +a { + color: #25a78e; } // Import component-specific sass files