From 929dc772df246490bb616224fb120b061cbe823a Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 18 Jul 2023 08:52:30 -0400 Subject: [PATCH] style: reformat --- ui/components/account/Account.svelte | 319 ++++++++++++++------- ui/components/dashboard/Dashboard.svelte | 132 ++++++--- ui/components/onboarding/Onboarding.svelte | 70 +++-- 3 files changed, 361 insertions(+), 160 deletions(-) diff --git a/ui/components/account/Account.svelte b/ui/components/account/Account.svelte index dd907fe..d998aa4 100644 --- a/ui/components/account/Account.svelte +++ b/ui/components/account/Account.svelte @@ -1,5 +1,5 @@
- Lume + Lume
-
+
-
-
-
+
+
+
@@ -226,11 +243,18 @@

Access the open web with ease

-

Seamless access to the open web with Lume, integrated Handshake (HNS) and Ethereum (ENS) Support.

+

+ Seamless access to the open web with Lume, integrated Handshake + (HNS) and Ethereum (ENS) Support. +

Set up your account key

-

Let’s create your account key or seed phrase. This phrase will be used to access your Lume account. Make sure to keep it safe at all times.

+

+ Let’s create your account key or seed phrase. This phrase will be + used to access your Lume account. Make sure to keep it safe at all + times. +

Here’s your account key

