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