mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-22 00:19:24 +03:00
Add css text mate bundle
This commit is contained in:
parent
4e49fbec72
commit
755f1fc273
40
bundles/css.tmbundle/Commands/CodeCompletion CSS 2.tmCommand
Normal file
40
bundles/css.tmbundle/Commands/CodeCompletion CSS 2.tmCommand
Normal file
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>beforeRunningCommand</key>
|
||||
<string>nop</string>
|
||||
<key>bundleUUID</key>
|
||||
<string>467B298F-6227-11D9-BFB1-000D93589AF6</string>
|
||||
<key>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
|
||||
preference = 'Completions'
|
||||
choices = []
|
||||
|
||||
parsed_choices = TextmateCompletionsParser.new(nil, :scope => :css).to_ary
|
||||
choices += parsed_choices if parsed_choices
|
||||
|
||||
choices += ['--']
|
||||
|
||||
plist_choices = TextmateCompletionsPlist.new( "#{ENV['TM_BUNDLE_PATH']}/Preferences/#{preference}.tmPreferences" ).to_ary
|
||||
choices += plist_choices if plist_choices
|
||||
|
||||
print TextmateCodeCompletion.new(choices,STDIN.read, :scope => :css).to_snippet
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>line</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>~</string>
|
||||
<key>name</key>
|
||||
<string>CodeCompletion CSS</string>
|
||||
<key>output</key>
|
||||
<string>insertAsSnippet</string>
|
||||
<key>scope</key>
|
||||
<string>source.css -meta.property-list</string>
|
||||
<key>uuid</key>
|
||||
<string>E6FB4209-818E-40F5-9AFF-96E204F52A11</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>beforeRunningCommand</key>
|
||||
<string>nop</string>
|
||||
<key>bundleUUID</key>
|
||||
<string>467B298F-6227-11D9-BFB1-000D93589AF6</string>
|
||||
<key>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
|
||||
preference = 'Property Value Completions'
|
||||
choices = []
|
||||
|
||||
parsed_choices = TextmateCompletionsParser.new(nil, :scope => :css_values).to_ary
|
||||
choices += parsed_choices if parsed_choices
|
||||
|
||||
choices += ['--']
|
||||
|
||||
plist_choices = TextmateCompletionsPlist.new( "#{ENV['TM_BUNDLE_PATH']}/Preferences/#{preference}.tmPreferences" ).to_ary
|
||||
choices += plist_choices if plist_choices
|
||||
|
||||
print TextmateCodeCompletion.new(choices,STDIN.read).to_snippet
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>line</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>~</string>
|
||||
<key>name</key>
|
||||
<string>CodeCompletion CSS Property Values</string>
|
||||
<key>output</key>
|
||||
<string>insertAsSnippet</string>
|
||||
<key>scope</key>
|
||||
<string>source.css meta.property-value</string>
|
||||
<key>uuid</key>
|
||||
<string>35DFB6D6-E48B-4907-9030-019904DA0C5B</string>
|
||||
</dict>
|
||||
</plist>
|
29
bundles/css.tmbundle/Commands/CodeCompletion CSS.tmCommand
Normal file
29
bundles/css.tmbundle/Commands/CodeCompletion CSS.tmCommand
Normal file
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>beforeRunningCommand</key>
|
||||
<string>nop</string>
|
||||
<key>bundleUUID</key>
|
||||
<string>467B298F-6227-11D9-BFB1-000D93589AF6</string>
|
||||
<key>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
|
||||
TextmateCodeCompletion.plist('Property Completions')
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>line</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>~</string>
|
||||
<key>name</key>
|
||||
<string>CodeCompletion CSS Properties</string>
|
||||
<key>output</key>
|
||||
<string>insertAsSnippet</string>
|
||||
<key>scope</key>
|
||||
<string>source.css meta.property-list -meta.property-value, source.css meta.property-value punctuation.separator.key-value</string>
|
||||
<key>uuid</key>
|
||||
<string>42E26C97-72AB-4953-807F-645AF7EDF59F</string>
|
||||
</dict>
|
||||
</plist>
|
182
bundles/css.tmbundle/Commands/Documentation for Property.plist
Normal file
182
bundles/css.tmbundle/Commands/Documentation for Property.plist
Normal file
@ -0,0 +1,182 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>beforeRunningCommand</key>
|
||||
<string>nop</string>
|
||||
<key>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
#
|
||||
# Lookup current word as a CSS property on w3c.org
|
||||
#
|
||||
# The mapping below was generated using:
|
||||
# echo '$props = {'; curl -s http://www.w3.org/TR/CSS2/propidx.html|egrep "(^|<tr><td>)<a href=\".*\" class=\"noxref\"><span class=\".*\">'.*'</span></a>"|perl -pe "s|(?:<tr><td>)?<a href=\"(.*)\" class=\"noxref\"><span class=\".*\">'(.*)'</span></a>|\t\"\$2\"\t=> \"\$1\",|"; echo '}'
|
||||
|
||||
$props = {
|
||||
"azimuth" => "aural.html#propdef-azimuth",
|
||||
"background" => "colors.html#propdef-background",
|
||||
"background-attachment" => "colors.html#propdef-background-attachment",
|
||||
"background-color" => "colors.html#propdef-background-color",
|
||||
"background-image" => "colors.html#propdef-background-image",
|
||||
"background-position" => "colors.html#propdef-background-position",
|
||||
"background-repeat" => "colors.html#propdef-background-repeat",
|
||||
"border" => "box.html#propdef-border",
|
||||
"border-collapse" => "tables.html#propdef-border-collapse",
|
||||
"border-color" => "box.html#propdef-border-color",
|
||||
"border-spacing" => "tables.html#propdef-border-spacing",
|
||||
"border-style" => "box.html#propdef-border-style",
|
||||
"border-top" => "box.html#propdef-border-top",
|
||||
"border-right" => "box.html#propdef-border-right",
|
||||
"border-bottom" => "box.html#propdef-border-bottom",
|
||||
"border-left" => "box.html#propdef-border-left",
|
||||
"border-top-color" => "box.html#propdef-border-top-color",
|
||||
"border-right-color" => "box.html#propdef-border-right-color",
|
||||
"border-bottom-color" => "box.html#propdef-border-bottom-color",
|
||||
"border-left-color" => "box.html#propdef-border-left-color",
|
||||
"border-top-style" => "box.html#propdef-border-top-style",
|
||||
"border-right-style" => "box.html#propdef-border-right-style",
|
||||
"border-bottom-style" => "box.html#propdef-border-bottom-style",
|
||||
"border-left-style" => "box.html#propdef-border-left-style",
|
||||
"border-top-width" => "box.html#propdef-border-top-width",
|
||||
"border-right-width" => "box.html#propdef-border-right-width",
|
||||
"border-bottom-width" => "box.html#propdef-border-bottom-width",
|
||||
"border-left-width" => "box.html#propdef-border-left-width",
|
||||
"border-width" => "box.html#propdef-border-width",
|
||||
"bottom" => "visuren.html#propdef-bottom",
|
||||
"caption-side" => "tables.html#propdef-caption-side",
|
||||
"clear" => "visuren.html#propdef-clear",
|
||||
"clip" => "visufx.html#propdef-clip",
|
||||
"color" => "colors.html#propdef-color",
|
||||
"content" => "generate.html#propdef-content",
|
||||
"counter-increment" => "generate.html#propdef-counter-increment",
|
||||
"counter-reset" => "generate.html#propdef-counter-reset",
|
||||
"cue" => "aural.html#propdef-cue",
|
||||
"cue-after" => "aural.html#propdef-cue-after",
|
||||
"cue-before" => "aural.html#propdef-cue-before",
|
||||
"cursor" => "ui.html#propdef-cursor",
|
||||
"direction" => "visuren.html#propdef-direction",
|
||||
"display" => "visuren.html#propdef-display",
|
||||
"elevation" => "aural.html#propdef-elevation",
|
||||
"empty-cells" => "tables.html#propdef-empty-cells",
|
||||
"float" => "visuren.html#propdef-float",
|
||||
"font" => "fonts.html#propdef-font",
|
||||
"font-family" => "fonts.html#propdef-font-family",
|
||||
"font-size" => "fonts.html#propdef-font-size",
|
||||
"font-size-adjust" => "fonts.html#propdef-font-size-adjust",
|
||||
"font-stretch" => "fonts.html#propdef-font-stretch",
|
||||
"font-style" => "fonts.html#propdef-font-style",
|
||||
"font-variant" => "fonts.html#propdef-font-variant",
|
||||
"font-weight" => "fonts.html#propdef-font-weight",
|
||||
"height" => "visudet.html#propdef-height",
|
||||
"left" => "visuren.html#propdef-left",
|
||||
"letter-spacing" => "text.html#propdef-letter-spacing",
|
||||
"line-height" => "visudet.html#propdef-line-height",
|
||||
"list-style" => "generate.html#propdef-list-style",
|
||||
"list-style-image" => "generate.html#propdef-list-style-image",
|
||||
"list-style-position" => "generate.html#propdef-list-style-position",
|
||||
"list-style-type" => "generate.html#propdef-list-style-type",
|
||||
"margin" => "box.html#propdef-margin",
|
||||
"margin-top" => "box.html#propdef-margin-top",
|
||||
"margin-right" => "box.html#propdef-margin-right",
|
||||
"margin-bottom" => "box.html#propdef-margin-bottom",
|
||||
"margin-left" => "box.html#propdef-margin-left",
|
||||
"marker-offset" => "generate.html#propdef-marker-offset",
|
||||
"marks" => "page.html#propdef-marks",
|
||||
"max-height" => "visudet.html#propdef-max-height",
|
||||
"max-width" => "visudet.html#propdef-max-width",
|
||||
"min-height" => "visudet.html#propdef-min-height",
|
||||
"min-width" => "visudet.html#propdef-min-width",
|
||||
"orphans" => "page.html#propdef-orphans",
|
||||
"outline" => "ui.html#propdef-outline",
|
||||
"outline-color" => "ui.html#propdef-outline-color",
|
||||
"outline-style" => "ui.html#propdef-outline-style",
|
||||
"outline-width" => "ui.html#propdef-outline-width",
|
||||
"overflow" => "visufx.html#propdef-overflow",
|
||||
"padding" => "box.html#propdef-padding",
|
||||
"padding-top" => "box.html#propdef-padding-top",
|
||||
"padding-right" => "box.html#propdef-padding-right",
|
||||
"padding-bottom" => "box.html#propdef-padding-bottom",
|
||||
"padding-left" => "box.html#propdef-padding-left",
|
||||
"page" => "page.html#propdef-page",
|
||||
"page-break-after" => "page.html#propdef-page-break-after",
|
||||
"page-break-before" => "page.html#propdef-page-break-before",
|
||||
"page-break-inside" => "page.html#propdef-page-break-inside",
|
||||
"pause" => "aural.html#propdef-pause",
|
||||
"pause-after" => "aural.html#propdef-pause-after",
|
||||
"pause-before" => "aural.html#propdef-pause-before",
|
||||
"pitch" => "aural.html#propdef-pitch",
|
||||
"pitch-range" => "aural.html#propdef-pitch-range",
|
||||
"play-during" => "aural.html#propdef-play-during",
|
||||
"position" => "visuren.html#propdef-position",
|
||||
"quotes" => "generate.html#propdef-quotes",
|
||||
"richness" => "aural.html#propdef-richness",
|
||||
"right" => "visuren.html#propdef-right",
|
||||
"size" => "page.html#propdef-size",
|
||||
"speak" => "aural.html#propdef-speak",
|
||||
"speak-header" => "tables.html#propdef-speak-header",
|
||||
"speak-numeral" => "aural.html#propdef-speak-numeral",
|
||||
"speak-punctuation" => "aural.html#propdef-speak-punctuation",
|
||||
"speech-rate" => "aural.html#propdef-speech-rate",
|
||||
"stress" => "aural.html#propdef-stress",
|
||||
"table-layout" => "tables.html#propdef-table-layout",
|
||||
"text-align" => "text.html#propdef-text-align",
|
||||
"text-decoration" => "text.html#propdef-text-decoration",
|
||||
"text-indent" => "text.html#propdef-text-indent",
|
||||
"text-shadow" => "text.html#propdef-text-shadow",
|
||||
"text-transform" => "text.html#propdef-text-transform",
|
||||
"top" => "visuren.html#propdef-top",
|
||||
"unicode-bidi" => "visuren.html#propdef-unicode-bidi",
|
||||
"vertical-align" => "visudet.html#propdef-vertical-align",
|
||||
"visibility" => "visufx.html#propdef-visibility",
|
||||
"voice-family" => "aural.html#propdef-voice-family",
|
||||
"volume" => "aural.html#propdef-volume",
|
||||
"white-space" => "text.html#propdef-white-space",
|
||||
"widows" => "page.html#propdef-widows",
|
||||
"width" => "visudet.html#propdef-width",
|
||||
"word-spacing" => "text.html#propdef-word-spacing",
|
||||
"z-index" => "visuren.html#propdef-z-index",
|
||||
}
|
||||
|
||||
cur_line = ENV['TM_CURRENT_LINE']
|
||||
cur_word = ENV['TM_CURRENT_WORD']
|
||||
|
||||
# since dash (‘-’) is not a word character, extend current word to neighboring word and dash characters
|
||||
$prop_name = /[-\w]*#{Regexp.escape cur_word}[-\w]*/.match(cur_line)[0]
|
||||
|
||||
def request_prop_name
|
||||
s = `\"#{ENV['TM_SUPPORT_PATH']}/bin/CocoaDialog.app/Contents/MacOS/CocoaDialog\" inputbox --float --title 'Documentation for Property' --informative-text 'What property would you like to lookup?' --text '#{$prop_name}' --button1 'Lookup' --button2 'Cancel' --button3 'Show All Properties'`
|
||||
case (a = s.split("\n"))[0].to_i
|
||||
when 1 then $props[a[1].to_s] || "propidx.html"
|
||||
when 2 then abort "<script>window.close()</script>"
|
||||
when 3 then "propidx.html"
|
||||
end
|
||||
end
|
||||
|
||||
prop_url = $props[$prop_name] || request_prop_name
|
||||
url = "http://www.w3.org/TR/CSS2/" + prop_url
|
||||
puts "<meta http-equiv='Refresh' content='0;URL=#{url}'>"
|
||||
</string>
|
||||
<key>input</key>
|
||||
<string>none</string>
|
||||
<key>inputFormat</key>
|
||||
<string>text</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^h</string>
|
||||
<key>name</key>
|
||||
<string>Documentation for Property</string>
|
||||
<key>outputCaret</key>
|
||||
<string>afterOutput</string>
|
||||
<key>outputFormat</key>
|
||||
<string>html</string>
|
||||
<key>outputLocation</key>
|
||||
<string>newWindow</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>semanticClass</key>
|
||||
<string>lookup.define.css</string>
|
||||
<key>uuid</key>
|
||||
<string>50AA6E95-A754-4EBC-9C2A-68418C70D689</string>
|
||||
<key>version</key>
|
||||
<integer>2</integer>
|
||||
</dict>
|
||||
</plist>
|
204
bundles/css.tmbundle/Commands/Insert Color.plist
Normal file
204
bundles/css.tmbundle/Commands/Insert Color.plist
Normal file
@ -0,0 +1,204 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>beforeRunningCommand</key>
|
||||
<string>nop</string>
|
||||
<key>hideFromUser</key>
|
||||
<true/>
|
||||
<key>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
|
||||
require ENV['TM_SUPPORT_PATH'] + "/lib/ui"
|
||||
require ENV['TM_SUPPORT_PATH'] + "/lib/exit_codes"
|
||||
colour = STDIN.read
|
||||
|
||||
# http://www.w3schools.com/css/css_colornames.asp
|
||||
COLOURS = {
|
||||
'aliceblue' => 'F0F8FF',
|
||||
'antiquewhite' => 'FAEBD7',
|
||||
'aqua' => '00FFFF',
|
||||
'aquamarine' => '7FFFD4',
|
||||
'azure' => 'F0FFFF',
|
||||
'beige' => 'F5F5DC',
|
||||
'bisque' => 'FFE4C4',
|
||||
'black' => '000000',
|
||||
'blanchedalmond' => 'FFEBCD',
|
||||
'blue' => '0000FF',
|
||||
'blueviolet' => '8A2BE2',
|
||||
'brown' => 'A52A2A',
|
||||
'burlywood' => 'DEB887',
|
||||
'cadetblue' => '5F9EA0',
|
||||
'chartreuse' => '7FFF00',
|
||||
'chocolate' => 'D2691E',
|
||||
'coral' => 'FF7F50',
|
||||
'cornflowerblue' => '6495ED',
|
||||
'cornsilk' => 'FFF8DC',
|
||||
'crimson' => 'DC143C',
|
||||
'cyan' => '00FFFF',
|
||||
'darkblue' => '00008B',
|
||||
'darkcyan' => '008B8B',
|
||||
'darkgoldenrod' => 'B8860B',
|
||||
'darkgray' => 'A9A9A9',
|
||||
'darkgrey' => 'A9A9A9',
|
||||
'darkgreen' => '006400',
|
||||
'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',
|
||||
'fuchsia' => 'FF00FF',
|
||||
'gainsboro' => 'DCDCDC',
|
||||
'ghostwhite' => 'F8F8FF',
|
||||
'gold' => 'FFD700',
|
||||
'goldenrod' => 'DAA520',
|
||||
'gray' => '808080',
|
||||
'grey' => '808080',
|
||||
'green' => '008000',
|
||||
'greenyellow' => 'ADFF2F',
|
||||
'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',
|
||||
'lightgrey' => 'D3D3D3',
|
||||
'lightgreen' => '90EE90',
|
||||
'lightpink' => 'FFB6C1',
|
||||
'lightsalmon' => 'FFA07A',
|
||||
'lightseagreen' => '20B2AA',
|
||||
'lightskyblue' => '87CEFA',
|
||||
'lightslategray' => '778899',
|
||||
'lightslategrey' => '778899',
|
||||
'lightsteelblue' => 'B0C4DE',
|
||||
'lightyellow' => 'FFFFE0',
|
||||
'lime' => '00FF00',
|
||||
'limegreen' => '32CD32',
|
||||
'linen' => 'FAF0E6',
|
||||
'magenta' => 'FF00FF',
|
||||
'maroon' => '800000',
|
||||
'mediumaquamarine' => '66CDAA',
|
||||
'mediumblue' => '0000CD',
|
||||
'mediumorchid' => 'BA55D3',
|
||||
'mediumpurple' => '9370D8',
|
||||
'mediumseagreen' => '3CB371',
|
||||
'mediumslateblue' => '7B68EE',
|
||||
'mediumspringgreen' => '00FA9A',
|
||||
'mediumturquoise' => '48D1CC',
|
||||
'mediumvioletred' => 'C71585',
|
||||
'midnightblue' => '191970',
|
||||
'mintcream' => 'F5FFFA',
|
||||
'mistyrose' => 'FFE4E1',
|
||||
'moccasin' => 'FFE4B5',
|
||||
'navajowhite' => 'FFDEAD',
|
||||
'navy' => '000080',
|
||||
'oldlace' => 'FDF5E6',
|
||||
'olive' => '808000',
|
||||
'olivedrab' => '6B8E23',
|
||||
'orange' => 'FFA500',
|
||||
'orangered' => 'FF4500',
|
||||
'orchid' => 'DA70D6',
|
||||
'palegoldenrod' => 'EEE8AA',
|
||||
'palegreen' => '98FB98',
|
||||
'paleturquoise' => 'AFEEEE',
|
||||
'palevioletred' => 'D87093',
|
||||
'papayawhip' => 'FFEFD5',
|
||||
'peachpuff' => 'FFDAB9',
|
||||
'peru' => 'CD853F',
|
||||
'pink' => 'FFC0CB',
|
||||
'plum' => 'DDA0DD',
|
||||
'powderblue' => 'B0E0E6',
|
||||
'purple' => '800080',
|
||||
'red' => 'FF0000',
|
||||
'rosybrown' => 'BC8F8F',
|
||||
'royalblue' => '4169E1',
|
||||
'saddlebrown' => '8B4513',
|
||||
'salmon' => 'FA8072',
|
||||
'sandybrown' => 'F4A460',
|
||||
'seagreen' => '2E8B57',
|
||||
'seashell' => 'FFF5EE',
|
||||
'sienna' => 'A0522D',
|
||||
'silver' => 'C0C0C0',
|
||||
'skyblue' => '87CEEB',
|
||||
'slateblue' => '6A5ACD',
|
||||
'slategray' => '708090',
|
||||
'slategrey' => '708090',
|
||||
'snow' => 'FFFAFA',
|
||||
'springgreen' => '00FF7F',
|
||||
'steelblue' => '4682B4',
|
||||
'tan' => 'D2B48C',
|
||||
'teal' => '008080',
|
||||
'thistle' => 'D8BFD8',
|
||||
'tomato' => 'FF6347',
|
||||
'turquoise' => '40E0D0',
|
||||
'violet' => 'EE82EE',
|
||||
'wheat' => 'F5DEB3',
|
||||
'white' => 'FFFFFF',
|
||||
'whitesmoke' => 'F5F5F5',
|
||||
'yellow' => 'FFFF00',
|
||||
'yellowgreen' => '9ACD32',
|
||||
}
|
||||
|
||||
if colour.length > 0 and colour[0] != ?#
|
||||
colour.downcase!
|
||||
# Convert named colours to their hex values
|
||||
colour = '#' + COLOURS[colour] if COLOURS.has_key? colour
|
||||
end
|
||||
|
||||
if res = TextMate::UI.request_color(colour)
|
||||
print res
|
||||
else
|
||||
TextMate.exit_discard
|
||||
end
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>word</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>inputFormat</key>
|
||||
<string>text</string>
|
||||
<key>isDisabled</key>
|
||||
<true/>
|
||||
<key>keyEquivalent</key>
|
||||
<string>@C</string>
|
||||
<key>name</key>
|
||||
<string>Insert Color…</string>
|
||||
<key>outputCaret</key>
|
||||
<string>heuristic</string>
|
||||
<key>outputFormat</key>
|
||||
<string>text</string>
|
||||
<key>outputLocation</key>
|
||||
<string>replaceInput</string>
|
||||
<key>scope</key>
|
||||
<string>source.css, meta.tag string.quoted -source</string>
|
||||
<key>uuid</key>
|
||||
<string>CC30D708-6E49-11D9-B411-000D93589AF6</string>
|
||||
<key>version</key>
|
||||
<integer>2</integer>
|
||||
</dict>
|
||||
</plist>
|
277
bundles/css.tmbundle/Commands/Preview.plist
Normal file
277
bundles/css.tmbundle/Commands/Preview.plist
Normal file
@ -0,0 +1,277 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>beforeRunningCommand</key>
|
||||
<string>nop</string>
|
||||
<key>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
|
||||
LIPSUM = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
|
||||
|
||||
def tag_preview(selector_list)
|
||||
html = 'TEXT_INSERT'
|
||||
selectors = selector_list.split(/\s+/)
|
||||
last_tag = ''
|
||||
text_insert = "Generated preview for CSS selector #{selector_list}."
|
||||
|
||||
star_class = ''
|
||||
star_id = ''
|
||||
html_class = ''
|
||||
html_id = ''
|
||||
body_class = ''
|
||||
body_id = ''
|
||||
|
||||
selectors.reverse.each do | selector |
|
||||
singlet = false
|
||||
tag = selector.clone
|
||||
if (tag =~ /#(.+)/)
|
||||
id = (tag.scan(/#(.+)/))[0][0]
|
||||
id.gsub!(/\..+/, '')
|
||||
else
|
||||
id = nil
|
||||
end
|
||||
if (tag =~ /\.(.+)/)
|
||||
cls = (tag.scan(/\.(.+)/))[0][0]
|
||||
cls.gsub!(/\./, ' ')
|
||||
cls.gsub!(/\#.+/, '')
|
||||
else
|
||||
cls = nil
|
||||
end
|
||||
|
||||
tag.downcase!
|
||||
tag.sub!(/#(.+)/, '');
|
||||
tag.sub!(/\.(.+)/, '');
|
||||
tag.sub!(/:.+/, '')
|
||||
|
||||
case tag
|
||||
when '*'
|
||||
star_class = " #{cls}" if cls
|
||||
star_id = " id=\"#{id}\"" if id
|
||||
cls = nil
|
||||
id = nil
|
||||
tag = 'div'
|
||||
when 'body'
|
||||
body_class = " #{cls}" if cls
|
||||
body_id = " id=\"#{id}\"" if id
|
||||
cls = nil
|
||||
id = nil
|
||||
tag = 'div'
|
||||
when 'html'
|
||||
html_class = " #{cls}" if cls
|
||||
html_id = " id=\"#{id}\"" if id
|
||||
cls = nil
|
||||
id = nil
|
||||
tag = 'div'
|
||||
end
|
||||
|
||||
next if tag == '+'
|
||||
|
||||
if selector =~ /^[#.]/
|
||||
case last_tag
|
||||
when 'li'
|
||||
tag = 'ul'
|
||||
when 'td'
|
||||
tag = 'tr'
|
||||
when 'tr'
|
||||
tag = 'table'
|
||||
when /^h\d/
|
||||
tag = 'div'
|
||||
else
|
||||
tag = 'span'
|
||||
end
|
||||
end
|
||||
|
||||
if (tag =~ /\[(.+?)\]/)
|
||||
tag_attr = (tag.scan(/\[(.+?)\]/))[0][0]
|
||||
tag.gsub!(/\[.+?\]/, '')
|
||||
else
|
||||
tag_attr = nil
|
||||
end
|
||||
part = "<" + tag
|
||||
part += " #{tag_attr}" if tag_attr
|
||||
part += " id=\"#{id}\"" if id
|
||||
part += " class=\"#{cls}\"" if cls
|
||||
|
||||
# defaults for img tag
|
||||
case tag
|
||||
when 'img'
|
||||
part += " src=\"http://www.google.com/intl/en/images/logo.gif\""
|
||||
part += " alt=\"Preview of #{selector_list}\""
|
||||
singlet = true
|
||||
when 'a'
|
||||
part += " href=\"\#\""
|
||||
when 'input'
|
||||
open_tag = part.clone
|
||||
part += " type=\"radio\" /> Radio"
|
||||
part += "#{open_tag} type=\"checkbox\" /> Checkbox<br />"
|
||||
part += "#{open_tag} type=\"text\" value=\"Text Field\" />"
|
||||
part += "#{open_tag} type=\"button\" value=\"Button\""
|
||||
singlet = true
|
||||
when 'select'
|
||||
part += "><option>Option 1</option><option>Option 2</option"
|
||||
html = ''
|
||||
end
|
||||
|
||||
if (singlet)
|
||||
part += " />"
|
||||
else
|
||||
part += ">"
|
||||
part += html
|
||||
part += "</" + tag + ">"
|
||||
end
|
||||
|
||||
case tag
|
||||
when /^h\d/
|
||||
text_insert = tag.sub(/^h(\d+)/, "Heading \\1")
|
||||
when 'p'
|
||||
text_insert = LIPSUM
|
||||
when 'object', 'img', 'input'
|
||||
text_insert = ""
|
||||
end
|
||||
|
||||
html = part
|
||||
last_tag = tag
|
||||
end
|
||||
|
||||
if (last_tag)
|
||||
case last_tag
|
||||
when 'em', 'strong', 'b', 'i'
|
||||
html = "<p>#{html}</p>"
|
||||
when 'li'
|
||||
html = "<ul>#{html}</ul>"
|
||||
when 'td'
|
||||
html = "<table><tr>#{html}</tr></table>"
|
||||
when 'tr'
|
||||
html = "<table>#{html}</table>"
|
||||
when 'input', 'textarea', 'select'
|
||||
html = "<form method=\"get\">#{html}</form>"
|
||||
end
|
||||
end
|
||||
|
||||
html = "<div>#{html}</div>"
|
||||
html.sub!(/TEXT_INSERT/, text_insert)
|
||||
|
||||
return <<EOT
|
||||
<div class="__wrap_wrap"><div class="__star_wrap#{star_class}"#{star_id}><div class="__html_wrap#{html_class}"#{html_id}><div class="__body_wrap#{body_class}"#{body_id}>#{html}</div></div></div></div>
|
||||
EOT
|
||||
end
|
||||
|
||||
def preview_css(str)
|
||||
orig_css = str.clone
|
||||
orig_css.gsub!(/<entity\.name\.tag\.wildcard\.css>\*<\/entity\.name\.tag\.wildcard\.css>/, '.__star_wrap')
|
||||
orig_css.gsub!(/<entity\.name\.tag\.css>body<\/entity\.name\.tag\.css>/, '.__body_wrap')
|
||||
orig_css.gsub!(/<entity\.name\.tag\.css>html<\/entity\.name\.tag\.css>/, '.__html_wrap')
|
||||
|
||||
orig_css.gsub!(/<.+?>/, '')
|
||||
orig_css.gsub!(/&lt;\/?style\b.*?&gt;/m, '')
|
||||
orig_css.strip!
|
||||
|
||||
#meta.selector.css -> wraps the selector
|
||||
#meta.property-list.css -> wraps the properties
|
||||
rules = str.scan(/<meta\.selector\.css>\s*(.+?)\s*<\/meta\.selector\.css>.*?<meta\.property-list\.css>(.+?)<\/meta\.property-list\.css>/m)
|
||||
|
||||
html = ''
|
||||
css = ''
|
||||
rule_num = 0
|
||||
|
||||
rules.each do | rule |
|
||||
selector = rule[0].gsub(/<.+?>/, '')
|
||||
styles = rule[1].gsub(/<.+?>/, '')
|
||||
styles.gsub!(/^\s*\{\n*/m, '')
|
||||
styles.gsub!(/\s*\}\s*$/m, '')
|
||||
styles.gsub!(/\t/, ' ' * ENV['TM_TAB_SIZE'].to_i)
|
||||
selectors = selector.split(/\s*,\s*/m)
|
||||
selectors.each do | single_selector |
|
||||
rule_num += 1
|
||||
html += "<div class=\"__rule_clear\"></div>\n\n" if html != ''
|
||||
html += "<div class=\"__rule_selector\">#{single_selector} <a class=\"__view_link\" href=\"javascript:viewCSS('__rule#{rule_num}')\" title=\"Click to toggle CSS view\">CSS</a><div class=\"__rule\" id=\"__rule#{rule_num}\" style=\"display: none\">#{styles}</div></div>\n\n"
|
||||
html += tag_preview(single_selector) + "\n\n"
|
||||
end
|
||||
end
|
||||
|
||||
filename = ENV['TM_FILENAME'] || 'untitled'
|
||||
base = ''
|
||||
base = "<base href=\"file://#{ENV['TM_FILEPATH']}\" />" if ENV['TM_FILEPATH']
|
||||
|
||||
return <<EOT
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
#{base}
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Language" content="en-us" />
|
||||
<title>CSS Preview for #{filename}</title>
|
||||
<style type="text/css">
|
||||
#{orig_css}
|
||||
.__wrap_wrap {
|
||||
position: relative;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 20px;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
.__rule_selector {
|
||||
font-family: Times;
|
||||
font-size: 16px;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
.__rule {
|
||||
white-space: pre;
|
||||
word-wrap: break-word;
|
||||
font-family: Monaco;
|
||||
font-size: 11px;
|
||||
}
|
||||
.__view_link {
|
||||
font-family: Monaco;
|
||||
font-size: 11px;
|
||||
}
|
||||
.__rule_clear:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
function viewCSS(rule_id) {
|
||||
var el = document.getElementById(rule_id);
|
||||
if (el) {
|
||||
if (el.style.display == 'none')
|
||||
el.style.display = 'block';
|
||||
else
|
||||
el.style.display = 'none';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
#{html}
|
||||
</body>
|
||||
</html>
|
||||
EOT
|
||||
end
|
||||
|
||||
print preview_css(STDIN.read)
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>scope</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>inputFormat</key>
|
||||
<string>xml</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^~@p</string>
|
||||
<key>name</key>
|
||||
<string>Preview</string>
|
||||
<key>output</key>
|
||||
<string>showAsHTML</string>
|
||||
<key>scope</key>
|
||||
<string>source.css - text.html</string>
|
||||
<key>uuid</key>
|
||||
<string>05554FE0-4A70-4F3E-81C5-72855D7EB428</string>
|
||||
</dict>
|
||||
</plist>
|
44
bundles/css.tmbundle/Commands/Validate Selected CSS.plist
Normal file
44
bundles/css.tmbundle/Commands/Validate Selected CSS.plist
Normal file
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>beforeRunningCommand</key>
|
||||
<string>nop</string>
|
||||
<key>command</key>
|
||||
<string>#!/usr/bin/env ruby
|
||||
|
||||
print '<html><head><meta http-equiv="Refresh" content="0; URL='
|
||||
print 'http://jigsaw.w3.org/css-validator/validator?warning=1&profile=none&usermedium=all&text='
|
||||
|
||||
scope = STDIN.read
|
||||
|
||||
scope.gsub!(/<\/?style.*?>/, '')
|
||||
|
||||
((scope != nil && scope.size > 0) ? scope : $< ).each_byte do |b|
|
||||
|
||||
if b == 32
|
||||
print '+'
|
||||
elsif b.chr =~ /\w/
|
||||
print b.chr
|
||||
else
|
||||
printf '%%%02x', b
|
||||
end
|
||||
end
|
||||
|
||||
puts '#errors"></head><body></body></html>'</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>scope</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^V</string>
|
||||
<key>name</key>
|
||||
<string>Validate CSS</string>
|
||||
<key>output</key>
|
||||
<string>showAsHTML</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>uuid</key>
|
||||
<string>45E5E5A1-84CC-11D9-970D-0011242E4184</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>bundleUUID</key>
|
||||
<string>4675F24E-6227-11D9-BFB1-000D93589AF6</string>
|
||||
<key>command</key>
|
||||
<string>if echo "$TM_SCOPE" | grep -q meta.property-list.css
|
||||
then
|
||||
if echo "$TM_SCOPE" | grep -q meta.property-value.css
|
||||
then
|
||||
if echo "$TM_CURRENT_WORD" | grep -q url\(\)
|
||||
then echo -n "'$TM_DROPPED_FILE'"
|
||||
elif echo "$TM_SCOPE" | grep -q string.quoted.single.css
|
||||
then echo -n "$TM_DROPPED_FILE"
|
||||
else
|
||||
echo -n "url('$TM_DROPPED_FILE')"
|
||||
fi
|
||||
else
|
||||
echo -ne "background:\${1: #\${2:DDD}} url('$TM_DROPPED_FILE')\${3: \${4:repeat/repeat-x/repeat-y/no-repeat} \${5:scroll/fixed} \${6:top/center/bottom/x-%/x-pos} \${7:left/center/right/y-%/y-pos}};\n\$0"
|
||||
fi
|
||||
else
|
||||
echo -ne "\${1:#selector} {\n background: url('$TM_DROPPED_FILE')\${3: \${4:no-repeat} \${5:scroll} \${6:top} \${7:left}};\n"
|
||||
sips -g pixelWidth -g pixelHeight "$TM_DROPPED_FILE"|awk '/pixelWidth/ { printf(" width: %dpx;\n", $2) } /pixelHeight/ { printf(" height: %dpx;\n}\$0", $2) }'
|
||||
fi</string>
|
||||
<key>draggedFileExtensions</key>
|
||||
<array>
|
||||
<string>png</string>
|
||||
<string>jpeg</string>
|
||||
<string>jpg</string>
|
||||
<string>gif</string>
|
||||
</array>
|
||||
<key>name</key>
|
||||
<string>Insert Image URL</string>
|
||||
<key>output</key>
|
||||
<string>insertAsSnippet</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>uuid</key>
|
||||
<string>6ED38063-8791-41BB-9F9F-F9EA378B1526</string>
|
||||
</dict>
|
||||
</plist>
|
190
bundles/css.tmbundle/Macros/Format CSS Compressed.tmMacro
Normal file
190
bundles/css.tmbundle/Macros/Format CSS Compressed.tmMacro
Normal file
@ -0,0 +1,190 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>commands</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>\n+</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>\n</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>[ \t]+</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string> </string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>(?m)([;:])\s+</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>$1</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>\s*}\s*</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>}\n</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>\s*{\s*</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>{</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>[ \t]*,[ \t]*</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>,</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>^\s+</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^~q</string>
|
||||
<key>name</key>
|
||||
<string>Format CSS Compressed</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>uuid</key>
|
||||
<string>3556C0BE-73B3-45CE-8C9C-7B3AA3BB038B</string>
|
||||
</dict>
|
||||
</plist>
|
100
bundles/css.tmbundle/Macros/Format CSS.tmMacro
Normal file
100
bundles/css.tmbundle/Macros/Format CSS.tmMacro
Normal file
@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>commands</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>(?m)({|;)\s*([-\w]+:)\s*(?=\S)</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>$1\n$2 </string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>(?m)\s*}[ \t]*\n?</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string>\n}\n</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>argument</key>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>replaceAll</string>
|
||||
<key>findInProjectIgnoreCase</key>
|
||||
<true/>
|
||||
<key>findInProjectRegularExpression</key>
|
||||
<false/>
|
||||
<key>findString</key>
|
||||
<string>(?m)\s*{[ \t]*</string>
|
||||
<key>ignoreCase</key>
|
||||
<true/>
|
||||
<key>regularExpression</key>
|
||||
<true/>
|
||||
<key>replaceAllScope</key>
|
||||
<string>selection</string>
|
||||
<key>replaceString</key>
|
||||
<string> {</string>
|
||||
<key>wrapAround</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>command</key>
|
||||
<string>findWithOptions:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>command</key>
|
||||
<string>alignLeft:</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>command</key>
|
||||
<string>indent:</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^q</string>
|
||||
<key>name</key>
|
||||
<string>Format CSS</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>uuid</key>
|
||||
<string>64180C76-8C8D-4F29-82BE-6096BE1B14D8</string>
|
||||
</dict>
|
||||
</plist>
|
36
bundles/css.tmbundle/Preferences/Comments.tmPreferences
Normal file
36
bundles/css.tmbundle/Preferences/Comments.tmPreferences
Normal file
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Comments</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>shellVariables</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>TM_COMMENT_START</string>
|
||||
<key>value</key>
|
||||
<string>/*</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>TM_COMMENT_END</string>
|
||||
<key>value</key>
|
||||
<string>*/</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>TM_COMMENT_DISABLE_INDENT</string>
|
||||
<key>value</key>
|
||||
<string>yes</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>375CF370-8A7B-450A-895C-FD18B47957E2</string>
|
||||
</dict>
|
||||
</plist>
|
102
bundles/css.tmbundle/Preferences/Completions.tmPreferences
Normal file
102
bundles/css.tmbundle/Preferences/Completions.tmPreferences
Normal file
@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Completions</string>
|
||||
<key>scope</key>
|
||||
<string>source.css -meta.property-list</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>completions</key>
|
||||
<array>
|
||||
<string>*</string>
|
||||
<string>#</string>
|
||||
<string>.</string>
|
||||
<string>a</string>
|
||||
<string>abbr</string>
|
||||
<string>acronym</string>
|
||||
<string>address</string>
|
||||
<string>area</string>
|
||||
<string>b</string>
|
||||
<string>base</string>
|
||||
<string>big</string>
|
||||
<string>blockquote</string>
|
||||
<string>body</string>
|
||||
<string>br</string>
|
||||
<string>button</string>
|
||||
<string>caption</string>
|
||||
<string>cite</string>
|
||||
<string>code</string>
|
||||
<string>col</string>
|
||||
<string>colgroup</string>
|
||||
<string>dd</string>
|
||||
<string>del</string>
|
||||
<string>dfn</string>
|
||||
<string>div</string>
|
||||
<string>dl</string>
|
||||
<string>dt</string>
|
||||
<string>em</string>
|
||||
<string>fieldset</string>
|
||||
<string>form</string>
|
||||
<string>frame</string>
|
||||
<string>frameset</string>
|
||||
<string>h1</string>
|
||||
<string>h2</string>
|
||||
<string>h3</string>
|
||||
<string>h4</string>
|
||||
<string>h5</string>
|
||||
<string>h6</string>
|
||||
<string>head</string>
|
||||
<string>hr</string>
|
||||
<string>html</string>
|
||||
<string>i</string>
|
||||
<string>iframe</string>
|
||||
<string>img</string>
|
||||
<string>input</string>
|
||||
<string>ins</string>
|
||||
<string>kbd</string>
|
||||
<string>label</string>
|
||||
<string>legend</string>
|
||||
<string>li</string>
|
||||
<string>link</string>
|
||||
<string>map</string>
|
||||
<string>meta</string>
|
||||
<string>noframes</string>
|
||||
<string>noscript</string>
|
||||
<string>object</string>
|
||||
<string>ol</string>
|
||||
<string>optgroup</string>
|
||||
<string>option</string>
|
||||
<string>p</string>
|
||||
<string>param</string>
|
||||
<string>pre</string>
|
||||
<string>q</string>
|
||||
<string>samp</string>
|
||||
<string>script</string>
|
||||
<string>select</string>
|
||||
<string>small</string>
|
||||
<string>span</string>
|
||||
<string>strike</string>
|
||||
<string>strong</string>
|
||||
<string>style</string>
|
||||
<string>sub</string>
|
||||
<string>sup</string>
|
||||
<string>table</string>
|
||||
<string>tbody</string>
|
||||
<string>td</string>
|
||||
<string>textarea</string>
|
||||
<string>tfoot</string>
|
||||
<string>th</string>
|
||||
<string>thead</string>
|
||||
<string>title</string>
|
||||
<string>tr</string>
|
||||
<string>tt</string>
|
||||
<string>ul</string>
|
||||
<string>var</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>92B0C9FE-CC81-498A-B93C-376A9C47CF2D</string>
|
||||
</dict>
|
||||
</plist>
|
19
bundles/css.tmbundle/Preferences/Folding.tmPreferences
Normal file
19
bundles/css.tmbundle/Preferences/Folding.tmPreferences
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Folding</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foldingStartMarker</key>
|
||||
<string>/\*\*(?!\*)|\{\s*($|/\*(?!.*?\*/.*\S))|\/\*\s*@group\s*.*\s*\*\/</string>
|
||||
<key>foldingStopMarker</key>
|
||||
<string>(?<!\*)\*\*/|^\s*\}|\/*\s*@end\s*\*\/</string>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>37393068-A217-494A-9DA4-68FD43FB4F8B</string>
|
||||
</dict>
|
||||
</plist>
|
46
bundles/css.tmbundle/Preferences/Miscellaneous.tmPreferences
Normal file
46
bundles/css.tmbundle/Preferences/Miscellaneous.tmPreferences
Normal file
@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Miscellaneous</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>smartTypingPairs</key>
|
||||
<array>
|
||||
<array>
|
||||
<string>"</string>
|
||||
<string>"</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>(</string>
|
||||
<string>)</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>{</string>
|
||||
<string>}</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>[</string>
|
||||
<string>]</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>“</string>
|
||||
<string>”</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>'</string>
|
||||
<string>'</string>
|
||||
</array>
|
||||
<array>
|
||||
<string>`</string>
|
||||
<string>`</string>
|
||||
</array>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>623154CA-0EDF-4365-9441-80D396C11979</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,151 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Property Completions</string>
|
||||
<key>scope</key>
|
||||
<string>source.css meta.property-list -meta.property-value</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>completions</key>
|
||||
<array>
|
||||
<string>-moz-border-radius</string>
|
||||
<string>azimuth</string>
|
||||
<string>background</string>
|
||||
<string>background-attachment</string>
|
||||
<string>background-color</string>
|
||||
<string>background-image</string>
|
||||
<string>background-position</string>
|
||||
<string>background-repeat</string>
|
||||
<string>border</string>
|
||||
<string>border-bottom</string>
|
||||
<string>border-bottom-color</string>
|
||||
<string>border-bottom-style</string>
|
||||
<string>border-bottom-width</string>
|
||||
<string>border-collapse</string>
|
||||
<string>border-color</string>
|
||||
<string>border-left</string>
|
||||
<string>border-left-color</string>
|
||||
<string>border-left-style</string>
|
||||
<string>border-left-width</string>
|
||||
<string>border-right</string>
|
||||
<string>border-right-color</string>
|
||||
<string>border-right-style</string>
|
||||
<string>border-right-width</string>
|
||||
<string>border-spacing</string>
|
||||
<string>border-style</string>
|
||||
<string>border-top</string>
|
||||
<string>border-top-color</string>
|
||||
<string>border-top-style</string>
|
||||
<string>border-top-width</string>
|
||||
<string>border-width</string>
|
||||
<string>bottom</string>
|
||||
<string>caption-side</string>
|
||||
<string>clear</string>
|
||||
<string>clip</string>
|
||||
<string>color</string>
|
||||
<string>content</string>
|
||||
<string>counter-increment</string>
|
||||
<string>counter-reset</string>
|
||||
<string>cue</string>
|
||||
<string>cue-after</string>
|
||||
<string>cue-before</string>
|
||||
<string>cursor</string>
|
||||
<string>direction</string>
|
||||
<string>display</string>
|
||||
<string>elevation</string>
|
||||
<string>empty-cells</string>
|
||||
<string>float</string>
|
||||
<string>font</string>
|
||||
<string>font-family</string>
|
||||
<string>font-size</string>
|
||||
<string>font-size-adjust</string>
|
||||
<string>font-stretch</string>
|
||||
<string>font-style</string>
|
||||
<string>font-variant</string>
|
||||
<string>font-weight</string>
|
||||
<string>height</string>
|
||||
<string>left</string>
|
||||
<string>letter</string>
|
||||
<string>letter-spacing</string>
|
||||
<string>line-height</string>
|
||||
<string>list</string>
|
||||
<string>list-style</string>
|
||||
<string>list-style-image</string>
|
||||
<string>list-style-position</string>
|
||||
<string>list-style-type</string>
|
||||
<string>margin</string>
|
||||
<string>margin-bottom</string>
|
||||
<string>margin-left</string>
|
||||
<string>margin-right</string>
|
||||
<string>margin-top</string>
|
||||
<string>marker</string>
|
||||
<string>marker-offset</string>
|
||||
<string>marks</string>
|
||||
<string>max-height</string>
|
||||
<string>max-width</string>
|
||||
<string>min-height</string>
|
||||
<string>min-width</string>
|
||||
<string>opacity</string>
|
||||
<string>orphans</string>
|
||||
<string>outline</string>
|
||||
<string>outline-color</string>
|
||||
<string>outline-style</string>
|
||||
<string>outline-width</string>
|
||||
<string>overflow</string>
|
||||
<string>overflow(-[xy])?</string>
|
||||
<string>padding</string>
|
||||
<string>padding-bottom</string>
|
||||
<string>padding-left</string>
|
||||
<string>padding-right</string>
|
||||
<string>padding-top</string>
|
||||
<string>page</string>
|
||||
<string>page-break-after</string>
|
||||
<string>page-break-before</string>
|
||||
<string>page-break-inside</string>
|
||||
<string>pause</string>
|
||||
<string>pause-after</string>
|
||||
<string>pause-before</string>
|
||||
<string>pitch</string>
|
||||
<string>pitch-range</string>
|
||||
<string>play-during</string>
|
||||
<string>position</string>
|
||||
<string>quotes</string>
|
||||
<string>richness</string>
|
||||
<string>right</string>
|
||||
<string>scrollbar</string>
|
||||
<string>size</string>
|
||||
<string>speak</string>
|
||||
<string>speak-header</string>
|
||||
<string>speak-numeral</string>
|
||||
<string>speak-punctuation</string>
|
||||
<string>speech-rate</string>
|
||||
<string>stress</string>
|
||||
<string>table-layout</string>
|
||||
<string>text</string>
|
||||
<string>text-align</string>
|
||||
<string>text-decoration</string>
|
||||
<string>text-indent</string>
|
||||
<string>text-shadow</string>
|
||||
<string>text-transform</string>
|
||||
<string>top</string>
|
||||
<string>unicode-bidi</string>
|
||||
<string>vertical</string>
|
||||
<string>vertical-align</string>
|
||||
<string>visibility</string>
|
||||
<string>voice-family</string>
|
||||
<string>volume</string>
|
||||
<string>white</string>
|
||||
<string>white-space</string>
|
||||
<string>widows</string>
|
||||
<string>width</string>
|
||||
<string>word</string>
|
||||
<string>word-spacing</string>
|
||||
<string>z-index</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>BCAF7514-033E-45D7-9E46-07FACF84DAAD</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,144 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Property Value Completions</string>
|
||||
<key>scope</key>
|
||||
<string>source.css meta.property-value</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>completions</key>
|
||||
<array>
|
||||
<string>absolute</string>
|
||||
<string>all-scroll</string>
|
||||
<string>always</string>
|
||||
<string>auto</string>
|
||||
<string>baseline</string>
|
||||
<string>below</string>
|
||||
<string>bidi-override</string>
|
||||
<string>block</string>
|
||||
<string>bold</string>
|
||||
<string>bolder</string>
|
||||
<string>both</string>
|
||||
<string>bottom</string>
|
||||
<string>break-all</string>
|
||||
<string>break-word</string>
|
||||
<string>capitalize</string>
|
||||
<string>center</string>
|
||||
<string>char</string>
|
||||
<string>circle</string>
|
||||
<string>col-resize</string>
|
||||
<string>collapse</string>
|
||||
<string>crosshair</string>
|
||||
<string>dashed</string>
|
||||
<string>decimal</string>
|
||||
<string>default</string>
|
||||
<string>disabled</string>
|
||||
<string>disc</string>
|
||||
<string>distribute</string>
|
||||
<string>distribute-all-lines</string>
|
||||
<string>distribute-letter</string>
|
||||
<string>distribute-space</string>
|
||||
<string>dotted</string>
|
||||
<string>double</string>
|
||||
<string>e-resize</string>
|
||||
<string>ellipsis</string>
|
||||
<string>fixed</string>
|
||||
<string>groove</string>
|
||||
<string>hand</string>
|
||||
<string>help</string>
|
||||
<string>hidden</string>
|
||||
<string>horizontal</string>
|
||||
<string>ideograph-alpha</string>
|
||||
<string>ideograph-numeric</string>
|
||||
<string>ideograph-parenthesis</string>
|
||||
<string>ideograph-space</string>
|
||||
<string>inactive</string>
|
||||
<string>inherit</string>
|
||||
<string>inline</string>
|
||||
<string>inline-block</string>
|
||||
<string>inset</string>
|
||||
<string>inside</string>
|
||||
<string>inter-ideograph</string>
|
||||
<string>inter-word</string>
|
||||
<string>italic</string>
|
||||
<string>justify</string>
|
||||
<string>keep-all</string>
|
||||
<string>left</string>
|
||||
<string>lighter</string>
|
||||
<string>line</string>
|
||||
<string>line-edge</string>
|
||||
<string>line-through</string>
|
||||
<string>list-item</string>
|
||||
<string>loose</string>
|
||||
<string>lower-alpha</string>
|
||||
<string>lower-roman</string>
|
||||
<string>lowercase</string>
|
||||
<string>lr-tb</string>
|
||||
<string>ltr</string>
|
||||
<string>medium</string>
|
||||
<string>middle</string>
|
||||
<string>move</string>
|
||||
<string>n-resize</string>
|
||||
<string>ne-resize</string>
|
||||
<string>newspaper</string>
|
||||
<string>no-drop</string>
|
||||
<string>no-repeat</string>
|
||||
<string>none</string>
|
||||
<string>normal</string>
|
||||
<string>not-allowed</string>
|
||||
<string>nowrap</string>
|
||||
<string>nw-resize</string>
|
||||
<string>oblique</string>
|
||||
<string>outset</string>
|
||||
<string>outside</string>
|
||||
<string>overline</string>
|
||||
<string>pointer</string>
|
||||
<string>progress</string>
|
||||
<string>relative</string>
|
||||
<string>repeat</string>
|
||||
<string>repeat-x</string>
|
||||
<string>repeat-y</string>
|
||||
<string>ridge</string>
|
||||
<string>right</string>
|
||||
<string>row-resize</string>
|
||||
<string>rtl</string>
|
||||
<string>s-resize</string>
|
||||
<string>scroll</string>
|
||||
<string>se-resize</string>
|
||||
<string>separate</string>
|
||||
<string>small-caps</string>
|
||||
<string>solid</string>
|
||||
<string>square</string>
|
||||
<string>static</string>
|
||||
<string>strict</string>
|
||||
<string>super</string>
|
||||
<string>sw-resize</string>
|
||||
<string>table-footer-group</string>
|
||||
<string>table-header-group</string>
|
||||
<string>tb-rl</string>
|
||||
<string>text</string>
|
||||
<string>text-bottom</string>
|
||||
<string>text-top</string>
|
||||
<string>thick</string>
|
||||
<string>thin</string>
|
||||
<string>top</string>
|
||||
<string>transparent</string>
|
||||
<string>underline</string>
|
||||
<string>upper-alpha</string>
|
||||
<string>upper-roman</string>
|
||||
<string>uppercase</string>
|
||||
<string>url("")</string>
|
||||
<string>vertical-ideographic</string>
|
||||
<string>vertical-text</string>
|
||||
<string>visible</string>
|
||||
<string>w-resize</string>
|
||||
<string>wait</string>
|
||||
<string>whitespace</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>1E4F54FD-1940-42E0-9D0A-0EC11D81E446</string>
|
||||
</dict>
|
||||
</plist>
|
22
bundles/css.tmbundle/Preferences/PropertyName.tmPreferences
Normal file
22
bundles/css.tmbundle/Preferences/PropertyName.tmPreferences
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>PropertyName</string>
|
||||
<key>scope</key>
|
||||
<string>meta.property-list.css -meta.property-value</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>smartTypingPairs</key>
|
||||
<array>
|
||||
<array>
|
||||
<string>:</string>
|
||||
<string>;</string>
|
||||
</array>
|
||||
</array>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>45707407-3307-4B4D-AE9B-78BDCFB6F920</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Symbol List: Group</string>
|
||||
<key>scope</key>
|
||||
<string>source.css comment.block.css -source.css.embedded</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>showInSymbolList</key>
|
||||
<integer>1</integer>
|
||||
<key>symbolTransformation</key>
|
||||
<string>s/\/\*\*\s*(.*?)\s*\*\//** $1 **/; s/\/\*.*?\*\*\//./; s/\/\*[^\*].*?[^\*]\*\///</string>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>096894D8-6A5A-4F1D-B68C-782F0A850E52</string>
|
||||
</dict>
|
||||
</plist>
|
19
bundles/css.tmbundle/Preferences/Symbol list.tmPreferences
Normal file
19
bundles/css.tmbundle/Preferences/Symbol list.tmPreferences
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Symbol List: Selector</string>
|
||||
<key>scope</key>
|
||||
<string>source.css meta.selector, source.css meta.at-rule.media</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>showInSymbolList</key>
|
||||
<integer>1</integer>
|
||||
<key>symbolTransformation</key>
|
||||
<string>s/^\s*/CSS: /; s/\s+/ /g</string>
|
||||
</dict>
|
||||
<key>uuid</key>
|
||||
<string>17B2DD5B-D2EA-4DC5-9C7D-B09B505156C5</string>
|
||||
</dict>
|
||||
</plist>
|
20
bundles/css.tmbundle/README.mdown
Normal file
20
bundles/css.tmbundle/README.mdown
Normal file
@ -0,0 +1,20 @@
|
||||
# Installation
|
||||
|
||||
You can install this bundle in TextMate by opening the preferences and going to the bundles tab. After installation it will be automatically updated for you.
|
||||
|
||||
# General
|
||||
|
||||
* [Bundle Styleguide](http://kb.textmate.org/bundle_styleguide) — _before you make changes_
|
||||
* [Commit Styleguide](http://kb.textmate.org/commit_styleguide) — _before you send a pull request_
|
||||
* [Writing Bug Reports](http://kb.textmate.org/writing_bug_reports) — _before you report an issue_
|
||||
|
||||
# License
|
||||
|
||||
If not otherwise specified (see below), files in this repository fall under the following license:
|
||||
|
||||
Permission to copy, use, modify, sell and distribute this
|
||||
software is granted. This software is provided "as is" without
|
||||
express or implied warranty, and with no claim as to its
|
||||
suitability for any purpose.
|
||||
|
||||
An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”.
|
18
bundles/css.tmbundle/Snippets/!important CSS (!).plist
Normal file
18
bundles/css.tmbundle/Snippets/!important CSS (!).plist
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>${1:!important}</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string></string>
|
||||
<key>name</key>
|
||||
<string>!important CSS</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>!</string>
|
||||
<key>uuid</key>
|
||||
<string>EF1F2D38-A71A-4D1D-9B07-B1CBB6D84B81</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>${2:bottom: auto;}top: expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-${1:THE HEIGHT OF THIS THING IN PIXELS}));
|
||||
${3:left: expression(eval(document.documentElement.scrollLeft));
|
||||
}${4:width: expression(eval(document.documentElement.clientWidth));}$0</string>
|
||||
<key>name</key>
|
||||
<string>Fixed Position Bottom 100% wide IE6</string>
|
||||
<key>scope</key>
|
||||
<string>source.css meta.property-list</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>fixed</string>
|
||||
<key>uuid</key>
|
||||
<string>FCDDB549-681A-436F-894E-1A408C0E114C</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-attachment: ${1|scroll,fixed|};$0</string>
|
||||
<key>name</key>
|
||||
<string>background-attachment: scroll/fixed</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>9E194D74-B73B-4D2B-A89F-51F7468A3E97</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-color: #${1:DDD};$0</string>
|
||||
<key>name</key>
|
||||
<string>background-color: hex</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>32B7B151-17CB-4DA4-AC0B-7D02BC606403</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-color: ${1:red};$0</string>
|
||||
<key>name</key>
|
||||
<string>background-color: name</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>913410E0-623A-43F0-B71F-2E8FB9D5EBC8</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-color: rgb(${1:255},${2:255},${3:255});$0</string>
|
||||
<key>name</key>
|
||||
<string>background-color: rgb</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>12241B4B-197C-41AF-ACC2-6B9A7AEC7039</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-color: transparent;$0</string>
|
||||
<key>name</key>
|
||||
<string>background-color: transparent</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>C71B1388-2815-4CAE-8652-CD159095AEAD</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-image: none;$0</string>
|
||||
<key>name</key>
|
||||
<string>background-image: none</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>7D71DF8B-492E-493D-BD94-1A4AFCCDCBBF</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-image: url($1);$0</string>
|
||||
<key>name</key>
|
||||
<string>background-image: url</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>978CBFF6-62D6-45B1-93F7-5644E1C6262B</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-position: ${1|top left,top center,top right,center left,center center,center right,bottom left,bottom center,bottom right,x-% y-%,x-pos y-pos|};$0</string>
|
||||
<key>name</key>
|
||||
<string>background-position: position</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>E198D2D5-6B52-42FD-BCBC-01B0A7E5E80E</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background-repeat: ${1|repeat,repeat-x,repeat-y,no-repeat|};$0</string>
|
||||
<key>name</key>
|
||||
<string>background-repeat: r/r-x/r-y/n-r</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>4EE66583-26BE-4DBA-BD18-8DAF593835F9</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>background:${6: #${1:DDD}} url($2) ${3|repeat,repeat-x,repeat-y,no-repeat|} ${4|scroll,fixed|} ${5|top left,top center,top right,center left,center center,center right,bottom left,bottom center,bottom right,x-% y-%,x-pos y-pos|};$0</string>
|
||||
<key>name</key>
|
||||
<string>background: color image repeat attachment position</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>D09967B1-2215-4B10-A331-7A372281DDA6</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-bottom-color: #${1:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-bottom-color: color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>05AFB9EB-F4AB-4F86-8170-535CF508176C</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-bottom-style: ${1|none,hidden,dotted,dashed,solid,double,groove,ridge,inset,outset|};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-bottom-style: style</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>39FA441C-3A8F-49D4-BBFE-270B4C962782</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-bottom-width: ${1:1}px ${2:solid} #${3:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-bottom-width: size</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>6F1126A9-5916-4E6F-8812-AB82C4638B6B</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-bottom: ${1:1}px ${2:solid} #${3:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-bottom: size style color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>1998EF7F-D855-4EAF-8CE0-D76CE8C905A4</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-color: ${1:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-color: color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>AB0759F4-4243-4807-B297-2902459EBE02</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-right-color: #${1:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-left-color: color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>189DD463-0331-4B99-8CA2-ADEEF7CC078D</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-left-style: ${1|none,hidden,dotted,dashed,solid,double,groove,ridge,inset,outset|};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-left-style: style</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>8AD77320-0E31-48B9-94A9-982FD8DD1885</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-left-width: ${1:1}px</string>
|
||||
<key>name</key>
|
||||
<string>border-left-width: size</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>1A667AFE-208F-4697-AD44-3FA1A23AA4C7</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-left: ${1:1}px ${2:solid} #${3:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-left: size style color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>BDA03041-39C6-461C-A6F3-F6145D99AB5E</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-right-color: #${1:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-right-color: color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>321FFAF7-5699-45E6-8696-DE84AD607690</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-right-style: ${1|none,hidden,dotted,dashed,solid,double,groove,ridge,inset,outset|};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-right-style: style</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>6AE8DB39-F8E2-4DC9-ADBA-460E952439D8</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-right-width: ${1:1}px</string>
|
||||
<key>name</key>
|
||||
<string>border-right-width: size</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>8B059A97-7F2C-48CD-8422-0ECAB678E8AE</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-right: ${1:1}px ${2:solid} #${3:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-right: size style color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>5FFC4EDE-9AEE-4854-BA78-34BD98BE7FBE</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-style: ${1|none,hidden,dotted,dashed,solid,double,groove,ridge,inset,outset|};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-style: style</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>E4BD9171-E053-4EEF-8631-CFC74F1DCB97</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-top-color: #${1:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-top-color: color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>DAF7114F-B5DC-4E70-A7CD-66FF028F93B1</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-top-style: ${1|none,hidden,dotted,dashed,solid,double,groove,ridge,inset,outset|};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-top-style: style</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>C5039010-E264-4D3D-A12E-02C2DB7DC4BF</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-top-width: ${1:1}px</string>
|
||||
<key>name</key>
|
||||
<string>border-top-width: size</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>EE19367C-6634-4854-910D-90C6F5752A46</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-top: ${1:1}px ${2:solid} #${3:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-top: size style color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>0FEBF51B-77B0-4D38-9CDB-276744CAF455</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border-width: ${1:1px};$0</string>
|
||||
<key>name</key>
|
||||
<string>border-width: size</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>979C3D46-E8B1-484D-9DBB-E3B1FCD3BCF9</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>border: ${1:1px} ${2:solid} #${3:999};$0</string>
|
||||
<key>name</key>
|
||||
<string>border: size style color</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>border</string>
|
||||
<key>uuid</key>
|
||||
<string>A2EA7266-AE50-4987-A86B-E3C4DFA5B643</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/clear: value (clear).plist
Normal file
16
bundles/css.tmbundle/Snippets/clear: value (clear).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>clear: ${1|left,right,both,none|};$0</string>
|
||||
<key>name</key>
|
||||
<string>clear: value</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>clear</string>
|
||||
<key>uuid</key>
|
||||
<string>8E9366D7-BB0B-456C-B9F3-0CE8072A10C3</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/color: color-hex (color).plist
Normal file
16
bundles/css.tmbundle/Snippets/color: color-hex (color).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>color: #${1:DDD};$0</string>
|
||||
<key>name</key>
|
||||
<string>color: hex</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>color</string>
|
||||
<key>uuid</key>
|
||||
<string>D69E7EB0-07E2-48A3-AD32-A7C3E6CAFBBC</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>color: ${1:red};$0</string>
|
||||
<key>name</key>
|
||||
<string>color: name</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>color</string>
|
||||
<key>uuid</key>
|
||||
<string>45D80BAF-0B0A-4334-AFBC-3601B5903707</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/color: color-rgb (color).plist
Normal file
16
bundles/css.tmbundle/Snippets/color: color-rgb (color).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>color: rgb(${1:255},${2:255},${3:255});$0</string>
|
||||
<key>name</key>
|
||||
<string>color: rgb</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>color</string>
|
||||
<key>uuid</key>
|
||||
<string>FBA1210B-33DB-49D0-B026-FF31DBC41FD6</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/cursor: type (cursor).plist
Normal file
16
bundles/css.tmbundle/Snippets/cursor: type (cursor).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>cursor: ${1|default,auto,crosshair,pointer,move,*-resize,text,wait,help|};$0</string>
|
||||
<key>name</key>
|
||||
<string>cursor: type</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>cursor</string>
|
||||
<key>uuid</key>
|
||||
<string>5EDCDB17-5DB0-459A-A61D-29984DD3A3B8</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/cursor: url (cursor).plist
Normal file
16
bundles/css.tmbundle/Snippets/cursor: url (cursor).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>cursor: url($1);$0</string>
|
||||
<key>name</key>
|
||||
<string>cursor: url</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>cursor</string>
|
||||
<key>uuid</key>
|
||||
<string>5C9011B1-B8A8-4FD3-8EA8-848AF6509ADF</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>direction: ${1:ltr|rtl};$0</string>
|
||||
<key>name</key>
|
||||
<string>direction: ltr/rtl</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>direction</string>
|
||||
<key>uuid</key>
|
||||
<string>A723DACA-3819-4E8D-8BCF-9BD1B98AF651</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/display: block (display).plist
Normal file
16
bundles/css.tmbundle/Snippets/display: block (display).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>display: block;$0</string>
|
||||
<key>name</key>
|
||||
<string>display: block</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>display</string>
|
||||
<key>uuid</key>
|
||||
<string>2FC3C35E-88A6-4DA0-808D-3034A96E7794</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>display: ${1|none,inline,block,list-item,run-in,compact,marker|};$0</string>
|
||||
<key>name</key>
|
||||
<string>display: common-types</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>display</string>
|
||||
<key>uuid</key>
|
||||
<string>56940467-7D99-4F31-83C2-1554638F552A</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>display: inline;$0</string>
|
||||
<key>name</key>
|
||||
<string>display: inline</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>display</string>
|
||||
<key>uuid</key>
|
||||
<string>CA506D09-9EAE-445D-AE1E-7058937304B7</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>display: ${1|table,inline-table,table-row-group,table-header-group,table-footer-group,table-row,table-column-group,table-column,table-cell,table-caption|};$0</string>
|
||||
<key>name</key>
|
||||
<string>display: table-types</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>display</string>
|
||||
<key>uuid</key>
|
||||
<string>98BE34AD-3CB1-4FB9-98A0-5E5A4BA63286</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>${3:background-image: none;
|
||||
}filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='${1:${TM_SELECTED_TEXT:/images/transparent.png}}', sizingMethod='${2|image,scale,crop|}');</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string></string>
|
||||
<key>name</key>
|
||||
<string>filter: AlphaImageLoader [for IE PNGs]</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>background</string>
|
||||
<key>uuid</key>
|
||||
<string>81CCEB84-6241-4E4F-BB26-54BAAFA3FF2E</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>float: ${1|left,right,none|};$0</string>
|
||||
<key>name</key>
|
||||
<string>float: left/right/none</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>float</string>
|
||||
<key>uuid</key>
|
||||
<string>39244453-6D06-4265-9894-14D7FC0B277F</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>font-family: ${1:Arial, "MS Trebuchet"}, ${2:sans-}serif;$0</string>
|
||||
<key>name</key>
|
||||
<string>font-family: family</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>font</string>
|
||||
<key>uuid</key>
|
||||
<string>25388EC7-EA59-4C87-9F11-52870ADBF1AB</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/font-size: size (font).plist
Normal file
16
bundles/css.tmbundle/Snippets/font-size: size (font).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>font-size: ${1:100%};$0</string>
|
||||
<key>name</key>
|
||||
<string>font-size: size</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>font</string>
|
||||
<key>uuid</key>
|
||||
<string>CD8E3F13-2B14-401D-9646-E309FB04B678</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>font-style: ${1|normal,italic,oblique|};$0</string>
|
||||
<key>name</key>
|
||||
<string>font-style: normal/italic/oblique</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>font</string>
|
||||
<key>uuid</key>
|
||||
<string>128D7494-86EA-4615-87F4-C4D45E8C04AA</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>font-variant: ${1|normal,small-caps|};$0</string>
|
||||
<key>name</key>
|
||||
<string>font-variant: normal/small-caps</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>font</string>
|
||||
<key>uuid</key>
|
||||
<string>B6C9A8F9-2942-4592-B73F-2833B9F648E5</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>font-weight: ${1|normal,bold|};$0</string>
|
||||
<key>name</key>
|
||||
<string>font-weight: weight</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>font</string>
|
||||
<key>uuid</key>
|
||||
<string>F2DC92D8-43D4-4044-9D85-D96F734FF81E</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>font: ${1|normal,italic,oblique|} ${2|normal,small-caps|} ${3|normal,bold|} ${4|1em,1.5em|} ${5:Arial}, ${6:sans-}serif;$0</string>
|
||||
<key>name</key>
|
||||
<string>font: style variant weight size/line-height font-family</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>font</string>
|
||||
<key>uuid</key>
|
||||
<string>30C6CFA2-C00A-4F2A-8770-096A49C3F95F</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/font: size font (font).plist
Normal file
16
bundles/css.tmbundle/Snippets/font: size font (font).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>font: ${1:75%} ${2:"Lucida Grande", "Trebuchet MS", Verdana,} ${3:sans-}serif;$0</string>
|
||||
<key>name</key>
|
||||
<string>font: size font</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>font</string>
|
||||
<key>uuid</key>
|
||||
<string>F5EDF655-440B-4E1B-908F-4291F3A0A3A8</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>letter-spacing: $1em;$0</string>
|
||||
<key>name</key>
|
||||
<string>letter-spacing: em</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>letter</string>
|
||||
<key>uuid</key>
|
||||
<string>D612A3B7-7C49-4447-9AAF-CCCFDE4408FF</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>letter-spacing: $1px;$0</string>
|
||||
<key>name</key>
|
||||
<string>letter-spacing: px</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>letter</string>
|
||||
<key>uuid</key>
|
||||
<string>17BBB1F1-1F83-4386-97B8-23144EB2441A</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>list-style-image: url($1);$0</string>
|
||||
<key>name</key>
|
||||
<string>list-style-image: url</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>list</string>
|
||||
<key>uuid</key>
|
||||
<string>BDEF3B0F-6414-4B1A-8841-864702B51EC6</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>list-style-position: ${1|inside,outside|};$0</string>
|
||||
<key>name</key>
|
||||
<string>list-style-position: pos</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>list</string>
|
||||
<key>uuid</key>
|
||||
<string>9B10C768-5DA7-4570-98E4-70A36261C823</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>list-style-type: ${1|cjk-ideographic,hiragana,katakana,hiragana-iroha,katakana-iroha|};$0</string>
|
||||
<key>name</key>
|
||||
<string>list-style-type: asian</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>list</string>
|
||||
<key>uuid</key>
|
||||
<string>E024086F-94B8-401F-A903-7F0CDA8E0B8A</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>list-style-type: ${1|none,disc,circle,square|};$0</string>
|
||||
<key>name</key>
|
||||
<string>list-style-type: marker</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>list</string>
|
||||
<key>uuid</key>
|
||||
<string>C5CE7E29-9EB1-4A63-8173-190D12E4E4E4</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>list-style-type: ${1|decimal,decimal-leading-zero,zero|};$0</string>
|
||||
<key>name</key>
|
||||
<string>list-style-type: numeric</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>list</string>
|
||||
<key>uuid</key>
|
||||
<string>24436F96-2383-48AB-844F-AE791DEAF080</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>list-style-type: ${1|hebrew,armenian,georgian|};$0</string>
|
||||
<key>name</key>
|
||||
<string>list-style-type: other</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>list</string>
|
||||
<key>uuid</key>
|
||||
<string>B8E9019D-3419-4CC3-87BB-DC54098CBFD0</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>list-style-type: ${1|lower-roman,upper-roman,lower-alpha,upper-alpha,lower-greek,lower-latin,upper-latin|};$0</string>
|
||||
<key>name</key>
|
||||
<string>list-style-type: roman-alpha-greek</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>list</string>
|
||||
<key>uuid</key>
|
||||
<string>97A55488-5DD9-4347-B5F1-722F580715E4</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>list-style: ${1|none,disc,circle,square,decimal,zero|} ${2|inside,outside|} url($3);$0</string>
|
||||
<key>name</key>
|
||||
<string>list-style: type position image</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>list</string>
|
||||
<key>uuid</key>
|
||||
<string>1C7E0430-2A67-4CEF-9D68-4ED6315A8567</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>margin-bottom: ${1:20px};$0</string>
|
||||
<key>name</key>
|
||||
<string>margin-bottom: length</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>margin</string>
|
||||
<key>uuid</key>
|
||||
<string>6354F6AC-74E2-42CF-96B0-7EE2733B9B34</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>margin-left: ${1:20px};$0</string>
|
||||
<key>name</key>
|
||||
<string>margin-left: length</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>margin</string>
|
||||
<key>uuid</key>
|
||||
<string>C19985FF-A12C-49B9-9BA3-EDC726E919A0</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>margin-right: ${1:20px};$0</string>
|
||||
<key>name</key>
|
||||
<string>margin-right: length</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>margin</string>
|
||||
<key>uuid</key>
|
||||
<string>1FDAB8C2-7A0D-4C0A-97FF-77AD2CC86083</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>margin-top: ${1:20px};$0</string>
|
||||
<key>name</key>
|
||||
<string>margin-top: length</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>margin</string>
|
||||
<key>uuid</key>
|
||||
<string>412AA532-762F-4270-961A-54BF6014996D</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/margin: all (margin).plist
Normal file
16
bundles/css.tmbundle/Snippets/margin: all (margin).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>margin: ${1:20px};$0</string>
|
||||
<key>name</key>
|
||||
<string>margin: all</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>margin</string>
|
||||
<key>uuid</key>
|
||||
<string>FA3D9F50-C5F6-4193-81D2-98A3E8FFBB2F</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/margin: T R B L (margin).plist
Normal file
16
bundles/css.tmbundle/Snippets/margin: T R B L (margin).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>margin: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0</string>
|
||||
<key>name</key>
|
||||
<string>margin: T R B L</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>margin</string>
|
||||
<key>uuid</key>
|
||||
<string>68A3178C-A024-48BD-ABA6-0A03A69BD82E</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/margin: V H (margin).plist
Normal file
16
bundles/css.tmbundle/Snippets/margin: V H (margin).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>margin: ${1:20px} ${2:0px};$0</string>
|
||||
<key>name</key>
|
||||
<string>margin: V H</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>margin</string>
|
||||
<key>uuid</key>
|
||||
<string>99315B12-6A41-4D8F-8477-F38DE0EBBEF8</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>marker-offset: auto;$0</string>
|
||||
<key>name</key>
|
||||
<string>marker-offset: auto</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>marker</string>
|
||||
<key>uuid</key>
|
||||
<string>E10366F8-CA83-4447-89D3-B36AFD1EAECD</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>marker-offset: ${1:10px};$0</string>
|
||||
<key>name</key>
|
||||
<string>marker-offset: length</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>marker</string>
|
||||
<key>uuid</key>
|
||||
<string>5FDD30D8-7EF8-41E9-8A44-DC3C22EFD75D</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>opacity: ${1:0.5};${100:
|
||||
}-moz-opacity: ${1:0.5};${100:
|
||||
}filter:alpha(opacity=${2:${1/(1?)0?\.(.*)/$1$2/}${1/^\d*\.\d\d+$|^\d*$|(^\d\.\d$)/(?1:0)/}});$0</string>
|
||||
<key>name</key>
|
||||
<string>opacity: [for Safari, FF & IE]</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>opacity</string>
|
||||
<key>uuid</key>
|
||||
<string>50C748B6-C8B6-447F-A9EE-DD41CF1CD707</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>overflow: ${1|visible,hidden,scroll,auto|};$0</string>
|
||||
<key>name</key>
|
||||
<string>overflow: type</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>overflow</string>
|
||||
<key>uuid</key>
|
||||
<string>6523B6C5-8741-4766-98D6-1B1DE2E6A5F3</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>padding-bottom: ${1:20px};$0</string>
|
||||
<key>name</key>
|
||||
<string>padding-bottom: length</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>padding</string>
|
||||
<key>uuid</key>
|
||||
<string>1644E167-7A29-46A7-A100-7BD6C7EFA2F3</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>padding-left: ${1:20px};$0</string>
|
||||
<key>name</key>
|
||||
<string>padding-left: length</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>padding</string>
|
||||
<key>uuid</key>
|
||||
<string>772DD28C-80C2-4C9B-8023-1E71A974E1C4</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>padding-right: ${1:20px};$0</string>
|
||||
<key>name</key>
|
||||
<string>padding-right: length</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>padding</string>
|
||||
<key>uuid</key>
|
||||
<string>C1667E5D-3A50-42F8-8129-6C3EEB43D7C2</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>padding-top: ${1:20px};$0</string>
|
||||
<key>name</key>
|
||||
<string>padding-top: length</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>padding</string>
|
||||
<key>uuid</key>
|
||||
<string>E5B92C27-8602-4E50-9DF7-DE476E63BA1A</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>padding: ${1:20px} ${2:0px} ${3:40px} ${4:0px};$0</string>
|
||||
<key>name</key>
|
||||
<string>padding: T R B L</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>padding</string>
|
||||
<key>uuid</key>
|
||||
<string>DD5BB93D-4F99-4A41-8864-85A557B922C7</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/padding: V H (padding).plist
Normal file
16
bundles/css.tmbundle/Snippets/padding: V H (padding).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>padding: ${1:20px} ${2:0px};$0</string>
|
||||
<key>name</key>
|
||||
<string>padding: V H</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>padding</string>
|
||||
<key>uuid</key>
|
||||
<string>4602BFF3-C7F1-4CF5-93CE-125EC8ABC7C8</string>
|
||||
</dict>
|
||||
</plist>
|
16
bundles/css.tmbundle/Snippets/padding: all (padding).plist
Normal file
16
bundles/css.tmbundle/Snippets/padding: all (padding).plist
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>content</key>
|
||||
<string>padding: ${1:20px};$0</string>
|
||||
<key>name</key>
|
||||
<string>padding: all</string>
|
||||
<key>scope</key>
|
||||
<string>source.css</string>
|
||||
<key>tabTrigger</key>
|
||||
<string>padding</string>
|
||||
<key>uuid</key>
|
||||
<string>6E64EA4A-A10E-49B3-AC9C-D53DBF9ED14A</string>
|
||||
</dict>
|
||||
</plist>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user