diff --git a/public/index.css b/public/index.css
index 159bc0c7f..fd9235e95 100644
--- a/public/index.css
+++ b/public/index.css
@@ -74,12 +74,20 @@
--font-family-monospace: monospace;
--font-weight-medium: 600;
--font-weight-bold: 700;
+
--border-radius: 50px;
--border-radius-medium: 0.25rem;
+
--box-shadow-color: var(--color-secondary-2);
+
--content-max-width: 1920px;
--content-min-width: 480px;
+
--scrollbar-width: 0.5rem;
+
+ --button-regular-height: 2.5rem;
+ --button-small-height: 2rem;
+ --button-tiny-height: 1.5rem;
}
body {
@@ -165,15 +173,18 @@ button {
color: var(--color-foreground-6);
background: transparent;
font-size: 1rem;
- padding: 1rem 1.5rem;
+ padding: 0rem 1.5rem;
border: 1px solid var(--color-foreground-6);
border-radius: var(--border-radius);
cursor: pointer;
min-width: 8rem;
+ display: inline-flex;
+ align-items: center;
}
button:not([disabled]):hover {
color: var(--color-background);
background-color: var(--color-foreground);
+ border-color: transparent;
}
button.waiting {
cursor: wait;
@@ -233,12 +244,13 @@ button.text:hover {
background-color: var(--color-foreground);
}
-button.small {
+button.regular {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
min-width: 6rem;
+ height: var(--button-regular-height);
}
-button.tiny {
+button.small {
min-width: auto;
padding: 0 0.75rem;
height: 2rem;
@@ -280,8 +292,9 @@ input[type="text"] {
background: transparent;
border: 1px solid var(--color-secondary);
border-radius: var(--border-radius);
- padding: 1rem 1.5rem;
+ padding: 0rem 1.5rem;
margin: 1rem;
+ height: var(--button-regular-height);
}
input[type="text"]::placeholder {
color: var(--color-secondary);
@@ -358,6 +371,7 @@ label.input {
margin: 0 0.5rem;
font-size: 0.75rem;
line-height: 1.6;
+ height: var(--button-tiny-height);
}
.badge.primary {
color: var(--color-primary);
diff --git a/src/Form.svelte b/src/Form.svelte
index af07b8ed2..44b81c9f2 100644
--- a/src/Form.svelte
+++ b/src/Form.svelte
@@ -235,10 +235,10 @@
-
diff --git a/src/Header.svelte b/src/Header.svelte
index b900dc18b..4ace71dd7 100644
--- a/src/Header.svelte
+++ b/src/Header.svelte
@@ -41,10 +41,12 @@
align-items: center;
margin: 0;
padding: 1.5rem;
+ height: 5.5rem;
}
header .left, header .right {
display: flex;
align-items: center;
+ height: var(--button-regular-height);
}
header .nav {
display: inline-block;
@@ -70,6 +72,8 @@
.logo {
display: flex;
+ height: var(--button-regular-height);
+ align-items: center;
}
.error {
text-align: center;
@@ -86,7 +90,7 @@
text-decoration: none;
}
.search {
- height: 42px;
+ height: var(--button-regular-height);
width: 16rem;
margin-left: 1.5rem;
display: inline-block;
@@ -96,7 +100,6 @@
flex-direction: row;
align-items: center;
justify-content: center;
- min-height: 42px;
margin-left: 2rem;
width: 10rem;
padding-left: 0;
@@ -110,8 +113,11 @@
color: var(--color-tertiary);
background-color: var(--color-tertiary-background);
line-height: 1.5em;
- padding: 0.5rem 1rem;
+ padding: 0rem 1rem;
border-radius: var(--border-radius);
+ height: var(--button-regular-height);
+ display: flex;
+ align-items: center;
}
.network.unavailable {
color: #888;
@@ -196,7 +202,7 @@
{/if}
- disconnectWallet(config)}
on:mouseover={() => sessionButtonHover = true}
on:focus={() => sessionButtonHover = true}
@@ -215,7 +221,7 @@
{:else if config}
-
+
{/if}
diff --git a/src/Profile.svelte b/src/Profile.svelte
index 92ab1938f..df350af41 100644
--- a/src/Profile.svelte
+++ b/src/Profile.svelte
@@ -244,7 +244,7 @@
{#await account && profile.org.isMember(account, config) then isMember}
{#if isOwner(profile.org) || isMember}
-
+
Transfer
{/if}
@@ -287,7 +287,7 @@
{:then authorized}
{#if authorized}
-
+
Set
{/if}
@@ -315,7 +315,7 @@
{#if isUserAuthorized(profile.address)}
-
+
Set
{/if}
diff --git a/src/RadicleUrn.svelte b/src/RadicleUrn.svelte
index d3370d18b..5828214f5 100644
--- a/src/RadicleUrn.svelte
+++ b/src/RadicleUrn.svelte
@@ -41,7 +41,7 @@
-
+
{#if copied}
Copy ✓
{:else}
diff --git a/src/Search.svelte b/src/Search.svelte
index eddff515f..deb4b9786 100644
--- a/src/Search.svelte
+++ b/src/Search.svelte
@@ -26,6 +26,7 @@
margin: 0;
padding: 0.5rem 1.25rem;
border-style: dashed;
+ height: var(--button-regular-height);
}
diff --git a/src/SiweConnect.svelte b/src/SiweConnect.svelte
index ac5a685e9..1f7ed60b9 100644
--- a/src/SiweConnect.svelte
+++ b/src/SiweConnect.svelte
@@ -23,7 +23,7 @@
{
diff --git a/src/base/orgs/Create.svelte b/src/base/orgs/Create.svelte
index 96f513a31..b3352cb65 100644
--- a/src/base/orgs/Create.svelte
+++ b/src/base/orgs/Create.svelte
@@ -183,14 +183,14 @@
{#if state === State.Idle}
Create
- dispatch('close')} class="text">
+ dispatch('close')} class="text regular">
Close
{/if}
diff --git a/src/base/orgs/Index.svelte b/src/base/orgs/Index.svelte
index 4f2489e8a..cb5fc0d0c 100644
--- a/src/base/orgs/Index.svelte
+++ b/src/base/orgs/Index.svelte
@@ -66,7 +66,7 @@
diff --git a/src/base/orgs/TransferOwnership.svelte b/src/base/orgs/TransferOwnership.svelte
index 957b1c2a5..64c17644e 100644
--- a/src/base/orgs/TransferOwnership.svelte
+++ b/src/base/orgs/TransferOwnership.svelte
@@ -84,7 +84,7 @@
- dispatch('close')}>
+ dispatch('close')}>
Done
@@ -102,7 +102,7 @@
- dispatch('close')}>
+ dispatch('close')}>
Done
@@ -144,15 +144,15 @@
{#if state == State.Signing}
-
dispatch('close')}>
+ dispatch('close')}>
Cancel
{:else if state == State.Pending}
- dispatch('close')}>
+ dispatch('close')}>
Close
{:else if state == State.Failed}
-
+
Back
{:else}
diff --git a/src/base/profiles/AnchorActions.svelte b/src/base/profiles/AnchorActions.svelte
index 9163f8c97..9bf3a3a29 100644
--- a/src/base/profiles/AnchorActions.svelte
+++ b/src/base/profiles/AnchorActions.svelte
@@ -124,7 +124,7 @@
{
action = Action.Execute;
state = State.Confirm;
- }} class="tiny execute">
+ }} class="small execute">
Execute
@@ -134,7 +134,7 @@
{
action = Action.Sign;
state = State.Confirm;
- }} class="tiny">
+ }} class="small">
Confirm
{/if}
diff --git a/src/base/projects/Browser.svelte b/src/base/projects/Browser.svelte
index 630feb9d7..38e961b7e 100644
--- a/src/base/projects/Browser.svelte
+++ b/src/base/projects/Browser.svelte
@@ -160,7 +160,7 @@
{#if tree.entries.length > 0}
diff --git a/src/base/registrations/Index.svelte b/src/base/registrations/Index.svelte
index 4a7877b5c..758ecca2b 100644
--- a/src/base/registrations/Index.svelte
+++ b/src/base/registrations/Index.svelte
@@ -53,7 +53,7 @@
/>
-
+
Check
diff --git a/src/base/registrations/View.svelte b/src/base/registrations/View.svelte
index ff377269a..64d7152bc 100644
--- a/src/base/registrations/View.svelte
+++ b/src/base/registrations/View.svelte
@@ -183,11 +183,11 @@
{domain}
editable = !editable}>
Edit
-
+
Transfer
diff --git a/src/base/vesting/Index.svelte b/src/base/vesting/Index.svelte
index b6481942e..a61323be0 100644
--- a/src/base/vesting/Index.svelte
+++ b/src/base/vesting/Index.svelte
@@ -79,20 +79,20 @@
{#if isBeneficiary}
{#if $state === State.WithdrawingSign}
-
+
Waiting for signature...
{:else if $state === State.Withdrawing}
-
+
Withdrawing...
{:else if $state === State.Idle}
- withdrawVested(contractAddress, config)} class="primary small">
+ withdrawVested(contractAddress, config)} class="primary regular">
Withdraw
{/if}
{/if}
-
+
Back
diff --git a/src/components/Modal/ConnectWallet.svelte b/src/components/Modal/ConnectWallet.svelte
index 0fdfa1e44..0f342111c 100644
--- a/src/components/Modal/ConnectWallet.svelte
+++ b/src/components/Modal/ConnectWallet.svelte
@@ -68,10 +68,10 @@
-
+
Connect with Metamask
-
+
Close
diff --git a/src/ens/DomainInput.svelte b/src/ens/DomainInput.svelte
index 6b03869cc..b99a51f27 100644
--- a/src/ens/DomainInput.svelte
+++ b/src/ens/DomainInput.svelte
@@ -18,14 +18,16 @@