Skip to content

Commit

Permalink
Merge branch 'main' into 67-body-typography-styles
Browse files Browse the repository at this point in the history
  • Loading branch information
claireolmstead authored Jan 12, 2024
2 parents 9cafb56 + ef971c9 commit c10bd1a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 21 deletions.
4 changes: 2 additions & 2 deletions src/components/AddControlKey.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@
classOverrides="border-2 rounded-lg"
/>
<div class="flex w-350 justify-between">
<button on:click|preventDefault={addControlKey} class="btn-primary action-btn-l">Add It</button>
<button on:click|preventDefault={cancelAction} class="btn-cancel action-btn-r">Cancel Add </button>
<button on:click|preventDefault={addControlKey} class="btn-primary">Add It</button>
<button on:click|preventDefault={cancelAction} class="btn-no-fill">Cancel Add </button>
</div>
</form>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/CreateMsa.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@
</p>
<form class="flex w-350 justify-between">
<button id="create-msa-btn" on:click|preventDefault={doCreateMsa}
class="btn-primary action-btn-l">
class="btn-primary">
Create an MSA
</button>
<button on:click|preventDefault={cancelAction} class="btn-cancel action-btn-r">Cancel</button>
<button on:click|preventDefault={cancelAction} class="btn-cancel">Cancel</button>
</form>
</div>
<TransactionStatus bind:showSelf={showTransactionStatus} statuses={txnStatuses} />
4 changes: 2 additions & 2 deletions src/components/CreateProvider.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@
<input id="providerNameCB" required placeholder="Short name" maxlength="" bind:value={newProviderName} />
<div class="flex w-350 justify-between">
<button id="create-provider-btn" on:click|preventDefault={doCreateProvider}
class="btn-primary action-btn-l">
class="btn-primary">
Create Provider
</button>
<button on:click|preventDefault={cancelAction} class="btn-cancel action-btn-r">Cancel</button>
<button on:click|preventDefault={cancelAction} class="btn-no-fill">Cancel</button>
</div>
</form>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/RequestToBeProvider.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@
<div class="flex w-350 justify-between">

<button on:click|preventDefault={doProposeToBeProvider} id="request-2b-provider-btn"
class="btn-primary action-btn-l">
class="btn-primary">
Submit Request To Be Provider</button
>
<button on:click|preventDefault={cancelAction} class="btn-cancel action-btn-r">Cancel</button>
<button on:click|preventDefault={cancelAction} class="btn-cancel">Cancel</button>
</div>
</form>
</div>
Expand Down
5 changes: 2 additions & 3 deletions src/components/Stake.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,11 @@
<label for="stakingInput">Amount to Stake in <span class="units">{token}</span></label>
<div class="input-container mt-2">
<input type="number" id="stakingInput" value="1" style="text-align: right;" on:input={handleInput} />

</div>
</div>
<div class="flex w-350 justify-between">
<button on:click|preventDefault={stake} class="btn-primary action-btn-l">Stake</button>
<button on:click|preventDefault={cancelAction} class="btn-cancel action-btn-r">Cancel</button>
<button on:click|preventDefault={stake} class="btn-primary">Stake</button>
<button on:click|preventDefault={cancelAction} class="btn-no-fill">Cancel</button>
</div>
</form>
</div>
Expand Down
14 changes: 4 additions & 10 deletions src/style/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
/* */
@layer components {
.btn-primary {
@apply mt-6 px-8 p-3 h-14 rounded-full text-white text-lg bg-blue border-black shadow-md;
@apply w-[225px] h-10 rounded-full text-white bg-blue disabled:bg-disabled text-base font-bold;
}
.btn-cancel {
@apply mt-6 px-8 p-3 rounded-full text-white text-lg border-black shadow-md;
.btn-no-fill {
@apply text-white underline text-sm;
}
select {
@apply text-black px-6 py-2 rounded-md border-0 w-500 h-14 font-medium text-lg;
Expand All @@ -24,13 +24,7 @@
.action-card-title {
@apply font-semibold text-2xl;
}
.action-btn-l {
@apply grow mr-3;
}
.action-btn-r {
@apply grow ml-3;
}


/* typeography */
/* headers */
.section-title {
Expand Down

0 comments on commit c10bd1a

Please sign in to comment.