diff options
author | Valerio Virgillito | 2012-02-02 00:11:51 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-02 15:33:42 -0800 |
commit | a3024011a91d3941f81481dd4d600e9684eb0fd4 (patch) | |
tree | 084b4856910f1db53973dd11617f7ffa03a6dd46 /node_modules/montage/ui/bluemoon | |
parent | 97255032921178bdfbc25512ddf3e0867e353f7a (diff) | |
download | ninja-a3024011a91d3941f81481dd4d600e9684eb0fd4.tar.gz |
upgrading to Montage v0.6
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/bluemoon')
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 | */ | ||
11 | var Montage = require("montage").Montage, | ||
12 | ComponentGroup = require("ui/component-group.reel").ComponentGroup; | ||