]> cat aescling's git repositories - mastodon.git/commitdiff
Replace onboarding elephant with friendlier graphic, shorter animation (#3337)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 26 May 2017 22:53:25 +0000 (00:53 +0200)
committerGitHub <noreply@github.com>
Fri, 26 May 2017 22:53:25 +0000 (00:53 +0200)
on status fade-in, fix buttons not having pointer cursor

app/javascript/images/elephant-friend-1.png [new file with mode: 0644]
app/javascript/styles/basics.scss
app/javascript/styles/components.scss

diff --git a/app/javascript/images/elephant-friend-1.png b/app/javascript/images/elephant-friend-1.png
new file mode 100644 (file)
index 0000000..2b23833
Binary files /dev/null and b/app/javascript/images/elephant-friend-1.png differ
index e0dd9bdc5d0cab943b0260d5873a9925f181c3e5..70a5be36785ef1fed792e3fbbdebbaf23e1f010e 100644 (file)
@@ -47,10 +47,11 @@ body {
 
 button {
   font-family: inherit;
-}
+  cursor: pointer;
 
-button:focus {
-  outline: none;
+  &:focus {
+    outline: none;
+  }
 }
 
 .app-holder {
index e821a2a05a439e7f642be6fc4a34d11d076fa289..a566e4a3c33288e00d84b891787f201991357414 100644 (file)
   }
 
   opacity: 1;
-  animation: fade 0.3s linear;
+  animation: fade 150ms linear;
 
   &.status-direct {
     background: lighten($ui-base-color, 8%);
@@ -3013,13 +3013,14 @@ button.icon-button.active i.fa-retweet {
 
 .onboarding-modal__page-one {
   display: flex;
+  align-items: center;
 }
 
 .onboarding-modal__page-one__elephant-friend {
-  background: url('../images/elephant-friend.png') no-repeat center center / contain;
-  width: 147px;
-  height: 160px;
-  margin-right: 10px;
+  background: url('../images/elephant-friend-1.png') no-repeat center center / contain;
+  width: 155px;
+  height: 193px;
+  margin-right: 15px;
 }
 
 @media screen and (max-width: 400px) {