|
9 | 9 | .docker-whale-container { |
10 | 10 | position: relative; |
11 | 11 | display: inline-block; |
12 | | - width: 80px; |
13 | | - height: 60px; |
| 12 | + width: 90px; |
| 13 | + height: 70px; |
14 | 14 | } |
15 | 15 | .docker-whale { |
16 | | - font-size: 3rem; |
17 | | - color: #0db7ed !important; |
| 16 | + width: 64px; |
| 17 | + height: 64px; |
18 | 18 | animation: whale-bob 2s ease-in-out infinite; |
19 | 19 | display: inline-block; |
20 | 20 | } |
21 | 21 | .docker-whale.success { |
22 | | - color: #198754 !important; |
23 | 22 | animation: whale-arrive 0.6s ease-out forwards; |
24 | 23 | } |
25 | | - .docker-whale.timeout { |
26 | | - color: #ffc107; |
27 | | - animation: none; |
| 24 | + .docker-whale.success .docker-whale-svg { |
| 25 | + fill: #198754; |
| 26 | + } |
| 27 | + .docker-whale.timeout .docker-whale-svg { |
| 28 | + fill: #ffc107; |
28 | 29 | } |
| 30 | + .docker-whale.timeout, |
29 | 31 | .docker-whale.failed { |
30 | | - color: #dc3545; |
31 | 32 | animation: none; |
32 | 33 | } |
| 34 | + .docker-whale.failed .docker-whale-svg { |
| 35 | + fill: #dc3545; |
| 36 | + } |
| 37 | + .docker-whale-svg { |
| 38 | + fill: #0db7ed; |
| 39 | + width: 100%; |
| 40 | + height: 100%; |
| 41 | + } |
33 | 42 | @keyframes whale-bob { |
34 | 43 | 0%, 100% { transform: translateY(0) rotate(0deg); } |
35 | 44 | 25% { transform: translateY(-8px) rotate(-2deg); } |
|
59 | 68 | white-space: nowrap; |
60 | 69 | letter-spacing: -2px; |
61 | 70 | } |
62 | | - .docker-whale.success ~ .whale-waves::before, |
63 | | - .docker-whale.timeout ~ .whale-waves::before, |
64 | | - .docker-whale.failed ~ .whale-waves::before { |
| 71 | + .docker-whale.success + .whale-waves::before, |
| 72 | + .docker-whale.timeout + .whale-waves::before, |
| 73 | + .docker-whale.failed + .whale-waves::before { |
65 | 74 | animation: none; |
66 | 75 | } |
67 | 76 | @keyframes wave-flow { |
|
101 | 110 | <div class="text-center mb-4"> |
102 | 111 | <div class="mb-3"> |
103 | 112 | <div class="docker-whale-container"> |
104 | | - <i class="fab fa-docker docker-whale" data-docker-update-progress-target="headerWhale"></i> |
| 113 | + <div class="docker-whale" data-docker-update-progress-target="headerWhale"> |
| 114 | + <svg class="docker-whale-svg" viewBox="0 0 640 512" xmlns="http://www.w3.org/2000/svg"> |
| 115 | + {# Docker Moby whale logo (Font Awesome docker icon path) #} |
| 116 | + <path d="M349.9 236.3h-66.1v-59.4h66.1v59.4zm0-204.3h-66.1v60.7h66.1V32zm78.2 144.8H362v59.4h66.1v-59.4zm-156.3-72.1h-66.1v60.1h66.1v-60.1zm78.1 0h-66.1v60.1h66.1v-60.1zm276.8 100c-14.4-9.7-47.6-13.2-73.1-8.4-3.3-24-16.7-44.9-41.1-63.7l-14-9.3-9.3 14c-18.4 27.8-23.4 73.6-3.7 103.8-8.7 4.7-25.8 11.1-48.4 10.7H2.4c-8.7 50.4 5.8 116.5 44 161.1 34.1 39.9 85.7 60.2 153.6 60.2 118.6 0 213.3-49 257-183.1 16.8.2 52.9 0 71.4-36.6.5-.9 4.8-10.2 15.7-32.6l5.8-11.8-14.4-9.6z"/> |
| 117 | + </svg> |
| 118 | + </div> |
105 | 119 | <div class="whale-waves"></div> |
106 | 120 | </div> |
107 | 121 | </div> |
|
0 commit comments