aboutsummaryrefslogtreecommitdiff
path: root/js/panels/presets/default-style-presets.js
diff options
context:
space:
mode:
authorPushkar Joshi2012-02-24 12:08:49 -0800
committerPushkar Joshi2012-02-24 12:08:49 -0800
commit03ca7a5ed13c25faaa9100bb666e062fd15335e6 (patch)
treec51112223ceb9121cd595a60335eb2795215590f /js/panels/presets/default-style-presets.js
parentfcb12cc09eb3cd3b42bd215877ba18f449275b75 (diff)
parent053fc63a2950c7a5ee4ebf98033b64d474a3c46e (diff)
downloadninja-03ca7a5ed13c25faaa9100bb666e062fd15335e6.tar.gz
Merge branch 'pentool' into brushtool
Conflicts: imports/codemirror/mode/scheme/scheme.js js/tools/BrushTool.js
Diffstat (limited to 'js/panels/presets/default-style-presets.js')
-rw-r--r--js/panels/presets/default-style-presets.js72
1 files changed, 72 insertions, 0 deletions
diff --git a/js/panels/presets/default-style-presets.js b/js/panels/presets/default-style-presets.js
new file mode 100644
index 00000000..3677d976
--- /dev/null
+++ b/js/panels/presets/default-style-presets.js
@@ -0,0 +1,72 @@
1/* <copyright>
2 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */
6
7exports.stylePresets = {
8 "text": "Style Presets Library",
9 "children": [{
10 "text": "Box Styles",
11 "children": [
12 {
13 "text": "Border-Radius",
14 "selectorBase" : "border-radius-preset",
15 "rules" : [{
16 "selectorSuffix" : "",
17 "styles" : {
18 "border-radius": "100px",
19 "border" : "1px solid #333"
20 }
21 }]
22 },
23 {
24 "text": "Drop Shadow",
25 "selectorBase" : "drop-shadow",
26 "rules" : [{
27 "selectorSuffix" : "",
28 "styles" : {
29 "box-shadow": "2px 2px 50px rgba(0,0,0,0.5)",
30 "border" : "1px solid #CCC"
31 }
32 }]
33 },
34 {
35 "text": "Fancy Box",
36 "selectorBase" : "fancy-box",
37 "rules" : [{
38 "selectorSuffix" : "",
39 "styles" : {
40 "box-shadow": "inset 0 0 0 1px #666, inset 0 0 0 2px rgba(225, 225, 225, 0.4), 0 0 20px -10px #333",
41 "border" : "1px solid #FFF",
42 "border-radius": "30px",
43 "background-color": "#7db9e8",
44 "background-image": "-webkit-linear-gradient(top, rgba(255,255,255,0.74) 0%,rgba(255,255,255,0) 100%)"
45 }
46 }]
47 }]
48 }, {
49 "text": "Font Styles",
50 "children": [
51 {
52 "text": "Italic",
53 "selectorBase" : "italicize",
54 "rules" : [{
55 "selectorSuffix" : "",
56 "styles" : {
57 "font-style": "italic"
58 }
59 }]
60 },
61 {
62 "text": "Text Shadow",
63 "selectorBase" : "italicize",
64 "rules" : [{
65 "selectorSuffix" : "",
66 "styles" : {
67 "text-shadow": "1px 1px 3px #333"
68 }
69 }]
70 }]
71 }]
72}; \ No newline at end of file