🍱 (buttons) add icons
This commit is contained in:
@@ -7,9 +7,58 @@
|
|||||||
</section>
|
</section>
|
||||||
<div class="global-time">{{ time }}</div>
|
<div class="global-time">{{ time }}</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<button v-show="timeState === 'stopped'" @click="start">start</button>
|
<button v-show="timeState === 'stopped'" @click="start">
|
||||||
<button v-show="timeState === 'started'" @click="pause">pause</button>
|
<svg
|
||||||
<button v-show="timeState === 'started'" @click="clear">stop</button>
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
class="icon icon-tabler icon-tabler-caret-right"
|
||||||
|
width="44"
|
||||||
|
height="44"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke="#2c3e50"
|
||||||
|
fill="none"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
>
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" />
|
||||||
|
<path d="M18 15l-6-6l-6 6h12" transform="rotate(90 12 12)" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
<button v-show="timeState === 'started'" @click="pause">
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
class="icon icon-tabler icon-tabler-arrow-bar-right"
|
||||||
|
width="44"
|
||||||
|
height="44"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke="#2c3e50"
|
||||||
|
fill="none"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
>
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" />
|
||||||
|
<line x1="8" y1="4" x2="8" y2="20" />
|
||||||
|
<line x1="16" y1="4" x2="16" y2="20" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
<button v-show="timeState === 'started'" @click="clear">
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
class="icon icon-tabler icon-tabler-square"
|
||||||
|
width="44"
|
||||||
|
height="44"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke="#2c3e50"
|
||||||
|
fill="none"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
>
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" />
|
||||||
|
<rect x="4" y="4" width="16" height="16" rx="2" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<ZoneMusic
|
<ZoneMusic
|
||||||
class="music"
|
class="music"
|
||||||
@@ -76,6 +125,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
margin: 0 1rem;
|
margin: 0 1rem;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.global-time {
|
.global-time {
|
||||||
|
|||||||
Reference in New Issue
Block a user