Browse Source

Button width changes

For buttons that are next to each other
pull/1/head
Jose Olarte III 6 months ago
parent
commit
dce4d3cc72
  1. 4
      src/components/GiftedDialog.vue
  2. 4
      src/components/OfferDialog.vue
  3. 2
      src/views/AccountViewView.vue
  4. 4
      src/views/ConfirmContactView.vue
  5. 4
      src/views/ContactScanView.vue
  6. 4
      src/views/GiftedDetails.vue
  7. 2
      src/views/HomeView.vue
  8. 4
      src/views/ImportAccountView.vue
  9. 4
      src/views/ImportDerivedAccountView.vue
  10. 2
      src/views/NewEditAccountView.vue
  11. 2
      src/views/NewEditProjectView.vue
  12. 10
      src/views/StartView.vue

4
src/components/GiftedDialog.vue

@ -65,8 +65,9 @@
@click="explainData()" @click="explainData()"
/> />
</p> </p>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-2">
<button <button
class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2" class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md"
@click="confirm" @click="confirm"
> >
Sign &amp; Send Sign &amp; Send
@ -79,6 +80,7 @@
</button> </button>
</div> </div>
</div> </div>
</div>
</template> </template>
<script lang="ts"> <script lang="ts">

4
src/components/OfferDialog.vue

@ -50,8 +50,9 @@
<p class="text-center mt-6 mb-2 italic"> <p class="text-center mt-6 mb-2 italic">
Sign & Send to publish to the world Sign & Send to publish to the world
</p> </p>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-2">
<button <button
class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2" class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md"
@click="confirm" @click="confirm"
> >
Sign &amp; Send Sign &amp; Send
@ -64,6 +65,7 @@
</button> </button>
</div> </div>
</div> </div>
</div>
</template> </template>
<script lang="ts"> <script lang="ts">

2
src/views/AccountViewView.vue

@ -503,7 +503,7 @@
<button> <button>
<router-link <router-link
:to="{ name: 'statistics' }" :to="{ name: 'statistics' }"
class="block w-fit text-center text-md uppercase bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1.5 py-2 rounded-md mb-2" class="block w-fit text-center text-md uppercase bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-4 py-2 rounded-md mb-2"
> >
See Global Animated History of Giving See Global Animated History of Giving
</router-link> </router-link>

4
src/views/ConfirmContactView.vue

@ -30,9 +30,10 @@
</div> </div>
<div class="mt-8"> <div class="mt-8">
<div class="grid grid-cols-1 sm:grid-cols-2 gap-2">
<input <input
type="submit" type="submit"
class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2" class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md"
value="Add Contact" value="Add Contact"
/> />
<button <button
@ -42,6 +43,7 @@
Cancel Cancel
</button> </button>
</div> </div>
</div>
</section> </section>
</template> </template>

4
src/views/ContactScanView.vue

@ -65,9 +65,10 @@
/> />
<div class="mt-8"> <div class="mt-8">
<div class="grid grid-cols-1 sm:grid-cols-2 gap-2">
<input <input
type="submit" type="submit"
class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2" class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md"
value="Look Up Contact" value="Look Up Contact"
/> />
<button <button
@ -77,6 +78,7 @@
Cancel Cancel
</button> </button>
</div> </div>
</div>
</section> </section>
</template> </template>

4
src/views/GiftedDetails.vue

@ -98,8 +98,9 @@
@click="explainData()" @click="explainData()"
/> />
</p> </p>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-2">
<button <button
class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2" class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md"
@click="confirm" @click="confirm"
> >
Sign &amp; Send Sign &amp; Send
@ -110,6 +111,7 @@
> >
Cancel Cancel
</button> </button>
</div>
</section> </section>
</template> </template>

2
src/views/HomeView.vue

@ -160,7 +160,7 @@
</router-link> </router-link>
<button <button
@click="openGiftedPrompts()" @click="openGiftedPrompts()"
class="block text-center text-md font-bold bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md" class="block text-center text-md uppercase bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-4 py-2 rounded-md"
> >
Ideas... Ideas...
</button> </button>

4
src/views/ImportAccountView.vue

@ -56,9 +56,10 @@
</div> </div>
<div class="mt-8"> <div class="mt-8">
<div class="grid grid-cols-1 sm:grid-cols-2 gap-2">
<button <button
@click="fromMnemonic()" @click="fromMnemonic()"
class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2" class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md"
> >
Import Import
</button> </button>
@ -70,6 +71,7 @@
Cancel Cancel
</button> </button>
</div> </div>
</div>
</section> </section>
</template> </template>

4
src/views/ImportDerivedAccountView.vue

@ -49,9 +49,10 @@
</ul> </ul>
</div> </div>
<div class="mt-8"> <div class="mt-8">
<div class="grid grid-cols-1 sm:grid-cols-2 gap-2">
<button <button
@click="incrementDerivation()" @click="incrementDerivation()"
class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2" class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md"
> >
Increment and Import Increment and Import
</button> </button>
@ -63,6 +64,7 @@
Cancel Cancel
</button> </button>
</div> </div>
</div>
</section> </section>
</template> </template>

2
src/views/NewEditAccountView.vue

@ -22,6 +22,7 @@
/> />
<div class="mt-8"> <div class="mt-8">
<div class="grid grid-cols-1 sm:grid-cols-2 gap-2">
<button <button
type="button" type="button"
class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2" class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2"
@ -38,6 +39,7 @@
Cancel Cancel
</button> </button>
</div> </div>
</div>
</section> </section>
</template> </template>

2
src/views/NewEditProjectView.vue

@ -105,6 +105,7 @@
</div> </div>
<div class="mt-8"> <div class="mt-8">
<div class="grid grid-cols-1 sm:grid-cols-2 gap-2">
<button <button
:disabled="isHiddenSave" :disabled="isHiddenSave"
class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2" class="block w-full text-center text-lg font-bold uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2"
@ -128,6 +129,7 @@
Cancel Cancel
</button> </button>
</div> </div>
</div>
</section> </section>
</template> </template>

10
src/views/StartView.vue

@ -23,6 +23,7 @@
<!-- id used by puppeteer test script --> <!-- id used by puppeteer test script -->
<div id="start-question" class="mt-8"> <div id="start-question" class="mt-8">
<div class="max-w-3xl mx-auto">
<p class="text-center text-xl font-light"> <p class="text-center text-xl font-light">
Do you want a new identifier of your own? Do you want a new identifier of your own?
</p> </p>
@ -36,24 +37,27 @@
</p> </p>
<a <a
@click="onClickYes()" @click="onClickYes()"
class="block w-full text-center text-lg uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md" class="block w-full text-center text-lg uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2"
> >
Yes, generate one Yes, generate one
</a> </a>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-2">
<a <a
@click="onClickNo()" @click="onClickNo()"
class="block w-full text-center text-md uppercase bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1.5 py-2 rounded-md mt-2" class="block w-full text-center text-md uppercase bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1.5 py-2 rounded-md"
> >
No, I have a seed No, I have a seed
</a> </a>
<a <a
v-if="numAccounts > 0" v-if="numAccounts > 0"
@click="onClickDerive()" @click="onClickDerive()"
class="block w-full text-center text-md uppercase bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1.5 py-2 rounded-md mt-2" class="block w-full text-center text-md uppercase bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1.5 py-2 rounded-md"
> >
Derive new address from existing seed Derive new address from existing seed
</a> </a>
</div> </div>
</div>
</div>
</section> </section>
</template> </template>

Loading…
Cancel
Save