Tweak actions color and borders (#29640)

- Increase contrast overall
- Unalias the ansi color in dark theme and copy them to light
- Add outer border
- Add border radius

<img width="1337" alt="Screenshot 2024-03-06 at 22 30 03"
src="11407c0f-0bb2-435e-a034-22b1f106d9b0">
<img width="1335" alt="Screenshot 2024-03-06 at 22 36 59"
src="267db442-0979-4acc-a79e-8579b4cb0262">

(cherry picked from commit 16f13265143ff08cb6c33e976998b262e94fe569)
This commit is contained in:
silverwind 2024-03-06 22:44:24 +01:00 committed by Earl Warren
parent a7830e8d87
commit 87e7a83edf
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 44 additions and 42 deletions

View file

@ -631,6 +631,8 @@ export function initRepositoryActionView() {
width: 70%;
display: flex;
flex-direction: column;
border: 1px solid var(--color-console-border);
border-radius: var(--border-radius);
}
/* begin fomantic button overrides */
@ -690,7 +692,6 @@ export function initRepositoryActionView() {
justify-content: space-between;
align-items: center;
padding: 0 12px;
border-bottom: 1px solid var(--color-console-border);
background-color: var(--color-console-bg);
position: sticky;
top: 0;
@ -714,6 +715,7 @@ export function initRepositoryActionView() {
background-color: var(--color-console-bg);
max-height: 100%;
border-radius: 0 0 var(--border-radius) var(--border-radius);
border-top: 1px solid var(--color-console-border);
z-index: 0;
}
@ -799,7 +801,7 @@ export function initRepositoryActionView() {
/* class names 'log-time-seconds' and 'log-time-stamp' are used in the method toggleTimeDisplay */
.job-log-line .line-num, .log-time-seconds {
width: 48px;
color: var(--color-grey-light);
color: var(--color-text-light-3);
text-align: right;
user-select: none;
}
@ -815,7 +817,7 @@ export function initRepositoryActionView() {
.job-log-line .log-time,
.log-time-stamp {
color: var(--color-grey-light);
color: var(--color-text-light-3);
margin-left: 10px;
white-space: nowrap;
}