mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_responsive: Refactor code
This commit is contained in:
committed by
Sergey Shebanin
parent
461ba3156c
commit
90c5d9d1ef
@@ -1,52 +1,6 @@
|
||||
/* Copyright 2018 Tecnativa - Jairo Llopis
|
||||
* License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
|
||||
|
||||
// AppMenu icon waiting indicator anim
|
||||
@keyframes o-app-icon-flash-animation {
|
||||
0% {
|
||||
filter: brightness(1.0);
|
||||
}
|
||||
25% {
|
||||
filter: brightness(2.0);
|
||||
}
|
||||
50% {
|
||||
filter: brightness(1.0);
|
||||
}
|
||||
75% {
|
||||
filter: brightness(2.0);
|
||||
}
|
||||
100% {
|
||||
filter: brightness(1.0);
|
||||
}
|
||||
}
|
||||
.o-app-waiting img {
|
||||
animation: 1.3s infinite cubic-bezier(.65,.05,.36,1) o-app-icon-flash-animation;
|
||||
}
|
||||
// Menu icon waiting indicator anim
|
||||
@keyframes o-menu-item-flash-animation {
|
||||
0% {
|
||||
background-color: $dropdown-link-hover-bg;
|
||||
}
|
||||
25% {
|
||||
background-color: transparent;
|
||||
}
|
||||
50% {
|
||||
background-color: $dropdown-link-hover-bg;
|
||||
}
|
||||
75% {
|
||||
background-color: transparent;
|
||||
}
|
||||
100% {
|
||||
background-color: $dropdown-link-hover-bg;
|
||||
}
|
||||
}
|
||||
.o-menu-item-waiting {
|
||||
animation: 1.3s infinite cubic-bezier(.65,.05,.36,1) o-menu-item-flash-animation;
|
||||
}
|
||||
.o-cursor-waiting {
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
@mixin full-screen-dropdown {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
@@ -552,3 +506,8 @@ html .o_web_client .o_main .o_main_content {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Waiting Cursor
|
||||
.oe_wait {
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user