Port photo ui to vue
This commit is contained in:
parent
06ec6d7792
commit
9e0e0f4359
7 changed files with 230 additions and 146 deletions
|
|
@ -0,0 +1,35 @@
|
|||
<script setup lang="ts"></script>
|
||||
|
||||
<template>
|
||||
<button><div></div></button>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
button {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
|
||||
--color: red;
|
||||
|
||||
border: 10px solid var(--color);
|
||||
border-radius: 100px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
button:enabled:active {
|
||||
--color: white;
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
--color: #444;
|
||||
}
|
||||
|
||||
button div {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 60px;
|
||||
margin: auto;
|
||||
|
||||
background-color: var(--color);
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue