From b89a7ee8b956c96a1dcee995ea840feddc5d4b27 Mon Sep 17 00:00:00 2001 From: Pierre Frisch Date: Thu, 22 Dec 2011 07:25:50 -0800 Subject: First commit of Ninja to ninja-internal Signed-off-by: Valerio Virgillito --- .../ui/loading-panel.reel/loading-panel.css | 37 +++++++++ .../ui/loading-panel.reel/loading-panel.html | 89 ++++++++++++++++++++++ .../montage/ui/loading-panel.reel/loading-panel.js | 38 +++++++++ 3 files changed, 164 insertions(+) create mode 100755 node_modules/montage/ui/loading-panel.reel/loading-panel.css create mode 100755 node_modules/montage/ui/loading-panel.reel/loading-panel.html create mode 100755 node_modules/montage/ui/loading-panel.reel/loading-panel.js (limited to 'node_modules/montage/ui/loading-panel.reel') diff --git a/node_modules/montage/ui/loading-panel.reel/loading-panel.css b/node_modules/montage/ui/loading-panel.reel/loading-panel.css new file mode 100755 index 00000000..9a82a320 --- /dev/null +++ b/node_modules/montage/ui/loading-panel.reel/loading-panel.css @@ -0,0 +1,37 @@ +/* + This file contains proprietary software owned by Motorola Mobility, Inc.
+ No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+ (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ + +/* disabled for now */ +.montage-loading-panel > .loadingIndicator { + display: none; +} + +.montage-loading-panel { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + background-color: hsl(0,0%,0%); + display: -webkit-box; + -webkit-box-pack: center; + -webkit-box-align: center; +} + +.montage-loading-panel > .loadingCount { + width: 200px; + height: 200px; + border-radius: 50%; + text-align: center; + color: #fff; + font: 40px/200px "Lucida Grande", Lucida, Verdana, sans-serif; + text-shadow: 0 0px 6px hsla(200,100%,50%,.6); + -webkit-box-shadow: inset 0px 0px 0 5px hsl(200,0%,10%); +} + +.montage-loading-panel > .loadingCount > .divider { + color: hsl(200,100%,50%); +} diff --git a/node_modules/montage/ui/loading-panel.reel/loading-panel.html b/node_modules/montage/ui/loading-panel.reel/loading-panel.html new file mode 100755 index 00000000..ccd6d9bd --- /dev/null +++ b/node_modules/montage/ui/loading-panel.reel/loading-panel.html @@ -0,0 +1,89 @@ + + + + + + Loading Panel + + + + + + + + +
+
+
+ 0/0 +
+
+ + + diff --git a/node_modules/montage/ui/loading-panel.reel/loading-panel.js b/node_modules/montage/ui/loading-panel.reel/loading-panel.js new file mode 100755 index 00000000..61bde475 --- /dev/null +++ b/node_modules/montage/ui/loading-panel.reel/loading-panel.js @@ -0,0 +1,38 @@ +/* + This file contains proprietary software owned by Motorola Mobility, Inc.
+ No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+ (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ + +/** + @module "montage/ui/loading-panel.reel" +*/ + +var Montage = require("montage").Montage, + Component = require("ui/component").Component; + +/** + @class module:montage/ui/loading-panel.LoadingPanel + @extends module:montage/ui/component.Component + */ + +exports.LoadingPanel = Montage.create(Component, /** @lends module:montage/ui/loading-panel.LoadingPanel# */ { + +/** + The number of modules that are required to load. +*/ + requiredModuleCount: { + enumerable: false, + value: 0 + }, + +/** + The number of modules that have been initialized. +*/ + initializedModuleCount: { + enumerable: false, + value: 0 + } + + +}); -- cgit v1.2.3