Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Materialize connexion loader
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Mar 28, 2016
1 parent a290044 commit 2b74be0
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 20 deletions.
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/themes/orbit/css/allz.css

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions core/src/plugins/gui.ajax/res/themes/orbit/css/base/body.less
Expand Up @@ -86,16 +86,6 @@ span.letter_badge {
font-family: @fontBold;
}

#AjxpConnexion-loader{
left:49% !important;
top: 7px !important;
width:30px;
}

#AjxpConnexion-loader img{
height:6px;
}

.kbd {
padding: .1em .6em;
border: 1px solid #ccc;
Expand Down
Expand Up @@ -60,4 +60,57 @@
transform: scale(1.0);
-webkit-transform: scale(1.0);
}
}
}

.csstransitions{

#AjxpConnexion-loader {
left: 0 !important;
top: 0 !important;
width: 100%;
z-index: 1022 !important;
}
#AjxpConnexion-loader {
height: 2px;
width: 100%;
position: relative;
overflow: hidden;
img{
display: none;
}
&:before{
display: block;
position: absolute;
content: "";
left: -200px;
width: 200px;
height: 4px;
background-color: #03A9F4;
animation: connexionLoading 1.5s linear infinite;
}
}

@keyframes connexionLoading {
from {left: -200px; width: 30%;}
50% {width: 30%;}
70% {width: 70%;}
80% { left: 50%;}
95% {left: 120%;}
to {left: 100%;}
}

}

.no-csstransitions{

#AjxpConnexion-loader{
left:49% !important;
top: 7px !important;
width:30px;
}

#AjxpConnexion-loader img{
height:6px;
}

}
84 changes: 76 additions & 8 deletions core/src/plugins/gui.ajax/res/themes/orbit/css/pydio.css
Expand Up @@ -140,14 +140,6 @@ span.letter_badge {
font-size: 0.8em;
font-family: "Open Sans Regular", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}
#AjxpConnexion-loader {
left: 49% !important;
top: 7px !important;
width: 30px;
}
#AjxpConnexion-loader img {
height: 6px;
}
.kbd {
padding: .1em .6em;
border: 1px solid #ccc;
Expand Down Expand Up @@ -3503,6 +3495,82 @@ span.first-bread em {
-webkit-transform: scale(1);
}
}
.csstransitions #AjxpConnexion-loader {
left: 0 !important;
top: 0 !important;
width: 100%;
z-index: 1022 !important;
}
.csstransitions #AjxpConnexion-loader {
height: 2px;
width: 100%;
position: relative;
overflow: hidden;
}
.csstransitions #AjxpConnexion-loader img {
display: none;
}
.csstransitions #AjxpConnexion-loader:before {
display: block;
position: absolute;
content: "";
left: -200px;
width: 200px;
height: 4px;
background-color: #03A9F4;
-webkit-animation: connexionLoading 1.5s linear infinite;
animation: connexionLoading 1.5s linear infinite;
}
@-webkit-keyframes connexionLoading {
from {
left: -200px;
width: 30%;
}
50% {
width: 30%;
}
70% {
width: 70%;
}
80% {
left: 50%;
}
95% {
left: 120%;
}
to {
left: 100%;
}
}
@keyframes connexionLoading {
from {
left: -200px;
width: 30%;
}
50% {
width: 30%;
}
70% {
width: 70%;
}
80% {
left: 50%;
}
95% {
left: 120%;
}
to {
left: 100%;
}
}
.no-csstransitions #AjxpConnexion-loader {
left: 49% !important;
top: 7px !important;
width: 30px;
}
.no-csstransitions #AjxpConnexion-loader img {
height: 6px;
}
/************************/
/* CONTEXT MENU STYLES */
/************************/
Expand Down

0 comments on commit 2b74be0

Please sign in to comment.