aboutsummaryrefslogtreecommitdiff
path: root/js/panels/presets/default-style-presets.js
diff options
context:
space:
mode:
authorEric Guzman2012-02-13 13:38:16 -0800
committerEric Guzman2012-02-13 13:38:16 -0800
commit6dc5d31b201d3578bf17b4f1fa7b1b9865d46153 (patch)
tree153d33bad1c012cbde019641705371141b96465a /js/panels/presets/default-style-presets.js
parente46ab1a8e19f66de6eca68225d9e8b4cba8f90e8 (diff)
downloadninja-6dc5d31b201d3578bf17b4f1fa7b1b9865d46153.tar.gz
Style Presets - Separate out the style preset data to new file
Diffstat (limited to 'js/panels/presets/default-style-presets.js')
-rw-r--r--js/panels/presets/default-style-presets.js52
1 files changed, 52 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..7455ac9f
--- /dev/null
+++ b/js/panels/presets/default-style-presets.js
@@ -0,0 +1,52 @@
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 "classNameBase" : "border-radius",
15 "styles" : {
16 "border-radius": "100px",
17 "border" : "1px solid #333"
18 }
19 },
20 {
21 "text": "Drop Shadow",
22 "classNameBase" : "drop-shadow",
23 "styles" : {
24 "box-shadow": "2px 2px 50px rgba(0,0,0,0.5)",
25 "border" : "1px solid #CCC"
26 }
27 },
28 {
29 "text": "Fancy Box",
30 "classNameBase" : "fancy-box",
31 "styles" : {
32 "box-shadow": "inset 0 0 0 1px #666, inset 0 0 0 2px rgba(225, 225, 225, 0.4), 0 0 20px -10px #333",
33 "border" : "1px solid #FFF",
34 "border-radius": "30px",
35 "background-color": "#7db9e8",
36 "background-image": "-webkit-linear-gradient(top, rgba(255,255,255,0.74) 0%,rgba(255,255,255,0) 100%)"
37 }
38 }]
39 }, {
40 "text": "Text Styles",
41 "children": [
42 { "text": "Italic" },
43 { "text": "Text Shadow" },
44 { "text": "Text Color" } ]
45 }, {
46 "text": "Color Styles",
47 "children": [
48 { "text": "Background Gradient" },
49 { "text": "Background Color" },
50 { "text": "Text Highlight" } ]
51 }]
52}; \ No newline at end of file