Skip to content

Commit 8b0e8ee

Browse files
committed
icons, color, opacity
1 parent 644f5e3 commit 8b0e8ee

File tree

5 files changed

+27
-16
lines changed

5 files changed

+27
-16
lines changed

Diff for: src/routes/tutorial/[slug]/Chrome.svelte

+11-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<script>
22
import { createEventDispatcher } from 'svelte';
3-
import back from './back.svg';
4-
import forward from './forward.svg';
3+
import chevron from './chevron.svg';
54
import refresh from './refresh.svg';
65
76
/** @type {string} */
@@ -23,12 +22,17 @@
2322

2423
<div class="chrome">
2524
<button disabled={disabledBwd} on:click={() => dispatch('back')} aria-label="go back">
26-
<img src={back} alt="Back icon" />
25+
<img src={chevron} alt="Back icon" />
2726
</button>
2827
<button disabled={disabledFwd} on:click={() => dispatch('forward')} aria-label="go forward">
29-
<img src={forward} alt="Forward icon" />
28+
<img src={chevron} style="transform: rotate(180deg)" alt="Forward icon" />
3029
</button>
31-
<button class="refresh" disabled={loading} on:click={() => dispatch('refresh')} aria-label="reload">
30+
<button
31+
class="refresh"
32+
disabled={loading}
33+
on:click={() => dispatch('refresh')}
34+
aria-label="reload"
35+
>
3236
<img src={refresh} alt="Reload icon" />
3337
</button>
3438

@@ -97,11 +101,11 @@
97101
}
98102
99103
.chrome button[disabled] img {
100-
opacity: .2;
104+
opacity: 0.5;
101105
}
102106
103107
.chrome button img {
104-
opacity: .6;
108+
opacity: 0.8;
105109
}
106110
107111
.chrome button:hover img,

Diff for: src/routes/tutorial/[slug]/back.svg

-3
This file was deleted.

Diff for: src/routes/tutorial/[slug]/chevron.svg

+11
Loading

Diff for: src/routes/tutorial/[slug]/forward.svg

-3
This file was deleted.

Diff for: src/routes/tutorial/[slug]/refresh.svg

+5-3
Loading

0 commit comments

Comments
 (0)