diff options
Diffstat (limited to 'vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe')
4 files changed, 179 insertions, 0 deletions
diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe/whiteframe.css b/vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe/whiteframe.css new file mode 100644 index 00000000..d1828a02 --- /dev/null +++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe/whiteframe.css @@ -0,0 +1,85 @@ +/*! + * Angular Material Design + * https://github.com/angular/material + * @license MIT + * v1.1.3 + */ +.md-whiteframe-1dp, .md-whiteframe-z1 { + box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-2dp { + box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-3dp { + box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 3px 3px -2px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-4dp, .md-whiteframe-z2 { + box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-5dp { + box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 5px 8px 0px rgba(0, 0, 0, 0.14), 0px 1px 14px 0px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-6dp { + box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-7dp, .md-whiteframe-z3 { + box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.2), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-8dp { + box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-9dp { + box-shadow: 0px 5px 6px -3px rgba(0, 0, 0, 0.2), 0px 9px 12px 1px rgba(0, 0, 0, 0.14), 0px 3px 16px 2px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-10dp, .md-whiteframe-z4 { + box-shadow: 0px 6px 6px -3px rgba(0, 0, 0, 0.2), 0px 10px 14px 1px rgba(0, 0, 0, 0.14), 0px 4px 18px 3px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-11dp { + box-shadow: 0px 6px 7px -4px rgba(0, 0, 0, 0.2), 0px 11px 15px 1px rgba(0, 0, 0, 0.14), 0px 4px 20px 3px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-12dp { + box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-13dp, .md-whiteframe-z5 { + box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 13px 19px 2px rgba(0, 0, 0, 0.14), 0px 5px 24px 4px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-14dp { + box-shadow: 0px 7px 9px -4px rgba(0, 0, 0, 0.2), 0px 14px 21px 2px rgba(0, 0, 0, 0.14), 0px 5px 26px 4px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-15dp { + box-shadow: 0px 8px 9px -5px rgba(0, 0, 0, 0.2), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-16dp { + box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-17dp { + box-shadow: 0px 8px 11px -5px rgba(0, 0, 0, 0.2), 0px 17px 26px 2px rgba(0, 0, 0, 0.14), 0px 6px 32px 5px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-18dp { + box-shadow: 0px 9px 11px -5px rgba(0, 0, 0, 0.2), 0px 18px 28px 2px rgba(0, 0, 0, 0.14), 0px 7px 34px 6px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-19dp { + box-shadow: 0px 9px 12px -6px rgba(0, 0, 0, 0.2), 0px 19px 29px 2px rgba(0, 0, 0, 0.14), 0px 7px 36px 6px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-20dp { + box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.2), 0px 20px 31px 3px rgba(0, 0, 0, 0.14), 0px 8px 38px 7px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-21dp { + box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.2), 0px 21px 33px 3px rgba(0, 0, 0, 0.14), 0px 8px 40px 7px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-22dp { + box-shadow: 0px 10px 14px -6px rgba(0, 0, 0, 0.2), 0px 22px 35px 3px rgba(0, 0, 0, 0.14), 0px 8px 42px 7px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-23dp { + box-shadow: 0px 11px 14px -7px rgba(0, 0, 0, 0.2), 0px 23px 36px 3px rgba(0, 0, 0, 0.14), 0px 9px 44px 8px rgba(0, 0, 0, 0.12); } + +.md-whiteframe-24dp { + box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12); } + +@media screen and (-ms-high-contrast: active) { + md-whiteframe { + border: 1px solid #fff; } } + +@media print { + md-whiteframe, [md-whiteframe] { + background-color: #ffffff; } } diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe/whiteframe.js b/vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe/whiteframe.js new file mode 100644 index 00000000..42f4c77e --- /dev/null +++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe/whiteframe.js @@ -0,0 +1,81 @@ +/*! + * Angular Material Design + * https://github.com/angular/material + * @license MIT + * v1.1.3 + */ +goog.provide('ngmaterial.components.whiteframe'); +goog.require('ngmaterial.core'); +/** + * @ngdoc module + * @name material.components.whiteframe + */ +MdWhiteframeDirective['$inject'] = ["$log"]; +angular + .module('material.components.whiteframe', ['material.core']) + .directive('mdWhiteframe', MdWhiteframeDirective); + +/** + * @ngdoc directive + * @module material.components.whiteframe + * @name mdWhiteframe + * + * @description + * The md-whiteframe directive allows you to apply an elevation shadow to an element. + * + * The attribute values needs to be a number between 1 and 24 or -1. + * When set to -1 no style is applied. + * + * ### Notes + * - If there is no value specified it defaults to 4dp. + * - If the value is not valid it defaults to 4dp. + + * @usage + * <hljs lang="html"> + * <div md-whiteframe="3"> + * <span>Elevation of 3dp</span> + * </div> + * </hljs> + * + * <hljs lang="html"> + * <div md-whiteframe="-1"> + * <span>No elevation shadow applied</span> + * </div> + * </hljs> + * + * <hljs lang="html"> + * <div ng-init="elevation = 5" md-whiteframe="{{elevation}}"> + * <span>Elevation of 5dp with an interpolated value</span> + * </div> + * </hljs> + */ +function MdWhiteframeDirective($log) { + var DISABLE_DP = -1; + var MIN_DP = 1; + var MAX_DP = 24; + var DEFAULT_DP = 4; + + return { + link: postLink + }; + + function postLink(scope, element, attr) { + var oldClass = ''; + + attr.$observe('mdWhiteframe', function(elevation) { + elevation = parseInt(elevation, 10) || DEFAULT_DP; + + if (elevation != DISABLE_DP && (elevation > MAX_DP || elevation < MIN_DP)) { + $log.warn('md-whiteframe attribute value is invalid. It should be a number between ' + MIN_DP + ' and ' + MAX_DP, element[0]); + elevation = DEFAULT_DP; + } + + var newClass = elevation == DISABLE_DP ? '' : 'md-whiteframe-' + elevation + 'dp'; + attr.$updateClass(newClass, oldClass); + oldClass = newClass; + }); + } +} + + +ngmaterial.components.whiteframe = angular.module("material.components.whiteframe");
\ No newline at end of file diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe/whiteframe.min.css b/vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe/whiteframe.min.css new file mode 100644 index 00000000..1cffd97a --- /dev/null +++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe/whiteframe.min.css @@ -0,0 +1,6 @@ +/*! + * Angular Material Design + * https://github.com/angular/material + * @license MIT + * v1.1.2-master-a9ba340 + */.md-whiteframe-1dp,.md-whiteframe-z1{box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12)}.md-whiteframe-2dp{box-shadow:0 1px 5px 0 rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12)}.md-whiteframe-3dp{box-shadow:0 1px 8px 0 rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 3px 3px -2px rgba(0,0,0,.12)}.md-whiteframe-4dp,.md-whiteframe-z2{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.md-whiteframe-5dp{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.md-whiteframe-6dp{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.md-whiteframe-7dp,.md-whiteframe-z3{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.md-whiteframe-8dp{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.md-whiteframe-9dp{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.md-whiteframe-10dp,.md-whiteframe-z4{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.md-whiteframe-11dp{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.md-whiteframe-12dp{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.md-whiteframe-13dp,.md-whiteframe-z5{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.md-whiteframe-14dp{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.md-whiteframe-15dp{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.md-whiteframe-16dp{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.md-whiteframe-17dp{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.md-whiteframe-18dp{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.md-whiteframe-19dp{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.md-whiteframe-20dp{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.md-whiteframe-21dp{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.md-whiteframe-22dp{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.md-whiteframe-23dp{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.md-whiteframe-24dp{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){md-whiteframe{border:1px solid #fff}}@media print{[md-whiteframe],md-whiteframe{background-color:#fff}}
\ No newline at end of file diff --git a/vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe/whiteframe.min.js b/vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe/whiteframe.min.js new file mode 100644 index 00000000..7228b184 --- /dev/null +++ b/vnfmarket/common/thirdparty/angular-material/modules/closure/whiteframe/whiteframe.min.js @@ -0,0 +1,7 @@ +/*! + * Angular Material Design + * https://github.com/angular/material + * @license MIT + * v1.1.2-master-a9ba340 + */ +function MdWhiteframeDirective(e){function a(a,n,o){var d="";o.$observe("mdWhiteframe",function(a){a=parseInt(a,10)||m,a!=r&&(a>i||a<t)&&(e.warn("md-whiteframe attribute value is invalid. It should be a number between "+t+" and "+i,n[0]),a=m);var l=a==r?"":"md-whiteframe-"+a+"dp";o.$updateClass(l,d),d=l})}var r=-1,t=1,i=24,m=4;return{link:a}}goog.provide("ngmaterial.components.whiteframe"),goog.require("ngmaterial.core"),MdWhiteframeDirective.$inject=["$log"],angular.module("material.components.whiteframe",["material.core"]).directive("mdWhiteframe",MdWhiteframeDirective),ngmaterial.components.whiteframe=angular.module("material.components.whiteframe");
\ No newline at end of file |