%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/textmodes/ |
Current File : //usr/local/share/emacs/27.2/lisp/textmodes/css-mode.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\311\312\313\314\315\316%\207" [require cl-lib color eww imenu seq sgml-mode smie thingatpt custom-declare-group css nil "Cascading Style Sheets (CSS) editing mode." :group languages] 6) #@33 Identifiers for pseudo-classes. (defconst css-pseudo-class-ids '("active" "checked" "default" "disabled" "empty" "enabled" "first" "first-child" "first-of-type" "focus" "focus-within" "hover" "in-range" "indeterminate" "invalid" "lang" "last-child" "last-of-type" "left" "link" "not" "nth-child" "nth-last-child" "nth-last-of-type" "nth-of-type" "only-child" "only-of-type" "optional" "out-of-range" "read-only" "read-write" "required" "right" "root" "scope" "target" "valid" "visited") (#$ . 711)) #@34 Identifiers for pseudo-elements. (defconst css-pseudo-element-ids '("after" "before" "first-letter" "first-line") (#$ . 1216)) #@43 Identifiers that appear in the form @foo. (defconst css-at-ids '("charset" "font-face" "import" "keyframes" "media" "namespace" "page" "supports") (#$ . 1349)) #@62 Additional identifiers that appear in the form @foo in SCSS. (defconst scss-at-ids '("at-root" "content" "debug" "each" "else" "else if" "error" "extend" "for" "function" "if" "import" "include" "mixin" "return" "warn" "while") (#$ . 1515)) #@40 List of at-rules for the current mode. (defvar css--at-ids css-at-ids (#$ . 1762)) (make-variable-buffer-local 'css--at-ids) #@43 Identifiers that appear in the form !foo. (defconst css-bang-ids '("important") (#$ . 1893)) #@62 Additional identifiers that appear in the form !foo in SCSS. (defconst scss-bang-ids '("default" "global" "optional") (#$ . 1992)) #@42 List of bang-rules for the current mode. (defvar css--bang-ids css-bang-ids (#$ . 2129)) (make-variable-buffer-local 'css--bang-ids) #@35 Identifiers for font descriptors. (defconst css-descriptor-ids '("ascent" "baseline" "bbox" "cap-height" "centerline" "definition-src" "descent" "font-family" "font-size" "font-stretch" "font-style" "font-variant" "font-weight" "mathline" "panose-1" "slope" "src" "stemh" "stemv" "topline" "unicode-range" "units-per-em" "widths" "x-height") (#$ . 2268)) #@33 Identifiers for types of media. (defconst css-media-ids '("all" "aural" "bitmap" "continuous" "grid" "paged" "static" "tactile" "visual") (#$ . 2629)) #@560 Identifiers for properties and their possible values. The CAR of each entry is the name of a property, while the CDR is a list of possible values for that property. String values in the CDRs represent literal values, while symbols represent one of the value classes found in `css-value-class-alist'. If a symbol is not found in `css-value-class-alist', it's interpreted as a reference back to one of the properties in this list. Some symbols, such as `number' or `identifier', don't produce any further value candidates, since that list would be infinite. (defconst css-property-alist '(("azimuth" angle "left-side" "far-left" "left" "center-left" "center" "center-right" "right" "far-right" "right-side" "behind" "leftwards" "rightwards") ("border-collapse" "collapse" "separate") ("border-spacing" length) ("bottom" length percentage "auto") ("caption-side" "top" "bottom") ("clear" "none" "left" "right" "both") ("content" "normal" "none" string uri counter "attr()" "open-quote" "close-quote" "no-open-quote" "no-close-quote") ("counter-increment" identifier integer "none") ("counter-reset" identifier integer "none") ("cue" cue-before cue-after) ("cue-after" uri "none") ("cue-before" uri "none") ("direction" "ltr" "rtl") ("display" "inline" "block" "list-item" "inline-block" "table" "inline-table" "table-row-group" "table-header-group" "table-footer-group" "table-row" "table-column-group" "table-column" "table-cell" "table-caption" "none" "flex" "inline-flex" "grid" "inline-grid" "subgrid") ("elevation" angle "below" "level" "above" "higher" "lower") ("empty-cells" "show" "hide") ("float" "left" "right" "none") ("height" length percentage "auto") ("left" length percentage "auto") ("line-height" "normal" number length percentage) ("list-style" list-style-type list-style-position list-style-image) ("list-style-image" uri "none") ("list-style-position" "inside" "outside") ("list-style-type" "disc" "circle" "square" "decimal" "decimal-leading-zero" "lower-roman" "upper-roman" "lower-greek" "lower-latin" "upper-latin" "armenian" "georgian" "lower-alpha" "upper-alpha" "none") ("margin" margin-width) ("margin-bottom" margin-width) ("margin-left" margin-width) ("margin-right" margin-width) ("margin-top" margin-width) ("max-height" length percentage "none") ("max-width" length percentage "none") ("min-height" length percentage) ("min-width" length percentage) ("padding" padding-width) ("padding-bottom" padding-width) ("padding-left" padding-width) ("padding-right" padding-width) ("padding-top" padding-width) ("page-break-after" "auto" "always" "avoid" "left" "right") ("page-break-before" "auto" "always" "avoid" "left" "right") ("page-break-inside" "avoid" "auto") ("pause" time percentage) ("pause-after" time percentage) ("pause-before" time percentage) ("pitch" frequency "x-low" "low" "medium" "high" "x-high") ("pitch-range" number) ("play-during" uri "mix" "repeat" "auto" "none") ("position" "static" "relative" "absolute" "fixed") ("quotes" string "none") ("richness" number) ("right" length percentage "auto") ("speak" "normal" "none" "spell-out") ("speak-header" "once" "always") ("speak-numeral" "digits" "continuous") ("speak-punctuation" "code" "none") ("speech-rate" number "x-slow" "slow" "medium" "fast" "x-fast" "faster" "slower") ("stress" number) ("table-layout" "auto" "fixed") ("top" length percentage "auto") ("unicode-bidi" "normal" "embed" "bidi-override") ("vertical-align" "baseline" "sub" "super" "top" "text-top" "middle" "bottom" "text-bottom" percentage length) ("visibility" "visible" "hidden" "collapse") ("voice-family" specific-voice generic-voice specific-voice generic-voice) ("volume" number percentage "silent" "x-soft" "soft" "medium" "loud" "x-loud") ("width" length percentage "auto") ("z-index" "auto" integer) ("animation" single-animation-name time single-timing-function single-animation-iteration-count single-animation-direction single-animation-fill-mode single-animation-play-state) ("animation-delay" time) ("animation-direction" single-animation-direction) ("animation-duration" time) ("animation-fill-mode" single-animation-fill-mode) ("animation-iteration-count" single-animation-iteration-count) ("animation-name" single-animation-name) ("animation-play-state" single-animation-play-state) ("animation-timing-function" single-timing-function) ("background" bg-layer final-bg-layer) ("background-attachment" attachment) ("background-clip" box) ("background-color" color) ("background-image" bg-image) ("background-origin" box) ("background-position" position) ("background-repeat" repeat-style) ("background-size" bg-size) ("border" line-width line-style color) ("border-bottom" line-width line-style color) ("border-bottom-color" color) ("border-bottom-left-radius" length percentage) ("border-bottom-right-radius" length percentage) ("border-bottom-style" line-style) ("border-bottom-width" line-width) ("border-color" color) ("border-image" border-image-source border-image-slice border-image-width border-image-outset border-image-repeat) ("border-image-outset" length number) ("border-image-repeat" "stretch" "repeat" "round" "space") ("border-image-slice" number percentage "fill") ("border-image-source" "none" image) ("border-image-width" length percentage number "auto") ("border-left" line-width line-style color) ("border-left-color" color) ("border-left-style" line-style) ("border-left-width" line-width) ("border-radius" length percentage) ("border-right" line-width line-style color) ("border-right-color" color) ("border-right-style" line-style) ("border-right-width" line-width) ("border-style" line-style) ("border-top" line-width line-style color) ("border-top-color" color) ("border-top-left-radius" length percentage) ("border-top-right-radius" length percentage) ("border-top-style" line-style) ("border-top-width" line-width) ("border-width" line-width) ("box-shadow" "none" shadow) ("box-sizing" "content-box" "border-box") ("caret-color" "auto" color) ("cursor" uri x y "auto" "default" "none" "context-menu" "help" "pointer" "progress" "wait" "cell" "crosshair" "text" "vertical-text" "alias" "copy" "move" "no-drop" "not-allowed" "grab" "grabbing" "e-resize" "n-resize" "ne-resize" "nw-resize" "s-resize" "se-resize" "sw-resize" "w-resize" "ew-resize" "ns-resize" "nesw-resize" "nwse-resize" "col-resize" "row-resize" "all-scroll" "zoom-in" "zoom-out") ("nav-down" "auto" id "current" "root" target-name) ("nav-left" "auto" id "current" "root" target-name) ("nav-right" "auto" id "current" "root" target-name) ("nav-up" "auto" id "current" "root" target-name) ("outline" outline-color outline-style outline-width) ("outline-color" color "invert") ("outline-offset" length) ("outline-style" "auto" border-style) ("outline-width" border-width) ("resize" "none" "both" "horizontal" "vertical") ("text-overflow" "clip" "ellipsis" string) ("color" color) ("opacity" alphavalue) ("grid" grid-template grid-template-rows "auto-flow" "dense" grid-auto-columns grid-auto-rows grid-template-columns) ("grid-area" grid-line) ("grid-auto-columns" track-size) ("grid-auto-flow" "row" "column" "dense") ("grid-auto-rows" track-size) ("grid-column" grid-line) ("grid-column-end" grid-line) ("grid-column-gap" length-percentage) ("grid-column-start" grid-line) ("grid-gap" grid-row-gap grid-column-gap) ("grid-row" grid-line) ("grid-row-end" grid-line) ("grid-row-gap" length-percentage) ("grid-row-start" grid-line) ("grid-template" "none" grid-template-rows grid-template-columns line-names string track-size line-names explicit-track-list) ("grid-template-areas" "none" string) ("grid-template-columns" "none" track-list auto-track-list) ("grid-template-rows" "none" track-list auto-track-list) ("align-content" "flex-start" "flex-end" "center" "space-between" "space-around" "stretch") ("align-items" "flex-start" "flex-end" "center" "baseline" "stretch") ("align-self" "auto" "flex-start" "flex-end" "center" "baseline" "stretch") ("flex" "none" flex-grow flex-shrink flex-basis) ("flex-basis" "auto" "content" width) ("flex-direction" "row" "row-reverse" "column" "column-reverse") ("flex-flow" flex-direction flex-wrap) ("flex-grow" number) ("flex-shrink" number) ("flex-wrap" "nowrap" "wrap" "wrap-reverse") ("justify-content" "flex-start" "flex-end" "center" "space-between" "space-around") ("order" integer) ("font" font-style font-variant-css21 font-weight font-stretch font-size line-height font-family "caption" "icon" "menu" "message-box" "small-caption" "status-bar") ("font-family" family-name generic-family) ("font-feature-settings" "normal" feature-tag-value) ("font-kerning" "auto" "normal" "none") ("font-language-override" "normal" string) ("font-size" absolute-size relative-size length percentage) ("font-size-adjust" "none" number) ("font-stretch" "normal" "ultra-condensed" "extra-condensed" "condensed" "semi-condensed" "semi-expanded" "expanded" "extra-expanded" "ultra-expanded") ("font-style" "normal" "italic" "oblique") ("font-synthesis" "none" "weight" "style") ("font-variant" "normal" "none" common-lig-values discretionary-lig-values historical-lig-values contextual-alt-values "stylistic()" "historical-forms" "styleset()" "character-variant()" "swash()" "ornaments()" "annotation()" "small-caps" "all-small-caps" "petite-caps" "all-petite-caps" "unicase" "titling-caps" numeric-figure-values numeric-spacing-values numeric-fraction-values "ordinal" "slashed-zero" east-asian-variant-values east-asian-width-values "ruby") ("font-variant-alternates" "normal" "stylistic()" "historical-forms" "styleset()" "character-variant()" "swash()" "ornaments()" "annotation()") ("font-variant-caps" "normal" "small-caps" "all-small-caps" "petite-caps" "all-petite-caps" "unicase" "titling-caps") ("font-variant-east-asian" "normal" east-asian-variant-values east-asian-width-values "ruby") ("font-variant-ligatures" "normal" "none" common-lig-values discretionary-lig-values historical-lig-values contextual-alt-values) ("font-variant-numeric" "normal" numeric-figure-values numeric-spacing-values numeric-fraction-values "ordinal" "slashed-zero") ("font-variant-position" "normal" "sub" "super") ("font-weight" "normal" "bold" "bolder" "lighter" "100" "200" "300" "400" "500" "600" "700" "800" "900") ("box-decoration-break" "slice" "clone") ("break-after" "auto" "avoid" "avoid-page" "page" "left" "right" "recto" "verso" "avoid-column" "column" "avoid-region" "region") ("break-before" "auto" "avoid" "avoid-page" "page" "left" "right" "recto" "verso" "avoid-column" "column" "avoid-region" "region") ("break-inside" "auto" "avoid" "avoid-page" "avoid-column" "avoid-region") ("orphans" integer) ("widows" integer) ("clip-path" clip-source basic-shape geometry-box "none") ("clip-rule" "nonzero" "evenodd") ("mask-image" mask-reference) ("mask-mode" masking-mode) ("mask-repeat" repeat-style) ("mask-position" position) ("mask-clip" geometry-box "no-clip") ("mask-origin" geometry-box) ("mask-size" bg-size) ("mask-composite" compositing-operator) ("mask" mask-layer) ("mask-border-source" "none" image) ("mask-border-mode" "luminance" "alpha") ("mask-border-slice" number percentage "fill") ("mask-border-width" length percentage number "auto") ("mask-border-outset" length number) ("mask-border-repeat" "stretch" "repeat" "round" "space") ("mask-border" mask-border-source mask-border-slice mask-border-width mask-border-outset mask-border-repeat mask-border-mode) ("mask-type" "luminance" "alpha") ("clip" "rect()" "auto") ("column-count" integer "auto") ("column-fill" "auto" "balance") ("column-gap" length "normal") ("column-rule" column-rule-width column-rule-style column-rule-color "transparent") ("column-rule-color" color) ("column-rule-style" border-style) ("column-rule-width" border-width) ("column-span" "none" "all") ("column-width" length "auto") ("columns" column-width column-count) ("max-lines" "none" integer) ("overflow" "visible" "hidden" "scroll" "auto" "paged-x" "paged-y" "paged-x-controls" "paged-y-controls" "fragments") ("overflow-x" "visible" "hidden" "scroll" "auto" "paged-x" "paged-y" "paged-x-controls" "paged-y-controls" "fragments") ("overflow-y" "visible" "hidden" "scroll" "auto" "paged-x" "paged-y" "paged-x-controls" "paged-y-controls" "fragments") ("text-decoration" text-decoration-line text-decoration-style text-decoration-color) ("text-decoration-color" color) ("text-decoration-line" "none" "underline" "overline" "line-through" "blink") ("text-decoration-skip" "none" "objects" "spaces" "ink" "edges" "box-decoration") ("text-decoration-style" "solid" "double" "dotted" "dashed" "wavy") ("text-emphasis" text-emphasis-style text-emphasis-color) ("text-emphasis-color" color) ("text-emphasis-position" "over" "under" "right" "left") ("text-emphasis-style" "none" "filled" "open" "dot" "circle" "double-circle" "triangle" "sesame" string) ("text-shadow" "none" length color) ("text-underline-position" "auto" "under" "left" "right") ("hanging-punctuation" "none" "first" "force-end" "allow-end" "last") ("hyphens" "none" "manual" "auto") ("letter-spacing" "normal" length) ("line-break" "auto" "loose" "normal" "strict") ("overflow-wrap" "normal" "break-word") ("tab-size" integer length) ("text-align" "start" "end" "left" "right" "center" "justify" "match-parent") ("text-align-last" "auto" "start" "end" "left" "right" "center" "justify") ("text-indent" length percentage) ("text-justify" "auto" "none" "inter-word" "distribute") ("text-transform" "none" "capitalize" "uppercase" "lowercase" "full-width") ("white-space" "normal" "pre" "nowrap" "pre-wrap" "pre-line") ("word-break" "normal" "keep-all" "break-all") ("word-spacing" "normal" length percentage) ("word-wrap" "normal" "break-word") ("backface-visibility" "visible" "hidden") ("perspective" "none" length) ("perspective-origin" "left" "center" "right" "top" "bottom" percentage length) ("transform" "none" transform-list) ("transform-origin" "left" "center" "right" "top" "bottom" percentage length) ("transform-style" "flat" "preserve-3d") ("transition" single-transition) ("transition-delay" time) ("transition-duration" time) ("transition-property" "none" single-transition-property "all") ("transition-timing-function" single-transition-timing-function) ("will-change" "auto" animateable-feature) ("color-interpolation-filters" "auto" "sRGB" "linearRGB") ("filter" "none" filter-function-list) ("flood-color" color) ("flood-opacity" number percentage) ("lighting-color" color) ("touch-action" "auto" "none" "pan-x" "pan-y" "manipulation")) (#$ . 2787)) #@29 Identifiers for properties. (defconst css-property-ids (mapcar 'car css-property-alist) (#$ . 17282)) #@46 Map CSS named colors to their hex RGB value. (defconst css--color-map '(("black" . "#000000") ("silver" . "#c0c0c0") ("gray" . "#808080") ("white" . "#ffffff") ("maroon" . "#800000") ("red" . "#ff0000") ("purple" . "#800080") ("fuchsia" . "#ff00ff") ("magenta" . "#ff00ff") ("green" . "#008000") ("lime" . "#00ff00") ("olive" . "#808000") ("yellow" . "#ffff00") ("navy" . "#000080") ("blue" . "#0000ff") ("teal" . "#008080") ("aqua" . "#00ffff") ("cyan" . "#00ffff") ("orange" . "#ffa500") ("aliceblue" . "#f0f8ff") ("antiquewhite" . "#faebd7") ("aquamarine" . "#7fffd4") ("azure" . "#f0ffff") ("beige" . "#f5f5dc") ("bisque" . "#ffe4c4") ("blanchedalmond" . "#ffebcd") ("blueviolet" . "#8a2be2") ("brown" . "#a52a2a") ("burlywood" . "#deb887") ("cadetblue" . "#5f9ea0") ("chartreuse" . "#7fff00") ("chocolate" . "#d2691e") ("coral" . "#ff7f50") ("cornflowerblue" . "#6495ed") ("cornsilk" . "#fff8dc") ("crimson" . "#dc143c") ("darkblue" . "#00008b") ("darkcyan" . "#008b8b") ("darkgoldenrod" . "#b8860b") ("darkgray" . "#a9a9a9") ("darkgreen" . "#006400") ("darkgrey" . "#a9a9a9") ("darkkhaki" . "#bdb76b") ("darkmagenta" . "#8b008b") ("darkolivegreen" . "#556b2f") ("darkorange" . "#ff8c00") ("darkorchid" . "#9932cc") ("darkred" . "#8b0000") ("darksalmon" . "#e9967a") ("darkseagreen" . "#8fbc8f") ("darkslateblue" . "#483d8b") ("darkslategray" . "#2f4f4f") ("darkslategrey" . "#2f4f4f") ("darkturquoise" . "#00ced1") ("darkviolet" . "#9400d3") ("deeppink" . "#ff1493") ("deepskyblue" . "#00bfff") ("dimgray" . "#696969") ("dimgrey" . "#696969") ("dodgerblue" . "#1e90ff") ("firebrick" . "#b22222") ("floralwhite" . "#fffaf0") ("forestgreen" . "#228b22") ("gainsboro" . "#dcdcdc") ("ghostwhite" . "#f8f8ff") ("gold" . "#ffd700") ("goldenrod" . "#daa520") ("greenyellow" . "#adff2f") ("grey" . "#808080") ("honeydew" . "#f0fff0") ("hotpink" . "#ff69b4") ("indianred" . "#cd5c5c") ("indigo" . "#4b0082") ("ivory" . "#fffff0") ("khaki" . "#f0e68c") ("lavender" . "#e6e6fa") ("lavenderblush" . "#fff0f5") ("lawngreen" . "#7cfc00") ("lemonchiffon" . "#fffacd") ("lightblue" . "#add8e6") ("lightcoral" . "#f08080") ("lightcyan" . "#e0ffff") ("lightgoldenrodyellow" . "#fafad2") ("lightgray" . "#d3d3d3") ("lightgreen" . "#90ee90") ("lightgrey" . "#d3d3d3") ("lightpink" . "#ffb6c1") ("lightsalmon" . "#ffa07a") ("lightseagreen" . "#20b2aa") ("lightskyblue" . "#87cefa") ("lightslategray" . "#778899") ("lightslategrey" . "#778899") ("lightsteelblue" . "#b0c4de") ("lightyellow" . "#ffffe0") ("limegreen" . "#32cd32") ("linen" . "#faf0e6") ("mediumaquamarine" . "#66cdaa") ("mediumblue" . "#0000cd") ("mediumorchid" . "#ba55d3") ("mediumpurple" . "#9370db") ("mediumseagreen" . "#3cb371") ("mediumslateblue" . "#7b68ee") ("mediumspringgreen" . "#00fa9a") ("mediumturquoise" . "#48d1cc") ("mediumvioletred" . "#c71585") ("midnightblue" . "#191970") ("mintcream" . "#f5fffa") ("mistyrose" . "#ffe4e1") ("moccasin" . "#ffe4b5") ("navajowhite" . "#ffdead") ("oldlace" . "#fdf5e6") ("olivedrab" . "#6b8e23") ("orangered" . "#ff4500") ("orchid" . "#da70d6") ("palegoldenrod" . "#eee8aa") ("palegreen" . "#98fb98") ("paleturquoise" . "#afeeee") ("palevioletred" . "#db7093") ("papayawhip" . "#ffefd5") ("peachpuff" . "#ffdab9") ("peru" . "#cd853f") ("pink" . "#ffc0cb") ("plum" . "#dda0dd") ("powderblue" . "#b0e0e6") ("rosybrown" . "#bc8f8f") ("royalblue" . "#4169e1") ("saddlebrown" . "#8b4513") ("salmon" . "#fa8072") ("sandybrown" . "#f4a460") ("seagreen" . "#2e8b57") ("seashell" . "#fff5ee") ("sienna" . "#a0522d") ("skyblue" . "#87ceeb") ("slateblue" . "#6a5acd") ("slategray" . "#708090") ("slategrey" . "#708090") ("snow" . "#fffafa") ("springgreen" . "#00ff7f") ("steelblue" . "#4682b4") ("tan" . "#d2b48c") ("thistle" . "#d8bfd8") ("tomato" . "#ff6347") ("turquoise" . "#40e0d0") ("violet" . "#ee82ee") ("wheat" . "#f5deb3") ("whitesmoke" . "#f5f5f5") ("yellowgreen" . "#9acd32") ("rebeccapurple" . "#663399")) (#$ . 17390)) #@486 Property value classes and their values. The format is similar to that of `css-property-alist', except that the CARs aren't actual CSS properties, but rather a name for a class of values, and that symbols in the CDRs always refer to other entries in this list, not to properties. The following classes have been left out above because they cannot be completed sensibly: `custom-ident', `element-reference', `flex', `id', `identifier', `length-percentage', `percentage', and `string'. (defconst css-value-class-alist (byte-code "\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\"B\371BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB\207" [css--color-map (absolute-size "xx-small" "x-small" "small" "medium" "large" "x-large" "xx-large") (alphavalue number) (angle "calc()") (animateable-feature "scroll-position" "contents" custom-ident) (attachment "scroll" "fixed" "local") (auto-repeat "repeat()") (auto-track-list line-names fixed-size fixed-repeat auto-repeat) (basic-shape "inset()" "circle()" "ellipse()" "polygon()") (bg-image image "none") (bg-layer bg-image position repeat-style attachment box) (bg-size length percentage "auto" "cover" "contain") (box "border-box" "padding-box" "content-box") (clip-source uri) (color "rgb()" "rgba()" "hsl()" "hsla()" named-color "transparent" "currentColor") (common-lig-values "common-ligatures" "no-common-ligatures") (compositing-operator "add" "subtract" "intersect" "exclude") (contextual-alt-values "contextual" "no-contextual") (counter "counter()" "counters()") (discretionary-lig-values "discretionary-ligatures" "no-discretionary-ligatures") (east-asian-variant-values "jis78" "jis83" "jis90" "jis04" "simplified" "traditional") (east-asian-width-values "full-width" "proportional-width") (explicit-track-list line-names track-size) (family-name "Courier" "Helvetica" "Times") (feature-tag-value string integer "on" "off") (filter-function "blur()" "brightness()" "contrast()" "drop-shadow()" "grayscale()" "hue-rotate()" "invert()" "opacity()" "sepia()" "saturate()") (filter-function-list filter-function uri) (final-bg-layer bg-image position repeat-style attachment box color) (fixed-breadth length-percentage) (fixed-repeat "repeat()") (fixed-size fixed-breadth "minmax()") (font-variant-css21 "normal" "small-caps") (frequency "calc()") (generic-family "serif" "sans-serif" "cursive" "fantasy" "monospace") (generic-voice "male" "female" "child") (geometry-box shape-box "fill-box" "stroke-box" "view-box") (gradient linear-gradient radial-gradient repeating-linear-gradient repeating-radial-gradient) (grid-line "auto" custom-ident integer "span") (historical-lig-values "historical-ligatures" "no-historical-ligatures") (image uri image-list element-reference gradient) (image-list "image()") (inflexible-breadth length-percentage "min-content" "max-content" "auto") (integer "calc()") (length "calc()" number) (line-height "normal" number length percentage) (line-names custom-ident) (line-style "none" "hidden" "dotted" "dashed" "solid" "double" "groove" "ridge" "inset" "outset") (line-width length "thin" "medium" "thick") (linear-gradient "linear-gradient()") (margin-width "auto" length percentage) (mask-layer mask-reference masking-mode position bg-size repeat-style geometry-box "no-clip" compositing-operator) (mask-reference "none" image mask-source) (mask-source uri) (masking-mode "alpha" "luminance" "auto") named-color mapcar car ((number "calc()") (numeric-figure-values "lining-nums" "oldstyle-nums") (numeric-fraction-values "diagonal-fractions" "stacked-fractions") (numeric-spacing-values "proportional-nums" "tabular-nums") (padding-width length percentage) (position "left" "center" "right" "top" "bottom" percentage length) (radial-gradient "radial-gradient()") (relative-size "larger" "smaller") (repeat-style "repeat-x" "repeat-y" "repeat" "space" "round" "no-repeat") (repeating-linear-gradient "repeating-linear-gradient()") (repeating-radial-gradient "repeating-radial-gradient()") (shadow "inset" length color) (shape-box box "margin-box") (single-animation-direction "normal" "reverse" "alternate" "alternate-reverse") (single-animation-fill-mode "none" "forwards" "backwards" "both") (single-animation-iteration-count "infinite" number) (single-animation-name "none" identifier) (single-animation-play-state "running" "paused") (single-timing-function single-transition-timing-function) (single-transition "none" single-transition-property time single-transition-timing-function) (single-transition-property "all" identifier) (single-transition-timing-function "ease" "linear" "ease-in" "ease-out" "ease-in-out" "step-start" "step-end" "steps()" "cubic-bezier()") (specific-voice identifier) (target-name string) (time "calc()") (track-breadth length-percentage flex "min-content" "max-content" "auto") (track-list line-names track-size track-repeat) (track-repeat "repeat()") (track-size track-breadth "minmax()" "fit-content()") (transform-list "matrix()" "translate()" "translateX()" "translateY()" "scale()" "scaleX()" "scaleY()" "rotate()" "skew()" "skewX()" "skewY()" "matrix3d()" "translate3d()" "translateZ()" "scale3d()" "scaleZ()" "rotate3d()" "rotateX()" "rotateY()" "rotateZ()" "perspective()") (uri "url()") (width length percentage "auto") (x number) (y number))] 57) (#$ . 21322)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \207" [custom-declare-variable css-electric-keys funcall function #[0 "\300\207" [(125 59)] 1] "Self inserting keys which should trigger re-indentation." :version "22.2" :type (repeat character) :group css] 10) (defvar css-mode-syntax-table (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\307#\210\301\311\312#\210\301\313\314#\210\301\315\316#\210\301\317\320#\210\301\321\322#\210\301\323\324#\210\301\325\326#\210\301\327\326#\210\301\330\326#\210\301\331\326#\210\301\332\333#\210\301\334\333#\210\301\335\333#\210\301\336\333#\210\301\337\333#\210\301\340\333#\210\301\341\333#\210\301\342\333#\210\301\343\333#\210\301\344\333#\210\211\207" [make-syntax-table modify-syntax-entry 47 ". 14" 42 ". 23b" 34 "\"" 39 123 "(}" 125 "){" 40 "()" 41 ")(" 91 "(]" 93 ")[" 64 "_" 35 46 45 33 "." 36 37 38 43 44 60 62 61 63] 5)) #@28 Keymap used in `css-mode'. (defvar css-mode-map (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\307#\210\310\311!\210\312\313\314\315$\210\211\207" [make-sparse-keymap define-key [remap info-lookup-symbol] css-lookup-symbol [remap complete-symbol] completion-at-point "" css-cycle-color-format (lambda (#1=#:def-tmp-var) (defvar css-menu #1# #2="CSS mode menu")) nil easy-menu-do-define css-menu #2# ("CSS" :help "CSS-specific features" ["Reformat block" fill-paragraph :help "Reformat declaration block or fill comment at point"] ["Cycle color format" css-cycle-color-format :help "Cycle color at point between different formats"] "-" ["Describe symbol" css-lookup-symbol :help "Display documentation for a CSS symbol"] ["Complete symbol" completion-at-point :help "Complete symbol before point"])] 6) (#$ . 27744)) (defconst css--uri-re "url\\((\\)[[:space:]]*\\(?:\\\\.\\|[^()[:space:]\n'\"]\\)+[[:space:]]*\\()\\)") (defconst css-syntax-propertize-function #[514 "b\210`W\205: \300\301\302#\205: \303\224\204 \304\224\203 \303\224\203) \305\303\224\303\225\306\307$\210\304\224\203 \305\304\224\304\225\306\307$\210\202 \207" [re-search-forward "url\\((\\)[[:space:]]*\\(?:\\\\.\\|[^()[:space:]\n'\"]\\)+[[:space:]]*\\()\\)" t 1 2 put-text-property syntax-table (15)] 7 "\n\n(fn START END)"]) (defconst css-escapes-re "\\\\\\(?:[^ -]\\|[[:xdigit:]]+[ \n \f]?\\)") (defconst css-nmchar-re (concat "\\(?:[-[:alnum:]]\\|" css-escapes-re "\\)")) (defconst css-nmstart-re (concat "\\(?:[[:alpha:]]\\|" css-escapes-re "\\)")) (defconst css-ident-re (concat css-nmchar-re "+")) (defconst css-proprietary-nmstart-re "[-_]\\(?:khtml\\|m\\(?:oz\\|s\\)\\|o\\|webkit\\)-") (defconst css-name-re (concat css-nmchar-re "+")) (defconst scss--hash-re "#\\(?:{[$-_[:alnum:]]+}\\|[[:alnum:]]+\\)") (byte-code "\300\301\302\303\304\305%\210\300\306\307\310\304\305%\210\300\311\312\313#\207" [custom-declare-face css-selector ((t :inherit font-lock-function-name-face)) "Face to use for selectors." :group css css-property ((t :inherit font-lock-keyword-face)) "Face to use for properties." css-proprietary-property ((t :inherit (css-property italic))) "Face to use for vendor-specific properties."] 6) #@24 (fn &optional SASSY) (defalias 'css--font-lock-keywords #[256 "\306\307!P\310B\311 P\312B\313\314\204 \315\202 \316\n\317\n\320\260\321\307\322\f\"\323\"\324\307\f\323\"\325\n\2044 \326\2028 \327\n\330Q\331\260 \332B\333\334 P\335B\336 \337$\340%\341\260\342B&\343B\257\207" [css--bang-ids css-ident-re scss--hash-re css-pseudo-class-ids css-pseudo-element-ids css-proprietary-nmstart-re "!\\s-*" regexp-opt ((0 font-lock-builtin-face)) "@" ((0 font-lock-builtin-face)) ("^[ ]*\\(:root\\)[\n ]*{" (1 'css-selector keep)) "^[ ]*\\(" "[^@/:{}() \n][^:{}()]*" "\\(?:" "\\|[^@/:{}() \n#]\\)[^:{}()#]*\\(?:" "[^:{}()#]*\\)*" "\\(?:\\(:" append t "\\|::" "\\)\\(?:([^)]+)\\)?" "[^:{}()\n]*" "[^:{}()\n#]*\\(?:" "[^:{}()\n#]*\\)*" "\\)*\\)\\(?:\n[ ]*\\)*{" ((1 'css-selector keep)) ("^[ ]*{" (0 (save-excursion (goto-char (match-beginning 0)) (skip-chars-backward " \n ") (put-text-property (point) (match-end 0) 'font-lock-multiline t) nil))) "\\_<--" ((0 font-lock-variable-name-face)) "\\(?:[{;]\\|^\\)[ ]*\\(\\(?:\\(" "\\)\\|" "\\)" "*\\)\\s-*:" ((1 (if (match-end 2) 'css-proprietary-property 'css-property))) ((1 'default t) (2 'default t)) css-nmstart-re css-nmchar-re css--uri-re] 14 (#$ . 29966)]) (defvar css-font-lock-keywords (css--font-lock-keywords)) (defvar css-font-lock-defaults '(css-font-lock-keywords nil t)) #@45 A regular expression matching a CSS number. (defconst css--number-regexp "\\(\\(?:[0-9]*\\.[0-9]+\\(?:[eE][0-9]+\\)?\\)\\|[0-9]+\\)" (#$ . 31316)) #@49 A regular expression matching a CSS percentage. (defconst css--percent-regexp "\\([0-9]+\\)%" (#$ . 31469)) #@65 A regular expression matching a CSS number or a CSS percentage. (defconst css--number-or-percent-regexp (concat "\\(?:" css--percent-regexp "\\)\\|\\(?:" css--number-regexp "\\)") (#$ . 31583)) #@44 A regular expression matching a CSS angle. (defconst css--angle-regexp (concat css--number-regexp "\\(deg\\|grad\\|rad\\|turn\\)?") (#$ . 31783)) #@27 Skip blanks and comments. (defalias 'css--color-skip-blanks #[0 "\300\301!\205 \202 \207" [forward-comment 1] 2 (#$ . 31935)]) #@310 Parse a CSS rgb() or rgba() color. Point should be just after the open paren. Returns a hex RGB color, or nil if the color could not be recognized. This recognizes CSS-color-4 extensions. When INCLUDE-ALPHA is non-nil, the alpha component is included in the returned hex string. (fn &optional INCLUDE-ALPHA) (defalias 'css--rgb-color #[256 "\3012\227 \302\303\211\304W\203v \305 \210\306!\204 \307\301\302\"\210\310\224\311\203% \310\202&