gitea-github-theme/theme-github.css

216 lines
5.5 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;
}
.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 {
background-color: #2da44e;
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 {
background-color: #2da44e;
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
}
.ui.basic.green.buttons .button,
.ui.basic.green.button {
color: #2da44e;
}
.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;
}
a,
.ui.breadcrumb a {
2021-08-30 06:51:51 +00:00
color: var(--color-text) !important;
2021-08-29 09:17:39 +00:00
}
.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;
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 {
color: #2da44e !important;
}
.ui.basic.labels .label,
.ui.basic.label {
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 {
border-left: 1px solid #2da44e;
color: #2da44e;
}
.repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerified {
border: 1px solid #2da44e;
}
.ui.labeled.icon.buttons>.button>.icon, .ui.labeled.icon.button>.icon {
border-right: 1px solid var(--color-secondary);
}
.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;
}
.repository .ui.attached.isSigned.isVerified:last-child, .repository .ui.attached.isSigned.isVerified.bottom {
border-bottom: 1px solid #21ba45;
}
.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 {
background-color: var(--color-navbar)!important;
}