diff options
author | Jose Antonio Marquez | 2012-02-28 13:33:31 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-28 13:33:31 -0800 |
commit | 3a25881b3a463e4f695be2f663f141710ba1d1c1 (patch) | |
tree | 657d55ad394de168dd627cf89b875906d10584e2 /js/panels/Timeline/PropertyTrack.reel | |
parent | d764428023d87446fbbb153d8e04a23b900d71d5 (diff) | |
parent | 7c9291a5bab4abd849547f8878f6fb962fc88250 (diff) | |
download | ninja-3a25881b3a463e4f695be2f663f141710ba1d1c1.tar.gz |
Merge branch 'refs/heads/NinjaInternal' into Color
Diffstat (limited to 'js/panels/Timeline/PropertyTrack.reel')
-rw-r--r-- | js/panels/Timeline/PropertyTrack.reel/PropertyTrack.html | 29 | ||||
-rw-r--r-- | js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js | 21 | ||||
-rw-r--r-- | js/panels/Timeline/PropertyTrack.reel/css/PropertyTrack.css | 19 | ||||
-rw-r--r-- | js/panels/Timeline/PropertyTrack.reel/images/gridline.jpg | bin | 0 -> 724 bytes | |||
-rw-r--r-- | js/panels/Timeline/PropertyTrack.reel/scss/PropertyTrack.scss | 28 | ||||
-rw-r--r-- | js/panels/Timeline/PropertyTrack.reel/scss/config.rb | 9 |
6 files changed, 106 insertions, 0 deletions
diff --git a/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.html b/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.html new file mode 100644 index 00000000..01cad6cb --- /dev/null +++ b/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.html | |||
@@ -0,0 +1,29 @@ | |||
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 lang="en"> | ||
8 | <head> | ||
9 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
10 | <link rel="stylesheet" type="text/css" href="css/PropertyTrack.css"> | ||
11 | <script type="text/montage-serialization"> | ||
12 | { | ||
13 | "owner": { | ||
14 | "module": "js/panels/Timeline/PropertyTrack.reel", | ||
15 | "name": "PropertyTrack", | ||
16 | "properties": { | ||
17 | "element": {"#": "property-track"} | ||
18 | } | ||
19 | } | ||
20 | |||
21 | } | ||
22 | </script> | ||
23 | </head> | ||
24 | <body> | ||
25 | |||
26 | <div id="property-track" class="timeline-track"></div> | ||
27 | |||
28 | </body> | ||
29 | </html> \ No newline at end of file | ||
diff --git a/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js b/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js new file mode 100644 index 00000000..175b77f9 --- /dev/null +++ b/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js | |||
@@ -0,0 +1,21 @@ | |||
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 | var Montage = require("montage/core/core").Montage; | ||
8 | var Component = require("montage/ui/component").Component; | ||
9 | |||
10 | var PropertyTrack = exports.PropertyTrack = Montage.create(Component, { | ||
11 | |||
12 | hasTemplate:{ | ||
13 | value: true | ||
14 | }, | ||
15 | |||
16 | prepareForDraw:{ | ||
17 | value:function(){ | ||
18 | |||
19 | } | ||
20 | } | ||
21 | }); | ||
diff --git a/js/panels/Timeline/PropertyTrack.reel/css/PropertyTrack.css b/js/panels/Timeline/PropertyTrack.reel/css/PropertyTrack.css new file mode 100644 index 00000000..cb119a14 --- /dev/null +++ b/js/panels/Timeline/PropertyTrack.reel/css/PropertyTrack.css | |||
@@ -0,0 +1,19 @@ | |||
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 | /* PropertyTrack.scss | ||
7 | * Main SCSS file for PropertyTrack component, compiled by SASS into the file css/PropertyTrack.css. | ||
8 | */ | ||
9 | /* line 19, ../scss/PropertyTrack.scss */ | ||
10 | .content-main .collapsible-content .timeline-track { | ||
11 | height: 20px; | ||
12 | border-bottom: 1px solid #505050; | ||
13 | background-image: url("../images/gridline.jpg"); | ||
14 | } | ||
15 | |||
16 | /* line 26, ../scss/PropertyTrack.scss */ | ||
17 | .timeline-track .content-main { | ||
18 | background-color: #474747; | ||
19 | } | ||
diff --git a/js/panels/Timeline/PropertyTrack.reel/images/gridline.jpg b/js/panels/Timeline/PropertyTrack.reel/images/gridline.jpg new file mode 100644 index 00000000..9f451b0a --- /dev/null +++ b/js/panels/Timeline/PropertyTrack.reel/images/gridline.jpg | |||
Binary files differ | |||
diff --git a/js/panels/Timeline/PropertyTrack.reel/scss/PropertyTrack.scss b/js/panels/Timeline/PropertyTrack.reel/scss/PropertyTrack.scss new file mode 100644 index 00000000..c7ae6f0c --- /dev/null +++ b/js/panels/Timeline/PropertyTrack.reel/scss/PropertyTrack.scss | |||
@@ -0,0 +1,28 @@ | |||
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 | /* PropertyTrack.scss | ||
8 | * Main SCSS file for PropertyTrack component, compiled by SASS into the file css/PropertyTrack.css. | ||
9 | */ | ||
10 | |||
11 | // Import theme settings | ||
12 | @import "../../../../../scss/imports/themes/default/colors"; | ||
13 | @import "../../../../../scss/imports/themes/default/mixins"; | ||
14 | |||
15 | // Import generic mixins and styles | ||
16 | @import "../../../../../scss/imports/scss/mixins"; | ||
17 | |||
18 | |||
19 | .content-main .collapsible-content .timeline-track { | ||
20 | height: 20px; | ||
21 | border-bottom: 1px solid $color-menu-divider; | ||
22 | background-image: url("../images/gridline.jpg"); | ||
23 | } | ||
24 | |||
25 | |||
26 | .timeline-track .content-main { | ||
27 | background-color: $color-menu-bg; | ||
28 | } | ||
diff --git a/js/panels/Timeline/PropertyTrack.reel/scss/config.rb b/js/panels/Timeline/PropertyTrack.reel/scss/config.rb new file mode 100644 index 00000000..e5a99b70 --- /dev/null +++ b/js/panels/Timeline/PropertyTrack.reel/scss/config.rb | |||
@@ -0,0 +1,9 @@ | |||
1 | # Require any additional compass plugins here. | ||
2 | # Set this to the root of your project when deployed: | ||
3 | http_path = "/" | ||
4 | css_dir = "../css" | ||
5 | sass_dir = "" | ||
6 | images_dir = "../images/" | ||
7 | javascripts_dir = "../js" | ||
8 | # To enable relative paths to assets via compass helper functions. Uncomment: | ||
9 | # relative_assets = true | ||