aboutsummaryrefslogtreecommitdiff
path: root/js/panels/presets/default-style-presets.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-16 16:11:28 -0800
committerValerio Virgillito2012-02-16 16:11:28 -0800
commit014d5bd8f7a1a6271ab08d76f26dbf5148425569 (patch)
tree9fc463f534f17e2ff899fc64235943af89ec9a94 /js/panels/presets/default-style-presets.js
parentbe0318ed92d1fbc853568648f773322401d9c029 (diff)
parentfa51b9cf6c034313c10cf2963e720feeeabcfc4a (diff)
downloadninja-014d5bd8f7a1a6271ab08d76f26dbf5148425569.tar.gz
Merge pull request #46 from ericguzman/PresetsPanel
Presets panel initial merge into master
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