1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +12:00

Welcome screen fix

Page scroll fix
Card responsiveness fix
Page spacing improved
Button color changed
This commit is contained in:
Joe 2020-07-02 11:02:31 +01:00
parent 3d4b855ec8
commit 72700bc4ca
10 changed files with 28 additions and 71 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

View file

@ -55,7 +55,7 @@
] ]
}, },
"dependencies": { "dependencies": {
"@budibase/bbui": "^1.15.0", "@budibase/bbui": "^1.15.4",
"@budibase/client": "^0.0.32", "@budibase/client": "^0.0.32",
"@nx-js/compiler-util": "^2.0.0", "@nx-js/compiler-util": "^2.0.0",
"codemirror": "^5.51.0", "codemirror": "^5.51.0",

View file

@ -1,11 +1,5 @@
/* Budibase Component Styles */ /* Budibase Component Styles */
.header {
font-size: 0.75rem;
color: var(--ink);
text-transform: uppercase;
margin-top: 1rem;
font-weight: 500;
}
.budibase__title { .budibase__title {
font-weight: 900; font-weight: 900;

View file

@ -25,7 +25,7 @@
<style> <style>
.apps { .apps {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, 380px); grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
grid-gap: 20px 40px; grid-gap: 20px 40px;
justify-content: start; justify-content: start;
} }

View file

@ -63,7 +63,7 @@
<span class="icon"> <span class="icon">
<AppsIcon /> <AppsIcon />
</span> </span>
<h3>Create new web app</h3> <h3 class="header">Create new web app</h3>
</div> </div>
<Input <Input
name="name" name="name"
@ -90,7 +90,7 @@
<InfoIcon /> <InfoIcon />
How to get started How to get started
</a> </a>
<Button outline thin on:click={_onCancel}>Cancel</Button> <Button secondary thin on:click={_onCancel}>Cancel</Button>
<Button primary thin on:click={_onOkay}>Save</Button> <Button primary thin on:click={_onOkay}>Save</Button>
</div> </div>
<div class="close-button" on:click={_onCancel}> <div class="close-button" on:click={_onCancel}>
@ -125,10 +125,11 @@
align-items: center; align-items: center;
margin-bottom: 20px; margin-bottom: 20px;
} }
h3 { .header {
margin: 0; margin: 0;
font-size: 24px; font-size: 24px;
font-weight: bold; font-weight: 600;
font-family: inter;
} }
.icon { .icon {
display: grid; display: grid;

View file

@ -42,12 +42,12 @@
<div class="nav-section-title">Contact</div> <div class="nav-section-title">Contact</div>
<Link <Link
icon={ContributionIcon} icon={ContributionIcon}
title="Contribute to our product" title="Contribute"
href="/" /> href="/" />
<Link icon={BugIcon} title="Report bug" href="/" /> <Link icon={BugIcon} title="Report bug" href="/" />
<Link icon={EmailIcon} title="Email" href="/" /> <Link icon={EmailIcon} title="Email" href="/" />
<Link icon={TwitterIcon} title="Twitter" href="/" /> <Link icon={TwitterIcon} title="Twitter" href="/" />
</div> </div>
</div> </div>
<div class="main"> <div class="main">
@ -59,7 +59,7 @@
<style> <style>
.root { .root {
display: grid; display: grid;
grid-template-columns: 300px 1fr; grid-template-columns: 260px 1fr;
height: 100%; height: 100%;
width: 100%; width: 100%;
background: var(--grey-1); background: var(--grey-1);
@ -67,6 +67,7 @@
.main { .main {
grid-column: 2; grid-column: 2;
overflow: auto;
} }
.ui-nav { .ui-nav {
@ -75,7 +76,6 @@
padding: 20px; padding: 20px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border-right: 1px solid var(--grey-4);
} }
.home-logo { .home-logo {

View file

@ -8,6 +8,7 @@
import { get } from "builderStore/api" import { get } from "builderStore/api"
import Spinner from "components/common/Spinner.svelte" import Spinner from "components/common/Spinner.svelte"
import CreateAppModal from "components/start/CreateAppModal.svelte" import CreateAppModal from "components/start/CreateAppModal.svelte"
import { Button } from "@budibase/bbui"
let promise = getApps() let promise = getApps()
@ -43,21 +44,19 @@
} }
</script> </script>
<div class="welcome">Welcome to Budibase</div> <div class="header">
<div class="welcome">Welcome to the Budibase Beta</div>
<Button purple large on:click={showCreateAppModal}>
Create New Web App
</Button>
</div>
<div class="banner"> <div class="banner">
<img src="/_builder/assets/rocket.jpg" alt="rocket" /> <img src="/_builder/assets/orange-landscape.png" alt="rocket" />
<div class="banner-content"> <div class="banner-content">
Every accomplishment starts with a decision to try. Every accomplishment starts with a decision to try.
</div> </div>
</div> </div>
<div class="app-section-header">
<div class="app-section-title">Your Web Apps</div>
<button class="banner-button" type="button" on:click={showCreateAppModal}>
<i class="ri-add-circle-fill" />
Create New Web App
</button>
</div>
{#await promise} {#await promise}
<div class="spinner-container"> <div class="spinner-container">
@ -70,11 +69,18 @@
{/await} {/await}
<style> <style>
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin: 40px 80px 0px 80px;
}
.welcome { .welcome {
font-size: 42px; font-size: 42px;
color: var(--ink); color: var(--ink);
font-weight: 700; font-weight: 700;
margin: 40px 0px 0px 80px;
} }
.banner { .banner {
@ -108,48 +114,4 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.banner-button {
background-color: var(--ink);
color: var(--white);
padding: 12px 24px;
border-radius: 5px;
border: var(--ink) 1px solid;
font-size: 16px;
font-weight: 400;
box-sizing: border-box;
align-items: center;
display: flex;
cursor: pointer;
transition: all 0.2s ease 0s;
overflow: hidden;
outline: none;
user-select: none;
white-space: nowrap;
}
.ri-add-circle-fill {
margin-right: 4px;
font-size: 24px;
}
.banner-button:hover {
background-color: var(--white);
color: var(--ink);
border: var(--grey-4) 1px solid;
}
.app-section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin: 40px 80px 0px 80px;
}
.app-section-title {
font-size: 20px;
color: var(--ink);
font-weight: 600;
margin-bottom: 20px;
}
</style> </style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 MiB