source: trunk/plugins/LocalFilesEditor/editarea/reg_syntax/css.js @ 3282

Last change on this file since 3282 was 3282, checked in by plg, 15 years ago

change: according to topic:15067, svn:keywords property was removed

  • Property svn:eol-style set to LF
File size: 4.8 KB
Line 
1editAreaLoader.load_syntax["css"] = {
2        'COMMENT_SINGLE' : {1 : '@'}
3        ,'COMMENT_MULTI' : {'/*' : '*/'}
4        ,'QUOTEMARKS' : ['"', "'"]
5        ,'KEYWORD_CASE_SENSITIVE' : false
6        ,'KEYWORDS' : {
7                'attributes' : [
8                        'aqua', 'azimuth', 'background-attachment', 'background-color',
9                        'background-image', 'background-position', 'background-repeat',
10                        'background', 'border-bottom-color', 'border-bottom-style',
11                        'border-bottom-width', 'border-left-color', 'border-left-style',
12                        'border-left-width', 'border-right', 'border-right-color',
13                        'border-right-style', 'border-right-width', 'border-top-color',
14                        'border-top-style', 'border-top-width','border-bottom', 'border-collapse',
15                        'border-left', 'border-width', 'border-color', 'border-spacing',
16                        'border-style', 'border-top', 'border',  'caption-side',
17                        'clear', 'clip', 'color', 'content', 'counter-increment', 'counter-reset',
18                        'cue-after', 'cue-before', 'cue', 'cursor', 'direction', 'display',
19                        'elevation', 'empty-cells', 'float', 'font-family', 'font-size',
20                        'font-size-adjust', 'font-stretch', 'font-style', 'font-variant',
21                        'font-weight', 'font', 'height', 'letter-spacing', 'line-height',
22                        'list-style', 'list-style-image', 'list-style-position', 'list-style-type',
23                        'margin-bottom', 'margin-left', 'margin-right', 'margin-top', 'margin',
24                        'marker-offset', 'marks', 'max-height', 'max-width', 'min-height',
25                        'min-width', 'opacity', 'orphans', 'outline', 'outline-color', 'outline-style',
26                        'outline-width', 'overflow', 'padding-bottom', 'padding-left',
27                        'padding-right', 'padding-top', 'padding', 'page', 'page-break-after',
28                        'page-break-before', 'page-break-inside', 'pause-after', 'pause-before',
29                        'pause', 'pitch', 'pitch-range',  'play-during', 'position', 'quotes',
30                        'richness', 'right', 'size', 'speak-header', 'speak-numeral', 'speak-punctuation',
31                        'speak', 'speech-rate', 'stress', 'table-layout', 'text-align', 'text-decoration',
32                        'text-indent', 'text-shadow', 'text-transform', 'top', 'unicode-bidi',
33                        'vertical-align', 'visibility', 'voice-family', 'volume', 'white-space', 'widows',
34                        'width', 'word-spacing', 'z-index', 'bottom', 'left'
35                ]
36                ,'values' : [
37                        'above', 'absolute', 'always', 'armenian', 'aural', 'auto', 'avoid',
38                        'baseline', 'behind', 'below', 'bidi-override', 'black', 'blue', 'blink', 'block', 'bold', 'bolder', 'both',
39                        'capitalize', 'center-left', 'center-right', 'center', 'circle', 'cjk-ideographic', 
40            'close-quote', 'collapse', 'condensed', 'continuous', 'crop', 'crosshair', 'cross', 'cursive',
41                        'dashed', 'decimal-leading-zero', 'decimal', 'default', 'digits', 'disc', 'dotted', 'double',
42                        'e-resize', 'embed', 'extra-condensed', 'extra-expanded', 'expanded',
43                        'fantasy', 'far-left', 'far-right', 'faster', 'fast', 'fixed', 'fuchsia',
44                        'georgian', 'gray', 'green', 'groove', 'hebrew', 'help', 'hidden', 'hide', 'higher',
45                        'high', 'hiragana-iroha', 'hiragana', 'icon', 'inherit', 'inline-table', 'inline',
46                        'inset', 'inside', 'invert', 'italic', 'justify', 'katakana-iroha', 'katakana',
47                        'landscape', 'larger', 'large', 'left-side', 'leftwards', 'level', 'lighter', 'lime', 'line-through', 'list-item', 'loud', 'lower-alpha', 'lower-greek', 'lower-roman', 'lowercase', 'ltr', 'lower', 'low',
48                        'maroon', 'medium', 'message-box', 'middle', 'mix', 'monospace',
49                        'n-resize', 'narrower', 'navy', 'ne-resize', 'no-close-quote', 'no-open-quote', 'no-repeat', 'none', 'normal', 'nowrap', 'nw-resize',
50                        'oblique', 'olive', 'once', 'open-quote', 'outset', 'outside', 'overline',
51                        'pointer', 'portrait', 'purple', 'px',
52                        'red', 'relative', 'repeat-x', 'repeat-y', 'repeat', 'rgb', 'ridge', 'right-side', 'rightwards',
53                        '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',
54                        'static', 'status-bar', 'super', 'sw-resize',
55                        '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',
56                        'ultra-condensed', 'ultra-expanded', 'underline', 'upper-alpha', 'upper-latin', 'upper-roman', 'uppercase', 'url',
57                        'visible',
58                        'w-resize', 'wait', 'white', 'wider',
59                        'x-fast', 'x-high', 'x-large', 'x-loud', 'x-low', 'x-small', 'x-soft', 'xx-large', 'xx-small',
60                        'yellow', 'yes'
61                ]
62                ,'specials' : [
63                        'important'
64                ]
65        }
66        ,'OPERATORS' :[
67                ':', ';', '!', '.', '#'
68        ]
69        ,'DELIMITERS' :[
70                '{', '}'
71        ]
72        ,'STYLES' : {
73                'COMMENTS': 'color: #AAAAAA;'
74                ,'QUOTESMARKS': 'color: #6381F8;'
75                ,'KEYWORDS' : {
76                        'attributes' : 'color: #48BDDF;'
77                        ,'values' : 'color: #2B60FF;'
78                        ,'specials' : 'color: #FF0000;'
79                        }
80                ,'OPERATORS' : 'color: #FF00FF;'
81                ,'DELIMITERS' : 'color: #60CA00;'
82                               
83        }
84};
Note: See TracBrowser for help on using the repository browser.