diff --git a/basicswap/static/css/style.css b/basicswap/static/css/style.css index 0ac5384..528c400 100644 --- a/basicswap/static/css/style.css +++ b/basicswap/static/css/style.css @@ -16,11 +16,9 @@ .floatright { - position:fixed; - top:10px; - right:18px; - margin: 0; - width:calc(33.33% - 25px); + position: absolute; + top:1.25rem; + right:1.25rem; z-index: 9999; } @@ -32,3 +30,29 @@ { color:red; } + +#hide { + -moz-animation: cssAnimation 0s ease-in 15s forwards; + /* Firefox */ + -webkit-animation: cssAnimation 0s ease-in 15s forwards; + /* Safari and Chrome */ + -o-animation: cssAnimation 0s ease-in 15s forwards; + /* Opera */ + animation: cssAnimation 0s ease-in 15s forwards; + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; +} +@keyframes cssAnimation { + to { + width:0; + height:0; + overflow:hidden; + } +} +@-webkit-keyframes cssAnimation { + to { + width:0; + height:0; + visibility:hidden; + } +} \ No newline at end of file diff --git a/basicswap/templates/bids.html b/basicswap/templates/bids.html index 9064336..40d14f5 100644 --- a/basicswap/templates/bids.html +++ b/basicswap/templates/bids.html @@ -171,9 +171,9 @@