aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/bluemoon
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-02 18:00:45 -0800
committerJose Antonio Marquez2012-02-02 18:00:45 -0800
commit04d89daed90c35a4393773ca2e2d0ac3a4c15cd4 (patch)
treed0041abc7379ef38b20cce148e5dea6f531b8569 /node_modules/montage/ui/bluemoon
parent4d8306b638c53899403a4f0328c02bf1ab893e8f (diff)
parentc630ead20487c3948fa36448d3e7d5f7b5cba782 (diff)
downloadninja-04d89daed90c35a4393773ca2e2d0ac3a4c15cd4.tar.gz
Merge branch 'refs/heads/NinjaInternal' into FileIO
Conflicts: .gitignore js/ninja.reel/ninja.js
Diffstat (limited to 'node_modules/montage/ui/bluemoon')
-rw-r--r--node_modules/montage/ui/bluemoon/button-group.reel/button-group.css111
-rw-r--r--node_modules/montage/ui/bluemoon/button-group.reel/button-group.html26
-rw-r--r--node_modules/montage/ui/bluemoon/button-group.reel/button-group.js77
-rw-r--r--node_modules/montage/ui/bluemoon/button.reel/button.css386
-rw-r--r--node_modules/montage/ui/bluemoon/button.reel/button.html26
-rw-r--r--node_modules/montage/ui/bluemoon/button.reel/button.js743
-rw-r--r--node_modules/montage/ui/bluemoon/checkbox.reel/checkbox.css116
-rw-r--r--node_modules/montage/ui/bluemoon/checkbox.reel/checkbox.html14
-rw-r--r--node_modules/montage/ui/bluemoon/checkbox.reel/checkbox.js452
-rw-r--r--node_modules/montage/ui/bluemoon/checkbox.reel/checkmark-dark-disabled.svg5
-rw-r--r--node_modules/montage/ui/bluemoon/checkbox.reel/checkmark-dark.svg7
-rw-r--r--node_modules/montage/ui/bluemoon/checkbox.reel/checkmark-light-disabled.svg5
-rw-r--r--node_modules/montage/ui/bluemoon/checkbox.reel/checkmark.svg7
-rw-r--r--node_modules/montage/ui/bluemoon/progress.reel/progress.css51
-rwxr-xr-xnode_modules/montage/ui/bluemoon/progress.reel/progress.html32
-rw-r--r--node_modules/montage/ui/bluemoon/progress.reel/progress.js139
-rw-r--r--node_modules/montage/ui/bluemoon/progress.reel/rule.pngbin0 -> 956 bytes
-rw-r--r--node_modules/montage/ui/bluemoon/progress.reel/scroll.pngbin0 -> 272 bytes
-rw-r--r--node_modules/montage/ui/bluemoon/slider.reel/slider.css255
-rw-r--r--node_modules/montage/ui/bluemoon/slider.reel/slider.html82
-rw-r--r--node_modules/montage/ui/bluemoon/slider.reel/slider.js583
-rw-r--r--node_modules/montage/ui/bluemoon/textarea.reel/textarea.css36
-rw-r--r--node_modules/montage/ui/bluemoon/textarea.reel/textarea.html15
-rw-r--r--node_modules/montage/ui/bluemoon/textarea.reel/textarea.js29
-rw-r--r--node_modules/montage/ui/bluemoon/textfield.reel/textfield.css35
-rw-r--r--node_modules/montage/ui/bluemoon/textfield.reel/textfield.html16
-rw-r--r--node_modules/montage/ui/bluemoon/textfield.reel/textfield.js56
-rw-r--r--node_modules/montage/ui/bluemoon/toggle.reel/toggle.css162
-rw-r--r--node_modules/montage/ui/bluemoon/toggle.reel/toggle.html16
-rw-r--r--node_modules/montage/ui/bluemoon/toggle.reel/toggle.js423
30 files changed, 3905 insertions, 0 deletions
diff --git a/node_modules/montage/ui/bluemoon/button-group.reel/button-group.css b/node_modules/montage/ui/bluemoon/button-group.reel/button-group.css
new file mode 100644
index 00000000..9491f3db
--- /dev/null
+++ b/node_modules/montage/ui/bluemoon/button-group.reel/button-group.css
@@ -0,0 +1,111 @@
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.montage-button-group {
7
8}
9
10.montage-button-group.small > .montage-button,
11.montage-button-group.small > .montage-button:before {
12 font-size: 12px;
13 border-radius: 16px;
14 padding: 1px 18px 0 18px;
15 height: 26px;
16 line-height: 26px;
17}
18
19.montage-button-group.small > .montage-button.submit,
20.montage-button-group.small > .montage-button.cancel {
21 height: 21px;
22 line-height: 21px;
23}
24
25.montage-button-group.small > .montage-button.disabled,
26.montage-button-group.small > .montage-button.disabled:before {
27 height: 28px;
28 line-height: 28px;
29}
30
31.montage-button-group.small > .montage-button.submit:before,
32.montage-button-group.small > .montage-button.cancel:before {
33 height: 24px;
34}
35
36.montage-button-group > .montage-button.submit,
37.montage-button-group > .montage-button.cancel {
38 height: 42px;
39 line-height: 42px;
40}
41
42.montage-button-group > .montage-button:not(:first-child):not(:last-child),
43.montage-button-group > .montage-button.submit:not(:first-child):not(:last-child),
44.montage-button-group > .montage-button.cancel:not(:first-child):not(:last-child),
45.montage-button-group > .montage-button:not(:first-child):not(:last-child):before,
46.montage-button-group > .montage-button:not(:first-child):not(:last-child):after {
47 border-radius: 0;
48}
49
50.montage-button-group > .montage-button:first-child:not(:last-child),
51.montage-button-group > .montage-button.submit:first-child:not(:last-child),
52.montage-button-group > .montage-button.cancel:first-child:not(:last-child),
53.montage-button-group > .montage-button:first-child:not(:last-child):before,
54.montage-button-group > .montage-button:first-child:not(:last-child):after {
55 border-top-right-radius: 0;
56 border-bottom-right-radius: 0;
57}
58
59.montage-button-group > .montage-button:last-child:not(:first-child),
60.montage-button-group > .montage-button.submit:last-child:not(:first-child),
61.montage-button-group > .montage-button.cancel:last-child:not(:first-child),
62.montage-button-group > .montage-button:last-child:not(:first-child):before,
63.montage-button-group > .montage-button:last-child:not(:first-child):after {
64 border-top-left-radius: 0;
65 border-bottom-left-radius: 0;
66}
67
68.montage-button-group > .montage-button:not(:first-child) {
69 margin-left: -3px;
70}
71
72/* Icon handling */
73
74.montage-button-group.small > .montage-button.text.icon > img,
75.montage-button-group.small > .montage-button.submit.icon > img,
76.montage-button-group.small > .montage-button.cancel.icon > img {
77 float: left;
78 margin-left: -4px;
79 margin-right: 4px;
80 margin-top: 0;
81 height: 20px;
82 width: 20px;
83}
84
85.montage-button-group.small > .montage-button.text.icon > img {
86 margin-top: 2px;
87}
88
89.montage-button-group.iconic > .montage-button.text.icon,
90.montage-button-group.iconic > .montage-button.submit.icon,
91.montage-button-group.iconic > .montage-button.cancel.icon {
92 text-indent: -9999px;
93 width: 26px;
94 padding-left: 14px;
95 padding-right: 14px;
96}
97
98.montage-button-group.small.iconic > .montage-button.text.icon,
99.montage-button-group.small.iconic > .montage-button.submit.icon,
100.montage-button-group.small.iconic > .montage-button.cancel.icon {
101 width: 20px;
102 padding-left: 10px;
103 padding-right: 10px;
104}
105
106.montage-button-group.iconic > .montage-button.text.icon > img,
107.montage-button-group.iconic > .montage-button.submit.icon > img,
108.montage-button-group.iconic > .montage-button.cancel.icon > img {
109 margin-left: 0;
110 margin-right: 0;
111}
diff --git a/node_modules/montage/ui/bluemoon/button-group.reel/button-group.html b/node_modules/montage/ui/bluemoon/button-group.reel/button-group.html
new file mode 100644
index 00000000..4bda1401
--- /dev/null
+++ b/node_modules/montage/ui/bluemoon/button-group.reel/button-group.html
@@ -0,0 +1,26 @@
1<!DOCTYPE html>
2<!-- <copyright>
3 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
4 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
5 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
6 </copyright> -->
7<html>
8 <head>
9 <title></title>
10 <link rel="stylesheet" type="text/css" href="button-group.css">
11 <script type="text/montage-serialization">
12{
13 "owner": {
14 "module": "montage/ui/bluemoon/button-group.reel",
15 "name": "ButtonGroup",
16 "properties": {
17
18 }
19 }
20}
21 </script>
22
23 </head>
24<body>
25</body>
26</html>
diff --git a/node_modules/montage/ui/bluemoon/button-group.reel/button-group.js b/node_modules/montage/ui/bluemoon/button-group.reel/button-group.js
new file mode 100644
index 00000000..6f69744f
--- /dev/null
+++ b/node_modules/montage/ui/bluemoon/button-group.reel/button-group.js
@@ -0,0 +1,77 @@
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/**
7 @module "montage/ui/bluemoon/button-group.reel"
8 @requires montage/core/core
9 @requires "ui/component-group.reel"
10*/
11var Montage = require("montage").Montage,
12 ComponentGroup = require("ui/component-group.reel").ComponentGroup;
13
14