@@ -243,14 +267,24 @@
- Lume is a 503c Grant recepient, learn more about the work we’re doing to provide accessible access to the open web for everyone. + Lume is a 503c Grant recepient, learn more about the work we’re doing to provide accessible access to + the open web for everyone.
@@ -354,7 +445,8 @@ } } - .art, .content { + .art, + .content { position: absolute; top: 0; bottom: 0; @@ -375,24 +467,42 @@ } .gradient-1 { - background: linear-gradient(272.67deg, #1FC3F7 -27.49%, #33A653 49.4%, #62C554 87.63%); + background: linear-gradient( + 272.67deg, + #1fc3f7 -27.49%, + #33a653 49.4%, + #62c554 87.63% + ); z-index: -1; } .gradient-2 { - background: conic-gradient(from 180deg at 50% 50%, #33A653 -15.8deg, #080808 222.32deg, #33A653 344.2deg, #080808 582.32deg); + background: conic-gradient( + from 180deg at 50% 50%, + #33a653 -15.8deg, + #080808 222.32deg, + #33a653 344.2deg, + #080808 582.32deg + ); opacity: 0; z-index: -2; } .gradient-3 { - background: linear-gradient(272.67deg, #ED6A5E -27.49%, #0C0C0D 26.91%, #33A653 49.4%, #ED6A5E 99.62%); + background: linear-gradient( + 272.67deg, + #ed6a5e -27.49%, + #0c0c0d 26.91%, + #33a653 49.4%, + #ed6a5e 99.62% + ); opacity: 0; z-index: -3; } } - main.sign-in, main.create-account { + main.sign-in, + main.create-account { .art { .gradient-1 { opacity: 0; @@ -486,7 +596,8 @@ z-index: 2; } - #content-text-create-account, #content-text-show-key { + #content-text-create-account, + #content-text-show-key { position: absolute; opacity: 0; z-index: 1; @@ -709,7 +820,8 @@ z-index: 2; } - .create-account-gray-btn, .create-account-cancel-btn { + .create-account-gray-btn, + .create-account-cancel-btn { opacity: 0; z-index: 1; } @@ -870,8 +982,12 @@ z-index: 2; } - &.create-account-step-2, &.create-account-step-3 { - #content-text-wrapper, .separator, #switch-default .btn-stack, .grant-info { + &.create-account-step-2, + &.create-account-step-3 { + #content-text-wrapper, + .separator, + #switch-default .btn-stack, + .grant-info { transition-delay: 2s; opacity: 0.15; pointer-events: none; @@ -898,8 +1014,12 @@ } } - &.create-account-step-3, &.create-account-step-4 { - #content-text-wrapper, .separator, #switch-default .btn-stack, .grant-info { + &.create-account-step-3, + &.create-account-step-4 { + #content-text-wrapper, + .separator, + #switch-default .btn-stack, + .grant-info { transition-delay: 0s; opacity: 1; } @@ -936,7 +1056,10 @@ } &.create-account-step-4 { - #content-text-wrapper, .show-key-copy-btn, #switch-show-key .btn-stack, .grant-info { + #content-text-wrapper, + .show-key-copy-btn, + #switch-show-key .btn-stack, + .grant-info { animation: 5000ms save-key-warning; } diff --git a/ui/components/dashboard/Dashboard.svelte b/ui/components/dashboard/Dashboard.svelte index 7713087..f0c8c71 100644 --- a/ui/components/dashboard/Dashboard.svelte +++ b/ui/components/dashboard/Dashboard.svelte @@ -1,11 +1,11 @@
- Lume -
+ Lume +
- + Lume Network
- + Lume Network
- - + + {userCount}
-
+
-
-
-
-
+
+
+
+
@@ -70,30 +85,24 @@
  • - + HNS
    -
    - Synced -
    +
    Synced
  • - + ENS
    -
    - Syncing -
    +
    Syncing
  • - + Arweave
    -
    - Issue -
    +
    Issue
@@ -102,14 +111,22 @@
  • - + IPFS
    Connected
    - - + + {userCount}
    @@ -117,14 +134,22 @@
  • - + Arweave
    Connecting
    - - + + {userCount}
    @@ -259,7 +284,8 @@ } } - &.step-3, &.step-4 { + &.step-3, + &.step-4 { .network { .connecting { z-index: 1; @@ -312,24 +338,48 @@ } .gradient-1 { - background: linear-gradient(272.67deg, #FF005C -27.49%, #0C0C0D 26.91%, #FF005C 49.4%, #ED6A5E 99.62%); + background: linear-gradient( + 272.67deg, + #ff005c -27.49%, + #0c0c0d 26.91%, + #ff005c 49.4%, + #ed6a5e 99.62% + ); z-index: -1; } .gradient-2 { - background: conic-gradient(from 180deg at 50% 50%, #A67833 -15.8deg, #E91F1F 222.32deg, #A67833 344.2deg, #E91F1F 582.32deg); + background: conic-gradient( + from 180deg at 50% 50%, + #a67833 -15.8deg, + #e91f1f 222.32deg, + #a67833 344.2deg, + #e91f1f 582.32deg + ); opacity: 0; z-index: -2; } .gradient-3 { - background: conic-gradient(from -89.79deg at 50% 50%, #33A653 -15.8deg, #080808 222.32deg, #33A653 344.2deg, #080808 582.32deg); + background: conic-gradient( + from -89.79deg at 50% 50%, + #33a653 -15.8deg, + #080808 222.32deg, + #33a653 344.2deg, + #080808 582.32deg + ); opacity: 0; z-index: -3; } .gradient-4 { - background: conic-gradient(from 180deg at 50% 50%, #2F2F2F -15.8deg, #66D155 222.32deg, #2F2F2F 344.2deg, #66D155 582.32deg); + background: conic-gradient( + from 180deg at 50% 50%, + #2f2f2f -15.8deg, + #66d155 222.32deg, + #2f2f2f 344.2deg, + #66d155 582.32deg + ); opacity: 0; z-index: -4; } diff --git a/ui/components/onboarding/Onboarding.svelte b/ui/components/onboarding/Onboarding.svelte index 3356933..51fedc3 100644 --- a/ui/components/onboarding/Onboarding.svelte +++ b/ui/components/onboarding/Onboarding.svelte @@ -1,6 +1,6 @@
    - Lume + Lume
    -
    -
    -
    -
    -
    +
    +
    +
    +
    +

    Thank you for supporting an open web.

    -

    We are an independent, pure organization. We have decided not to take money from venture capitalists. Nor do we have a large treasury funding our work.

    +

    + We are an independent, pure organization. We have decided not to take + money from venture capitalists. Nor do we have a large treasury + funding our work. +

    Gateway for easy access to the open web.

    -

    Easy Access to Web3. With native Handshake (HNS) and Ethereum (ENS) support, you can forget eth.link and hns.is. This is your gateway.

    +

    + Easy Access to Web3. With native Handshake (HNS) and Ethereum (ENS) + support, you can forget eth.link and hns.is. This is your gateway. +

    - +

    Universal storage drive slide.

    -

    Stop worrying about being vendor-locked. Remain flexible and reduce your storage costs by 50% or more. Lume is affordable storage on-demand.

    +

    + Stop worrying about being vendor-locked. Remain flexible and reduce + your storage costs by 50% or more. Lume is affordable storage + on-demand. +

    - +

    Create decentralized websites.

    -

    Stop worrying about being vendor-locked. Remain flexible and reduce your storage costs by 50% or more. Lume is affordable storage on-demand. Stop worrying about being vendor-locked.

    +

    + Stop worrying about being vendor-locked. Remain flexible and reduce + your storage costs by 50% or more. Lume is affordable storage + on-demand. Stop worrying about being vendor-locked. +

    - - + +
    - Lume is a 503c Grant recepient, learn more about the work we’re doing to provide accessible access to the open web for everyone. + Lume is a 503c Grant recepient, learn more about the work we’re doing to provide accessible access to + the open web for everyone.
    @@ -80,9 +105,10 @@ background: #080808; } - .art, .content { + .art, + .content { position: absolute; - top:0; + top: 0; bottom: 0; width: 50%; } @@ -180,7 +206,9 @@ } } - .content-2, .content-3, .content-4 { + .content-2, + .content-3, + .content-4 { display: none; }