diff options
| author | 2023-04-16 15:29:24 +0200 | |
|---|---|---|
| committer | 2023-04-16 15:29:24 +0200 | |
| commit | 52cde870e20757d39413c01a66ced5bae5f80526 (patch) | |
| tree | 36d350aff538aea0efabb225a9fd472da6389003 /p/themes/base-theme/frss.rtl.css | |
| parent | 48954503d11c743528b73055ed08e35c2cc4f95f (diff) | |
Improved: share to clipboard improved with animation and icon (#5295)
* share to clipboard improved with animation and icon
* fix
Diffstat (limited to 'p/themes/base-theme/frss.rtl.css')
| -rw-r--r-- | p/themes/base-theme/frss.rtl.css | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 759a5a834..08f56ba20 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -1891,6 +1891,46 @@ input:checked + .slide-container .properties { color: var(--frss-font-color-error); } +.item.share button { + position: relative; +} + +.item.share button::after { + content: ""; + background: var(--frss-background-color-transparent); + display: inline-block; + position: absolute; + padding-top: 1rem; + opacity: 0; + transition: all 0.6s; + right: 0px; + width: 100%; + height: 1rem; +} + +.item.share button:active::after { + opacity: 1; + width: 0; + transition: 0s +} + +.item.share button.ok::before { + content: "✓"; + position: absolute; + right: 0.5rem; + animation-duration: 10s; + animation-fill-mode: both; + animation-name: easeOut; +} + +@keyframes easeOut { + 0% {opacity: 1;} + + 80% {opacity: 1;} + + 100% {opacity: 0;} +} + .deprecated { font-weight: bold; } |
