aboutsummaryrefslogtreecommitdiff
path: root/js/panels/presets/default-style-presets.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-17 00:20:42 -0800
committerJose Antonio Marquez2012-02-17 00:20:42 -0800
commit7e9c50aaa9774f1c8840e19d831ed2e7bfd9f61f (patch)
tree0a51be74f0d5b1f6c740cd1a9c79e00624a0c0af /js/panels/presets/default-style-presets.js
parent9fe5d98bf469036c856e28d71ad4160d630b4af4 (diff)
parent18a42c37d080c03830c3f0a4156b81044e6309ee (diff)
downloadninja-7e9c50aaa9774f1c8840e19d831ed2e7bfd9f61f.tar.gz
Merge branch 'refs/heads/NinjaInternal' into Color
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