summaryrefslogtreecommitdiff
path: root/addons/web_tip/static/src/css
diff options
context:
space:
mode:
authorValerie Pirenne <vpi@odoo.com>2015-04-03 17:51:20 +0530
committerDavid Monjoie <dmo@odoo.com>2015-08-06 10:14:27 +0200
commit22a3c08af735f1921a45a02a4e12debee151411b (patch)
tree0c05de5d8831aabcc7fe5fc9b5c969c8afc80fb0 /addons/web_tip/static/src/css
parent1d8cbf8a1947d075a707594129712c79c258d2ec (diff)
[IMP] web_tip: tip display using breathing point
Diffstat (limited to 'addons/web_tip/static/src/css')
-rw-r--r--addons/web_tip/static/src/css/tip.css54
1 files changed, 54 insertions, 0 deletions
diff --git a/addons/web_tip/static/src/css/tip.css b/addons/web_tip/static/src/css/tip.css
index 57b874c1fa6..b4c7ea53159 100644
--- a/addons/web_tip/static/src/css/tip.css
+++ b/addons/web_tip/static/src/css/tip.css
@@ -55,3 +55,57 @@
z-index: 1011 !important;
position: relative;
}
+
+.oe_breathing {
+ background:transparent url(/web_tip/static/src/img/tip_throbber.png) no-repeat center center;
+ cursor : pointer;
+ height: 58px;
+ width: 58px;
+ position: absolute;
+ z-index: 1;
+ -webkit-animation: bounce .5s steps(12) alternate infinite;
+ -moz-animation: bounce .5s steps(12) alternate infinite;
+ -o-animation: bounce .5s steps(12) alternate infinite;
+ animation: bounce .5s steps(12) alternate infinite;
+}
+
+@-webkit-keyframes bounce {
+ from{ background-position: 0 0}
+ to{ background-position: -696px 0}
+}
+@-moz-keyframes bounce {
+ from{ background-position: 0 0}
+ to{ background-position: -696px 0}
+}
+@-o-keyframes explode {
+ from{ background-position: 0 0}
+ to{ background-position: -696px 0}
+}
+@keyframes bounce {
+ from{ background-position: 0 0}
+ to{ background-position: -696px 0}
+}
+
+.oe_explode {
+ opacity: 0;
+ -webkit-animation: explode .5s;
+ -moz-animation: explode .5s;
+ animation: explode .5s;
+}
+
+@-webkit-keyframes explode {
+ from{ opacity: 1; transform: scale(1, 1); }
+ to{ opacity: 0; transform: scale(2, 2); }
+}
+@-moz-keyframes explode {
+ from{ opacity: 1; transform: scale(1, 1);}
+ to{ opacity: 0; transform: scale(2, 2);}
+}
+@-o-keyframes explode {
+ from{ opacity: 1; transform: scale(1, 1);}
+ to{ opacity: 0; transform: scale(2, 2);}
+}
+@keyframes explode {
+ from{ opacity: 1; transform: scale(1, 1);}
+ to{ opacity: 0; transform: scale(2, 2);}
+}