aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/common/thirdparty/angular-material/modules/js/content
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/common/thirdparty/angular-material/modules/js/content')
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/js/content/bower.json7
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/js/content/content-default-theme.css9
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/js/content/content-default-theme.min.css6
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/js/content/content.css20
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/js/content/content.js103
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/js/content/content.min.css6
-rw-r--r--vnfmarket/common/thirdparty/angular-material/modules/js/content/content.min.js7
7 files changed, 158 insertions, 0 deletions
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/js/content/bower.json b/vnfmarket/common/thirdparty/angular-material/modules/js/content/bower.json
new file mode 100644
index 00000000..14c8d94f
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/js/content/bower.json
@@ -0,0 +1,7 @@
+{
+ "name": "angular-material-content",
+ "version": "1.1.2-master-a9ba340",
+ "dependencies": {
+ "angular-material-core": "1.1.2-master-a9ba340"
+ }
+} \ No newline at end of file
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/js/content/content-default-theme.css b/vnfmarket/common/thirdparty/angular-material/modules/js/content/content-default-theme.css
new file mode 100644
index 00000000..9ae64bcb
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/js/content/content-default-theme.css
@@ -0,0 +1,9 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.3
+ */
+md-content.md-THEME_NAME-theme {
+ color: '{{foreground-1}}';
+ background-color: '{{background-default}}'; }
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/js/content/content-default-theme.min.css b/vnfmarket/common/thirdparty/angular-material/modules/js/content/content-default-theme.min.css
new file mode 100644
index 00000000..15a646ab
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/js/content/content-default-theme.min.css
@@ -0,0 +1,6 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.2-master-a9ba340
+ */md-content.md-THEME_NAME-theme{color:"{{foreground-1}}";background-color:"{{background-default}}"} \ No newline at end of file
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/js/content/content.css b/vnfmarket/common/thirdparty/angular-material/modules/js/content/content.css
new file mode 100644
index 00000000..00a91238
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/js/content/content.css
@@ -0,0 +1,20 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.3
+ */
+md-content {
+ display: block;
+ position: relative;
+ overflow: auto;
+ -webkit-overflow-scrolling: touch; }
+ md-content[md-scroll-y] {
+ overflow-y: auto;
+ overflow-x: hidden; }
+ md-content[md-scroll-x] {
+ overflow-x: auto;
+ overflow-y: hidden; }
+ @media print {
+ md-content {
+ overflow: visible !important; } }
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/js/content/content.js b/vnfmarket/common/thirdparty/angular-material/modules/js/content/content.js
new file mode 100644
index 00000000..c27433fd
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/js/content/content.js
@@ -0,0 +1,103 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.3
+ */
+(function( window, angular, undefined ){
+"use strict";
+
+/**
+ * @ngdoc module
+ * @name material.components.content
+ *
+ * @description
+ * Scrollable content
+ */
+mdContentDirective['$inject'] = ["$mdTheming"];
+angular.module('material.components.content', [
+ 'material.core'
+])
+ .directive('mdContent', mdContentDirective);
+
+/**
+ * @ngdoc directive
+ * @name mdContent
+ * @module material.components.content
+ *
+ * @restrict E
+ *
+ * @description
+ *
+ * The `<md-content>` directive is a container element useful for scrollable content. It achieves
+ * this by setting the CSS `overflow` property to `auto` so that content can properly scroll.
+ *
+ * In general, `<md-content>` components are not designed to be nested inside one another. If
+ * possible, it is better to make them siblings. This often results in a better user experience as
+ * having nested scrollbars may confuse the user.
+ *
+ * ## Troubleshooting
+ *
+ * In some cases, you may wish to apply the `md-no-momentum` class to ensure that Safari's
+ * momentum scrolling is disabled. Momentum scrolling can cause flickering issues while scrolling
+ * SVG icons and some other components.
+ *
+ * Additionally, we now also offer the `md-no-flicker` class which can be applied to any element
+ * and uses a Webkit-specific filter of `blur(0px)` that forces GPU rendering of all elements
+ * inside (which eliminates the flicker on iOS devices).
+ *
+ * _<b>Note:</b> Forcing an element to render on the GPU can have unintended side-effects, especially
+ * related to the z-index of elements. Please use with caution and only on the elements needed._
+ *
+ * @usage
+ *
+ * Add the `[layout-padding]` attribute to make the content padded.
+ *
+ * <hljs lang="html">
+ * <md-content layout-padding>
+ * Lorem ipsum dolor sit amet, ne quod novum mei.
+ * </md-content>
+ * </hljs>
+ */
+
+function mdContentDirective($mdTheming) {
+ return {
+ restrict: 'E',
+ controller: ['$scope', '$element', ContentController],
+ link: function(scope, element) {
+ element.addClass('_md'); // private md component indicator for styling
+
+ $mdTheming(element);
+ scope.$broadcast('$mdContentLoaded', element);
+
+ iosScrollFix(element[0]);
+ }
+ };
+
+ function ContentController($scope, $element) {
+ this.$scope = $scope;
+ this.$element = $element;
+ }
+}
+
+function iosScrollFix(node) {
+ // IOS FIX:
+ // If we scroll where there is no more room for the webview to scroll,
+ // by default the webview itself will scroll up and down, this looks really
+ // bad. So if we are scrolling to the very top or bottom, add/subtract one
+ angular.element(node).on('$md.pressdown', function(ev) {
+ // Only touch events
+ if (ev.pointer.type !== 't') return;
+ // Don't let a child content's touchstart ruin it for us.
+ if (ev.$materialScrollFixed) return;
+ ev.$materialScrollFixed = true;
+
+ if (node.scrollTop === 0) {
+ node.scrollTop = 1;
+ } else if (node.scrollHeight === node.scrollTop + node.offsetHeight) {
+ node.scrollTop -= 1;
+ }
+ });
+}
+
+})(window, window.angular); \ No newline at end of file
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/js/content/content.min.css b/vnfmarket/common/thirdparty/angular-material/modules/js/content/content.min.css
new file mode 100644
index 00000000..c81dbcaa
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/js/content/content.min.css
@@ -0,0 +1,6 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.2-master-a9ba340
+ */md-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}md-content[md-scroll-y]{overflow-y:auto;overflow-x:hidden}md-content[md-scroll-x]{overflow-x:auto;overflow-y:hidden}@media print{md-content{overflow:visible!important}} \ No newline at end of file
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/js/content/content.min.js b/vnfmarket/common/thirdparty/angular-material/modules/js/content/content.min.js
new file mode 100644
index 00000000..53dced5e
--- /dev/null
+++ b/vnfmarket/common/thirdparty/angular-material/modules/js/content/content.min.js
@@ -0,0 +1,7 @@
+/*!
+ * Angular Material Design
+ * https://github.com/angular/material
+ * @license MIT
+ * v1.1.2-master-a9ba340
+ */
+!function(e,t,o){"use strict";function n(e){function t(e,t){this.$scope=e,this.$element=t}return{restrict:"E",controller:["$scope","$element",t],link:function(t,o){o.addClass("_md"),e(o),t.$broadcast("$mdContentLoaded",o),l(o[0])}}}function l(e){t.element(e).on("$md.pressdown",function(t){"t"===t.pointer.type&&(t.$materialScrollFixed||(t.$materialScrollFixed=!0,0===e.scrollTop?e.scrollTop=1:e.scrollHeight===e.scrollTop+e.offsetHeight&&(e.scrollTop-=1)))})}n.$inject=["$mdTheming"],t.module("material.components.content",["material.core"]).directive("mdContent",n)}(window,window.angular); \ No newline at end of file