t_html_generator.h 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. #define BOOTSTRAP_CSS() \
  2. "/*!\n" \
  3. " * Bootstrap v2.0.3\n" \
  4. " *\n" \
  5. " * Copyright 2012 Twitter, Inc\n" \
  6. " * Licensed under the Apache License v2.0\n" \
  7. " * http://www.apache.org/licenses/LICENSE-2.0\n" \
  8. " *\n" \
  9. " * Designed and built with all the love in the world @twitter by @mdo and @fat.\n" \
  10. " */\n" \
  11. ".clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:\"\";}\n" \
  12. ".clearfix:after{clear:both;}\n" \
  13. ".hide-text{font:0/0 " \
  14. "a;color:transparent;text-shadow:none;background-color:transparent;border:0;}\n" \
  15. ".input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-" \
  16. "moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}\n" \
  17. "article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}\n" \
  18. "audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}\n" \
  19. "audio:not([controls]){display:none;}\n" \
  20. "html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}\n" \
  21. "a:focus{outline:thin dotted #333;outline:5px auto " \
  22. "-webkit-focus-ring-color;outline-offset:-2px;}\n" \
  23. "a:hover,a:active{outline:0;}\n" \
  24. "sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}\n" \
  25. "sup{top:-0.5em;}\n" \
  26. "sub{bottom:-0.25em;}\n" \
  27. "img{max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;}\n" \
  28. "button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;}\n" \
  29. "button,input{*overflow:visible;line-height:normal;}\n" \
  30. "button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}\n" \
  31. "button,input[type=\"button\"],input[type=\"reset\"],input[type=\"submit\"]{cursor:pointer;-" \
  32. "webkit-appearance:button;}\n" \
  33. "input[type=\"search\"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:" \
  34. "content-box;-webkit-appearance:textfield;}\n" \
  35. "input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-" \
  36. "cancel-button{-webkit-appearance:none;}\n" \
  37. "textarea{overflow:auto;vertical-align:top;}\n" \
  38. "body{margin:0;font-family:\"Helvetica " \
  39. "Neue\",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#333333;background-" \
  40. "color:#ffffff;}\n" \
  41. "a{color:#0088cc;text-decoration:none;}\n" \
  42. "a:hover{color:#005580;text-decoration:underline;}\n" \
  43. ".row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:\"\";}\n" \
  44. ".row:after{clear:both;}\n" \
  45. "[class*=\"span\"]{float:left;margin-left:20px;}\n" \
  46. ".container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px;}\n" \
  47. ".span12{width:940px;}\n" \
  48. ".span11{width:860px;}\n" \
  49. ".span10{width:780px;}\n" \
  50. ".span9{width:700px;}\n" \
  51. ".span8{width:620px;}\n" \
  52. ".span7{width:540px;}\n" \
  53. ".span6{width:460px;}\n" \
  54. ".span5{width:380px;}\n" \
  55. ".span4{width:300px;}\n" \
  56. ".span3{width:220px;}\n" \
  57. ".span2{width:140px;}\n" \
  58. ".span1{width:60px;}\n" \
  59. ".offset12{margin-left:980px;}\n" \
  60. ".offset11{margin-left:900px;}\n" \
  61. ".offset10{margin-left:820px;}\n" \
  62. ".offset9{margin-left:740px;}\n" \
  63. ".offset8{margin-left:660px;}\n" \
  64. ".offset7{margin-left:580px;}\n" \
  65. ".offset6{margin-left:500px;}\n" \
  66. ".offset5{margin-left:420px;}\n" \
  67. ".offset4{margin-left:340px;}\n" \
  68. ".offset3{margin-left:260px;}\n" \
  69. ".offset2{margin-left:180px;}\n" \
  70. ".offset1{margin-left:100px;}\n" \
  71. ".row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:\"\";}" \
  72. "\n" \
  73. ".row-fluid:after{clear:both;}\n" \
  74. ".row-fluid " \
  75. "[class*=\"span\"]{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-" \
  76. "box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:" \
  77. "2.127659574%;*margin-left:2.0744680846382977%;}\n" \
  78. ".row-fluid [class*=\"span\"]:first-child{margin-left:0;}\n" \
  79. ".row-fluid .span12{width:99.99999998999999%;*width:99.94680850063828%;}\n" \
  80. ".row-fluid .span11{width:91.489361693%;*width:91.4361702036383%;}\n" \
  81. ".row-fluid .span10{width:82.97872339599999%;*width:82.92553190663828%;}\n" \
  82. ".row-fluid .span9{width:74.468085099%;*width:74.4148936096383%;}\n" \
  83. ".row-fluid .span8{width:65.95744680199999%;*width:65.90425531263828%;}\n" \
  84. ".row-fluid .span7{width:57.446808505%;*width:57.3936170156383%;}\n" \
  85. ".row-fluid .span6{width:48.93617020799999%;*width:48.88297871863829%;}\n" \
  86. ".row-fluid .span5{width:40.425531911%;*width:40.3723404216383%;}\n" \
  87. ".row-fluid .span4{width:31.914893614%;*width:31.8617021246383%;}\n" \
  88. ".row-fluid .span3{width:23.404255317%;*width:23.3510638276383%;}\n" \
  89. ".row-fluid .span2{width:14.89361702%;*width:14.8404255306383%;}\n" \
  90. ".row-fluid .span1{width:6.382978723%;*width:6.329787233638298%;}\n" \
  91. ".container{margin-right:auto;margin-left:auto;*zoom:1;}.container:before,.container:after{" \
  92. "display:table;content:\"\";}\n" \
  93. ".container:after{clear:both;}\n" \
  94. ".container-fluid{padding-right:20px;padding-left:20px;*zoom:1;}.container-fluid:before,." \
  95. "container-fluid:after{display:table;content:\"\";}\n" \
  96. ".container-fluid:after{clear:both;}\n" \
  97. "p{margin:0 0 9px;font-family:\"Helvetica " \
  98. "Neue\",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;}p " \
  99. "small{font-size:11px;color:#999999;}\n" \
  100. ".lead{margin-bottom:18px;font-size:20px;font-weight:200;line-height:27px;}\n" \
  101. "h1,h2,h3,h4,h5,h6{margin:0;font-family:inherit;font-weight:bold;color:inherit;text-rendering:" \
  102. "optimizelegibility;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 " \
  103. "small{font-weight:normal;color:#999999;}\n" \
  104. "h1{font-size:30px;line-height:36px;}h1 small{font-size:18px;}\n" \
  105. "h2{font-size:24px;line-height:36px;}h2 small{font-size:18px;}\n" \
  106. "h3{font-size:18px;line-height:27px;}h3 small{font-size:14px;}\n" \
  107. "h4,h5,h6{line-height:18px;}\n" \
  108. "h4{font-size:14px;}h4 small{font-size:12px;}\n" \
  109. "h5{font-size:12px;}\n" \
  110. "h6{font-size:11px;color:#999999;text-transform:uppercase;}\n" \
  111. ".page-header{padding-bottom:17px;margin:18px 0;border-bottom:1px solid #eeeeee;}\n" \
  112. ".page-header h1{line-height:1;}\n" \
  113. "ul,ol{padding:0;margin:0 0 9px 25px;}\n" \
  114. "ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}\n" \
  115. "ul{list-style:disc;}\n" \
  116. "ol{list-style:decimal;}\n" \
  117. "li{line-height:18px;}\n" \
  118. "ul.unstyled,ol.unstyled{margin-left:0;list-style:none;}\n" \
  119. "dl{margin-bottom:18px;}\n" \
  120. "dt,dd{line-height:18px;}\n" \
  121. "dt{font-weight:bold;line-height:17px;}\n" \
  122. "dd{margin-left:9px;}\n" \
  123. ".dl-horizontal " \
  124. "dt{float:left;width:120px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;" \
  125. "white-space:nowrap;}\n" \
  126. ".dl-horizontal dd{margin-left:130px;}\n" \
  127. "hr{margin:18px 0;border:0;border-top:1px solid #eeeeee;border-bottom:1px solid #ffffff;}\n" \
  128. "strong{font-weight:bold;}\n" \
  129. "em{font-style:italic;}\n" \
  130. ".muted{color:#999999;}\n" \
  131. "abbr[title]{cursor:help;border-bottom:1px dotted #ddd;}\n" \
  132. "abbr.initialism{font-size:90%;text-transform:uppercase;}\n" \
  133. "blockquote{padding:0 0 0 15px;margin:0 0 18px;border-left:5px solid #eeeeee;}blockquote " \
  134. "p{margin-bottom:0;font-size:16px;font-weight:300;line-height:22.5px;}\n" \
  135. "blockquote small{display:block;line-height:18px;color:#999999;}blockquote " \
  136. "small:before{content:'\\2014 \\00A0';}\n" \
  137. "blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid " \
  138. "#eeeeee;border-left:0;}blockquote.pull-right p,blockquote.pull-right " \
  139. "small{text-align:right;}\n" \
  140. "q:before,q:after,blockquote:before,blockquote:after{content:\"\";}\n" \
  141. "address{display:block;margin-bottom:18px;font-style:normal;line-height:18px;}\n" \
  142. "small{font-size:100%;}\n" \
  143. "cite{font-style:normal;}\n" \
  144. "code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,Consolas,\"Courier " \
  145. "New\",monospace;font-size:12px;color:#333333;-webkit-border-radius:3px;-moz-border-radius:3px;" \
  146. "border-radius:3px;}\n" \
  147. "code{padding:2px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8;}\n" \
  148. "pre{display:block;padding:8.5px;margin:0 0 " \
  149. "9px;font-size:12.025px;line-height:18px;word-break:break-all;word-wrap:break-word;white-space:" \
  150. "pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid " \
  151. "rgba(0, 0, 0, " \
  152. "0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}pre.prettyprint{" \
  153. "margin-bottom:18px;}\n" \
  154. "pre code{padding:0;color:inherit;background-color:transparent;border:0;}\n" \
  155. ".pre-scrollable{max-height:340px;overflow-y:scroll;}\n" \
  156. ".label,.badge{font-size:10.998px;font-weight:bold;line-height:14px;color:#ffffff;vertical-" \
  157. "align:baseline;white-space:nowrap;text-shadow:0 -1px 0 rgba(0, 0, 0, " \
  158. "0.25);background-color:#999999;}\n" \
  159. ".label{padding:1px 4px " \
  160. "2px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}\n" \
  161. ".badge{padding:1px 9px " \
  162. "2px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px;}\n" \
  163. "a.label:hover,a.badge:hover{color:#ffffff;text-decoration:none;cursor:pointer;}\n" \
  164. ".label-important,.badge-important{background-color:#b94a48;}\n" \
  165. ".label-important[href],.badge-important[href]{background-color:#953b39;}\n" \
  166. ".label-warning,.badge-warning{background-color:#f89406;}\n" \
  167. ".label-warning[href],.badge-warning[href]{background-color:#c67605;}\n" \
  168. ".label-success,.badge-success{background-color:#468847;}\n" \
  169. ".label-success[href],.badge-success[href]{background-color:#356635;}\n" \
  170. ".label-info,.badge-info{background-color:#3a87ad;}\n" \
  171. ".label-info[href],.badge-info[href]{background-color:#2d6987;}\n" \
  172. ".label-inverse,.badge-inverse{background-color:#333333;}\n" \
  173. ".label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a;}\n" \
  174. "table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0;}" \
  175. "\n" \
  176. ".table{width:100%;margin-bottom:18px;}.table th,.table " \
  177. "td{padding:8px;line-height:18px;text-align:left;vertical-align:top;border-top:1px solid " \
  178. "#dddddd;}\n" \
  179. ".table th{font-weight:bold;}\n" \
  180. ".table thead th{vertical-align:bottom;}\n" \
  181. ".table caption+thead tr:first-child th,.table caption+thead tr:first-child td,.table " \
  182. "colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table " \
  183. "thead:first-child tr:first-child th,.table thead:first-child tr:first-child " \
  184. "td{border-top:0;}\n" \
  185. ".table tbody+tbody{border-top:2px solid #dddddd;}\n" \
  186. ".table-condensed th,.table-condensed td{padding:4px 5px;}\n" \
  187. ".table-bordered{border:1px solid " \
  188. "#dddddd;border-collapse:separate;*border-collapse:collapsed;border-left:0;-webkit-border-" \
  189. "radius:4px;-moz-border-radius:4px;border-radius:4px;}.table-bordered th,.table-bordered " \
  190. "td{border-left:1px solid #dddddd;}\n" \
  191. ".table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child " \
  192. "th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead " \
  193. "tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered " \
  194. "colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child " \
  195. "th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child " \
  196. "tr:first-child td{border-top:0;}\n" \
  197. ".table-bordered thead:first-child tr:first-child th:first-child,.table-bordered " \
  198. "tbody:first-child tr:first-child " \
  199. "td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-" \
  200. "radius-topleft:4px;}\n" \
  201. ".table-bordered thead:first-child tr:first-child th:last-child,.table-bordered " \
  202. "tbody:first-child tr:first-child " \
  203. "td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-" \
  204. "radius-topright:4px;}\n" \
  205. ".table-bordered thead:last-child tr:last-child th:first-child,.table-bordered " \
  206. "tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 " \
  207. "4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 " \
  208. "4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-" \
  209. "bottomleft:4px;}\n" \
  210. ".table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child " \
  211. "tr:last-child " \
  212. "td:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-" \
  213. "border-radius-bottomright:4px;}\n" \
  214. ".table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) " \
  215. "th{background-color:#f9f9f9;}\n" \
  216. ".table tbody tr:hover td,.table tbody tr:hover th{background-color:#f5f5f5;}\n" \
  217. "table .span1{float:none;width:44px;margin-left:0;}\n" \
  218. "table .span2{float:none;width:124px;margin-left:0;}\n" \
  219. "table .span3{float:none;width:204px;margin-left:0;}\n" \
  220. "table .span4{float:none;width:284px;margin-left:0;}\n" \
  221. "table .span5{float:none;width:364px;margin-left:0;}\n" \
  222. "table .span6{float:none;width:444px;margin-left:0;}\n" \
  223. "table .span7{float:none;width:524px;margin-left:0;}\n" \
  224. "table .span8{float:none;width:604px;margin-left:0;}\n" \
  225. "table .span9{float:none;width:684px;margin-left:0;}\n" \
  226. "table .span10{float:none;width:764px;margin-left:0;}\n" \
  227. "table .span11{float:none;width:844px;margin-left:0;}\n" \
  228. "table .span12{float:none;width:924px;margin-left:0;}\n" \
  229. "table .span13{float:none;width:1004px;margin-left:0;}\n" \
  230. "table .span14{float:none;width:1084px;margin-left:0;}\n" \
  231. "table .span15{float:none;width:1164px;margin-left:0;}\n" \
  232. "table .span16{float:none;width:1244px;margin-left:0;}\n" \
  233. "table .span17{float:none;width:1324px;margin-left:0;}\n" \
  234. "table .span18{float:none;width:1404px;margin-left:0;}\n" \
  235. "table .span19{float:none;width:1484px;margin-left:0;}\n" \
  236. "table .span20{float:none;width:1564px;margin-left:0;}\n" \
  237. "table .span21{float:none;width:1644px;margin-left:0;}\n" \
  238. "table .span22{float:none;width:1724px;margin-left:0;}\n" \
  239. "table .span23{float:none;width:1804px;margin-left:0;}\n" \
  240. "table .span24{float:none;width:1884px;margin-left:0;}"