From 1fd7e3d6bea0453b851afec6c7f74b7cf7b10a06 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 24 May 2023 11:00:29 +0200 Subject: [PATCH] Improve Actions CSS (#24864) - Various color tweaks - Add sticky positioning to left sidebar, right header and right step header - Adjust margins and border radiuses Screenshot 2023-05-23 at 11 18 06 Screenshot 2023-05-23 at 11 18 18 ![](https://github.com/go-gitea/gitea/assets/115237/643910f2-a582-405d-bc93-36f2e54b5fda) ![](https://github.com/go-gitea/gitea/assets/115237/382a8a54-f1e3-4f08-affc-ea3108c02352) --------- Co-authored-by: yp05327 <576951401@qq.com> --- web_src/css/base.css | 4 +- web_src/css/themes/theme-arc-green.css | 9 +++- web_src/js/components/RepoActionView.vue | 63 ++++++++++++++++-------- 3 files changed, 53 insertions(+), 23 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 04fc2a0f25..eee364bf1d 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -70,8 +70,10 @@ --color-secondary-alpha-90: #dededee1; /* console colors */ --color-console-fg: #ffffff; - --color-console-bg: #171717; + --color-console-bg: #252a2f; + --color-console-border: #ffffff16; --color-console-hover-bg: #ffffff16; + --color-console-active-bg: #353a3f; /* named colors */ --color-red: #db2828; --color-orange: #f2711c; diff --git a/web_src/css/themes/theme-arc-green.css b/web_src/css/themes/theme-arc-green.css index d5db18b55a..5f2b329457 100644 --- a/web_src/css/themes/theme-arc-green.css +++ b/web_src/css/themes/theme-arc-green.css @@ -56,7 +56,13 @@ --color-secondary-alpha-70: #525767b3; --color-secondary-alpha-80: #525767cc; --color-secondary-alpha-90: #525767e1; - /* colors */ + /* console colors */ + --color-console-fg: #ffffff; + --color-console-bg: #262936; + --color-console-border: #ffffff16; + --color-console-hover-bg: #ffffff16; + --color-console-active-bg: #383c47; + /* named colors */ --color-red: #cc4848; --color-orange: #cc580c; --color-yellow: #cc9903; @@ -175,7 +181,6 @@ --color-accent: var(--color-primary-light-1); --color-small-accent: var(--color-primary-light-5); --color-active-line: #534d1b; - accent-color: var(--color-accent); color-scheme: dark; } diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue index da05491146..c0b54d5693 100644 --- a/web_src/js/components/RepoActionView.vue +++ b/web_src/js/components/RepoActionView.vue @@ -14,7 +14,7 @@ - @@ -422,20 +422,20 @@ export function ansiLogToHTML(line) {