aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/lexers/css.tes
blob: 08f4077cc3a4ecc5020571681f7ad3b4e2f27c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
!* Cascading Style Sheets *!

@[lexer.test.css]{
  :EN*.cssQ*"S -1 '
  :EN*.teco_cssQ*
}

@[lexer.set.css]{
  ESSETILEXERcss
  0ESSETKEYWORDS
    color background-color background-image background-repeat background-attachment
    background-position background font-family font-style font-variant font-weight
    font-size font word-spacing letter-spacing text-decoration vertical-align text-transform
    text-align text-indent line-height margin-top margin-right margin-bottom margin-left
    margin padding-top padding-right padding-bottom padding-left padding border-top-width
    border-right-width border-bottom-width border-left-width border-width border-top
    border-right border-bottom border-left border border-color border-style width
    height float clear display white-space list-style-type list-style-image list-style-position
    list-style
  1ESSETKEYWORDS
    link active visited first-child focus hover lang left right first empty enabled
    disabled checked not root target only-child last-child nth-child nth-last-child
    first-of-type last-of-type nth-of-type nth-last-of-type only-of-type valid invalid
    required optional first-letter first-line before after
  2ESSETKEYWORDS
    border-top-color border-right-color border-bottom-color border-left-color border-color
    border-top-style border-right-style border-bottom-style border-left-style border-style
    top right bottom left position z-index direction unicode-bidi min-width max-width
    min-height max-height overflow clip visibility content quotes counter-reset counter-increment
    marker-offset size marks page-break-before page-break-after page-break-inside
    page orphans widows font-stretch font-size-adjust unicode-range units-per-em src
    panose-1 stemv stemh slope cap-height x-height ascent descent widths bbox definition-src
    baseline centerline mathline topline text-shadow caption-side table-layout border-collapse
    border-spacing empty-cells speak-header cursor outline outline-width outline-style
    outline-color volume speak pause-before pause-after pause cue-before cue-after
    cue play-during azimuth elevation speech-rate voice-family pitch pitch-range stress
    richness speak-punctuation speak-numeral
  3ESSETKEYWORDS
    background-size border-radius border-top-right-radius border-bottom-right-radius
    border-bottom-left-radius border-top-left-radius box-shadow columns column-width
    column-count column-rule column-gap column-rule-color column-rule-style column-rule-width
    resize opacity word-wrap
  4ESSETKEYWORDS
    first-letter first-line before after selection
  5ESSETKEYWORDS
    ^-moz- ^-webkit- ^-o- ^-ms- filter
  6ESSETKEYWORDS
    indeterminate default ^-moz- ^-webkit- ^-o- ^-ms-
  7ESSETKEYWORDS
    ^-moz- ^-webkit- ^-o- ^-ms-

  !* selectors *!
  !!:M[color.keyword],1M[color.set]
  !!:M[color.keyword],2M[color.set]
  :M[color.keyword],3M[color.set]
  :M[color.error],4M[color.set]
  !* CSS properties *!
  :M[color.keyword],6M[color.set]
  !!:M[color.error],7M[color.set]
  :M[color.keyword],7M[color.set]
  :M[color.keyword],15M[color.set]
  :M[color.keyword],17M[color.set]
  :M[color.keyword],19M[color.set]
  :M[color.operator],5M[color.set]
  !!:M[color.string],8M[color.set]
  :M[color.comment],9M[color.set]
  !!:M[color.number],10M[color.set]
  :M[color.keyword],11M[color.set]
  :M[color.preproc],12M[color.set]
  :M[color.string],13M[color.set]
  :M[color.string2],14M[color.set]
  :M[color.variable],16M[color.set]
  :M[color.preproc2],22M[color.set]
}