Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/remmina-web.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2019-06-21 01:26:42 +0300
committerAntenore Gatta <antenore@simbiosi.org>2019-06-21 01:26:42 +0300
commit7b4c8bed622d8caeb15b5ebf8cdf08a5e08eaf68 (patch)
tree78e8de35d68bd23cc65557b149a7696ac7d6b9f0 /_includes
parent2f6e1660900ca0111490baef2d8ceb67cce5067d (diff)
styled donation link
Diffstat (limited to '_includes')
-rw-r--r--_includes/head/custom.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/_includes/head/custom.html b/_includes/head/custom.html
index 4e10971..1ab5ea8 100644
--- a/_includes/head/custom.html
+++ b/_includes/head/custom.html
@@ -1,5 +1,20 @@
<!-- start custom head snippets -->
+<!-- Apply specific styles at elements containing a specific text -->
+<script type="text/javascript" >
+ window.onload = function () {
+ getElementsByContains = function(str,elmtTagName="*",node=document){
+ var elms = document.evaluate( "//"+elmtTagName+"[contains(., '" +str+ "')]" ,node, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null ),
+ nodeSet = [];
+ for ( var i=0 ; i < elms.snapshotLength; i++ ){
+ nodeSet.push(elms.snapshotItem(i));
+ }
+ return nodeSet;
+ }
+ getElementsByContains('Donations','a')[0].style.color ='red';
+}
+</script>
+
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};