|
|
@ -1,40 +1,21 @@
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE language SYSTEM "language.dtd"
|
|
|
|
<!DOCTYPE language SYSTEM "language.dtd">
|
|
|
|
[
|
|
|
|
|
|
|
|
<!-- http://www.w3.org/TR/CSS21/syndata.html#tokenization -->
|
|
|
|
|
|
|
|
<!ENTITY nmstart "[_a-zA-Z]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F])">
|
|
|
|
|
|
|
|
<!ENTITY nmchar "[_a-zA-Z0-9-]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F])">
|
|
|
|
|
|
|
|
]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
|
|
|
Kate CSS syntax highlighting definition
|
|
|
|
Kate CSS syntax highlighting definition
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Changelog:
|
|
|
|
|
|
|
|
|
|
|
|
Changelog:
|
|
|
|
- Version 2.06, by Mte90:
|
|
|
|
|
|
|
|
- CSS3 tag
|
|
|
|
|
|
|
|
|
|
|
|
- Version 2.03, by Milian Wolff:
|
|
|
|
- Version 2.03, by Milian Wolff:
|
|
|
|
- Make it spelling aware
|
|
|
|
- Make it spelling aware
|
|
|
|
|
|
|
|
|
|
|
|
- Version 2.02, by Rafał Miłecki:
|
|
|
|
|
|
|
|
- Added CSS 3 properties "border-*-image" and "border-*-radius".
|
|
|
|
|
|
|
|
- Added CSS values "clip", "ellipsis" and "ellipsis-word".
|
|
|
|
|
|
|
|
- Added CSS 3 properties "overflow-x", "overflow-y", "text-overflow", "box-shadow" and "outline-offset".
|
|
|
|
|
|
|
|
- Added CSS 3 color values: "rgba", "hsl" and "hsla".
|
|
|
|
|
|
|
|
- Added Gecko CSS properties: "-moz-border-*-colors".
|
|
|
|
|
|
|
|
- Added background size properties: "background-size" and prefixes: "-o-", "-webkit-" and "-khtml-".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Version 2.01, by Mathieu Bonnet:
|
|
|
|
|
|
|
|
- Added CSS 3 property "border-radius".
|
|
|
|
|
|
|
|
- Added Gecko CSS properties "-moz-border-radius" and "-moz-box-flex".
|
|
|
|
|
|
|
|
- Added Gecko CSS value "-moz-box".
|
|
|
|
|
|
|
|
- Added Trident CSS functional notation "expression".
|
|
|
|
|
|
|
|
- Extended the id and class syntax specifications, as per CSS 2.1 grammar.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<language name="CSS" version="2.07" kateversion="2.5" section="Markup" extensions="*.css" indenter="cstyle"
|
|
|
|
<language name="CSS" version="2.08" kateversion="2.5" section="Markup" extensions="*.css" indenter="cstyle" mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
|
|
|
|
mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<highlighting>
|
|
|
|
<highlighting>
|
|
|
|
<list name="properties">
|
|
|
|
<list name="properties">
|
|
|
@ -42,9 +23,12 @@
|
|
|
|
<item> azimuth </item>
|
|
|
|
<item> azimuth </item>
|
|
|
|
<item> background </item>
|
|
|
|
<item> background </item>
|
|
|
|
<item> background-attachment </item>
|
|
|
|
<item> background-attachment </item>
|
|
|
|
|
|
|
|
<item> background-break </item>
|
|
|
|
|
|
|
|
<item> background-clip </item>
|
|
|
|
<item> background-color </item>
|
|
|
|
<item> background-color </item>
|
|
|
|
<item> background-image </item>
|
|
|
|
<item> background-image </item>
|
|
|
|
<item> background-position </item>
|
|
|
|
<item> background-position </item>
|
|
|
|
|
|
|
|
<item> background-origin </item>
|
|
|
|
<item> background-repeat </item>
|
|
|
|
<item> background-repeat </item>
|
|
|
|
<item> border </item>
|
|
|
|
<item> border </item>
|
|
|
|
<item> border-bottom </item>
|
|
|
|
<item> border-bottom </item>
|
|
|
@ -93,6 +77,7 @@
|
|
|
|
<item> font-style </item>
|
|
|
|
<item> font-style </item>
|
|
|
|
<item> font-variant </item>
|
|
|
|
<item> font-variant </item>
|
|
|
|
<item> font-weight </item>
|
|
|
|
<item> font-weight </item>
|
|
|
|
|
|
|
|
<item> font-stretch </item>
|
|
|
|
<item> height </item>
|
|
|
|
<item> height </item>
|
|
|
|
<item> left </item>
|
|
|
|
<item> left </item>
|
|
|
|
<item> letter-spacing </item>
|
|
|
|
<item> letter-spacing </item>
|
|
|
@ -164,11 +149,21 @@
|
|
|
|
<item> z-index </item>
|
|
|
|
<item> z-index </item>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- CSS3 -->
|
|
|
|
<!-- CSS3 -->
|
|
|
|
|
|
|
|
<item> animation-name </item>
|
|
|
|
|
|
|
|
<item> animation-duration </item>
|
|
|
|
|
|
|
|
<item> animation-iteration </item>
|
|
|
|
|
|
|
|
<item> animation-direction </item>
|
|
|
|
|
|
|
|
<item> animation-delay </item>
|
|
|
|
|
|
|
|
<item> animation-play-state </item>
|
|
|
|
|
|
|
|
<item> animation-fill-mode </item>
|
|
|
|
|
|
|
|
<item> animation-timing-function </item>
|
|
|
|
|
|
|
|
<item> background-size </item>
|
|
|
|
<item> border-bottom-image </item>
|
|
|
|
<item> border-bottom-image </item>
|
|
|
|
<item> border-bottom-left-image </item>
|
|
|
|
<item> border-bottom-left-image </item>
|
|
|
|
<item> border-bottom-left-radius </item>
|
|
|
|
<item> border-bottom-left-radius </item>
|
|
|
|
<item> border-bottom-right-image </item>
|
|
|
|
<item> border-bottom-right-image </item>
|
|
|
|
<item> border-bottom-right-radius </item>
|
|
|
|
<item> border-bottom-right-radius </item>
|
|
|
|
|
|
|
|
<item> border-collapse </item>
|
|
|
|
<item> border-corner-image </item>
|
|
|
|
<item> border-corner-image </item>
|
|
|
|
<item> border-image </item>
|
|
|
|
<item> border-image </item>
|
|
|
|
<item> border-left-image </item>
|
|
|
|
<item> border-left-image </item>
|
|
|
@ -179,34 +174,158 @@
|
|
|
|
<item> border-top-left-radius </item>
|
|
|
|
<item> border-top-left-radius </item>
|
|
|
|
<item> border-top-right-image </item>
|
|
|
|
<item> border-top-right-image </item>
|
|
|
|
<item> border-top-right-radius </item>
|
|
|
|
<item> border-top-right-radius </item>
|
|
|
|
|
|
|
|
<item> box-align </item>
|
|
|
|
|
|
|
|
<item> box-direction </item>
|
|
|
|
|
|
|
|
<item> box-flex </item>
|
|
|
|
<item> box-shadow </item>
|
|
|
|
<item> box-shadow </item>
|
|
|
|
<item> box-sizing </item>
|
|
|
|
<item> box-sizing </item>
|
|
|
|
|
|
|
|
<item> column-count </item>
|
|
|
|
|
|
|
|
<item> column-fill </item>
|
|
|
|
|
|
|
|
<item> column-gap </item>
|
|
|
|
|
|
|
|
<item> column-rule-color </item>
|
|
|
|
|
|
|
|
<item> column-rule-style </item>
|
|
|
|
|
|
|
|
<item> column-rule-width </item>
|
|
|
|
|
|
|
|
<item> column-span </item>
|
|
|
|
|
|
|
|
<item> column-wisth </item>
|
|
|
|
|
|
|
|
<item> hyphens </item>
|
|
|
|
|
|
|
|
<item> linear-gradient </item>
|
|
|
|
<item> opacity </item>
|
|
|
|
<item> opacity </item>
|
|
|
|
|
|
|
|
<item> outline </item>
|
|
|
|
<item> outline-offset </item>
|
|
|
|
<item> outline-offset </item>
|
|
|
|
<item> overflow-x </item>
|
|
|
|
<item> overflow-x </item>
|
|
|
|
<item> overflow-y </item>
|
|
|
|
<item> overflow-y </item>
|
|
|
|
|
|
|
|
<item> pointer-events </item>
|
|
|
|
|
|
|
|
<item> resize </item>
|
|
|
|
|
|
|
|
<item> rotation </item>
|
|
|
|
|
|
|
|
<item> rotation-point </item>
|
|
|
|
|
|
|
|
<item> table-layout </item>
|
|
|
|
<item> text-overflow </item>
|
|
|
|
<item> text-overflow </item>
|
|
|
|
<item> text-shadow </item>
|
|
|
|
<item> text-shadow </item>
|
|
|
|
|
|
|
|
<item> text-wrap </item>
|
|
|
|
|
|
|
|
<item> transform-origin </item>
|
|
|
|
|
|
|
|
<item> transition </item>
|
|
|
|
|
|
|
|
<item> transition-property </item>
|
|
|
|
|
|
|
|
<item> transition-duration </item>
|
|
|
|
|
|
|
|
<item> word-wrap </item>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Gecko rendering engine CSS property extensions -->
|
|
|
|
<!-- Gecko rendering engine CSS property extensions -->
|
|
|
|
|
|
|
|
<item> -moz-animation-name </item>
|
|
|
|
|
|
|
|
<item> -moz-animation-duration </item>
|
|
|
|
|
|
|
|
<item> -moz-animation-iteration </item>
|
|
|
|
|
|
|
|
<item> -moz-animation-direction </item>
|
|
|
|
|
|
|
|
<item> -moz-animation-delay </item>
|
|
|
|
|
|
|
|
<item> -moz-animation-play-state </item>
|
|
|
|
|
|
|
|
<item> -moz-animation-fill-mode </item>
|
|
|
|
|
|
|
|
<item> -moz-background-size </item>
|
|
|
|
|
|
|
|
<item> -moz-border-image </item>
|
|
|
|
<item> -moz-border-bottom-colors </item>
|
|
|
|
<item> -moz-border-bottom-colors </item>
|
|
|
|
<item> -moz-border-left-colors </item>
|
|
|
|
<item> -moz-border-left-colors </item>
|
|
|
|
<item> -moz-border-radius </item>
|
|
|
|
<item> -moz-border-radius </item>
|
|
|
|
|
|
|
|
<item> -moz-border-radius-topleft </item>
|
|
|
|
|
|
|
|
<item> -moz-border-radius-topright </item>
|
|
|
|
|
|
|
|
<item> -moz-border-radius-bottomleft </item>
|
|
|
|
|
|
|
|
<item> -moz-border-radius-bottomright </item>
|
|
|
|
<item> -moz-border-right-colors </item>
|
|
|
|
<item> -moz-border-right-colors </item>
|
|
|
|
<item> -moz-border-top-colors </item>
|
|
|
|
<item> -moz-border-top-colors </item>
|
|
|
|
|
|
|
|
<item> -moz-box </item>
|
|
|
|
<item> -moz-box-flex </item>
|
|
|
|
<item> -moz-box-flex </item>
|
|
|
|
|
|
|
|
<item> -moz-box-shadow </item>
|
|
|
|
|
|
|
|
<item> -moz-box-sizing </item>
|
|
|
|
|
|
|
|
<item> -moz-column-count </item>
|
|
|
|
|
|
|
|
<item> -moz-column-gap </item>
|
|
|
|
|
|
|
|
<item> -moz-hyphens </item>
|
|
|
|
|
|
|
|
<item> -moz-linear-gradient </item>
|
|
|
|
|
|
|
|
<item> -moz-opacity </item>
|
|
|
|
|
|
|
|
<item> -moz-outline-style </item>
|
|
|
|
|
|
|
|
<item> -moz-perspective </item>
|
|
|
|
|
|
|
|
<item> -moz-radial-gradient </item>
|
|
|
|
|
|
|
|
<item> -moz-resize </item>
|
|
|
|
|
|
|
|
<item> -moz-transform </item>
|
|
|
|
|
|
|
|
<item> -moz-transform-origin </item>
|
|
|
|
|
|
|
|
<item> -moz-transform-style </item>
|
|
|
|
|
|
|
|
<item> -moz-transition </item>
|
|
|
|
|
|
|
|
<item> -moz-transition-property </item>
|
|
|
|
|
|
|
|
<item> -moz-transition-duration </item>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Opera rendering engine CSS property extensions -->
|
|
|
|
<!-- Opera rendering engine CSS property extensions -->
|
|
|
|
<item> -o-background-size </item>
|
|
|
|
<item> -o-background-size </item>
|
|
|
|
|
|
|
|
<item> -o-linear-gradient </item>
|
|
|
|
<item> -o-text-overflow </item>
|
|
|
|
<item> -o-text-overflow </item>
|
|
|
|
|
|
|
|
<item> -o-transition </item>
|
|
|
|
|
|
|
|
<item> -o-transform-origin </item>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- konq specific -->
|
|
|
|
<!-- konq specific -->
|
|
|
|
<item> -khtml-background-size </item>
|
|
|
|
|
|
|
|
<item> konq_bgpos_x </item>
|
|
|
|
<item> konq_bgpos_x </item>
|
|
|
|
<item> konq_bgpos_y </item>
|
|
|
|
<item> konq_bgpos_y </item>
|
|
|
|
|
|
|
|
<item> -khtml-background-size </item>
|
|
|
|
|
|
|
|
<item> -khtml-border-top-left-radius </item>
|
|
|
|
|
|
|
|
<item> -khtml-border-top-right-radius </item>
|
|
|
|
|
|
|
|
<item> -khtml-border-bottom-left-radius </item>
|
|
|
|
|
|
|
|
<item> -khtml-border-bottom-right-radius </item>
|
|
|
|
|
|
|
|
<item> -khtml-border-radius </item>
|
|
|
|
|
|
|
|
<item> -khtml-box-shadow </item>
|
|
|
|
|
|
|
|
<item> -khtml-opacity </item>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Webkit rendering engine CSS property extensions -->
|
|
|
|
<!-- Webkit rendering engine CSS property extensions -->
|
|
|
|
|
|
|
|
<item> -webkit-appearance </item>
|
|
|
|
|
|
|
|
<item> -webkit-animation-name </item>
|
|
|
|
|
|
|
|
<item> -webkit-animation-duration </item>
|
|
|
|
|
|
|
|
<item> -webkit-animation-iteration </item>
|
|
|
|
|
|
|
|
<item> -webkit-animation-direction </item>
|
|
|
|
|
|
|
|
<item> -webkit-animation-delay </item>
|
|
|
|
|
|
|
|
<item> -webkit-animation-play-state </item>
|
|
|
|
|
|
|
|
<item> -webkit-animation-fill-mode </item>
|
|
|
|
<item> -webkit-background-size </item>
|
|
|
|
<item> -webkit-background-size </item>
|
|
|
|
|
|
|
|
<item> -webkit-border-image </item>
|
|
|
|
|
|
|
|
<item> -webkit-border-bottom-colors </item>
|
|
|
|
|
|
|
|
<item> -webkit-border-left-colors </item>
|
|
|
|
|
|
|
|
<item> -webkit-border-radius </item>
|
|
|
|
|
|
|
|
<item> -webkit-border-right-colors </item>
|
|
|
|
|
|
|
|
<item> -webkit-border-top-colors </item>
|
|
|
|
|
|
|
|
<item> -webkit-border-top-left-radius </item>
|
|
|
|
|
|
|
|
<item> -webkit-border-top-right-radius </item>
|
|
|
|
|
|
|
|
<item> -webkit-border-bottom-left-radius </item>
|
|
|
|
|
|
|
|
<item> -webkit-border-bottom-right-radius </item>
|
|
|
|
|
|
|
|
<item> -webkit-border-radius-bottomleft </item>
|
|
|
|
|
|
|
|
<item> -webkit-border-radius-bottomright </item>
|
|
|
|
|
|
|
|
<item> -webkit-box-flex </item>
|
|
|
|
|
|
|
|
<item> -webkit-box-reflect</item>
|
|
|
|
|
|
|
|
<item> -webkit-box-shadow </item>
|
|
|
|
|
|
|
|
<item> -webkit-box-sizing </item>
|
|
|
|
|
|
|
|
<item> -webkit-column-count </item>
|
|
|
|
|
|
|
|
<item> -webkit-column-gap </item>
|
|
|
|
|
|
|
|
<item> -webkit-hyphens </item>
|
|
|
|
|
|
|
|
<item> -webkit-linear-gradient </item>
|
|
|
|
|
|
|
|
<item> -webkit-gradient </item>
|
|
|
|
|
|
|
|
<item> -webkit-perspective </item>
|
|
|
|
|
|
|
|
<item> -webkit-text-fill-color </item>
|
|
|
|
|
|
|
|
<item> -webkit-text-stroke-color </item>
|
|
|
|
|
|
|
|
<item> -webkit-text-stroke-width </item>
|
|
|
|
|
|
|
|
<item> -webkit-text-size-adjust </item>
|
|
|
|
|
|
|
|
<item> -webkit-transform </item>
|
|
|
|
|
|
|
|
<item> -webkit-transform-origin </item>
|
|
|
|
|
|
|
|
<item> -webkit-transform-style </item>
|
|
|
|
|
|
|
|
<item> -webkit-transition </item>
|
|
|
|
|
|
|
|
<item> -webkit-transition-property </item>
|
|
|
|
|
|
|
|
<item> -webkit-transition-duration </item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Trident (a.k.a., MSHTML) CSS property extensions -->
|
|
|
|
|
|
|
|
<item> filter </item>
|
|
|
|
|
|
|
|
<item> zoom </item>
|
|
|
|
|
|
|
|
<item> -ms-animation-name </item>
|
|
|
|
|
|
|
|
<item> -ms-animation-duration </item>
|
|
|
|
|
|
|
|
<item> -ms-animation-iteration </item>
|
|
|
|
|
|
|
|
<item> -ms-animation-direction </item>
|
|
|
|
|
|
|
|
<item> -ms-animation-delay </item>
|
|
|
|
|
|
|
|
<item> -ms-animation-play-state </item>
|
|
|
|
|
|
|
|
<item> -ms-animation-fill-mode </item>
|
|
|
|
|
|
|
|
<item> -ms-box-sizing </item>
|
|
|
|
|
|
|
|
<item> -ms-filter </item>
|
|
|
|
|
|
|
|
<item> -ms-interpolation-mode </item>
|
|
|
|
|
|
|
|
<item> -ms-linear-gradient </item>
|
|
|
|
|
|
|
|
<item> -ms-text-size-adjust </item>
|
|
|
|
|
|
|
|
<item> -ms-transform </item>
|
|
|
|
|
|
|
|
<item> -ms-transition </item>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- font properties in @font-face -->
|
|
|
|
<!-- font properties in @font-face -->
|
|
|
|
<item> font-family </item>
|
|
|
|
<item> font-family </item>
|
|
|
@ -422,10 +541,7 @@
|
|
|
|
<item> monospace </item>
|
|
|
|
<item> monospace </item>
|
|
|
|
<item> border-box </item>
|
|
|
|
<item> border-box </item>
|
|
|
|
<item> content-box </item>
|
|
|
|
<item> content-box </item>
|
|
|
|
|
|
|
|
<item> -epub-hyphens </item>
|
|
|
|
<!-- Gecko rendering engine CSS value extensions -->
|
|
|
|
|
|
|
|
<item> -moz-box </item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</list>
|
|
|
|
</list>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -557,7 +673,7 @@
|
|
|
|
<DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" />
|
|
|
|
<DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" />
|
|
|
|
<!--parse selectors-->
|
|
|
|
<!--parse selectors-->
|
|
|
|
<DetectChar attribute="Selector Attr" context="SelAttr" char="[" />
|
|
|
|
<DetectChar attribute="Selector Attr" context="SelAttr" char="[" />
|
|
|
|
<RegExpr attribute="Selector Id" context="#stay" String="#(-)?(&nmstart;)(&nmchar;)*" />
|
|
|
|
<RegExpr attribute="Selector Id" context="#stay" String="#([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
|
|
|
|
<RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
|
|
|
|
<RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
|
|
|
|
<RegExpr attribute="Selector Pseudo" context="#stay" String=":lang\([\w_-]+\)" />
|
|
|
|
<RegExpr attribute="Selector Pseudo" context="#stay" String=":lang\([\w_-]+\)" />
|
|
|
|
<DetectChar attribute="Selector Pseudo" context="SelPseudo" char=":" />
|
|
|
|
<DetectChar attribute="Selector Pseudo" context="SelPseudo" char=":" />
|
|
|
@ -696,7 +812,6 @@
|
|
|
|
<itemData name="Selector Pseudo" defStyleNum="dsDecVal" spellChecking="false"/>
|
|
|
|
<itemData name="Selector Pseudo" defStyleNum="dsDecVal" spellChecking="false"/>
|
|
|
|
<itemData name="Comment" defStyleNum="dsComment" />
|
|
|
|
<itemData name="Comment" defStyleNum="dsComment" />
|
|
|
|
<itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>
|
|
|
|
<itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>
|
|
|
|
<itemData name="Alert" defStyleNum="dsAlert" spellChecking="false"/>
|
|
|
|
|
|
|
|
<itemData name="Error" defStyleNum="dsError" spellChecking="false"/>
|
|
|
|
<itemData name="Error" defStyleNum="dsError" spellChecking="false"/>
|
|
|
|
</itemDatas>
|
|
|
|
</itemDatas>
|
|
|
|
</highlighting>
|
|
|
|
</highlighting>
|
|
|
@ -706,4 +821,4 @@
|
|
|
|
<comment name="multiLine" start="/*" end="*/" />
|
|
|
|
<comment name="multiLine" start="/*" end="*/" />
|
|
|
|
</comments>
|
|
|
|
</comments>
|
|
|
|
</general>
|
|
|
|
</general>
|
|
|
|
</language>
|
|
|
|
</language>
|
|
|
|