aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop
diff options
context:
space:
mode:
authorseshukm <seshu.kumar.m@huawei.com>2017-03-06 10:23:16 +0530
committerseshukm <seshu.kumar.m@huawei.com>2017-03-06 10:23:16 +0530
commit663394f188c4460ad889b70a82557db0f9754032 (patch)
tree09d5bea2b0684b5752f5cd8f74e1f3f4ffaa740a /vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop
parent194d6e19da729265130123b6638e0f57589c9367 (diff)
thirdparty files updated for the vnf market place
IssueId : CLIENT-4 Change-Id: Id58c2d11985bda35dc482b122dc404aea2e477da Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop')
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop-default-theme.css10
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop-default-theme.min.css6
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.css42
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.js93
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.min.css6
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.min.js7
6 files changed, 164 insertions, 0 deletions
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop-default-theme.css b/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop-default-theme.css
new file mode 100644
index 00000000..0e560222
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop-default-theme.css
@@ -0,0 +1,10 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.3
+ */
+md-backdrop {
+ background-color: '{{background-900-0.0}}'; }
+ md-backdrop.md-opaque.md-THEME_NAME-theme {
+ background-color: '{{background-900-1.0}}'; }
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop-default-theme.min.css b/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop-default-theme.min.css
new file mode 100644
index 00000000..f557119b
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop-default-theme.min.css
@@ -0,0 +1,6 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.2-master-a9ba340
+ */md-backdrop{background-color:"{{background-900-0.0}}"}md-backdrop.md-opaque.md-THEME_NAME-theme{background-color:"{{background-900-1.0}}"} \ No newline at end of file
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.css b/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.css
new file mode 100644
index 00000000..eb32d410
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.css
@@ -0,0 +1,42 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.3
+ */
+md-backdrop {
+ -webkit-transition: opacity 450ms;
+ transition: opacity 450ms;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ z-index: 50; }
+ md-backdrop.md-menu-backdrop {
+ position: fixed !important;
+ z-index: 99; }
+ md-backdrop.md-select-backdrop {
+ z-index: 81;
+ -webkit-transition-duration: 0;
+ transition-duration: 0; }
+ md-backdrop.md-dialog-backdrop {
+ z-index: 79; }
+ md-backdrop.md-bottom-sheet-backdrop {
+ z-index: 69; }
+ md-backdrop.md-sidenav-backdrop {
+ z-index: 59; }
+ md-backdrop.md-click-catcher {
+ position: absolute; }
+ md-backdrop.md-opaque {
+ opacity: .48; }
+ md-backdrop.md-opaque.ng-enter {
+ opacity: 0; }
+ md-backdrop.md-opaque.ng-enter.md-opaque.ng-enter-active {
+ opacity: .48; }
+ md-backdrop.md-opaque.ng-leave {
+ opacity: .48;
+ -webkit-transition: opacity 400ms;
+ transition: opacity 400ms; }
+ md-backdrop.md-opaque.ng-leave.md-opaque.ng-leave-active {
+ opacity: 0; }
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.js b/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.js
new file mode 100644
index 00000000..5ace7028
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.js
@@ -0,0 +1,93 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.3
+ */
+goog.provide('ngmaterial.components.backdrop');
+goog.require('ngmaterial.core');
+/*
+ * @ngdoc module
+ * @name material.components.backdrop
+ * @description Backdrop
+ */
+
+/**
+ * @ngdoc directive
+ * @name mdBackdrop
+ * @module material.components.backdrop
+ *
+ * @restrict E
+ *
+ * @description
+ * `<md-backdrop>` is a backdrop element used by other components, such as dialog and bottom sheet.
+ * Apply class `opaque` to make the backdrop use the theme backdrop color.
+ *
+ */
+
+angular
+ .module('material.components.backdrop', ['material.core'])
+ .directive('mdBackdrop', ["$mdTheming", "$mdUtil", "$animate", "$rootElement", "$window", "$log", "$$rAF", "$document", function BackdropDirective($mdTheming, $mdUtil, $animate, $rootElement, $window, $log, $$rAF, $document) {
+ var ERROR_CSS_POSITION = '<md-backdrop> may not work properly in a scrolled, static-positioned parent container.';
+
+ return {
+ restrict: 'E',
+ link: postLink
+ };
+
+ function postLink(scope, element, attrs) {
+ // backdrop may be outside the $rootElement, tell ngAnimate to animate regardless
+ if ($animate.pin) $animate.pin(element, $rootElement);
+
+ var bodyStyles;
+
+ $$rAF(function() {
+ // If body scrolling has been disabled using mdUtil.disableBodyScroll(),
+ // adjust the 'backdrop' height to account for the fixed 'body' top offset.
+ // Note that this can be pretty expensive and is better done inside the $$rAF.
+ bodyStyles = $window.getComputedStyle($document[0].body);
+
+ if (bodyStyles.position === 'fixed') {
+ var resizeHandler = $mdUtil.debounce(function(){
+ bodyStyles = $window.getComputedStyle($document[0].body);
+ resize();
+ }, 60, null, false);
+
+ resize();
+ angular.element($window).on('resize', resizeHandler);
+
+ scope.$on('$destroy', function() {
+ angular.element($window).off('resize', resizeHandler);
+ });
+ }
+
+ // Often $animate.enter() is used to append the backDrop element
+ // so let's wait until $animate is done...
+ var parent = element.parent();
+
+ if (parent.length) {
+ if (parent[0].nodeName === 'BODY') {
+ element.css('position', 'fixed');
+ }
+
+ var styles = $window.getComputedStyle(parent[0]);
+
+ if (styles.position === 'static') {
+ // backdrop uses position:absolute and will not work properly with parent position:static (default)
+ $log.warn(ERROR_CSS_POSITION);
+ }
+
+ // Only inherit the parent if the backdrop has a parent.
+ $mdTheming.inherit(element, parent);
+ }
+ });
+
+ function resize() {
+ var viewportHeight = parseInt(bodyStyles.height, 10) + Math.abs(parseInt(bodyStyles.top, 10));
+ element.css('height', viewportHeight + 'px');
+ }
+ }
+
+ }]);
+
+ngmaterial.components.backdrop = angular.module("material.components.backdrop"); \ No newline at end of file
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.min.css b/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.min.css
new file mode 100644
index 00000000..d6f917f2
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.min.css
@@ -0,0 +1,6 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.2-master-a9ba340
+ */md-backdrop{-webkit-transition:opacity .45s;transition:opacity .45s;position:absolute;top:0;bottom:0;left:0;right:0;z-index:50}md-backdrop.md-menu-backdrop{position:fixed!important;z-index:99}md-backdrop.md-select-backdrop{z-index:81;-webkit-transition-duration:0;transition-duration:0}md-backdrop.md-dialog-backdrop{z-index:79}md-backdrop.md-bottom-sheet-backdrop{z-index:69}md-backdrop.md-sidenav-backdrop{z-index:59}md-backdrop.md-click-catcher{position:absolute}md-backdrop.md-opaque{opacity:.48}md-backdrop.md-opaque.ng-enter{opacity:0}md-backdrop.md-opaque.ng-enter.md-opaque.ng-enter-active{opacity:.48}md-backdrop.md-opaque.ng-leave{opacity:.48;-webkit-transition:opacity .4s;transition:opacity .4s}md-backdrop.md-opaque.ng-leave.md-opaque.ng-leave-active{opacity:0} \ No newline at end of file
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.min.js b/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.min.js
new file mode 100644
index 00000000..faebb7df
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/backdrop/backdrop.min.js
@@ -0,0 +1,7 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.2-master-a9ba340
+ */
+goog.provide("ngmaterial.components.backdrop"),goog.require("ngmaterial.core"),angular.module("material.components.backdrop",["material.core"]).directive("mdBackdrop",["$mdTheming","$mdUtil","$animate","$rootElement","$window","$log","$$rAF","$document",function(e,o,n,t,r,a,i,c){function d(d,l,m){function s(){var e=parseInt(u.height,10)+Math.abs(parseInt(u.top,10));l.css("height",e+"px")}n.pin&&n.pin(l,t);var u;i(function(){if(u=r.getComputedStyle(c[0].body),"fixed"===u.position){var n=o.debounce(function(){u=r.getComputedStyle(c[0].body),s()},60,null,!1);s(),angular.element(r).on("resize",n),d.$on("$destroy",function(){angular.element(r).off("resize",n)})}var t=l.parent();if(t.length){"BODY"===t[0].nodeName&&l.css("position","fixed");var i=r.getComputedStyle(t[0]);"static"===i.position&&a.warn(p),e.inherit(l,t)}})}var p="<md-backdrop> may not work properly in a scrolled, static-positioned parent container.";return{restrict:"E",link:d}}]),ngmaterial.components.backdrop=angular.module("material.components.backdrop"); \ No newline at end of file