X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=assets%2Fdefault%2Fscss%2Fshaarli.scss;fp=assets%2Fdefault%2Fscss%2Fshaarli.scss;h=286ac83b32b487a3d51837b54dd81b1282d6d76f;hb=9b3c1270bcbe4f8e30e0160da8badd43dd94871a;hp=2f49bbd21d50690d0e070553b6b3b9e131d5e74c;hpb=552c3b942afe565b780785eab5b2e29c1e800c2e;p=github%2Fshaarli%2FShaarli.git diff --git a/assets/default/scss/shaarli.scss b/assets/default/scss/shaarli.scss index 2f49bbd2..286ac83b 100644 --- a/assets/default/scss/shaarli.scss +++ b/assets/default/scss/shaarli.scss @@ -1273,6 +1273,57 @@ form { } } +.loading-input { + position: relative; + + @keyframes around { + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } + } + + .icon-container { + position: absolute; + right: 60px; + top: calc(50% - 10px); + } + + .loader { + position: relative; + height: 20px; + width: 20px; + display: inline-block; + animation: around 5.4s infinite; + + &::after, + &::before { + content: ""; + background: $form-input-background; + position: absolute; + display: inline-block; + width: 100%; + height: 100%; + border-width: 2px; + border-color: #333 #333 transparent transparent; + border-style: solid; + border-radius: 20px; + box-sizing: border-box; + top: 0; + left: 0; + animation: around 0.7s ease-in-out infinite; + } + + &::after { + animation: around 0.7s ease-in-out 0.1s infinite; + background: transparent; + } + } +} + // LOGIN .login-form-container { .remember-me {