Fossil SCM
Slightly animate when the post editor shifts its post to the left or reverts it, so that it's not so jarring.
Commit
ef49e3fdc75183c36fcefb8b3a684bcb32a853e18ffa40460c7c2ae986d747ca
Parent
810b65546dc9ff4…
1 file changed
+6
+6
| --- src/style.forum.css | ||
| +++ src/style.forum.css | ||
| @@ -90,5 +90,11 @@ | ||
| 90 | 90 | padding: 0.1em; |
| 91 | 91 | } |
| 92 | 92 | .ForumPostEditor > .buttons > label > input[type=checkbox]{ |
| 93 | 93 | cursor: pointer; |
| 94 | 94 | } |
| 95 | + | |
| 96 | +.forumTime { | |
| 97 | + /* Animate the transition when a ForumPostEditor shifts | |
| 98 | + its post to the left. */ | |
| 99 | + transition: margin-left 0.25s ease-in-out; | |
| 100 | +} | |
| 95 | 101 |
| --- src/style.forum.css | |
| +++ src/style.forum.css | |
| @@ -90,5 +90,11 @@ | |
| 90 | padding: 0.1em; |
| 91 | } |
| 92 | .ForumPostEditor > .buttons > label > input[type=checkbox]{ |
| 93 | cursor: pointer; |
| 94 | } |
| 95 |
| --- src/style.forum.css | |
| +++ src/style.forum.css | |
| @@ -90,5 +90,11 @@ | |
| 90 | padding: 0.1em; |
| 91 | } |
| 92 | .ForumPostEditor > .buttons > label > input[type=checkbox]{ |
| 93 | cursor: pointer; |
| 94 | } |
| 95 | |
| 96 | .forumTime { |
| 97 | /* Animate the transition when a ForumPostEditor shifts |
| 98 | its post to the left. */ |
| 99 | transition: margin-left 0.25s ease-in-out; |
| 100 | } |
| 101 |