summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/css-mode
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-04-24 23:29:38 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-04-24 23:29:38 +0200
commit7a6bb0f05e349068b0a89514f1da33d6d7de30a9 (patch)
treec202b81dfaf524e71e881c15aa509c45445a64b3 /emacs.d/lisp/yasnippet/snippets/css-mode
parent66b95ab46d870f41c12c489eb21c9c82846d6112 (diff)
downloaddotfiles-7a6bb0f05e349068b0a89514f1da33d6d7de30a9.tar.gz
dotfiles-7a6bb0f05e349068b0a89514f1da33d6d7de30a9.tar.xz
dotfiles-7a6bb0f05e349068b0a89514f1da33d6d7de30a9.zip
emacs.d/lisp/yasnippet: added yasnippet
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/css-mode')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/.yas-parents1
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/bg3
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/bg.13
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/bor3
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/cl4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/disp.block4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/disp.inline4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/disp.none4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/ff4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/fs4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/mar.bottom4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/mar.left4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/mar.mar4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/mar.margin4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/mar.right4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/mar.top4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/pad.bottom4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/pad.left4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/pad.pad4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/pad.padding4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/pad.right4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/css-mode/pad.top4
22 files changed, 82 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/.yas-parents b/emacs.d/lisp/yasnippet/snippets/css-mode/.yas-parents
new file mode 100644
index 0000000..eed5b44
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/.yas-parents
@@ -0,0 +1 @@
+text-mode
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/bg b/emacs.d/lisp/yasnippet/snippets/css-mode/bg
new file mode 100644
index 0000000..d731807
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/bg
@@ -0,0 +1,3 @@
+#name : background-color: ...
+# --
+background-color: #${1:DDD}; \ No newline at end of file
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/bg.1 b/emacs.d/lisp/yasnippet/snippets/css-mode/bg.1
new file mode 100644
index 0000000..d31f540
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/bg.1
@@ -0,0 +1,3 @@
+#name : background-image: ...
+# --
+background-image: url($1); \ No newline at end of file
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/bor b/emacs.d/lisp/yasnippet/snippets/css-mode/bor
new file mode 100644
index 0000000..eb3a2b4
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/bor
@@ -0,0 +1,3 @@
+#name : border size style color
+# --
+border: ${1:1px} ${2:solid} #${3:999}; \ No newline at end of file
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/cl b/emacs.d/lisp/yasnippet/snippets/css-mode/cl
new file mode 100644
index 0000000..4fc7a8d
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/cl
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : clear: ...
+# --
+clear: $1;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/disp.block b/emacs.d/lisp/yasnippet/snippets/css-mode/disp.block
new file mode 100644
index 0000000..f74ea3c
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/disp.block
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : display: block
+# --
+display: block;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/disp.inline b/emacs.d/lisp/yasnippet/snippets/css-mode/disp.inline
new file mode 100644
index 0000000..30275a8
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/disp.inline
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : display: inline
+# --
+display: inline;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/disp.none b/emacs.d/lisp/yasnippet/snippets/css-mode/disp.none
new file mode 100644
index 0000000..80632a5
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/disp.none
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : display: none
+# --
+display: none;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/ff b/emacs.d/lisp/yasnippet/snippets/css-mode/ff
new file mode 100644
index 0000000..a7352cf
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/ff
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : font-family: ...
+# --
+font-family: $1;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/fs b/emacs.d/lisp/yasnippet/snippets/css-mode/fs
new file mode 100644
index 0000000..c28cdbb
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/fs
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : font-size: ...
+# --
+font-size: ${12px};
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/mar.bottom b/emacs.d/lisp/yasnippet/snippets/css-mode/mar.bottom
new file mode 100644
index 0000000..9672f60
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/mar.bottom
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : margin-bottom: ...
+# --
+margin-bottom: $1;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/mar.left b/emacs.d/lisp/yasnippet/snippets/css-mode/mar.left
new file mode 100644
index 0000000..414353e
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/mar.left
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : margin-left: ...
+# --
+margin-left: $1;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/mar.mar b/emacs.d/lisp/yasnippet/snippets/css-mode/mar.mar
new file mode 100644
index 0000000..13354db
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/mar.mar
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : margin: ...
+# --
+margin: $1;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/mar.margin b/emacs.d/lisp/yasnippet/snippets/css-mode/mar.margin
new file mode 100644
index 0000000..97de70c
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/mar.margin
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : margin top right bottom left
+# --
+margin: ${top} ${right} ${bottom} ${left};
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/mar.right b/emacs.d/lisp/yasnippet/snippets/css-mode/mar.right
new file mode 100644
index 0000000..47a4973
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/mar.right
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : margin-right: ...
+# --
+margin-right: $1;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/mar.top b/emacs.d/lisp/yasnippet/snippets/css-mode/mar.top
new file mode 100644
index 0000000..c805754
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/mar.top
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : margin-top: ...
+# --
+margin-top: $1;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/pad.bottom b/emacs.d/lisp/yasnippet/snippets/css-mode/pad.bottom
new file mode 100644
index 0000000..3b9495e
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/pad.bottom
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : padding-bottom: ...
+# --
+padding-bottom: $1;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/pad.left b/emacs.d/lisp/yasnippet/snippets/css-mode/pad.left
new file mode 100644
index 0000000..ecae515
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/pad.left
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : padding-left: ...
+# --
+padding-left: $1;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/pad.pad b/emacs.d/lisp/yasnippet/snippets/css-mode/pad.pad
new file mode 100644
index 0000000..ee3a682
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/pad.pad
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : padding: ...
+# --
+padding: $1;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/pad.padding b/emacs.d/lisp/yasnippet/snippets/css-mode/pad.padding
new file mode 100644
index 0000000..c1009d3
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/pad.padding
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : padding: top right bottom left
+# --
+padding: ${top} ${right} ${bottom} ${left};
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/pad.right b/emacs.d/lisp/yasnippet/snippets/css-mode/pad.right
new file mode 100644
index 0000000..98a9e12
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/pad.right
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : padding-right: ...
+# --
+padding-right: $1;
diff --git a/emacs.d/lisp/yasnippet/snippets/css-mode/pad.top b/emacs.d/lisp/yasnippet/snippets/css-mode/pad.top
new file mode 100644
index 0000000..34987f6
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/css-mode/pad.top
@@ -0,0 +1,4 @@
+#contributor : rejeep <johan.rejeep@gmail.com>
+#name : padding-top: ...
+# --
+padding-top: $1;