Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

125 righe
5.0 KiB

  1. <head><title>Other Icons</title></head>
  2. <style>
  3. body {
  4. font-family: 'Segoe UI', Arial;
  5. background-color: #aaa;
  6. padding: 0;
  7. margin: 0;
  8. }
  9. .bg0 {
  10. background-image: url("../_tools/background.png")
  11. }
  12. .bg1 {
  13. background-color: #333;
  14. }
  15. .bg2 {
  16. background-color: #fff;
  17. }
  18. .imgbox img {
  19. width: 10.5rem;
  20. height: 10.5rem;
  21. object-fit: contain;
  22. }
  23. .imgbox {
  24. margin: 0.6rem;
  25. padding: 0.5rem;
  26. text-align: center;
  27. width: 12rem;
  28. height: 12rem;
  29. background-color: #e0e0e0;
  30. }
  31. h1 {
  32. font-size: 2.6rem;
  33. }
  34. .find, .find input {
  35. font-size: 1.5rem;
  36. }
  37. .top {
  38. position: -webkit-sticky;
  39. position: sticky;
  40. top: 0;
  41. background-color: #aaa;
  42. padding: 1rem;
  43. padding-top: 0;
  44. box-shadow: 0px 5px 18px 3px rgba(0,0,0,0.59);
  45. }
  46. .top button {
  47. float: right;
  48. position: relative;
  49. top: -2rem;
  50. font-size: 1.5rem;
  51. }
  52. .label {
  53. height: 2.5em;
  54. line-height: 1em;
  55. overflow: hidden;
  56. font-size: 0.9rem;
  57. }
  58. .grid {
  59. display: flex;
  60. flex-wrap: wrap;
  61. width: 100%;
  62. }
  63. </style>
  64. <body>
  65. <div class="top">
  66. <h1>Other Icons</h1>
  67. <span class="find">Finder: <input onkeyup="search()" id="finder"><br></span>
  68. <button onclick="toggleBg()">Change Background</button>
  69. </div>
  70. <div class="grid">
  71. <div id="Kudu.svg" class="imgbox"><img src="Kudu.svg" class="bg0"/><div class="label">Kudu.svg</div></div>
  72. <div id="aks-blue.svg" class="imgbox"><img src="aks-blue.svg" class="bg0"/><div class="label">aks-blue.svg</div></div>
  73. <div id="app-center-colour.svg" class="imgbox"><img src="app-center-colour.svg" class="bg0"/><div class="label">app-center-colour.svg</div></div>
  74. <div id="app-center.svg" class="imgbox"><img src="app-center.svg" class="bg0"/><div class="label">app-center.svg</div></div>
  75. <div id="azure ml.svg" class="imgbox"><img src="azure ml.svg" class="bg0"/><div class="label">azure ml.svg</div></div>
  76. <div id="cloud-security.svg" class="imgbox"><img src="cloud-security.svg" class="bg0"/><div class="label">cloud-security.svg</div></div>
  77. <div id="connector.svg" class="imgbox"><img src="connector.svg" class="bg0"/><div class="label">connector.svg</div></div>
  78. <div id="container-insights.svg" class="imgbox"><img src="container-insights.svg" class="bg0"/><div class="label">container-insights.svg</div></div>
  79. <div id="container-mon.svg" class="imgbox"><img src="container-mon.svg" class="bg0"/><div class="label">container-mon.svg</div></div>
  80. <div id="container.svg" class="imgbox"><img src="container.svg" class="bg0"/><div class="label">container.svg</div></div>
  81. <div id="containerinstances-mono.svg" class="imgbox"><img src="containerinstances-mono.svg" class="bg0"/><div class="label">containerinstances-mono.svg</div></div>
  82. <div id="cubes.svg" class="imgbox"><img src="cubes.svg" class="bg0"/><div class="label">cubes.svg</div></div>
  83. <div id="designer.svg" class="imgbox"><img src="designer.svg" class="bg0"/><div class="label">designer.svg</div></div>
  84. <div id="devops-boards.svg" class="imgbox"><img src="devops-boards.svg" class="bg0"/><div class="label">devops-boards.svg</div></div>
  85. <div id="devops-pipelines.svg" class="imgbox"><img src="devops-pipelines.svg" class="bg0"/><div class="label">devops-pipelines.svg</div></div>
  86. <div id="devops-repos.svg" class="imgbox"><img src="devops-repos.svg" class="bg0"/><div class="label">devops-repos.svg</div></div>
  87. <div id="devops-testplans.svg" class="imgbox"><img src="devops-testplans.svg" class="bg0"/><div class="label">devops-testplans.svg</div></div>
  88. <div id="devopsiconartifacts96.svg" class="imgbox"><img src="devopsiconartifacts96.svg" class="bg0"/><div class="label">devopsiconartifacts96.svg</div></div>
  89. <div id="event-grid-topic.svg" class="imgbox"><img src="event-grid-topic.svg" class="bg0"/><div class="label">event-grid-topic.svg</div></div>
  90. <div id="machine-learning-diagram.svg" class="imgbox"><img src="machine-learning-diagram.svg" class="bg0"/><div class="label">machine-learning-diagram.svg</div></div>
  91. <div id="pickle.svg" class="imgbox"><img src="pickle.svg" class="bg0"/><div class="label">pickle.svg</div></div>
  92. <div id="resource-explorer.svg" class="imgbox"><img src="resource-explorer.svg" class="bg0"/><div class="label">resource-explorer.svg</div></div>
  93. <div id="rss.svg" class="imgbox"><img src="rss.svg" class="bg0"/><div class="label">rss.svg</div></div>
  94. <div id="shield.svg" class="imgbox"><img src="shield.svg" class="bg0"/><div class="label">shield.svg</div></div>
  95. <div id="xcode.svg" class="imgbox"><img src="xcode.svg" class="bg0"/><div class="label">xcode.svg</div></div>
  96. </div>
  97. <script>
  98. var bg = 0;
  99. function toggleBg() {
  100. bg++
  101. if(bg > 2) bg = 0;
  102. for(let img of document.getElementsByTagName("img")) {
  103. img.className = `bg${bg}`;
  104. }
  105. }
  106. function search() {
  107. let q = document.getElementById('finder').value.trim().toLowerCase()
  108. if(q.length <= 0) {
  109. for(let imgbox of document.getElementsByClassName("imgbox")) {
  110. imgbox.style.display = "inline-block"
  111. }
  112. }
  113. for(let imgbox of document.getElementsByClassName("imgbox")) {
  114. imgbox.style.display = "inline-block"
  115. if(!imgbox.id.includes(q)) {
  116. imgbox.style.display = "none"
  117. }
  118. }
  119. }
  120. </script>
  121. </body></html>