aboutsummaryrefslogtreecommitdiff
path: root/js/panels/presets/default-style-presets.js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-02-22 16:26:41 -0800
committerArmen Kesablyan2012-02-22 16:26:41 -0800
commit0bd1cefea2ab350fad1a891bdc926053b799aafc (patch)
tree962f559fcc02a3dfeb297d59907e40fa153453f3 /js/panels/presets/default-style-presets.js
parent695bc5082f48dddf66ce31480a4faefc067b38bd (diff)
parent2d2b1af8b5c0d506fe6a1cf65614101fec145970 (diff)
downloadninja-0bd1cefea2ab350fad1a891bdc926053b799aafc.tar.gz
Merge branch 'refs/heads/master' into new-tool-icons
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