Skip to content
This repository was archived by the owner on Jan 21, 2019. It is now read-only.

Commit 61a57cf

Browse files
Add a small illustration to the start interface
1 parent d4a4c14 commit 61a57cf

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ Patternbot adheres to [Semantic Versioning](http://semver.org/).
55

66
---
77

8+
## [1.3.1] — 2017-03-28
9+
10+
### Changed
11+
12+
- Added a small robot illustration to the start screen to differentiate Patternbot from the other Toolbots.
13+
14+
---
15+
816
## [1.3.0] — 2017-03-25
917

1018
### Added

app/renderer/windows/main/main.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ header {
8989
justify-content: center;
9090
align-items: center;
9191
flex-grow: 1;
92+
position: relative;
9293

9394
text-align: center;
9495
}
@@ -186,3 +187,43 @@ main {
186187
transform: translate(-50%, -50%);
187188
opacity: .3;
188189
}
190+
191+
#robot-bust-wrap {
192+
bottom: -46px;
193+
left: calc(50% - 48px);
194+
position: absolute;
195+
width: 96px;
196+
}
197+
198+
#robot-speech {
199+
left: 50%;
200+
margin: 0;
201+
padding: 4px 0;
202+
position: absolute;
203+
top: -1em;
204+
width: 12em;
205+
206+
background-color: rgba(0, 0, 0, .16);
207+
border-radius: var(--control-border-radius);
208+
transform: translateX(-50%);
209+
210+
color: #fff;
211+
font-size: 11px;
212+
text-align: center;
213+
}
214+
215+
#robot-speech-triangle {
216+
bottom: -9px;
217+
left: 50%;
218+
position: absolute;
219+
width: 16px;
220+
221+
opacity: .16;
222+
transform: translateX(-50%);
223+
}
224+
225+
#robot-bust {
226+
width: 100%;
227+
228+
opacity: .16;
229+
}

app/renderer/windows/main/main.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,33 @@
1010
<header id="header" role="banner">
1111
<img class="drop-arrow" src="../../images/drop-arrow.svg" alt="">
1212
<h1>Drag <abbr title="and">&amp;</abbr> drop a folder…</h1>
13+
<div id="robot-bust-wrap">
14+
<p id="robot-speech">
15+
<span>By your command.</span>
16+
<svg id="robot-speech-triangle" viewBox="0 0 256 140">
17+
<polygon fill="#000" points="128 134.4 2.9 -1.8 253.1 -1.8 128 134.4"/>
18+
</svg>
19+
</p>
20+
<svg id="robot-bust" viewBox="0 0 512 512">
21+
<path d="M320.8 154.1H190.5c-5 0-12.6 5.2-8.3 2.6l-35.7 21.4h219l-36.1-21.7a13.7 13.7 0 0 0-8.6-2.3z"/>
22+
<polygon points="325.5 307.5 186.5 307.5 146.5 262.8 365.5 262.8 325.5 307.5"/>
23+
<circle cx="303.3" cy="236.1" r="14.1"/>
24+
<path d="M277 323.3a6.6 6.6 0 0 1-6.5 6.7h-28.6c-3.6 0-5.9-3.1-5.9-6.7V315h-28.9l7.9 28.2a11.8 11.8 0 0 0 11.7 11.8h59a11.8 11.8 0 0 0 11.7-11.8l7.9-28.2H277z"/>
25+
<path d="M148.2 446h216l-17.7-75.2a22.8 22.8 0 0 0-22.7-22.8H188.7a22.8 22.8 0 0 0-22.8 22.8zm57.8-84h100v64H206z"/>
26+
<path d="M235.9 124.9c0 8.7 6.1 16 13.1 18.8V161h15v-17.8a20 20 0 1 0-28.1-18.3zm30.8 0a10.6 10.6 0 1 1-10.6-10.6 10.6 10.6 0 0 1 10.6 10.6z"/>
27+
<path d="M398.5 220.6l-24-28.6h-237l-24 28.6-3 23.5a8 8 0 0 0 8 8h157.8l-6-35h58.2l10 35h55a8 8 0 0 0 8-8zM190 239h-44v-9h44zm0-16h-44v-11h44z"/>
28+
<rect width="12" height="40" x="218.5" y="373"/>
29+
<circle cx="288.4" cy="379.9" r="6.9"/>
30+
<circle cx="288.4" cy="406.1" r="6.9"/>
31+
<rect width="40" height="9.87" x="332.7" y="387.2" rx="4.1" ry="4.1" transform="rotate(-180 352.7 392.1)"/>
32+
<rect width="40" height="9.87" x="332.7" y="401.3" rx="4.1" ry="4.1" transform="rotate(-180 352.7 406.3)"/>
33+
<rect width="40" height="9.87" x="332.7" y="373" rx="4.1" ry="4.1" transform="rotate(180 352.7 377.9)"/>
34+
<rect width="40" height="9.87" x="139.7" y="387.2" rx="4.1" ry="4.1" transform="rotate(-180 159.7 392.1)"/>
35+
<rect width="40" height="9.87" x="139.7" y="401.3" rx="4.1" ry="4.1" transform="rotate(-180 159.7 406.3)"/>
36+
<rect width="40" height="9.87" x="139.7" y="373" rx="4.1" ry="4.1" transform="rotate(180 159.7 377.9)"/>
37+
<rect width="216.8" height="44" x="147.4" y="446"/>
38+
</svg>
39+
</div>
1340
</header>
1441

1542
<main id="main" role="main" hidden>

0 commit comments

Comments
 (0)