Przeglądaj źródła

Replace onboarding elephant with friendlier graphic, shorter animation (#3337)

on status fade-in, fix buttons not having pointer cursor
master
Eugen Rochko 7 lat temu
committed by GitHub
rodzic
commit
bd21afb5ed
3 zmienionych plików z 10 dodań i 8 usunięć
  1. BIN
      app/javascript/images/elephant-friend-1.png
  2. +4
    -3
      app/javascript/styles/basics.scss
  3. +6
    -5
      app/javascript/styles/components.scss

BIN
app/javascript/images/elephant-friend-1.png Wyświetl plik

Przed Po
Szerokość: 1012  |  Wysokość: 1235  |  Rozmiar: 142 KiB

+ 4
- 3
app/javascript/styles/basics.scss Wyświetl plik

@@ -47,10 +47,11 @@ body {

button {
font-family: inherit;
}
cursor: pointer;

button:focus {
outline: none;
&:focus {
outline: none;
}
}

.app-holder {


+ 6
- 5
app/javascript/styles/components.scss Wyświetl plik

@@ -561,7 +561,7 @@
}

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) {


Ładowanie…
Anuluj
Zapisz