Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

UI: colorful states

Andras Bacsaib56e28d27a8f
diff --git a/src/routes/applications/[id]/__layout.svelte b/src/routes/applications/[id]/__layout.svelte
index e25e63cc29..e95f95d05f 100644
--- a/src/routes/applications/[id]/__layout.svelte
+++ b/src/routes/applications/[id]/__layout.svelte
@@ -128,7 +128,7 @@
title="Stop application"
type="submit"
disabled={!$session.isAdmin}
- class="icons bg-transparent tooltip-bottom text-sm flex items-center space-x-2 hover:bg-green-600 hover:text-white"
+ class="icons bg-transparent tooltip-bottom text-sm flex items-center space-x-2 text-red-500"
data-tooltip={$session.isAdmin
? 'Stop application'
: 'You do not have permission to stop the application.'}
@@ -153,7 +153,7 @@
title="Rebuild application"
type="submit"
disabled={!$session.isAdmin}
- class="icons bg-transparent tooltip-bottom text-sm flex items-center space-x-2 hover:bg-green-600 hover:text-white"
+ class="icons bg-transparent tooltip-bottom text-sm flex items-center space-x-2 hover:text-green-500"
data-tooltip={$session.isAdmin
? 'Rebuild application'
: 'You do not have permission to rebuild application.'}
diff --git a/src/routes/databases/[id]/__layout.svelte b/src/routes/databases/[id]/__layout.svelte
index 2da5429935..ae08d48f77 100644
--- a/src/routes/databases/[id]/__layout.svelte
+++ b/src/routes/databases/[id]/__layout.svelte
@@ -120,7 +120,7 @@
title="Stop database"
type="submit"
disabled={!$session.isAdmin}
- class="icons bg-transparent tooltip-bottom text-sm flex items-center space-x-2 hover:bg-purple-600 hover:text-white"
+ class="icons bg-transparent tooltip-bottom text-sm flex items-center space-x-2 text-red-500"
data-tooltip={$session.isAdmin
? 'Stop database'
: 'You do not have permission to stop the database.'}
@@ -146,7 +146,7 @@
title="Start database"
type="submit"
disabled={!$session.isAdmin}
- class="icons bg-transparent tooltip-bottom text-sm flex items-center space-x-2 hover:bg-purple-600 hover:text-white"
+ class="icons bg-transparent tooltip-bottom text-sm flex items-center space-x-2 text-green-500"
data-tooltip={$session.isAdmin
? 'Start database'
: 'You do not have permission to start the database.'}
diff --git a/src/routes/login/index.svelte b/src/routes/login/index.svelte
index 27193ddc96..b321bc0867 100644
--- a/src/routes/login/index.svelte
+++ b/src/routes/login/index.svelte
@@ -71,12 +71,14 @@
class:text-stone-600={loading}
class:bg-coollabs={!loading}>{loading ? 'Authenticating...' : 'Login'}</button
>
+
<button
on:click|preventDefault={() => goto('/register')}
- class="hover:opacity-90 text-white">Register</button
+ class="bg-transparent hover:bg-coolgray-300 text-white ">Register</button
>
- <button class="bg-transparent" on:click|preventDefault={() => goto('/reset')}
- >Reset password</button
+ <button
+ class="bg-transparent hover:bg-coolgray-300"
+ on:click|preventDefault={() => goto('/reset')}>Reset password</button
>
</div>
</form>
diff --git a/src/routes/services/[id]/__layout.svelte b/src/routes/services/[id]/__layout.svelte
index 21012ad3e7..e1f5b21a61 100644
--- a/src/routes/services/[id]/__layout.svelte
+++ b/src/routes/services/[id]/__layout.svelte
@@ -140,7 +140,7 @@
title="Stop Service"
type="submit"
disabled={!$session.isAdmin}
- class="icons bg-transparent tooltip-bottom text-sm flex items-center space-x-2 hover:bg-pink-600 hover:text-white"
+ class="icons bg-transparent tooltip-bottom text-sm flex items-center space-x-2 text-red-500"
data-tooltip={$session.isAdmin
? 'Stop Service'
: 'You do not have permission to stop the service.'}
@@ -166,7 +166,7 @@
title="Start Service"
type="submit"
disabled={!$session.isAdmin}
- class="icons bg-transparent tooltip-bottom text-sm flex items-center space-x-2 hover:bg-pink-600 hover:text-white"
+ class="icons bg-transparent tooltip-bottom text-sm flex items-center space-x-2 text-green-500"
data-tooltip={$session.isAdmin
? 'Start Service'
: 'You do not have permission to start the service.'}