annotate style.css @ 2:683f56999fb3

'DOMNodeFocused' pseudo-event + Mutation Event Demo
author Fabien Cazenave <fabien@cazenave.cc>
date Mon, 19 Dec 2011 18:50:06 +0100
parents eb3679d92996
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
1 html {
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
2 background: #111;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
3 color: #eee;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
4 font-family: sans-serif;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
5 font-size: 12px;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
6 }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
7 body {
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
8 margin: 1em auto;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
9 padding: 5px 20px;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
10 width: 600px;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
11 background: #eee;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
12 color: #111;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
13 border: 2px solid #eee;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
14 overflow: auto;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
15 }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
16 *[contenteditable] {
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
17 margin: 1em 0;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
18 padding: 10px;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
19 background: #fff;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
20 color: #111;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
21 border: 1px solid #ddd;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
22 outline: none;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
23 resize: both;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
24 }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
25 #execCommand {
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
26 padding-left: 5em;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
27 min-height: 1em;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
28 line-height: 1em;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
29 color: #555;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
30 }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
31 footer {
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
32 border-top: 1px solid #ccc;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
33 }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
34 #toolbar {
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
35 border-bottom: 1px solid #ccc;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
36 }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
37 #toolbar dt {
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
38 float: left;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
39 clear: both;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
40 width: 5em;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
41 line-height: 24px;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
42 }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
43 #toolbar dd {
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
44 line-height: 24px;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
45 }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
46 #toolbar input {
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
47 /* toolbar images taken from CKEditor */
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
48 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAUPCAMAAACIlZC6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAMAUExURQAAAB5DQ///AANNxxU+PpiYmPeRKwMwMFPsYh0fojMzMw04OKQKABk3LLAOABwipq/V89jY2SgroVRXqSczrvGxU5WxHyVGRvz8/P9nAe3XW+yUJNQ6ARxCQstVBpWYyLkWAARY9FGP7Pt9DscmAmmd7uDcr2turz9Cpd53CHHI6YWIvN/e7A+bA42ANXuq8WdeNHGVDvfHCydFxRE7O/GRHP8AAJHU7vDw8tK5nxg/QPz//09xBgQYhu/oyMKBcNpoDaOkpPdeK4okAE9lx+LHwhY+Phhp7s/n5rrLeBJOzy5KSlTuYNx2GPCKV09SQ7uveB9l3LpXROrq7Q1Fy/f397/b2aeorMBIOAAzzP79Avz8A+iHGAY4x7rA3VHsXpC49OLg6gUyMv/+AefZ1DVNTIiIiPj7+jNMTAEhXUTdU/LuDObm5t3YEqusrP7+Avf153h4d8ubgPaPFjFKTylIRfaiNh1BR+biEzFMSCFERHJycpqamnqtZxk+Tvj18w4VnfDl4rdqUnd4cQAgqDxKQAIsvwIlT62toT5QUAA5OaenrPDuEQgzsA4qYCJCRKGhnvz7BAc3vxQ9PQpD0BQ8QDmB7a2trSRFRUBRUf///x0eoODg4JeXlwxxtrS2tvmbI3QxDf6RBJu/9dJtACJf5TFLSyNESYiXpidHR/7+/r+/wJStsQw3N3CXr3R5gWyZ01ZYWF1td8fjyO26bPn5+RtBQR6W1whGox1bs6auuP+ZAE7C7EVzjmhoaPLamjec093p2LqSVXh4eJe565+fnxQ8P/aXHsrKyqBYH8TY+DFo2ztPT2Ryij5PWy+15xU7Q/+UAn5+fQAzM6uxzf7+9hNb2hsalYWMkQ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BoNE+kjyB2xpzjpgXGJtZfIlLqsY/2eSJyEfYEYTJm5rPi9rBc0GJlU1Pgtwg5LM5+V05lTYYriEZYhd7JWfIrAAfdyDAZcL0BBXuGh4NISiKIpUWpfLBSgqKQBcgKJcAQI4auFnpVzZG5bR9MzOZe1+Xsw5e9kN5/ziCQfS5RU7YMSmAHYXu4ghA5gK3HjLlQuw52LUAcSFJwZGpStRDoXo+uic58LlXN5dGGOMc4KMgTl9eHH06nIevbqcR688vGtum06DuZy7tVxgNomwz1p7ZeJwY0oArtk1fVoww6ZPSk3IH7C1ZCb7Wxfb37r45+CyxckHmOkBand3d7dtPGBsWCAej9tAPI7jcWmQTsbj8fikYRj6pCiCJ+nv5XTLwJAAxpP0YkHcAvT3ciyAu3Vd17slgLvj8Xic/l7OJP+9nDj7vZxJflE9zn4vp5tano/a6GkP6wmgWCwWU9grB1sUiMViDwiwRVEYZmSLxwMQ22J9r/iRAgAQs75nKNJrNn/OrY0t4Zbf5vAB2tgDX/TNUsQdMeJx8YSY2DFkA9ZuiW+PS0+McZCxV5nOv64715n4th1hZg9+lxJ0HfKR+TihE9x8+bCeOeI3iE//3Fh69kEzHxzLKJKefUuna9lneJBMVJP1ea3f2aCO02bTn1EDJYfK/hiYDZiyjj85ZXtyzIQsj5JdWzvytYfKVz5MB8h8asyZD6aQ8mHCHOejuaGp6dAu4a5vbn79cP/RQ489xsCex5qvNDU1Hdx1iN7gcGV9c3+ov7+/6fAhKuk/crB+PNTU9KvDzc2vAwCMj49fuXKlvz9Uv6/5pwAAe/f2n2pubj4Y6m86fBAAYPzD8T3NjXuunAj1hwAAYHzv3l80Nu/pH+9f9Sta7Yd7+xtP9Y+Pj/fzlo3vbd7z4fj4uGjqpxfGL4yPX/glc1/baQQHT548EDSCr3DJa7tf3b17924AgP8bADsP4s1ClpYJAAAAAElFTkSuQmCC);
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
49 height: 20px;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
50 width: 20px;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
51 }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
52 #toolbar *[disabled] {
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
53 opacity: 0.5;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
54 }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
55 #toolbar *[data-command="increaseFontSize"],
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
56 #toolbar *[data-command="decreaseFontSize"] {
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
57 background-image: none;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
58 }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
59 #toolbar *[type="checkbox"] {
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
60 margin: 0;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
61 padding: 0;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
62 vertical-align: middle;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
63 background-image: none;
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
64 }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
65 *[data-command="cut"] { background-position: 0 -96px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
66 *[data-command="copy"] { background-position: 0 -112px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
67 *[data-command="paste"] { background-position: 0 -128px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
68 *[data-command="undo"] { background-position: 0 -208px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
69 *[data-command="redo"] { background-position: 0 -224px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
70 *[data-command="bold"] { background-position: 0 -304px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
71 *[data-command="italic"] { background-position: 0 -320px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
72 *[data-command="underline"] { background-position: 0 -336px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
73 *[data-command="strikeThrough"] { background-position: 0 -352px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
74 *[data-command="subscript"] { background-position: 0 -368px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
75 *[data-command="superscript"] { background-position: 0 -384px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
76 *[data-command="insertOrderedList"] { background-position: 0 -400px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
77 *[data-command="insertUnorderedList"] { background-position: 0 -416px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
78 *[data-command="outdent"] { background-position: 0 -432px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
79 *[data-command="indent"] { background-position: 0 -448px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
80 *[data-command="justifyLeft"] { background-position: 0 -464px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
81 *[data-command="justifyCenter"] { background-position: 0 -480px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
82 *[data-command="justifyRight"] { background-position: 0 -496px; }
eb3679d92996 put JS and CSS code in separated files
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
83 *[data-command="justifyFull"] { background-position: 0 -512px; }