diff --git a/static/css/quay.css b/static/css/quay.css index 33256d4b0..390ff23f8 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -1538,14 +1538,6 @@ p.editable:hover i { cursor: pointer; } -.copy-box-element .hovering { - position: absolute; - right: 0px; - top: 40px; - pointer-events: none; - z-index: 100; -} - .copy-box-element input { background-color: white !important; } @@ -1553,27 +1545,37 @@ p.editable:hover i { .clipboard-copied-message { font-size: 0.8em; display: inline-block; - margin-right: 10px; background: black; color: white; padding: 6px; border-radius: 4px; + + position: absolute; + right: 6px; + top: 4px; + pointer-events: none; + z-index: 100; + + white-space: nowrap; + height: 27px; + overflow: hidden; } .clipboard-copied-message { - -webkit-animation: fadeOut 4s ease-in-out 0s 1 forwards; - -moz-animation: fadeOut 4s ease-in-out 0s 1 forwards; - -ms-animation: fadeOut 4s ease-in-out 0s 1 forwards; - -o-animation: fadeOut 4s ease-in-out 0s 1 forwards; - animation: fadeOut 4s ease-in-out 0s 1 forward; + -webkit-animation: fadeOutSlide 2s ease-in-out 0s 1 forwards; + -moz-animation: fadeOutSlide 2s ease-in-out 0s 1 forwards; + -ms-animation: fadeOutSlide 2s ease-in-out 0s 1 forwards; + -o-animation: fadeOutSlide 2s ease-in-out 0s 1 forwards; + animation: fadeOutSlide 2s ease-in-out 0s 1 forward; + animation-delay: 1s; } -@-webkit-keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } -@-moz-keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } -@-ms-keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } -@-o-keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } -@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } +@-webkit-keyframes fadeOutSlide { from { opacity: 1; width: 105px; } to { opacity: 0; width: 0px; } } +@-moz-keyframes fadeOutSlide { from { opacity: 1; width: 105px; } to { opacity: 0; width: 0px; } } +@-ms-keyframes fadeOutSlide { from { opacity: 1; width: 105px; } to { opacity: 0; width: 0px; } } +@-o-keyframes fadeOutSlide { from { opacity: 1; width: 105px; } to { opacity: 0; width: 0px; } } +@keyframes fadeOutSlide { from { opacity: 1; width: 105px; } to { opacity: 0; width: 0px; } } .repo .settings-cog { margin-left: 20px; diff --git a/static/directives/copy-box.html b/static/directives/copy-box.html index 48685daf4..758be3ee3 100644 --- a/static/directives/copy-box.html +++ b/static/directives/copy-box.html @@ -12,7 +12,7 @@ -
diff --git a/static/directives/repo-view/repo-panel-info.html b/static/directives/repo-view/repo-panel-info.html index a5b37f4a0..cb02fe509 100644 --- a/static/directives/repo-view/repo-panel-info.html +++ b/static/directives/repo-view/repo-panel-info.html @@ -26,7 +26,7 @@