css.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. <?xml version="1.0"?>
  2. <!-- $Id: css.xml,v 1.2 2008/01/01 23:45:07 ssttoo Exp $ -->
  3. <highlight lang="css" case="no">
  4. <authors>
  5. <author name="Andrey Demenev" email="demenev@gmail.com"/>
  6. </authors>
  7. <default innerClass="code" />
  8. <region name="mlcomment" innerClass="comment" start="\/\*" end="\*\/" >
  9. </region>
  10. <block name="atrule" match="(@[a-z\d]+)"
  11. innerClass="var" never-contained="yes"/>
  12. <region name="property" start="[a-z][a-z\d\-]*\s*:" end="(?=;|\})"
  13. innerClass="code" delimClass="reserved" contained="yes"/>
  14. <block name="selector" match="(((\.|#)?[a-z]+[a-z\d\-]*(?![a-z\d\-]))|(\*))(?!\s*:\s*[\s\{])"
  15. innerClass="identifier" >
  16. </block>
  17. <block name="pseudo" match=":[a-z][a-z\d\-]*"
  18. innerClass="special" />
  19. <block name="bescaped" match="\\[\\(\\)\\]"
  20. innerClass="string" contained="yes"/>
  21. <region name="paramselector" start="\[" end="\]" innerClass="code"
  22. delimClass="brackets" >
  23. <contains block="paramname" />
  24. <not-contains block="identifier" />
  25. <contains region="strdouble" />
  26. <contains region="strsingle" />
  27. </region>
  28. <region name="block" start="\{" end="\}" innerClass="code"
  29. delimClass="brackets" >
  30. <contains region="block" />
  31. <contains region="property" />
  32. <contains block="selector" />
  33. <contains region="mlcomment" />
  34. </region>
  35. <region name="brackets" start="\(" end="\)" innerClass="string"
  36. delimClass="brackets" contained="yes">
  37. <contains block="bescaped"/>
  38. </region>
  39. <region name="strsingle" delimClass="quotes" innerClass="string" start="'" end="'" contained="yes"/>
  40. <block name="escaped" match="\\\\|\\&quot;|\\'|\\`" innerClass="special" contained="yes">
  41. <onlyin region="strsingle"/>
  42. </block>
  43. <block name="descaped" match="\\\\|\\&quot;|\\'|\\`|\\t|\\n|\\r" innerClass="special" contained="yes">
  44. <onlyin region="strdouble"/>
  45. </block>
  46. <region name="strdouble" delimClass="quotes" innerClass="string"
  47. start="&quot;" end="&quot;" contained="yes" />
  48. <block name="measure" match="\d*\.?\d+(\%|em|ex|pc|pt|px|in|mm|cm)"
  49. innerClass="number" contained="yes">
  50. <onlyin region="property"/>
  51. <partClass index="1" innerClass="string" />
  52. </block>
  53. <block name="number" match="\d*\.?\d+" innerClass="number" contained="yes" >
  54. <onlyin region="property"/>
  55. </block>
  56. <block name="identifier" match="[a-z][a-z\d\-]*"
  57. innerClass="code" contained="yes">
  58. <onlyin region="property"/>
  59. </block>
  60. <block name="hexcolor" match="#([\da-f]{6}|[\da-f]{3})\b" innerClass="var" contained="yes">
  61. <onlyin region="property"/>
  62. </block>
  63. <block name="paramname" match="[\w\-\:]+" innerClass="var" contained="yes">
  64. <onlyin region="paramselector"/>
  65. </block>
  66. <keywords name="propertyValue" inherits="identifier" innerClass="string" case = "no">
  67. <word name="left-side"/>
  68. <keyword match="far-left"/>
  69. <keyword match="left"/>
  70. <keyword match="center-left"/>
  71. <keyword match="center-right"/>
  72. <keyword match="center"/>
  73. <keyword match="far-right"/>
  74. <keyword match="right-side"/>
  75. <keyword match="right"/>
  76. <keyword match="behind"/>
  77. <keyword match="leftwards"/>
  78. <keyword match="rightwards"/>
  79. <keyword match="inherit"/>
  80. <keyword match="scroll"/>
  81. <keyword match="fixed"/>
  82. <keyword match="transparent"/>
  83. <keyword match="none"/>
  84. <keyword match="repeat-x"/>
  85. <keyword match="repeat-y"/>
  86. <keyword match="repeat"/>
  87. <keyword match="no-repeat"/>
  88. <keyword match="collapse"/>
  89. <keyword match="separate"/>
  90. <keyword match="auto"/>
  91. <keyword match="top"/>
  92. <keyword match="bottom"/>
  93. <keyword match="both"/>
  94. <keyword match="open-quote"/>
  95. <keyword match="close-quote"/>
  96. <keyword match="no-open-quote"/>
  97. <keyword match="no-close-quote"/>
  98. <keyword match="crosshair"/>
  99. <keyword match="default"/>
  100. <keyword match="pointer"/>
  101. <keyword match="move"/>
  102. <keyword match="e-resize"/>
  103. <keyword match="ne-resize"/>
  104. <keyword match="nw-resize"/>
  105. <keyword match="n-resize"/>
  106. <keyword match="se-resize"/>
  107. <keyword match="sw-resize"/>
  108. <keyword match="s-resize"/>
  109. <keyword match="text"/>
  110. <keyword match="wait"/>
  111. <keyword match="help"/>
  112. <keyword match="ltr"/>
  113. <keyword match="rtl"/>
  114. <keyword match="inline"/>
  115. <keyword match="block"/>
  116. <keyword match="list-item"/>
  117. <keyword match="run-in"/>
  118. <keyword match="compact"/>
  119. <keyword match="marker"/>
  120. <keyword match="table"/>
  121. <keyword match="inline-table"/>
  122. <keyword match="table-row-group"/>
  123. <keyword match="table-header-group"/>
  124. <keyword match="table-footer-group"/>
  125. <keyword match="table-row"/>
  126. <keyword match="table-column-group"/>
  127. <keyword match="table-column"/>
  128. <keyword match="table-cell"/>
  129. <keyword match="table-caption"/>
  130. <keyword match="below"/>
  131. <keyword match="level"/>
  132. <keyword match="above"/>
  133. <keyword match="higher"/>
  134. <keyword match="lower"/>
  135. <keyword match="show"/>
  136. <keyword match="hide"/>
  137. <keyword match="caption"/>
  138. <keyword match="icon"/>
  139. <keyword match="menu"/>
  140. <keyword match="message-box"/>
  141. <keyword match="small-caption"/>
  142. <keyword match="status-bar"/>
  143. <keyword match="normal"/>
  144. <keyword match="wider"/>
  145. <keyword match="narrower"/>
  146. <keyword match="ultra-condensed"/>
  147. <keyword match="extra-condensed"/>
  148. <keyword match="condensed"/>
  149. <keyword match="semi-condensed"/>
  150. <keyword match="semi-expanded"/>
  151. <keyword match="expanded"/>
  152. <keyword match="extra-expanded"/>
  153. <keyword match="ultra-expanded"/>
  154. <keyword match="italic"/>
  155. <keyword match="oblique"/>
  156. <keyword match="small-caps"/>
  157. <keyword match="bold"/>
  158. <keyword match="bolder"/>
  159. <keyword match="lighter"/>
  160. <keyword match="inside"/>
  161. <keyword match="outside"/>
  162. <keyword match="disc"/>
  163. <keyword match="circle"/>
  164. <keyword match="square"/>
  165. <keyword match="decimal"/>
  166. <keyword match="decimal-leading-zero"/>
  167. <keyword match="lower-roman"/>
  168. <keyword match="upper-roman"/>
  169. <keyword match="lower-greek"/>
  170. <keyword match="lower-alpha"/>
  171. <keyword match="lower-latin"/>
  172. <keyword match="upper-alpha"/>
  173. <keyword match="upper-latin"/>
  174. <keyword match="hebrew"/>
  175. <keyword match="armenian"/>
  176. <keyword match="georgian"/>
  177. <keyword match="cjk-ideographic"/>
  178. <keyword match="hiragana"/>
  179. <keyword match="katakana"/>
  180. <keyword match="hiragana-iroha"/>
  181. <keyword match="katakana-iroha"/>
  182. <keyword match="crop"/>
  183. <keyword match="cross"/>
  184. <keyword match="invert"/>
  185. <keyword match="visible"/>
  186. <keyword match="hidden"/>
  187. <keyword match="always"/>
  188. <keyword match="avoid"/>
  189. <keyword match="x-low"/>
  190. <keyword match="low"/>
  191. <keyword match="medium"/>
  192. <keyword match="high"/>
  193. <keyword match="x-high"/>
  194. <keyword match="mix?"/>
  195. <keyword match="repeat?"/>
  196. <keyword match="static"/>
  197. <keyword match="relative"/>
  198. <keyword match="absolute"/>
  199. <keyword match="portrait"/>
  200. <keyword match="landscape"/>
  201. <keyword match="spell-out"/>
  202. <keyword match="once"/>
  203. <keyword match="digits"/>
  204. <keyword match="continuous"/>
  205. <keyword match="code"/>
  206. <keyword match="x-slow"/>
  207. <keyword match="slow"/>
  208. <keyword match="fast"/>
  209. <keyword match="x-fast"/>
  210. <keyword match="faster"/>
  211. <keyword match="slower"/>
  212. <keyword match="justify"/>
  213. <keyword match="underline"/>
  214. <keyword match="overline"/>
  215. <keyword match="line-through"/>
  216. <keyword match="blink"/>
  217. <keyword match="capitalize"/>
  218. <keyword match="uppercase"/>
  219. <keyword match="lowercase"/>
  220. <keyword match="embed"/>
  221. <keyword match="bidi-override"/>
  222. <keyword match="baseline"/>
  223. <keyword match="sub"/>
  224. <keyword match="super"/>
  225. <keyword match="text-top"/>
  226. <keyword match="middle"/>
  227. <keyword match="text-bottom"/>
  228. <keyword match="silent"/>
  229. <keyword match="x-soft"/>
  230. <keyword match="soft"/>
  231. <keyword match="loud"/>
  232. <keyword match="x-loud"/>
  233. <keyword match="pre"/>
  234. <keyword match="nowrap"/>
  235. <keyword match="serif"/>
  236. <keyword match="sans-serif"/>
  237. <keyword match="cursive"/>
  238. <keyword match="fantasy"/>
  239. <keyword match="monospace"/>
  240. <keyword match="empty"/>
  241. <keyword match="string"/>
  242. <keyword match="strict"/>
  243. <keyword match="loose"/>
  244. <keyword match="char"/>
  245. <keyword match="true"/>
  246. <keyword match="false"/>
  247. <keyword match="dotted"/>
  248. <keyword match="dashed"/>
  249. <keyword match="solid"/>
  250. <keyword match="double"/>
  251. <keyword match="groove"/>
  252. <keyword match="ridge"/>
  253. <keyword match="inset"/>
  254. <keyword match="outset"/>
  255. <keyword match="larger"/>
  256. <keyword match="smaller"/>
  257. <keyword match="xx-small"/>
  258. <keyword match="x-small"/>
  259. <keyword match="small"/>
  260. <keyword match="large"/>
  261. <keyword match="x-large"/>
  262. <keyword match="xx-large"/>
  263. <keyword match="all"/>
  264. <keyword match="newspaper"/>
  265. <keyword match="distribute"/>
  266. <keyword match="distribute-all-lines"/>
  267. <keyword match="distribute-center-last"/>
  268. <keyword match="inter-word"/>
  269. <keyword match="inter-ideograph"/>
  270. <keyword match="inter-cluster"/>
  271. <keyword match="kashida"/>
  272. <keyword match="ideograph-alpha"/>
  273. <keyword match="ideograph-numeric"/>
  274. <keyword match="ideograph-parenthesis"/>
  275. <keyword match="ideograph-space"/>
  276. <keyword match="keep-all"/>
  277. <keyword match="break-all"/>
  278. <keyword match="break-word"/>
  279. <keyword match="lr-tb"/>
  280. <keyword match="tb-rl"/>
  281. <keyword match="thin"/>
  282. <keyword match="thick"/>
  283. <keyword match="inline-block"/>
  284. <keyword match="w-resize"/>
  285. <keyword match="hand"/>
  286. <keyword match="distribute-letter"/>
  287. <keyword match="distribute-space"/>
  288. <keyword match="whitespace"/>
  289. <keyword match="male"/>
  290. <keyword match="female"/>
  291. <keyword match="child"/>
  292. </keywords>
  293. <keywords name="namedcolor" inherits="identifier" innerClass="var" case = "no">
  294. <keyword match="aqua"/>
  295. <keyword match="black"/>
  296. <keyword match="blue"/>
  297. <keyword match="fuchsia"/>
  298. <keyword match="gray"/>
  299. <keyword match="green"/>
  300. <keyword match="lime"/>
  301. <keyword match="maroon"/>
  302. <keyword match="navy"/>
  303. <keyword match="olive"/>
  304. <keyword match="purple"/>
  305. <keyword match="red"/>
  306. <keyword match="silver"/>
  307. <keyword match="teal"/>
  308. <keyword match="white"/>
  309. <keyword match="yellow"/>
  310. <keyword match="ActiveBorder"/>
  311. <keyword match="ActiveCaption"/>
  312. <keyword match="AppWorkspace"/>
  313. <keyword match="Background"/>
  314. <keyword match="ButtonFace"/>
  315. <keyword match="ButtonHighlight"/>
  316. <keyword match="ButtonShadow"/>
  317. <keyword match="ButtonText"/>
  318. <keyword match="CaptionText"/>
  319. <keyword match="GrayText"/>
  320. <keyword match="Highlight"/>
  321. <keyword match="HighlightText"/>
  322. <keyword match="InactiveBorder"/>
  323. <keyword match="InactiveCaption"/>
  324. <keyword match="InactiveCaptionText"/>
  325. <keyword match="InfoBackground"/>
  326. <keyword match="InfoText"/>
  327. <keyword match="Menu"/>
  328. <keyword match="MenuText"/>
  329. <keyword match="Scrollbar"/>
  330. <keyword match="ThreeDDarkShadow"/>
  331. <keyword match="ThreeDFace"/>
  332. <keyword match="ThreeDHighlight"/>
  333. <keyword match="ThreeDLightShadow"/>
  334. <keyword match="ThreeDShadow"/>
  335. <keyword match="Window"/>
  336. <keyword match="WindowFrame"/>
  337. <keyword match="WindowText"/>
  338. </keywords>
  339. </highlight>