mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-26 01:13:41 +02:00
Improved button text
This commit is contained in:
parent
52e17c02ad
commit
bcfdbccb70
4
404.html
4
404.html
@ -274,7 +274,7 @@
|
|||||||
<input type="text" id="search" class="search-field" autofocus>
|
<input type="text" id="search" class="search-field" autofocus>
|
||||||
<p><strong>SVG icons for popular brands.</strong> This project is maintained by <a href="https://twitter.com/bathtype">Dan Leech</a>. Contributions, corrections & requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners.</p>
|
<p><strong>SVG icons for popular brands.</strong> This project is maintained by <a href="https://twitter.com/bathtype">Dan Leech</a>. Contributions, corrections & requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners.</p>
|
||||||
<p><a href="https://github.com/danleech/simple-icons/tree/gh-pages/icons" class="button">Download</a></p>
|
<p><a href="https://github.com/danleech/simple-icons/tree/gh-pages/icons" class="button">Download</a></p>
|
||||||
<p><a href="#" onclick="toggleNames();return false" class="button button--secondary">Toggle Names & Colour Values</a></p>
|
<p><a href="#" id="toggle-button" onclick="toggleNames();return false" class="button button--secondary">Toggle Names & Colour Values</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="block block--ad">
|
<div class="block block--ad">
|
||||||
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=simpleiconsorg" id="_carbonads_js"></script>
|
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=simpleiconsorg" id="_carbonads_js"></script>
|
||||||
@ -550,9 +550,11 @@
|
|||||||
var list = document.getElementsByClassName("tiles tiles--icons");
|
var list = document.getElementsByClassName("tiles tiles--icons");
|
||||||
if(list.length == 1) {
|
if(list.length == 1) {
|
||||||
list[0].className = "tiles tiles--full";
|
list[0].className = "tiles tiles--full";
|
||||||
|
document.getElementById("toggle-button").innerHTML = "Hide Names & Colour Values";
|
||||||
} else {
|
} else {
|
||||||
var list = document.getElementsByClassName("tiles tiles--full");
|
var list = document.getElementsByClassName("tiles tiles--full");
|
||||||
list[0].className = "tiles tiles--icons";
|
list[0].className = "tiles tiles--icons";
|
||||||
|
document.getElementById("toggle-button").innerHTML = "Show Names & Colour Values";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -274,7 +274,7 @@
|
|||||||
<input type="text" id="search" class="search-field" autofocus>
|
<input type="text" id="search" class="search-field" autofocus>
|
||||||
<p><strong>SVG icons for popular brands.</strong> This project is maintained by <a href="https://twitter.com/bathtype">Dan Leech</a>. Contributions, corrections & requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners.</p>
|
<p><strong>SVG icons for popular brands.</strong> This project is maintained by <a href="https://twitter.com/bathtype">Dan Leech</a>. Contributions, corrections & requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners.</p>
|
||||||
<p><a href="https://github.com/danleech/simple-icons/tree/gh-pages/icons" class="button">Download</a></p>
|
<p><a href="https://github.com/danleech/simple-icons/tree/gh-pages/icons" class="button">Download</a></p>
|
||||||
<p><a href="#" onclick="toggleNames();return false" class="button button--secondary">Toggle Names & Colour Values</a></p>
|
<p><a href="#" id="toggle-button" onclick="toggleNames();return false" class="button button--secondary">Toggle Names & Colour Values</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="block block--ad">
|
<div class="block block--ad">
|
||||||
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=simpleiconsorg" id="_carbonads_js"></script>
|
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=simpleiconsorg" id="_carbonads_js"></script>
|
||||||
@ -550,9 +550,11 @@
|
|||||||
var list = document.getElementsByClassName("tiles tiles--icons");
|
var list = document.getElementsByClassName("tiles tiles--icons");
|
||||||
if(list.length == 1) {
|
if(list.length == 1) {
|
||||||
list[0].className = "tiles tiles--full";
|
list[0].className = "tiles tiles--full";
|
||||||
|
document.getElementById("toggle-button").innerHTML = "Hide Names & Colour Values";
|
||||||
} else {
|
} else {
|
||||||
var list = document.getElementsByClassName("tiles tiles--full");
|
var list = document.getElementsByClassName("tiles tiles--full");
|
||||||
list[0].className = "tiles tiles--icons";
|
list[0].className = "tiles tiles--icons";
|
||||||
|
document.getElementById("toggle-button").innerHTML = "Show Names & Colour Values";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -34,9 +34,11 @@
|
|||||||
var list = document.getElementsByClassName("tiles tiles--icons");
|
var list = document.getElementsByClassName("tiles tiles--icons");
|
||||||
if(list.length == 1) {
|
if(list.length == 1) {
|
||||||
list[0].className = "tiles tiles--full";
|
list[0].className = "tiles tiles--full";
|
||||||
|
document.getElementById("toggle-button").innerHTML = "Hide Names & Colour Values";
|
||||||
} else {
|
} else {
|
||||||
var list = document.getElementsByClassName("tiles tiles--full");
|
var list = document.getElementsByClassName("tiles tiles--full");
|
||||||
list[0].className = "tiles tiles--icons";
|
list[0].className = "tiles tiles--icons";
|
||||||
|
document.getElementById("toggle-button").innerHTML = "Show Names & Colour Values";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -274,7 +274,7 @@
|
|||||||
<input type="text" id="search" class="search-field" autofocus>
|
<input type="text" id="search" class="search-field" autofocus>
|
||||||
<p><strong>SVG icons for popular brands.</strong> This project is maintained by <a href="https://twitter.com/bathtype">Dan Leech</a>. Contributions, corrections & requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners.</p>
|
<p><strong>SVG icons for popular brands.</strong> This project is maintained by <a href="https://twitter.com/bathtype">Dan Leech</a>. Contributions, corrections & requests can be left on <a href="https://github.com/danleech/simple-icons">GitHub</a>. Company logos in icons are copyright of their respective owners.</p>
|
||||||
<p><a href="https://github.com/danleech/simple-icons/tree/gh-pages/icons" class="button">Download</a></p>
|
<p><a href="https://github.com/danleech/simple-icons/tree/gh-pages/icons" class="button">Download</a></p>
|
||||||
<p><a href="#" onclick="toggleNames();return false" class="button button--secondary">Toggle Names & Colour Values</a></p>
|
<p><a href="#" id="toggle-button" onclick="toggleNames();return false" class="button button--secondary">Toggle Names & Colour Values</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="block block--ad">
|
<div class="block block--ad">
|
||||||
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=simpleiconsorg" id="_carbonads_js"></script>
|
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?zoneid=1696&serve=CVYD42T&placement=simpleiconsorg" id="_carbonads_js"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user