update github theme #3

Merged
zeekling merged 1 commits from github into master 2022-11-13 06:42:29 +00:00

View File

@ -6,6 +6,7 @@
--color-markup-code-block: #f6f8fa;
--color-hover: none;
--color-purple: #8250df;
--color-green: #1a7f37;
}
.ui.label {
padding: 0.3em 0.5em;
@ -36,12 +37,12 @@
}
.ui.green.buttons .button,
.ui.green.button {
background-color: #2da44e;
background-color: #1a7f37;
color: #fff !important;
}
.ui.green.labels .label,
.ui.ui.ui.green.label {
background-color: #2da44e;
background-color: #1a7f37;
color: #fff !important;
}
.ui.label {
@ -131,6 +132,7 @@ a.muted:hover,
.ui.red.buttons .button,
.ui.red.button {
color: #fff !important;
font-weight: 500;
}
.ui.basic.red.buttons .button,
.ui.basic.red.button {
@ -163,22 +165,45 @@ a.ui.label {
.ui .sha.label {
color: var(--color-text) !important;
padding: 6px 10px 6px;
color: #1a7f37 !important;
}
.ui.basic.green.buttons .button,
.ui.basic.green.button {
color: #2da44e !important;
}
.ui.basic.labels .label,
.ui.basic.label {
.repository #commits-table td.sha .sha.label.isSigned.isVerified .detail.icon,
.repository #repo-files-table .sha.label.isSigned.isVerified .detail.icon,
.repository #rev-list .sha.label.isSigned.isVerified .detail.icon,
.repository
.timeline-item.commits-list
.singular-commit
.sha.label.isSigned.isVerified
.detail.icon {
border-left: 1px solid #1a7f37;
color: #1a7f37;
}
.repository.view.issue
.comment-list
.timeline-item.commits-list
.singular-commit
.shabox
.sha.label.isSigned.isVerified {
border: 1px solid #1a7f37;
}
.ui.labeled.icon.buttons > .button > .icon,
.ui.labeled.icon.button > .icon {
color: var(--color-text) !important;
}
.repository #commits-table td.sha .sha.label.isSigned.isVerified .detail.icon, .repository #repo-files-table .sha.label.isSigned.isVerified .detail.icon, .repository #rev-list .sha.label.isSigned.isVerified .detail.icon, .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerified .detail.icon {
.ui.buttons:not(.basic):not(.inverted) > .button:not(.basic):not(.inverted) {
border-left: 1px solid #2da44e;
color: #2da44e;
}
.repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerified {
.repository .ui.attached.isSigned.isVerified:last-child,
.repository .ui.attached.isSigned.isVerified.bottom {
border: 1px solid #2da44e;
}
@ -215,6 +240,194 @@ a.ui.label {
background-color: var(--color-navbar)!important;
}
.repo-icon {
display: none;
}
/* navbar font size */
.ui.secondary.menu .item {
font-size: 13px;
}
#navbar .item {
margin: 0;
padding: 0.5em;
font-size: 14px;
color: black !important;
}
.following.bar #navbar {
width: 100vw;
/* default 52px */
min-height: 40px;
padding: 0 0.5rem;
}
::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 0 6px var(--color-navbar);
}
::-webkit-scrollbar-thumb:hover {
box-shadow: inset 0 0 0 6px var(--color-text);
}
.following.bar #navbar .brand {
margin-top: -2px;
}
/* reduce navbar bottom margin */
.ui.ui.ui.container:not(.fluid) {
margin-bottom: -3px;
}
/* Link color for repo breadcrumbs */
a,
.ui.breadcrumb a {
color: var(--color-primary) !important;
}
/* color for repo menu bar to overwrite link color */
.ui.tabular.menu .item {
color: var(--color-text) !important;
}
.repository .ui.segment.sub-menu .list .item a {
color: var(--color-text) !important;
}
.ui .menu:not(.vertical) .item > .button.compact {
color: var(--color-text) !important;
}
.ui.labeled.button.disabled > .button,
.ui.basic.buttons .button,
.ui.basic.button {
color: var(--color-text-light) !important;
}
#manage_topic {
font-size: 12px;
color: var(--color-text) !important;
}
.ui.menu .item {
color: var(--color-text) !important;
}
/* font weight of "danger zone" buttons in "delete repo" */
.ui.label {
background: rgba(175, 184, 193, 0.2);
}
.comment-header .actions a {
color: black !important;
}
.ui.dropdown > .text {
color: black !important;
}
.repository.compare.pull .choose.branch .svg {
color: black !important;
}
a.muted {
color: black !important;
}
.repository.file.list #repo-files-table tbody .svg.octicon-file-directory-fill,
.repository.file.list #repo-files-table tbody .svg.octicon-file-submodule {
color: #54aeff !important;
}
.repository.file.list #repo-files-table td a {
color: black !important;
}
.ui.negative.buttons .button,
.ui.negative.button {
background-color: none;
color: #db2828;
}
.ui.green.button {
padding: 5px 16px;
line-height: 20px;
}
.ui.green.labels .label,
.ui.ui.ui.green.label {
padding: 5px 16px;
line-height: 20px;
}
.ui.tabular.menu .active.item {
margin-bottom: 2px;
}
.ui.menu .item > .label:not(.floating) {
padding: 0 6px;
line-height: 18px;
}
.ui.secondary.pointing.menu .item > .circular.label {
line-height: 10px;
}
.ui.grey.labels .label,
.ui.ui.ui.grey.label {
line-height: 10px;
}
/* yes/no dialog buttons for repo archival */
.ui.basic.inverted.buttons .button,
.ui.basic.inverted.button {
color: #f9fafb !important;
}
// border color of SSH/https cloning buttons (non-focused)
.ui.basic.blue.button,
.ui.basic.blue.buttons .button,
.ui.basic.primary.button,
.ui.basic.primary.buttons .button {
box-shadow: inset 0 0 0 1px transparent !important;
}
// same for hover
ui.basic.blue.button:hover,
.ui.basic.blue.buttons .button:hover,
.ui.basic.primary.button:hover,
.ui.basic.primary.buttons .button:hover {
box-shadow: inset 0 0 0 0px transparent !important;
}
// background color of branch name in PRs
.issue.list .branches .branch {
background-color: #afb8c133;
border-radius: 6px;
}
a:hover {
color: #1e70bf !important;
}