Codulle - L'explorateur de code sources

Accueil>> AlBulle >> Albulle1.0rc3 >> themes >> albulle

Informations fichier

Nom du fichier : css.php
Taille du fichier : 7 Ko (178 lignes)
Language : PHP

  1. span style="color: #808080; font-style: italic;">/*************************************************************************************
  2. * css.php
  3. * -------
  4. * Author: Nigel McNie (oracle.shinoda@gmail.com)
  5. * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
  6. * Release Version: 1.0.7.5
  7. * CVS Revision Version: $Revision: 1.7 $
  8. * Date Started: 2004/06/18
  9. * Last Modified: $Date: 2005/10/22 07:52:59 $
  10. *
  11. * CSS language file for GeSHi.
  12. *
  13. * CHANGES
  14. * -------
  15. * 2004/11/27 (1.0.3)
  16. * - Added support for multiple object splitters
  17. * 2004/10/27 (1.0.2)
  18. * - Changed regexps to catch "-" symbols
  19. * - Added support for URLs
  20. * 2004/08/05 (1.0.1)
  21. * - Added support for symbols
  22. * 2004/07/14 (1.0.0)
  23. * - First Release
  24. *
  25. * TODO (updated 2004/11/27)
  26. * -------------------------
  27. * * Improve or drop regexps for class/id/psuedoclass highlighting
  28. * * Re-look at keywords - possibly to make several CSS language
  29. * files, all with different versions of CSS in them
  30. *
  31. *************************************************************************************
  32. *
  33. * This file is part of GeSHi.
  34. *
  35. * GeSHi is free software; you can redistribute it and/or modify
  36. * it under the terms of the GNU General Public License as published by
  37. * the Free Software Foundation; either version 2 of the License, or
  38. * (at your option) any later version.
  39. *
  40. * GeSHi is distributed in the hope that it will be useful,
  41. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  42. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  43. * GNU General Public License for more details.
  44. *
  45. * You should have received a copy of the GNU General Public License
  46. * along with GeSHi; if not, write to the Free Software
  47. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  48. *
  49. ************************************************************************************/'LANG_NAME' => 'CSS',
  50. 'COMMENT_SINGLE''@'),
  51. 'COMMENT_MULTI''/*' => '*/'),
  52. 'CASE_KEYWORDS''QUOTEMARKS''"', "'"),
  53. 'ESCAPE_CHAR' => '\\',
  54. 'KEYWORDS''aqua', 'azimuth', 'background-attachment', 'background-color',
  55. 'background-image', 'background-position', 'background-repeat',
  56. 'background', 'black', 'blue', 'border-bottom-color', 'border-bottom-style',
  57. 'border-bottom-width', 'border-left-color', 'border-left-style',
  58. 'border-left-width', 'border-right', 'border-right-color',
  59. 'border-right-style', 'border-right-width', 'border-top-color',
  60. 'border-top-style', 'border-top-width','border-bottom', 'border-collapse',
  61. 'border-left', 'border-width', 'border-color', 'border-spacing',
  62. 'border-style', 'border-top', 'border', 'caption-side',
  63. 'clear', 'clip', 'color', 'content', 'counter-increment', 'counter-reset',
  64. 'cue-after', 'cue-before', 'cue', 'cursor', 'direction', 'display',
  65. 'elevation', 'empty-cells', 'float', 'font-family', 'font-size',
  66. 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant',
  67. 'font-weight', 'font', 'height', 'letter-spacing', 'line-height',
  68. 'list-style', 'list-style-image', 'list-style-position', 'list-style-type',
  69. 'margin-bottom', 'margin-left', 'margin-right', 'margin-top', 'margin',
  70. 'marker-offset', 'marks', 'max-height', 'max-width', 'min-height',
  71. 'min-width', 'orphans', 'outline', 'outline-color', 'outline-style',
  72. 'outline-width', 'overflow', 'padding-bottom', 'padding-left',
  73. 'padding-right', 'padding-top', 'padding', 'page', 'page-break-after',
  74. 'page-break-before', 'page-break-inside', 'pause-after', 'pause-before',
  75. 'pause', 'pitch', 'pitch-range', 'play-during', 'position', 'quotes',
  76. 'richness', 'right', 'size', 'speak-header', 'speak-numeral', 'speak-punctuation',
  77. 'speak', 'speech-rate', 'stress', 'table-layout', 'text-align', 'text-decoration',
  78. 'text-indent', 'text-shadow', 'text-transform', 'top', 'unicode-bidi',
  79. 'vertical-align', 'visibility', 'voice-family', 'volume', 'white-space', 'widows',
  80. 'width', 'word-spacing', 'z-index', 'bottom', 'left''above', 'absolute', 'always', 'armenian', 'aural', 'auto', 'avoid',
  81. 'baseline', 'behind', 'below', 'bidi-override', 'blink', 'block', 'bold', 'bolder', 'both',
  82. 'capitalize', 'center-left', 'center-right', 'center', 'circle', 'cjk-ideographic',
  83. 'close-quote', 'collapse', 'condensed', 'continuous', 'crop', 'crosshair', 'cross', 'cursive',
  84. 'dashed', 'decimal-leading-zero', 'decimal', 'default', 'digits', 'disc', 'dotted', 'double',
  85. 'e-resize', 'embed', 'extra-condensed', 'extra-expanded', 'expanded',
  86. 'fantasy', 'far-left', 'far-right', 'faster', 'fast', 'fixed', 'fuchsia',
  87. 'georgian', 'gray', 'green', 'groove', 'hebrew', 'help', 'hidden', 'hide', 'higher',
  88. 'high', 'hiragana-iroha', 'hiragana', 'icon', 'inherit', 'inline-table', 'inline',
  89. 'inset', 'inside', 'invert', 'italic', 'justify', 'katakana-iroha', 'katakana',
  90. 'landscape', 'larger', 'large', 'left-side', 'leftwards', 'level', 'lighter', 'lime', 'line-through', 'list-item', 'loud', 'lower-alpha', 'lower-greek', 'lower-roman', 'lowercase', 'ltr', 'lower', 'low',
  91. 'maroon', 'medium', 'message-box', 'middle', 'mix', 'monospace',
  92. 'n-resize', 'narrower', 'navy', 'ne-resize', 'no-close-quote', 'no-open-quote', 'no-repeat', 'none', 'normal', 'nowrap', 'nw-resize',
  93. 'oblique', 'olive', 'once', 'open-quote', 'outset', 'outside', 'overline',
  94. 'pointer', 'portrait', 'purple', 'px',
  95. 'red', 'relative', 'repeat-x', 'repeat-y', 'repeat', 'rgb', 'ridge', 'right-side', 'rightwards',
  96. 's-resize', 'sans-serif', 'scroll', 'se-resize', 'semi-condensed', 'semi-expanded', 'separate', 'serif', 'show', 'silent', 'silver', 'slow', 'slower', 'small-caps', 'small-caption', 'smaller', 'soft', 'solid', 'spell-out', 'square',
  97. 'static', 'status-bar', 'super', 'sw-resize',
  98. 'table-caption', 'table-cell', 'table-column', 'table-column-group', 'table-footer-group', 'table-header-group', 'table-row', 'table-row-group', 'teal', 'text', 'text-bottom', 'text-top', 'thick', 'thin', 'transparent',
  99. 'ultra-condensed', 'ultra-expanded', 'underline', 'upper-alpha', 'upper-latin', 'upper-roman', 'uppercase', 'url',
  100. 'visible',
  101. 'w-resize', 'wait', 'white', 'wider',
  102. 'x-fast', 'x-high', 'x-large', 'x-loud', 'x-low', 'x-small', 'x-soft', 'xx-large', 'xx-small',
  103. 'yellow', 'yes'
  104. )
  105. ),
  106. 'SYMBOLS''(', ')', '{', '}', ':', ';'
  107. ),
  108. 'CASE_SENSITIVE''STYLES''KEYWORDS''color: #000000; font-weight: bold;',
  109. 2 => 'color: #993333;'
  110. ),
  111. 'COMMENTS''color: #a1a100;',
  112. 'MULTI' => 'color: #808080; font-style: italic;'
  113. ),
  114. 'ESCAPE_CHAR''color: #000099; font-weight: bold;'
  115. ),
  116. 'BRACKETS''color: #66cc66;'
  117. ),
  118. 'STRINGS''color: #ff0000;'
  119. ),
  120. 'NUMBERS''color: #cc66cc;'
  121. ),
  122. 'METHODS''SYMBOLS''color: #66cc66;'
  123. ),
  124. 'SCRIPT''REGEXPS''color: #cc00cc;',
  125. 1 => 'color: #6666ff;',
  126. 2 => 'color: #3333ff;',
  127. )
  128. ),
  129. 'URLS''',
  130. 2 => ''
  131. ),
  132. 'OOLANG''OBJECT_SPLITTERS''REGEXPS''\#[a-zA-Z0-9\-]+\s+\{',
  133. 1 => '\.[a-zA-Z0-9\-]+\s',
  134. 2 => ':[a-zA-Z0-9\-]+\s'
  135. ),
  136. 'STRICT_MODE_APPLIES''SCRIPT_DELIMITERS''HIGHLIGHT_STRICT_BLOCK'

Liste des projets

Téléchargez Codulle

Publié par Codulle - v0.1.1 - © Bubulles Creations