gitea-github-theme/theme-github.css

369 lines
8 KiB
CSS
Raw Normal View History

2021-08-29 09:17:39 +00:00
:root {
--border-radius: 6px;
--color-primary: #0969da;
--color-navbar: #f6f8fa;
--color-active: #f6f8fa;
--color-markup-code-block: #f6f8fa;
--color-hover: none;
--color-purple: #8250df;
2022-08-22 10:55:26 +00:00
--color-green: #1a7f37;
2021-08-29 09:17:39 +00:00
}
.ui.label {
2021-08-30 06:51:51 +00:00
padding: 0.3em 0.5em;
2021-08-29 09:17:39 +00:00
background: var(--color-light);
color: var(--color-text-light);
border-radius: 6px;
}
.ui.blue.label,
.ui.blue.labels .label,
.ui.primary.label,
.ui.primary.labels .label {
2021-08-30 06:51:51 +00:00
border-color: var(--color-light) !important;
background-color: #afb8c133 !important;
2021-08-29 09:17:39 +00:00
border-radius: 6px;
2021-08-30 06:51:51 +00:00
color: #24292f !important;
2021-08-29 09:17:39 +00:00
}
.ui.blue.button,
.ui.blue.buttons .button,
.ui.primary.button,
.ui.primary.buttons .button {
2021-08-30 06:51:51 +00:00
background-color: #f6f8fa !important;
color: #24292f !important;
2021-08-29 09:17:39 +00:00
}
.repo-icon {
display: inline-block;
transform: scale(0.75);
2021-08-30 06:51:51 +00:00
margin-right: -0.05rem !important;
2021-08-29 09:17:39 +00:00
}
.ui.green.buttons .button,
.ui.green.button {
2022-08-22 10:55:26 +00:00
background-color: #1a7f37;
2021-08-30 06:51:51 +00:00
color: #fff !important;
2021-08-29 09:17:39 +00:00
}
.ui.green.labels .label,
.ui.ui.ui.green.label {
2022-08-22 10:55:26 +00:00
background-color: #1a7f37;
2021-08-30 06:51:51 +00:00
color: #fff !important;
2021-08-29 09:17:39 +00:00
}
.ui.label {
2021-08-30 06:51:51 +00:00
padding: 0.5em 0.5em;
2021-08-29 09:17:39 +00:00
}
/* "edit" and "reopen" button font color */
2021-08-29 09:17:39 +00:00
.ui.basic.green.buttons .button,
.ui.basic.green.button {
color: #24292f;
2021-08-29 09:17:39 +00:00
}
.feeds .list ul li.private {
background: none;
}
.repository.file.list #repo-files-table tbody .svg.octicon-file-directory,
.repository.file.list #repo-files-table tbody .svg.octicon-file-submodule {
color: #54aeff;
}
.repo-title a {
2021-08-30 06:51:51 +00:00
color: var(--color-primary) !important;
2021-08-29 09:17:39 +00:00
}
.ui.basic.blue.button,
.ui.basic.blue.buttons .button,
.ui.basic.primary.button,
.ui.basic.primary.buttons .button {
2021-08-30 06:51:51 +00:00
background-color: #fff !important;
box-shadow: inset 0 0 0 1px rgba(34, 36, 38, 0.15) !important;
color: var(--color-text) !important;
2021-08-29 09:17:39 +00:00
}
.ui.basic.blue.button:focus,
.ui.basic.blue.buttons .button:focus,
.ui.basic.primary.button:focus,
.ui.basic.primary.buttons .button:focus {
2021-08-30 06:51:51 +00:00
box-shadow: inset 0 0 0 0px #808080 !important;
2021-08-29 09:17:39 +00:00
}
.ui.basic.blue.button:hover,
.ui.basic.blue.buttons .button:hover,
.ui.basic.primary.button:hover,
.ui.basic.primary.buttons .button:hover {
2021-08-30 06:51:51 +00:00
background-color: #fff !important;
2021-08-29 09:17:39 +00:00
}
ui.basic.blue.button:hover,
.ui.basic.blue.buttons .button:hover,
.ui.basic.primary.button:hover,
.ui.basic.primary.buttons .button:hover {
2021-08-30 06:51:51 +00:00
box-shadow: inset 0 0 0 0px #808080 !important;
2021-08-29 09:17:39 +00:00
}
a:hover,
a.muted:hover,
.ui.breadcrumb a:hover {
2021-08-30 06:51:51 +00:00
color: none;
2021-08-29 09:17:39 +00:00
}
.ui.tabular.menu .item:hover {
2021-08-30 06:51:51 +00:00
color: none;
2021-08-29 09:17:39 +00:00
}
.ui.basic.labels .label,
.ui.basic.label {
2021-08-30 06:51:51 +00:00
background-color: #fff;
2021-08-29 09:17:39 +00:00
}
.ui.labeled.button.disabled > .button,
.ui.basic.buttons .button,
.ui.basic.button {
2021-08-30 06:51:51 +00:00
background-color: #f6f8fa;
2021-08-29 09:17:39 +00:00
}
.ui.blue.button:hover,
.ui.blue.buttons .button:hover,
.ui.primary.button:hover,
.ui.primary.buttons .button:hover {
2021-08-30 06:51:51 +00:00
background-color: var(--color-hover) !important;
2021-08-29 09:17:39 +00:00
}
.repository .ui.segment.sub-menu .list .item a:hover {
2021-08-30 06:51:51 +00:00
color: var(--color-text) !important;
2021-08-29 09:17:39 +00:00
}
.repo-buttons .ui.labeled.button > .label:hover {
2021-08-30 06:51:51 +00:00
color: var(--color-text) !important;
2021-08-29 09:17:39 +00:00
}
.repository.file.list #repo-files-table tr:hover {
2021-08-30 06:51:51 +00:00
background-color: #f6f8fa !important;
2021-08-29 09:17:39 +00:00
}
.ui .error.header {
2021-08-30 06:51:51 +00:00
background-color: #cf222e !important;
color: #fff !important;
2021-08-29 09:17:39 +00:00
}
.ui.red.buttons .button,
.ui.red.button {
2021-08-30 06:51:51 +00:00
color: #fff !important;
2021-08-29 09:17:39 +00:00
}
.ui.basic.red.buttons .button,
.ui.basic.red.button {
2021-08-30 06:51:51 +00:00
color: #cf222e !important;
2022-08-22 10:55:26 +00:00
font-weight: 500;
2021-08-29 09:17:39 +00:00
}
* {
2021-08-30 06:51:51 +00:00
scrollbar-width: thin;
scrollbar-color: #f6f8fa transparent !important;
2021-08-29 09:17:39 +00:00
}
::-webkit-scrollbar-thumb {
2021-08-30 06:51:51 +00:00
box-shadow: inset 0 0 0 6px #808080 !important;
2021-08-29 09:17:39 +00:00
}
.ui.purple.labels .label,
.ui.ui.ui.purple.label {
2021-08-30 06:51:51 +00:00
background-color: #8250df !important;
2021-08-29 09:17:39 +00:00
}
.repository #clone-panel input {
2021-08-30 06:51:51 +00:00
background-color: #f6f8fa;
2021-08-29 09:17:39 +00:00
}
.ui.basic.green.buttons .button,
.ui.basic.green.button {
2021-08-30 06:51:51 +00:00
color: var(--color-text) !important;
2021-08-29 09:17:39 +00:00
}
ul.repo-owner-name-list {
2021-08-30 06:51:51 +00:00
font-size: 13px;
}
a.ui.label {
color: #fff !important;
2021-08-29 09:17:39 +00:00
}
2021-09-01 12:46:28 +00:00
.ui .sha.label {
color: var(--color-text) !important;
padding: 6px 10px 6px;
2021-09-01 12:46:28 +00:00
}
2021-09-01 12:57:31 +00:00
.ui.basic.green.buttons .button,
.ui.basic.green.button {
2022-08-22 10:55:26 +00:00
color: #1a7f37 !important;
2021-09-01 12:57:31 +00:00
}
.ui.basic.labels .label,
.ui.basic.label {
color: var(--color-text) !important;
}
2022-08-22 10:55:26 +00:00
.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;
}
2022-08-22 10:55:26 +00:00
.repository.view.issue
.comment-list
.timeline-item.commits-list
.singular-commit
.shabox
.sha.label.isSigned.isVerified {
border: 1px solid #1a7f37;
}
2022-08-22 10:55:26 +00:00
.ui.labeled.icon.buttons > .button > .icon,
.ui.labeled.icon.button > .icon {
border-right: 1px solid var(--color-secondary);
}
2022-08-22 10:55:26 +00:00
.ui.buttons:not(.basic):not(.inverted) > .button:not(.basic):not(.inverted) {
border-left: 1px solid var(--color-secondary);
}
/* GPG verified msg banner */
.repository .ui.attached.isSigned.isVerified.message .ui.text {
color: black;
}
2022-08-22 10:55:26 +00:00
.repository .ui.attached.isSigned.isVerified:last-child,
.repository .ui.attached.isSigned.isVerified.bottom {
border-bottom: 1px solid #21ba45;
}
2022-08-22 10:55:26 +00:00
.repository .ui.attached.isSigned.isVerified.top,
.repository .ui.attached.isSigned.isVerified.message {
border-top: 1px solid var(--color-secondary);
}
.repository .ui.attached.isSigned.isVerified {
border-left: 1px solid var(--color-secondary);
border-right: 1px solid var(--color-secondary);
}
.repository .ui.attached.isSigned.isVerified.message {
box-shadow: none;
background-color: #21ba45;
color: black;
}
/* bg color of commit info box */
.ui .info.segment.top {
2022-08-22 10:55:26 +00:00
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;
}