From bdb38bc4b944ce680905067af79ea0b9bbb4ebf1 Mon Sep 17 00:00:00 2001 From: pat-s Date: Tue, 8 Nov 2022 21:30:20 +0100 Subject: [PATCH] Dark: overhaul borders --- theme-github-auto.css | 69 +++++++++++++++++++++++++++++++++++++++++++ theme-github-dark.css | 69 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 138 insertions(+) diff --git a/theme-github-auto.css b/theme-github-auto.css index 5280291..36df307 100644 --- a/theme-github-auto.css +++ b/theme-github-auto.css @@ -1215,4 +1215,73 @@ .repository.view.issue .comment-list .timeline-item .badge .svg { fill: #fff !important; } + + /* borders -------------------------------------------------------------------*/ + + // border width of active item in repo view + .ui.tabular.menu .active.item, + .ui.tabular.menu .active.item:hover { + border-width: initial; + } + + // README border + .ui.attached:not(.message) + .ui.attached.segment:not(.top) { + border-width: inherit; + } + + .ui.top.attached.header { + border-width: inherit; + } + + .following.bar.light { + border-bottom: 0px solid var(--color-secondary); + } + + .ui.action.input:not([class*="left action"]) > input { + border-width: inherit; + } + + .ui.action.input > .dropdown:last-child, + .ui.action.input > .button:last-child, + .ui.action.input > .buttons:last-child > .button { + border-width: inherit; + } + + .ui.action.input:not([class*="left action"]) + > .ui.dropdown.selection:not(:focus):not(:hover) { + border-width: inherit; + } + + .repository #clone-panel #repo-clone-https, + .repository #clone-panel #repo-clone-ssh { + border-width: inherit; + } + + .ui.action.input > .dropdown:not(:first-child), + .ui.action.input > .button:not(:first-child), + .ui.action.input > .buttons:not(:first-child) > .button { + border-width: inherit; + } + + .ui.segment, + .ui.segments, + .ui.attached.segment { + border-width: inherit; + } + + .ui.table { + border-width: inherit; + } + + footer { + border-width: inherit; + } + + .page-content .ui.button { + border-width: inherit; + } + + .repo-buttons .ui.labeled.button > .label { + border-width: inherit; + } } diff --git a/theme-github-dark.css b/theme-github-dark.css index 4a17155..bb97c13 100755 --- a/theme-github-dark.css +++ b/theme-github-dark.css @@ -805,3 +805,72 @@ textarea:focus, .repository.view.issue .comment-list .timeline-item .badge .svg { fill: #fff !important; } + +/* borders -------------------------------------------------------------------*/ + +// border width of active item in repo view +.ui.tabular.menu .active.item, +.ui.tabular.menu .active.item:hover { + border-width: initial; +} + +// README border +.ui.attached:not(.message) + .ui.attached.segment:not(.top) { + border-width: inherit; +} + +.ui.top.attached.header { + border-width: inherit; +} + +.following.bar.light { + border-bottom: 0px solid var(--color-secondary); +} + +.ui.action.input:not([class*="left action"]) > input { + border-width: inherit; +} + +.ui.action.input > .dropdown:last-child, +.ui.action.input > .button:last-child, +.ui.action.input > .buttons:last-child > .button { + border-width: inherit; +} + +.ui.action.input:not([class*="left action"]) + > .ui.dropdown.selection:not(:focus):not(:hover) { + border-width: inherit; +} + +.repository #clone-panel #repo-clone-https, +.repository #clone-panel #repo-clone-ssh { + border-width: inherit; +} + +.ui.action.input > .dropdown:not(:first-child), +.ui.action.input > .button:not(:first-child), +.ui.action.input > .buttons:not(:first-child) > .button { + border-width: inherit; +} + +.ui.segment, +.ui.segments, +.ui.attached.segment { + border-width: inherit; +} + +.ui.table { + border-width: inherit; +} + +footer { + border-width: inherit; +} + +.page-content .ui.button { + border-width: inherit; +} + +.repo-buttons .ui.labeled.button > .label { + border-width: inherit; +}