diff --git a/src/assets/scss/_global.scss b/src/assets/scss/_global.scss
index 9fbde7a..e870dbb 100644
--- a/src/assets/scss/_global.scss
+++ b/src/assets/scss/_global.scss
@@ -1,6 +1,7 @@
@use './variables' as *;
@use './mixins' as *;
+
body {
margin: 0;
padding: 0;
diff --git a/src/assets/scss/_mixins.scss b/src/assets/scss/_mixins.scss
index ab73615..dc22d7f 100644
--- a/src/assets/scss/_mixins.scss
+++ b/src/assets/scss/_mixins.scss
@@ -62,5 +62,4 @@
font-size: $font-size-sm;
font-weight: $font-weight-semibold;
background-color: rgba($color, 0.1);
- // color: darken($color, 20%);
}
\ No newline at end of file
diff --git a/src/routes/Apps/App.scss b/src/routes/Apps/App.scss
index c0b528b..53fb950 100644
--- a/src/routes/Apps/App.scss
+++ b/src/routes/Apps/App.scss
@@ -1,6 +1,8 @@
@use '../../assets/scss/variables' as *;
@use '../../assets/scss/mixins' as *;
@use '../../assets/scss/global' as *;
+@use "sass:color";
+
.app-detail-page {
@extend .page-wrapper;
@@ -69,7 +71,7 @@
&.primary {
background: $primary;
- color: white;
+ color: $text-primary;
border-color: $primary;
&:hover:not(:disabled) {
@@ -82,10 +84,6 @@
background: $bg-secondary;
color: $text-primary;
border-color: $border-color;
-
- &:hover:not(:disabled) {
- background: darken($bg-secondary, 5%);
- }
}
&.danger {
@@ -94,7 +92,7 @@
border-color: $error;
&:hover:not(:disabled) {
- background: darken($error, 10%);
+ background: color.adjust($error, $lightness: -10%);
}
}
}
@@ -163,13 +161,13 @@
}
.chaos-active {
- color: darken($info, 10%);
+ background: color.adjust($info, $lightness: -10%);
font-weight: $font-weight-medium;
}
}
-.domain-link {
- color: $primary;
+.link {
+ color: $primary-dark;
text-decoration: none;
font-size: $font-size-base;
transition: color $transition-base;
@@ -180,22 +178,6 @@
}
}
-.server-link {
- background: none;
- border: none;
- color: $primary;
- cursor: pointer;
- padding: 0;
- font-size: $font-size-base;
- text-align: left;
- transition: color $transition-base;
-
- &:hover {
- color: $primary-light;
- text-decoration: underline;
- }
-}
-
// Version information
.version-info {
display: flex;
@@ -286,7 +268,7 @@
transition: all $transition-base;
&:hover:not(:disabled) {
- background: darken($warning, 10%);
+ background: color.adjust($warning, $lightness: -10%);
transform: translateY(-1px);
}
@@ -301,7 +283,7 @@
.version-latest {
padding: $spacing-md;
background: rgba($success, 0.1);
- color: darken($success, 10%);
+ background: color.adjust($success, $lightness: -10%);
border-radius: $radius-md;
text-align: center;
font-size: $font-size-base;
diff --git a/src/routes/Apps/App.tsx b/src/routes/Apps/App.tsx
index efc8d76..c67cbf8 100644
--- a/src/routes/Apps/App.tsx
+++ b/src/routes/Apps/App.tsx
@@ -1,5 +1,5 @@
import React, { useEffect, useState } from 'react';
-import { useParams, useNavigate } from 'react-router-dom';
+import { useParams, useNavigate, Link } from 'react-router-dom';
import { Header } from '../../components/Header/Header';
import { Terminal } from '../../components/Terminal/Terminal';
import { apiService } from '../../services/api';
@@ -158,7 +158,7 @@ export const AppDetail: React.FC = () => {
{app.recipe}
{app.status}
{app.chaos === 'true' && (
- 🔬 Chaos
+ Chaos
)}
@@ -203,7 +203,7 @@ export const AppDetail: React.FC = () => {
{app.domain ? (
-
+
{app.domain} ↗
) : (
@@ -212,13 +212,14 @@ export const AppDetail: React.FC = () => {
-
-
+ {app.server} ↗
+
@@ -236,7 +237,7 @@ export const AppDetail: React.FC = () => {
- {app.chaos === 'true' ? '🔬 Enabled' : 'Disabled'}
+ {app.chaos === 'true' ? '☠️ Enabled' : 'Disabled'}
diff --git a/src/routes/Apps/Apps.scss b/src/routes/Apps/Apps.scss
index 360285f..01eb1eb 100644
--- a/src/routes/Apps/Apps.scss
+++ b/src/routes/Apps/Apps.scss
@@ -144,7 +144,7 @@
}
.domain-link {
- color: $primary;
+ color: $primary-dark;
text-decoration: none;
transition: color $transition-base;
diff --git a/src/routes/Apps/Apps.tsx b/src/routes/Apps/Apps.tsx
index 9ca5703..faf161c 100644
--- a/src/routes/Apps/Apps.tsx
+++ b/src/routes/Apps/Apps.tsx
@@ -211,7 +211,7 @@ export const Apps: React.FC = () => {
Server |
Version |
Status |
- Actions |
+ {/* Actions | */}
@@ -269,7 +269,7 @@ export const Apps: React.FC = () => {
{app.status}
-
+ {/* |
)}
- |
+ */}
))
)}
diff --git a/src/routes/Dashboard/Dashboard.tsx b/src/routes/Dashboard/Dashboard.tsx
index c8bd091..b8737f4 100644
--- a/src/routes/Dashboard/Dashboard.tsx
+++ b/src/routes/Dashboard/Dashboard.tsx
@@ -89,7 +89,6 @@ export const Dashboard: React.FC = () => {