From 6bcbc40d5dc8481b7ee7cb907456d1966300eaf0 Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Sun, 15 Aug 2010 13:53:05 +0200 Subject: [PATCH] Cleaned CSS snippets up. --- UltiSnips/{tm_css.snippets => css.snippets} | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) rename UltiSnips/{tm_css.snippets => css.snippets} (95%) diff --git a/UltiSnips/tm_css.snippets b/UltiSnips/css.snippets similarity index 95% rename from UltiSnips/tm_css.snippets rename to UltiSnips/css.snippets index 02d5663..06a2560 100644 --- a/UltiSnips/tm_css.snippets +++ b/UltiSnips/css.snippets @@ -1,3 +1,7 @@ +########################################################################### +# Most of these came from TextMate # +########################################################################### + snippet ! "!important CSS (!)" ${1:!important} endsnippet @@ -172,11 +176,6 @@ snippet display "display: table-types (display)" 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 endsnippet -snippet background "filter: AlphaImageLoader [for IE PNGs] (background)" -${3:background-image: none; -}filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='${1:${TM_SELECTED_TEXT:/images/transparent.png}}', sizingMethod='${2:image/scale/crop}'); -endsnippet - snippet float "float: left:right:none (float)" float: ${1:left/right/none};$0 endsnippet @@ -285,12 +284,6 @@ snippet marker "marker-offset: length (marker)" marker-offset: ${1:10px};$0 endsnippet -snippet opacity "opacity: [for Safari, FF and IE] (opacity)" -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 -endsnippet - snippet overflow "overflow: type (overflow)" overflow: ${1:visible/hidden/scroll/auto};$0 endsnippet