1# Define SciTE settings for CSS files
2# Jakub Vr�na - jakub@vrana.cz
3# Updated Andy Holder - Jan 2011
4
5filter.css=CSS (css)|*.css|
6*filter.css=$(filter.css)
7lexer.*.css=css
8*language.css=CSS|css||
9
10*source.patterns.css=*.css;
11
12indent.size.*.css=4
13tab.size.*.css=4
14use.tabs.*.css=1
15
16keywordclass.css1=\
17color background-color background-image background-repeat background-attachment background-position background \
18font-family font-style font-variant font-weight font-size font \
19word-spacing letter-spacing text-decoration vertical-align text-transform text-align text-indent line-height \
20margin-top margin-right margin-bottom margin-left margin \
21padding-top padding-right padding-bottom padding-left padding \
22border-top-width border-right-width border-bottom-width border-left-width border-width \
23border-top border-right border-bottom border-left border \
24border-color border-style width height float clear \
25display white-space list-style-type list-style-image list-style-position list-style
26
27keywordclass.values=\
28auto none normal italic oblique small-caps bold bolder lighter \
29xx-small x-small small medium large x-large xx-large larger smaller \
30transparent repeat repeat-x repeat-y no-repeat scroll fixed \
31top bottom left center right justify both \
32underline overline line-through blink \
33baseline sub super text-top middle text-bottom \
34capitalize uppercase lowercase thin medium thick \
35dotted dashed solid double groove ridge inset outset \
36block inline list-item pre no-wrap inside outside \
37disc circle square decimal lower-roman upper-roman lower-alpha upper-alpha \
38aqua black blue fuchsia gray green lime maroon navy olive purple red silver teal white yellow
39
40# rgb(i1, i2, i3) rgb(p1, p2, p3) #xxx #xxxxxx url(path)
41# path: in optional single or double quotes. If quotes, inside quotes must be backslashed.
42# length: [+-][0-9]+<unit>
43# unit: % pt mm cm pc in px em ex
44
45# at-rule: import
46
47# CSS2
48
49keywordclass.css2=\
50border-top-color border-right-color border-bottom-color border-left-color border-color \
51border-top-style border-right-style border-bottom-style border-left-style border-style \
52top right bottom left position z-index direction unicode-bidi \
53min-width max-width min-height max-height overflow clip visibility content quotes \
54counter-reset counter-increment marker-offset \
55size marks page-break-before page-break-after page-break-inside page orphans widows \
56font-stretch font-size-adjust unicode-range units-per-em src \
57panose-1 stemv stemh slope cap-height x-height ascent descent widths bbox definition-src \
58baseline centerline mathline topline text-shadow \
59caption-side table-layout border-collapse border-spacing empty-cells speak-header \
60cursor outline outline-width outline-style outline-color \
61volume speak pause-before pause-after pause cue-before cue-after cue \
62play-during azimuth elevation speech-rate voice-family pitch pitch-range stress richness \
63speak-punctuation speak-numeral
64
65keywordclass.values2=\
66inherit \
67run-in compact marker table inline-table table-row-group table-header-group table-footer-group \
68table-row table-column-group table-column table-cell table-caption \
69static relative absolute fixed ltr rtl embed bidi-override \
70visible hidden scroll collapse open-quote close-quote no-open-quote no-close-quote \
71decimal-leading-zero lower-greek lower-latin upper-latin hebrew armenian georgian \
72cjk-ideographic hiragana katakana hiragana-iroha katakana-iroha \
73landscape portrait crop cross always avoid \
74wider narrower ultra-condensed extra-condensed condensed semi-condensed \
75semi-expanded expanded extra-expanded ultra-expanded \
76caption icon menu message-box small-caption status-bar \
77separate show hide once crosshair default pointer move text wait help \
78e-resize ne-resize nw-resize n-resize se-resize sw-resize s-resize w-resize \
79ActiveBorder ActiveCaption AppWorkspace Background ButtonFace ButtonHighlight ButtonShadow \
80InactiveCaptionText ButtonText CaptionText GrayText Highlight HighlightText InactiveBorder \
81InactiveCaption InfoBackground InfoText Menu MenuText Scrollbar ThreeDDarkShadow \
82ThreeDFace ThreeDHighlight ThreeDLightShadow ThreeDShadow Window WindowFrame WindowText \
83silent x-soft soft medium loud x-loud spell-out mix \
84left-side far-left center-left center-right far-right right-side behind leftwards rightwards \
85below level above higher lower x-slow slow medium fast x-fast faster slower \
86male female child x-low low high x-high code digits continuous
87
88# properties and pseudos starting with -moz- etc.
89keywordclass.vendor.prefixes=^-moz- ^-webkit- ^-o- ^-ms-
90
91# CSS3 is a set of standards that are currently still begin worked on,
92# so this list is certainly incomplete.
93# This list is CSS3 as recognised by firefox 4 as of start of 2011
94keywordclass.css3=background-size \
95border-radius border-top-right-radius border-bottom-right-radius border-bottom-left-radius border-top-left-radius \
96box-shadow \
97columns column-width column-count column-rule column-gap column-rule-color column-rule-style column-rule-width \
98resize opacity word-wrap
99
100# Pseudo Classes
101keywordclass.pseudoclass.css1=link active visited
102keywordclass.pseudoclass.css2=first-child focus hover lang left right first
103keywordclass.pseudoclass.css3=empty enabled disabled checked not root target \
104only-child last-child nth-child nth-last-child \
105first-of-type last-of-type nth-of-type nth-last-of-type only-of-type \
106valid invalid required optional
107keywordclass.pseudoclass.other=indeterminate default
108
109# Pseudo Elements
110keywordclass.pseudoelement.css=first-letter first-line before after
111# ::selection WAS in the css3 standard and is supported in many browsers.
112# your choice:
113keywordclass.pseudoelement.css3=selection
114#keywordclass.pseudoelement.other=selection
115
116
117# counter(id) counter(id, style) attr(X) local("name)" format("string")
118# angle: [+-][0-9]+<unit>
119# angle unit: deg grad rad
120# time: [0-9]+<unit>
121# time unit: ms s
122# frequency: [0-9]+<unit>
123# frequency unit: Hz kHz
124# Unicode range: U+x??-yyy
125
126# at-rule: media, values: all aural braille embossed handheld print projection screen tty tv
127# at-rule: page font-face charset
128
129#####
130# CSS1 properties
131keywords.*.css=$(keywordclass.css1)
132# Pseudo classes or more precisely single colon ':' selectors
133keywords2.*.css=$(keywordclass.pseudoclass.css1) $(keywordclass.pseudoclass.css2) \
134    $(keywordclass.pseudoclass.css3) $(keywordclass.pseudoelement.css)
135# CSS2 properties
136keywords3.*.css=$(keywordclass.css2)
137# CSS3 properties
138keywords4.*.css=$(keywordclass.css3)
139# Pseudo elements or more precisely double colon '::' selectors
140keywords5.*.css=$(keywordclass.pseudoelement.css) $(keywordclass.pseudoelement.css3)
141# Extra CSS Properties
142# Any CSS starting with the common vendor prefixes and microsoft's filter.
143keywords6.*.css=$(keywordclass.vendor.prefixes) filter
144# Extra pseudo classes
145keywords7.*.css=$(keywordclass.pseudoclass.other) $(keywordclass.vendor.prefixes)
146# Extra pseudo elements
147keywords8.*.css=$(keywordclass.pseudoelement.other) $(keywordclass.vendor.prefixes)
148
149word.characters.*.css=$(chars.alpha)$(chars.numeric)-
150comment.stream.start.css=/*
151comment.stream.end.css=*/
152
153# Default
154style.css.32=$(font.code.base)
155# White space: Visible only in View Whitespace mode (or if it has a back colour)
156style.css.0=fore:#FF0080
157# Selector (HTML tag)
158style.css.1=$(colour.keyword),bold
159# Class selector ([HtmlTag].classSelector)
160style.css.2=
161# Pseudo class (HtmlTag:pseudoClass) see "keywords2" above
162style.css.3=fore:#800000
163# Unknown Pseudo class
164style.css.4=$(colour.error)
165# Operator
166style.css.5=$(colour.operator)
167# CSS1 Property, see keywords
168style.css.6=fore:#0040E0
169# Unknown Property
170style.css.7=fore:#FF0000
171# Value
172style.css.8=$(colour.string)
173# Comment
174style.css.9=$(colour.code.comment.box),$(font.code.comment.box)
175# ID selector (#IdSel)
176style.css.10=$(colour.number),italics
177# "!important"
178style.css.11=fore:#FF8000,bold
179# At-rule (@) except @media
180style.css.12=$(colour.preproc)
181# Double quoted strings
182style.css.13=$(colour.string)
183# Single quoted strings
184style.css.14=$(colour.string)
185# CSS2 Property, see keywords3
186style.css.15=fore:#0040E0
187# Attribute selection ([att='val'])
188style.css.16=fore:#800000
189# CSS3 Property, see keywords4
190style.css.17=fore:#00A0E0
191# Pseudo elements, see keywords5
192style.css.18=fore:#C80000
193# Other CSS Property, see keywords6
194style.css.19=fore:#7F7F00
195# Other Pseudoclass, see keywords7
196style.css.20=fore:#7F7F00
197# Other Pseudoelement, see keywords8
198style.css.21=fore:#7F7F00
199# "@media"
200style.css.22=$(colour.preproc),bold
201# Variable in SCSS, LESS, or HSS
202style.css.23=fore:#DD9900
203
204block.start.*.css=5 {
205block.end.*.css=5 }
206