From c7784591542b1684ad37a93ae8e9998081b6386d Mon Sep 17 00:00:00 2001 From: pat-s Date: Sat, 2 Oct 2021 09:24:01 +0300 Subject: [PATCH] dark theme: add some border and hovering fixes --- theme-github-dark.css | 60 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 56 insertions(+), 4 deletions(-) diff --git a/theme-github-dark.css b/theme-github-dark.css index cf10516..6ddb6db 100644 --- a/theme-github-dark.css +++ b/theme-github-dark.css @@ -19,18 +19,21 @@ --color-secondary: #454a57; } -.ui.list .list > .item > .content, .ui.list > .item > .content { +.ui.list .list > .item > .content, +.ui.list > .item > .content { color: unset; } -.ui.list .list > .item .description, .ui.list > .item .description { +.ui.list .list > .item .description, +.ui.list > .item .description { color: var(--color-text); } -.ui.repository.list, .ui.user.list { +.ui.repository.list, +.ui.user.list { background: var(--color-box-body); padding: 1em; - border-radius: .75em; + border-radius: 0.75em; } .ui.header .sub.header { @@ -187,3 +190,52 @@ a.ui.label { .ui .sha.label { padding: 6px 10px 6px; } + +/* repo list dashboard */ +.feeds .list ul li.private { + background-color: #22272e; +} + +/* ssh and search repository fields */ +input, +textarea, +.ui.input > input, +.ui.form input:not([type]), +.ui.form select, +.ui.form textarea, +.ui.form input[type="date"], +.ui.form input[type="datetime-local"], +.ui.form input[type="email"], +.ui.form input[type="file"], +.ui.form input[type="number"], +.ui.form input[type="password"], +.ui.form input[type="search"], +.ui.form input[type="tel"], +.ui.form input[type="text"], +.ui.form input[type="time"], +.ui.form input[type="url"], +.ui.selection.dropdown, +.ui.checkbox label:before, +.ui.checkbox input:checked ~ label:before, +.ui.checkbox input:not([type="radio"]):indeterminate ~ label:before { + border-color: var(--color-input-background); +} + +/* hover repository rows */ +.repository.file.list #repo-files-table tr:hover { + background-color: var(--color-hover); +} + +/* due date boxes */ +.repository .metas #deadlineForm input { + border-color: var(--color-secondary); +} + +/* border color dependencies block in issues */ +#new-dependency-drop-list.ui.selection.dropdown { + border-color: var(--color-secondary); +} + +.page-content .ui.button { + border-color: var(--color-secondary); +}