demoTemplate.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>edu-icon-demo</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <link rel="stylesheet" href="../css/icons.css"></head>
  8. <body>
  9. <style>
  10. body {
  11. padding: 0;
  12. margin: 0;
  13. font-family: sans-serif;
  14. font-size: 1em;
  15. line-height: 1.5;
  16. color: #555;
  17. background: #fff;
  18. }
  19. h1 {
  20. font-size: 1.5em;
  21. font-weight: normal;
  22. }
  23. small {
  24. font-size: .66666667em;
  25. }
  26. a {
  27. color: #e74c3c;
  28. text-decoration: none;
  29. }
  30. a:hover, a:focus {
  31. box-shadow: 0 1px #e74c3c;
  32. }
  33. .bshadow0, input {
  34. box-shadow: inset 0 -2px #e7e7e7;
  35. }
  36. input:hover {
  37. box-shadow: inset 0 -2px #ccc;
  38. }
  39. input, fieldset {
  40. font-family: sans-serif;
  41. font-size: 1em;
  42. margin: 0;
  43. padding: 0;
  44. border: 0;
  45. }
  46. input {
  47. color: inherit;
  48. line-height: 1.5;
  49. height: 1.5em;
  50. padding: .25em 0;
  51. }
  52. input:focus {
  53. outline: none;
  54. box-shadow: inset 0 -2px #449fdb;
  55. }
  56. .glyph {
  57. font-size: 16px;
  58. width: 15em;
  59. padding-bottom: 1em;
  60. margin-right: 4em;
  61. margin-bottom: 1em;
  62. float: left;
  63. overflow: hidden;
  64. }
  65. .liga {
  66. width: 80%;
  67. width: calc(100% - 2.5em);
  68. }
  69. .talign-right {
  70. text-align: right;
  71. }
  72. .talign-center {
  73. text-align: center;
  74. }
  75. .bgc1 {
  76. background: #f1f1f1;
  77. }
  78. .fgc1 {
  79. color: #999;
  80. }
  81. .fgc0 {
  82. color: #000;
  83. }
  84. p {
  85. margin-top: 1em;
  86. margin-bottom: 1em;
  87. }
  88. .mvm {
  89. margin-top: .75em;
  90. margin-bottom: .75em;
  91. }
  92. .mtn {
  93. margin-top: 0;
  94. }
  95. .mtl, .mal {
  96. margin-top: 1.5em;
  97. }
  98. .mbl, .mal {
  99. margin-bottom: 1.5em;
  100. }
  101. .mal, .mhl {
  102. margin-left: 1.5em;
  103. margin-right: 1.5em;
  104. }
  105. .mhmm {
  106. margin-left: 1em;
  107. margin-right: 1em;
  108. }
  109. .mls {
  110. margin-left: .25em;
  111. }
  112. .ptl {
  113. padding-top: 1.5em;
  114. }
  115. .pbs, .pvs {
  116. padding-bottom: .25em;
  117. }
  118. .pvs, .pts {
  119. padding-top: .25em;
  120. }
  121. .unit {
  122. float: left;
  123. }
  124. .unitRight {
  125. float: right;
  126. }
  127. .size1of2 {
  128. width: 50%;
  129. }
  130. .size1of1 {
  131. width: 100%;
  132. }
  133. .clearfix:before, .clearfix:after {
  134. content: " ";
  135. display: table;
  136. }
  137. .clearfix:after {
  138. clear: both;
  139. }
  140. .hidden-true {
  141. display: none;
  142. }
  143. .textbox0 {
  144. width: 3em;
  145. background: #f1f1f1;
  146. padding: .25em .5em;
  147. line-height: 1.5;
  148. height: 1.5em;
  149. }
  150. #testDrive {
  151. display: block;
  152. padding-top: 24px;
  153. line-height: 1.5;
  154. }
  155. .fs0 {
  156. font-size: 16px;
  157. }
  158. .fs1 {
  159. font-size: 32px;
  160. }
  161. </style>
  162. <div class="bgc1 clearfix">
  163. <h1 class="mhmm mvm">
  164. <span class="fgc1">Font Name:</span> ux-icon-edu
  165. &nbsp &nbsp &nbsp
  166. <span class="fgc1">total:</span> <%= total %>
  167. </h1>
  168. </div>
  169. <div class="clearfix mhl ptl">
  170. <h1 class="mvm mtn fgc1"></h1>
  171. <% arr.forEach((item) => {%>
  172. <div class="glyph fs1">
  173. <div class="clearfix bshadow0 pbs">
  174. <span class="<%= item.key %>"></span>
  175. <span class="mls"> <%= item.key %></span>
  176. </div>
  177. <fieldset class="fs0 size1of1 clearfix hidden-false">
  178. <input type="text" readonly value="<%= item.value %>" class="unit size1of2" />
  179. <input type="text" maxlength="1" readonly class="unitRight size1of2 talign-right" />
  180. </fieldset>
  181. </div>
  182. <%});%>
  183. </div>
  184. <div class="bgc1 clearfix">
  185. <p class="mhl">Generated by <a href="https://icomoon.io/app">hzchenqinhui@corp.163.com</a></p>
  186. </div>
  187. </body>
  188. </html>