aboutsummaryrefslogtreecommitdiffstats
path: root/ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification')
-rw-r--r--ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification/angular-csp.css22
-rw-r--r--ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification/angular-ui-notification.min.css1
-rw-r--r--ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification/angular-ui-notification.min.js1
3 files changed, 24 insertions, 0 deletions
diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification/angular-csp.css b/ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification/angular-csp.css
new file mode 100644
index 000000000..7d724742d
--- /dev/null
+++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification/angular-csp.css
@@ -0,0 +1,22 @@
+/* Include this file in your html if you are using the CSP mode. */
+
+[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],
+.ng-cloak, .x-ng-cloak,
+.ng-hide {
+ display: none !important;
+}
+
+ng\:form {
+ display: block;
+}
+
+.ng-animate-block-transitions {
+ transition:0s all!important;
+ -webkit-transition:0s all!important;
+}
+
+/* show the element during a show/hide animation when the
+ * animation is ongoing, but the .ng-hide class is active */
+.ng-hide-add-active, .ng-hide-remove {
+ display: block!important;
+}
diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification/angular-ui-notification.min.css b/ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification/angular-ui-notification.min.css
new file mode 100644
index 000000000..5417bb40c
--- /dev/null
+++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification/angular-ui-notification.min.css
@@ -0,0 +1 @@
+.ui-notification{position:fixed;z-index:9999;top:-100px;right:10px;width:300px;cursor:pointer;-webkit-transition:all ease .5s;-o-transition:all ease .5s;transition:all ease .5s;color:#fff;background:#428bca;box-shadow:5px 5px 10px rgba(0,0,0,.3)}.ui-notification.killed{-webkit-transition:opacity ease 1s;-o-transition:opacity ease 1s;transition:opacity ease 1s;opacity:0}.ui-notification>h3{font-size:14px;font-weight:700;display:block;margin:10px 10px 0;padding:0 0 5px;text-align:left;border-bottom:1px solid rgba(255,255,255,.3)}.ui-notification a{color:#fff}.ui-notification a:hover{text-decoration:underline}.ui-notification>.message{margin:10px}.ui-notification.warning{color:#fff;background:#f0ad4e}.ui-notification.error{color:#fff;background:#d9534f}.ui-notification.success{color:#fff;background:#5cb85c}.ui-notification.info{color:#fff;background:#5bc0de}.ui-notification:hover{opacity:.7} \ No newline at end of file
diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification/angular-ui-notification.min.js b/ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification/angular-ui-notification.min.js
new file mode 100644
index 000000000..e9bcb4ccd
--- /dev/null
+++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/CSS/Notification/angular-ui-notification.min.js
@@ -0,0 +1 @@
+angular.module("ui-notification",[]),angular.module("ui-notification").value("uiNotificationTemplates","angular-ui-notification.html"),angular.module("ui-notification").factory("Notification",["$timeout","uiNotificationTemplates","$http","$compile","$templateCache","$rootScope","$injector","$sce",function(t,e,i,n,a,o,s,c){var r=10,l=10,u=10,p=10,d=5e3,f=[],m=function(s,m){"object"!=typeof s&&(s={message:s}),s.template=s.template?s.template:e,s.delay=angular.isUndefined(s.delay)?d:s.delay,s.type=m?m:"",i.get(s.template,{cache:a}).success(function(e){var i=o.$new();if(i.message=c.trustAsHtml(s.message),i.title=c.trustAsHtml(s.title),i.t=s.type.substr(0,1),i.delay=s.delay,"object"==typeof s.scope)for(var a in s.scope)i[a]=s.scope[a];var d=function(){for(var t=0,e=0,i=r,n=f.length-1;n>=0;n--){var a=f[n],o=parseInt(a[0].offsetHeight),s=parseInt(a[0].offsetWidth);c+o>window.innerHeight&&(i=r,e++,t=0);var c=i+(0===t?0:u),d=l+e*(p+s);a.css("top",c+"px"),a.css("right",d+"px"),i=c+o,t++}},m=n(e)(i);m.addClass(s.type),m.bind("webkitTransitionEnd oTransitionEnd otransitionend transitionend msTransitionEnd click",function(t){("click"===t.type||"opacity"===t.propertyName&&t.elapsedTime>=1)&&(m.remove(),f.splice(f.indexOf(m),1),d())}),t(function(){m.addClass("killed")},s.delay),angular.element(document.getElementsByTagName("body")).append(m),f.push(m),t(d)}).error(function(t){throw new Error("Template ("+s.template+") could not be loaded. "+t)})};return m.config=function(t){r=t.top?t.top:r,u=t.verticalSpacing?t.verticalSpacing:u},m.primary=function(){this(args,"")},m.error=function(t){this(t,"error")},m.success=function(t){this(t,"success")},m.info=function(t){this(t,"info")},m.warning=function(t){this(t,"warning")},m}]),angular.module("ui-notification").run(["$templateCache",function(t){t.put("angular-ui-notification.html",'<div class="ui-notification"><h3 ng-show="title" ng-bind-html="title"></h3><div class="message" ng-bind-html="message"></div></div>')}]); \ No newline at end of file