add throbber, room search, room preview
parent
afbb98eb4d
commit
31beb2b436
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<svg width='200px' height='200px' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="uil-ring-alt">
|
||||||
|
<rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect>
|
||||||
|
<circle cx="50" cy="50" r="40" stroke="#d9d9d9" fill="none" stroke-width="10" stroke-linecap="round"></circle>
|
||||||
|
<circle cx="50" cy="50" r="40" stroke="#009eff" fill="none" stroke-width="10" stroke-linecap="round">
|
||||||
|
<animate attributeName="stroke-dashoffset" dur="2s" repeatCount="indefinite" from="502" to="0"></animate>
|
||||||
|
<animate attributeName="stroke-dasharray" dur="2s" repeatCount="indefinite" values="125.5 125.5;1 250;125.5 125.5"></animate>
|
||||||
|
</circle>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 718 B |
@ -0,0 +1,39 @@
|
|||||||
|
<template>
|
||||||
|
<div class="box">
|
||||||
|
<img class="icon" :src="'./sym/throbber.svg'" alt="[animation]"/>
|
||||||
|
<div class="text">{{text}}</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "throbber",
|
||||||
|
props:{
|
||||||
|
text: String
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
.box{
|
||||||
|
position: absolute;
|
||||||
|
height: 8rem;
|
||||||
|
width: 8rem;
|
||||||
|
background-color: #1d1d1d;
|
||||||
|
box-shadow: 6px 6px 20px #111;
|
||||||
|
border-radius: 2rem;
|
||||||
|
.icon{
|
||||||
|
position: absolute;
|
||||||
|
top: 15%;
|
||||||
|
left: 25%;
|
||||||
|
height: 50%;
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
.text{
|
||||||
|
position: absolute;
|
||||||
|
bottom: 1rem;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in New Issue