Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sven Franck
erp5
Commits
0b819055
Commit
0b819055
authored
Feb 19, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Animate the notification error
parent
621e67c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
2 deletions
+49
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
...emplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
+24
-0
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
...emplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
+2
-2
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
...teItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
+23
-0
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
View file @
0b819055
...
@@ -1538,6 +1538,14 @@ div[data-gadget-scope='notification'] {
...
@@ -1538,6 +1538,14 @@ div[data-gadget-scope='notification'] {
div
[
data-gadget-scope
=
'notification'
]
.visible
{
div
[
data-gadget-scope
=
'notification'
]
.visible
{
transform
:
translate3d
(
-216pt
,
0
,
0
);
transform
:
translate3d
(
-216pt
,
0
,
0
);
}
}
div
[
data-gadget-scope
=
'notification'
]
.visible
.error
{
animation
:
pulseerrormobile
1s
ease-in
infinite
;
}
@media
not
screen
and
(
max-width
:
85em
)
{
div
[
data-gadget-scope
=
'notification'
]
.visible
.error
{
animation
:
pulseerrordesktop
1s
ease-in
infinite
;
}
}
@media
not
screen
and
(
min-width
:
45em
)
{
@media
not
screen
and
(
min-width
:
45em
)
{
div
[
data-gadget-scope
=
'notification'
]
.visible
{
div
[
data-gadget-scope
=
'notification'
]
.visible
{
transform
:
translate3d
(
-198pt
,
0
,
0
);
transform
:
translate3d
(
-198pt
,
0
,
0
);
...
@@ -1556,6 +1564,22 @@ div[data-gadget-scope='notification'] button.success {
...
@@ -1556,6 +1564,22 @@ div[data-gadget-scope='notification'] button.success {
div
[
data-gadget-scope
=
'notification'
]
button
.error
{
div
[
data-gadget-scope
=
'notification'
]
button
.error
{
background-color
:
#FF6600
;
background-color
:
#FF6600
;
}
}
@keyframes
pulseerrormobile
{
0
%
{
box-shadow
:
0
0
0
0
rgba
(
255
,
102
,
0
,
0.6
);
}
100
%
{
box-shadow
:
0
0
0
12pt
rgba
(
255
,
102
,
0
,
0
);
}
}
@keyframes
pulseerrordesktop
{
0
%
{
box-shadow
:
0
0
0
0
rgba
(
255
,
102
,
0
,
0.6
);
}
100
%
{
box-shadow
:
0
0
0
100pt
rgba
(
255
,
102
,
0
,
0
);
}
}
/**********************************************
/**********************************************
* JQM
* JQM
**********************************************/
**********************************************/
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
View file @
0b819055
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
965.3
4799.64195.37666
</string>
</value>
<value>
<string>
965.3
9414.45181.36300
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
151
8776101.1
8
</float>
<float>
151
9049802.3
8
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
View file @
0b819055
...
@@ -1770,6 +1770,12 @@ div[data-gadget-scope='notification'] {
...
@@ -1770,6 +1770,12 @@ div[data-gadget-scope='notification'] {
transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
&.visible {
&.visible {
transform: translate3d(-@panelwidth - @double-margin-size - @main-margin-size-desktop, 0, 0);
transform: translate3d(-@panelwidth - @double-margin-size - @main-margin-size-desktop, 0, 0);
.error {
animation: pulseerrormobile 1s ease-in infinite;
@media @desktop {
animation: pulseerrordesktop 1s ease-in infinite;
}
}
@media @smartphone {
@media @smartphone {
transform: translate3d(-@panelwidth - @double-margin-size - @main-margin-size-smartphone, 0, 0);
transform: translate3d(-@panelwidth - @double-margin-size - @main-margin-size-smartphone, 0, 0);
}
}
...
@@ -1790,6 +1796,23 @@ div[data-gadget-scope='notification'] {
...
@@ -1790,6 +1796,23 @@ div[data-gadget-scope='notification'] {
}
}
}
}
@keyframes pulseerrormobile {
0% {
box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.6);
}
100% {
box-shadow: 0 0 0 @double-margin-size rgba(255, 102, 0, 0);
}
}
@keyframes pulseerrordesktop {
0% {
box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.6);
}
100% {
box-shadow: 0 0 0 100pt rgba(255, 102, 0, 0);
}
}
/**********************************************
/**********************************************
* JQM
* JQM
**********************************************/
**********************************************/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment