From 4ad39a5c96dd99acf819ce189b13fec946d7506b Mon Sep 17 00:00:00 2001 From: talasila Date: Tue, 7 Feb 2017 15:03:57 -0500 Subject: Initial OpenECOMP Portal commit Change-Id: I804b80e0830c092e307da1599bd9fbb5c3e2da77 Signed-off-by: talasila --- .../modules/js/subheader/bower.json | 8 ++ .../js/subheader/subheader-default-theme.css | 16 ++++ .../js/subheader/subheader-default-theme.min.css | 6 ++ .../modules/js/subheader/subheader.css | 63 +++++++++++++++ .../modules/js/subheader/subheader.js | 93 ++++++++++++++++++++++ .../modules/js/subheader/subheader.min.css | 6 ++ .../modules/js/subheader/subheader.min.js | 7 ++ 7 files changed, 199 insertions(+) create mode 100644 ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/bower.json create mode 100644 ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader-default-theme.css create mode 100644 ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader-default-theme.min.css create mode 100644 ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.css create mode 100644 ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.js create mode 100644 ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.min.css create mode 100644 ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.min.js (limited to 'ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader') diff --git a/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/bower.json b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/bower.json new file mode 100644 index 00000000..9ea34c7b --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/bower.json @@ -0,0 +1,8 @@ +{ + "name": "angular-material-subheader", + "version": "0.9.8", + "dependencies": { + "angular-material-core": "0.9.8", + "angular-material-sticky": "0.9.8" + } +} \ No newline at end of file diff --git a/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader-default-theme.css b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader-default-theme.css new file mode 100644 index 00000000..426a24d2 --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader-default-theme.css @@ -0,0 +1,16 @@ +/*! + * Angular Material Design + * https://github.com/angular/material + * @license MIT + * v0.9.8 + */ +/* mixin definition ; sets LTR and RTL within the same style call */ +.md-subheader.md-THEME_NAME-theme { + color: '{{ foreground-2-0.23 }}'; + background-color: '{{background-color}}'; } + .md-subheader.md-THEME_NAME-theme.md-primary { + color: '{{primary-color}}'; } + .md-subheader.md-THEME_NAME-theme.md-accent { + color: '{{accent-color}}'; } + .md-subheader.md-THEME_NAME-theme.md-warn { + color: '{{warn-color}}'; } diff --git a/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader-default-theme.min.css b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader-default-theme.min.css new file mode 100644 index 00000000..29857f93 --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader-default-theme.min.css @@ -0,0 +1,6 @@ +/*! + * Angular Material Design + * https://github.com/angular/material + * @license MIT + * v0.9.8 + */.md-subheader.md-THEME_NAME-theme{color:'{{ foreground-2-0.23 }}';background-color:'{{background-color}}'}.md-subheader.md-THEME_NAME-theme.md-primary{color:'{{primary-color}}'}.md-subheader.md-THEME_NAME-theme.md-accent{color:'{{accent-color}}'}.md-subheader.md-THEME_NAME-theme.md-warn{color:'{{warn-color}}'} \ No newline at end of file diff --git a/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.css b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.css new file mode 100644 index 00000000..b134d795 --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.css @@ -0,0 +1,63 @@ +/*! + * Angular Material Design + * https://github.com/angular/material + * @license MIT + * v0.9.8 + */ +/* mixin definition ; sets LTR and RTL within the same style call */ +@-webkit-keyframes subheaderStickyHoverIn { + 0% { + box-shadow: 0 0 0 0 transparent; } + + 100% { + box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.16); } } +@keyframes subheaderStickyHoverIn { + 0% { + box-shadow: 0 0 0 0 transparent; } + + 100% { + box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.16); } } + +@-webkit-keyframes subheaderStickyHoverOut { + 0% { + box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.16); } + + 100% { + box-shadow: 0 0 0 0 transparent; } } + +@keyframes subheaderStickyHoverOut { + 0% { + box-shadow: 0px 2px 4px 0 rgba(0, 0, 0, 0.16); } + + 100% { + box-shadow: 0 0 0 0 transparent; } } + +.md-subheader { + display: block; + font-size: 14px; + font-weight: 500; + line-height: 1em; + margin: 0 0 0 0; + margin-right: 16px; + position: relative; } + .md-subheader .md-subheader-inner { + padding: 16px 0px 16px 16px; } + .md-subheader:not(.md-sticky-no-effect) { + transition: 0.2s ease-out margin; } + .md-subheader:not(.md-sticky-no-effect):after { + position: absolute; + left: 0; + bottom: 0; + top: 0; + right: -16px; + content: ''; } + .md-subheader:not(.md-sticky-no-effect).md-sticky-clone { + z-index: 2; } + .md-subheader:not(.md-sticky-no-effect)[sticky-state="active"] { + margin-top: -2px; } + .md-subheader:not(.md-sticky-no-effect):not(.md-sticky-clone)[sticky-prev-state="active"] .md-subheader-inner:after { + -webkit-animation: subheaderStickyHoverOut 0.3s ease-out both; + animation: subheaderStickyHoverOut 0.3s ease-out both; } + .md-subheader .md-subheader-content { + z-index: 1; + position: relative; } diff --git a/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.js b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.js new file mode 100644 index 00000000..8e4bf0db --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.js @@ -0,0 +1,93 @@ +/*! + * Angular Material Design + * https://github.com/angular/material + * @license MIT + * v0.9.8 + */ +(function( window, angular, undefined ){ +"use strict"; + +/** + * @ngdoc module + * @name material.components.subheader + * @description + * SubHeader module + * + * Subheaders are special list tiles that delineate distinct sections of a + * list or grid list and are typically related to the current filtering or + * sorting criteria. Subheader tiles are either displayed inline with tiles or + * can be associated with content, for example, in an adjacent column. + * + * Upon scrolling, subheaders remain pinned to the top of the screen and remain + * pinned until pushed on or off screen by the next subheader. @see [Material + * Design Specifications](https://www.google.com/design/spec/components/subheaders.html) + * + * > To improve the visual grouping of content, use the system color for your subheaders. + * + */ +angular.module('material.components.subheader', [ + 'material.core', + 'material.components.sticky' +]) + .directive('mdSubheader', MdSubheaderDirective); + +/** + * @ngdoc directive + * @name mdSubheader + * @module material.components.subheader + * + * @restrict E + * + * @description + * The `` directive is a subheader for a section. By default it is sticky. + * You can make it not sticky by applying the `md-no-sticky` class to the subheader. + * + * + * @usage + * + * Online Friends + * + */ + +function MdSubheaderDirective($mdSticky, $compile, $mdTheming) { + return { + restrict: 'E', + replace: true, + transclude: true, + template: + '

' + + '
' + + '' + + '
' + + '

', + compile: function(element, attr, transclude) { + return function postLink(scope, element, attr) { + $mdTheming(element); + var outerHTML = element[0].outerHTML; + + function getContent(el) { + return angular.element(el[0].querySelector('.md-subheader-content')); + } + + // Transclude the user-given contents of the subheader + // the conventional way. + transclude(scope, function(clone) { + getContent(element).append(clone); + }); + + // Create another clone, that uses the outer and inner contents + // of the element, that will be 'stickied' as the user scrolls. + if (!element.hasClass('md-no-sticky')) { + transclude(scope, function(clone) { + var stickyClone = $compile(angular.element(outerHTML))(scope); + getContent(stickyClone).append(clone); + $mdSticky(scope, element, stickyClone); + }); + } + }; + } + }; +} +MdSubheaderDirective.$inject = ["$mdSticky", "$compile", "$mdTheming"]; + +})(window, window.angular); \ No newline at end of file diff --git a/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.min.css b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.min.css new file mode 100644 index 00000000..bc7b5029 --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.min.css @@ -0,0 +1,6 @@ +/*! + * Angular Material Design + * https://github.com/angular/material + * @license MIT + * v0.9.8 + */@-webkit-keyframes subheaderStickyHoverIn{0%{box-shadow:0 0 0 0 transparent}100%{box-shadow:0 2px 4px 0 rgba(0,0,0,.16)}}@keyframes subheaderStickyHoverIn{0%{box-shadow:0 0 0 0 transparent}100%{box-shadow:0 2px 4px 0 rgba(0,0,0,.16)}}@-webkit-keyframes subheaderStickyHoverOut{0%{box-shadow:0 2px 4px 0 rgba(0,0,0,.16)}100%{box-shadow:0 0 0 0 transparent}}@keyframes subheaderStickyHoverOut{0%{box-shadow:0 2px 4px 0 rgba(0,0,0,.16)}100%{box-shadow:0 0 0 0 transparent}}.md-subheader{display:block;font-size:14px;font-weight:500;line-height:1em;margin:0 16px 0 0;position:relative}.md-subheader .md-subheader-inner{padding:16px 0 16px 16px}.md-subheader:not(.md-sticky-no-effect){transition:.2s ease-out margin}.md-subheader:not(.md-sticky-no-effect):after{position:absolute;left:0;bottom:0;top:0;right:-16px;content:''}.md-subheader:not(.md-sticky-no-effect).md-sticky-clone{z-index:2}.md-subheader:not(.md-sticky-no-effect)[sticky-state=active]{margin-top:-2px}.md-subheader:not(.md-sticky-no-effect):not(.md-sticky-clone)[sticky-prev-state=active] .md-subheader-inner:after{-webkit-animation:subheaderStickyHoverOut .3s ease-out both;animation:subheaderStickyHoverOut .3s ease-out both}.md-subheader .md-subheader-content{z-index:1;position:relative} \ No newline at end of file diff --git a/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.min.js b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.min.js new file mode 100644 index 00000000..e230c065 --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/angular-material/modules/js/subheader/subheader.min.js @@ -0,0 +1,7 @@ +/*! + * Angular Material Design + * https://github.com/angular/material + * @license MIT + * v0.9.8 + */ +!function(e,n,t){"use strict";function r(e,t,r){return{restrict:"E",replace:!0,transclude:!0,template:'

',compile:function(a,c,i){return function(a,c,s){function d(e){return n.element(e[0].querySelector(".md-subheader-content"))}r(c);var o=c[0].outerHTML;i(a,function(e){d(c).append(e)}),c.hasClass("md-no-sticky")||i(a,function(r){var i=t(n.element(o))(a);d(i).append(r),e(a,c,i)})}}}}n.module("material.components.subheader",["material.core","material.components.sticky"]).directive("mdSubheader",r),r.$inject=["$mdSticky","$compile","$mdTheming"]}(window,window.angular); \ No newline at end of file -- cgit 1.2.3-korg