gitea/frontend/default/public/css/theme-gitea-base.css

1365 lines
31 KiB
CSS

/* dP dP dP */
/* 88 88 88 */
/* d8888P 88d888b. .d8888b. 88d8b.d8b. .d8888b. 88d888b. .d8888b. 88d888b. 88 .dP */
/* 88 88' `88 88ooood8 88'`88'`88 88ooood8 88' `88 88' `88 88' `88 88888" */
/* 88 88 88 88. ... 88 88 88 88. ... 88. .88 88. .88 88 88 `8b. */
/* dP dP dP `88888P' dP dP dP `88888P' 88 88Y888P' `88888P8 dP dP `YP */
/* 88 */
/* dP */
/* Made by @gilbN */
/* https://github.com/gilbN/theme.park */
body {
background: var(--main-bg-color);
}
* {
outline: none;
}
/* LINKS */
a,
.home a,
.ui.user.list .item .description a,
.ui.breadcrumb a,
.repository .labelspage .item a,
.repository .milestone.list>.item>a,
.repository .milestone.list>.item .operate>a,
.ui.card>.content>a.header,
.ui.cards>.card>.content>a.header,
.ui.card>.extra a:not(.ui),
.ui.cards>.card>.extra a:not(.ui) {
color: var(--link-color);
}
/* LINK HOVER */
a:hover,
.ui.user.list .item .description a:hover,
.ui.breadcrumb a:hover,
.repository .labelspage .item a:hover,
.repository .milestone.list>.item>a:hover,
.repository .milestone.list>.item .operate>a:hover,
.ui.card>.content>a.header:hover,
.ui.cards>.card>.content>a.header:hover,
.ui.card>.extra a:not(.ui):hover,
.ui.cards>.card>.extra a:not(.ui):hover {
color: #fff;
}
/* LINKS IMPORTANT */
.ui .text.blue a {
color: var(--link-color) !important;
}
/* LINKS HOVER IMPORTANT */
.ui .text.blue a:hover {
color: #fff !important;
}
/* SCROLLBAR */
@media only screen and (min-width: 768px) {
html {
height: 100%;
width: 100%;
overflow: hidden;
}
body {
overflow-y: auto;
height: 100%;
background: var(--main-bg-color)
}
}
::-webkit-scrollbar {
width: 14px;
}
::-webkit-scrollbar-thumb {
min-height: 50px;
border: 3px solid transparent;
border-radius: 8px !important;
background-color: hsla(0, 0%, 100%, .2);
background-clip: padding-box;
box-shadow: none !important;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb:hover {
min-height: 50px;
border: 3px solid transparent;
border-radius: 8px !important;
background-color: hsla(0, 0%, 100%, .5);
background-clip: padding-box;
}
/* TEXT */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
/*strong,*/
footer,
.ui.list>.item .description,
.ui.list .list>.item>.content,
.ui.list>.item>.content,
.issue.list>.item .title,
.ui.accordion .title:not(.ui),
.ui.checkbox label,
.ui.header,
.ui .text.black,
.ui.header .sub.header,
.ui.form .inline.field>label,
.form .help,
.ui.form .field>label,
.ui.form .inline.field>label,
.ui.form .inline.field>p,
.ui.form .inline.fields .field>label,
.ui.form .inline.fields .field>p,
.ui.form .inline.fields>label,
.ui.dropdown .menu>.message:not(.ui),
.ui.dropdown .menu>.header:not(.ui),
.ui.card>.content>.description,
.ui.cards>.card>.content>.description,
.ui.checkbox input[disabled]~label,
.ui.disabled.checkbox label,
.repository.view.issue .comment-list .comment .tag,
.repository .metas .ui.list a .text,
.repository .diff-box .header .file,
.CodeMirror,
.feeds .list ul li a .svg {
color: var(--text);
}
/* TEXT IMPORTANT */
.ui .text.grey a,
.ui .text.grey {
color: var(--text) !important;
}
/* TEXT HOVER */
b:hover,
.issue.list>.item .title:hover,
.ui.checkbox+label:hover,
.ui.checkbox label:hover,
.ui.checkbox input:focus~label,
.ui.checkbox input:focus~label:after,
.repository .metas .ui.list a .text:hover,
.ui .text.black:hover {
color: var(--text-hover);
}
/* TEXT HOVER IMPORTANT */
.ui .text.grey a:hover {
color: var(--text-hover) !important;
}
/* TEXT MUTED */
.ui .text.light.grey {
color: var(--text-muted) !important;
}
/* NAVBAR */
.following.bar.light {
background-color: transparent;
border-bottom: 1px solid transparent;
box-shadow: none;
}
.ui.menu .item {
color: var(--text)
}
.following.bar.light.ui.secondary.menu .active.item,
.following.bar.lightui.secondary.menu .active.item:hover {
box-shadow: none;
background: rgba(0, 0, 0, .25) !important;
color: var(--accent-color);
}
.ui.secondary.menu .dropdown.item:hover,
.ui.secondary.menu .link.item:hover,
.ui.secondary.menu a.item:hover {
background: rgb(255 255 255 / 0.08);
color: var(--text-hover);
}
.ui.secondary.menu .active.item,
.ui.secondary.menu .active.item:hover {
box-shadow: none;
background: rgba(0, 0, 0, .05);
color: var(--text-hover);
}
/* UI */
.organization.settings .ui.menu {
background: rgb(0 0 0 / 10%);
border: 1px solid rgba(255, 255, 255, .1);
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .1);
}
.organization.settings .ui.vertical.menu {
display: block;
flex-direction: column;
background: rgb(255 255 255 / 8%);
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
}
.ui.vertical.menu .header.item {
background: rgb(0 0 0 / 35%);
}
.ui.attached.segment {
border: 1px solid rgba(255, 255, 255, 0.1);
}
.ui.segment {
background: rgb(255 255 255 / 8%) !important;
}
.ui.attached.segment, .ui.segment, .ui.segments {
background: transparent;
color: var(--text) !important;
border-color: rgba(255, 255, 255, 0.1);
}
.ui .info.segment.top {
background-color: rgb(0 0 0 / 15%) !important;
color: var(--text);
}
.ui.attached.info.message, .ui.info.message {
box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%), 0 0 0 0 transparent;
}
.ui.info.message {
background-color: rgb(255 255 255 / 8%);
color: #276f86;
}
.ui.attached.header {
background: rgb(0 0 0 / 25%);
border: 1px solid transparent;
}
.explore .navbar {
background-color: rgb(0 0 0 / 25%) !important;
}
.ui .warning.header {
background-color: #f9edbe !important;
color: black !important;
}
.ui.red.message p,
.ui.red.message strong {
color: #db2828 !important;
}
.ui.progress {
background: rgb(255 255 255 / 10%);
}
.ui.progress[data-percent="0"] .bar .progress {
color: var(--text-hover);
}
.ui.list .list>.item .header,
.ui.list>.item .header {
color: var(--text);
}
.pagination.menu {
background: rgba(255, 255, 255, .08) !important;
}
.ui.pagination.menu .active.item {
background-color: rgba(0, 0, 0, .25);
color: var(--text-hover);
box-shadow: none;
}
/* MODAL */
.ui.basic.modal,
.ui.basic.modal>.actions,
.ui.basic.modal>.content,
.ui.basic.modal>.header {
background-color: var(--modal-bg-color);
}
.ui.modal {
background: var(--modal-bg-color);
}
.ui.modal>.header {
display: block;
font-family: Roboto, Helvetica Neue, Arial, Helvetica, sans-serif;
background: var(--modal-bg-color);
margin: 0;
padding: 1.25rem 1.5rem;
box-shadow: none;
color: var(--text);
border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.ui.modal>.content {
display: block;
width: 100%;
font-size: 1em;
line-height: 1.4;
padding: 1.5rem;
background: var(--modal-bg-color);
}
.ui.modal>.actions {
background: var(--modal-bg-color);
padding: 1rem;
border-top: 1px solid rgb(255 255 255 / 0.1);
text-align: right;
}
.ui .error.header {
background-color: #F44336 !important;
color: white !important;
}
/* SIGN IN NAV BAR*/
.ui.menu.new-menu {
background: rgb(0 0 0 / 25%);
}
@media only screen and (max-width: 1200px) {
.ui.menu.new-menu:after {
background-image: inherit;
}
}
.ui.secondary.pointing.menu .active.item,
.ui.secondary.pointing.menu .active.item:hover {
border-color: currentColor;
color: var(--accent-color);
}
.ui.tabular.menu .item {
color: var(--text);
}
.ui.secondary.pointing.menu .dropdown.item:hover,
.ui.secondary.pointing.menu .link.item:hover,
.ui.secondary.pointing.menu a.item:hover {
background-color: transparent;
color: var(--text-hover);
}
/* DROPDOWN MENU */
.item:focus {
outline: none;
}
.ui.menu .dropdown.item .menu {
background: var(--modal-bg-color);
}
.ui.menu .ui.dropdown .menu>.item {
color: var(--text) !important;
}
.ui.menu .ui.dropdown .menu>.active.item {
background: rgb(0 0 0 / 10%) !important;
color: var(--accent-color) !important;
}
.ui.menu .ui.dropdown .menu>.item:hover,
.ui.menu .ui.dropdown .menu>.selected.item {
background: rgb(255 255 255 / 0.07) !important;
color: var(--text-hover) !important;
}
.ui.dropdown .menu {
background: var(--modal-bg-color);
}
.ui.dropdown .menu>.item:hover {
background: rgb(255 255 255 / 0.07);
}
.ui.dropdown .menu .selected.item,
.ui.dropdown.selected {
background: rgb(0 0 0 / 0.25);
color: var(--text-hover);
}
.ui.dropdown .menu .active.item {
color: var(--accent-color);
outline: none !important;
}
.ui.dropdown .menu>.item {
color: var(--text);
}
.ui.dropdown .menu>.item:hover {
color: var(--text-hover);
}
.ui.selection.dropdown .menu>.item {
border-top: 1px solid rgb(255 255 255 / 20%);
}
.ui.selection.dropdown {
background: rgb(0 0 0 / .25);
color: #fff;
}
.ui.selection.dropdown:focus {
border-color: rgba(255, 255, 255, .08);
background: rgb(0 0 0 / 50%);
box-shadow: none;
}
.ui.selection.active.dropdown,
.ui.selection.active.dropdown .menu {
border-color: transparent;
}
.ui.selection.active.dropdown:hover,
.ui.selection.active.dropdown:hover .menu {
border-color: transparent;
}
.ui.selection.visible.dropdown>.text:not(.default) {
color: var(--text);
}
.ui.default.dropdown:not(.button)>.text,
.ui.dropdown:not(.button)>.default.text {
color: var(--text);
opacity: .7;
}
.ui.pointing.dropdown>.menu:not(.hidden):after {
background: var(--modal-bg-color);
}
/* MESSAGES */
.ui.negative.message {
background-color: #F44336;
box-shadow: none !important;
}
.ui.negative.message p {
color: white !important;
box-shadow: none !important;
}
.ui.positive.message {
background-color: #4CAF50;
box-shadow: none !important;
}
.ui.positive.message p {
color: white !important;
}
/* DASHBOARD */
.vue-tooltip-theme.tooltip .tooltip-inner {
background: rgb(0 0 0 / 95%);
color: var(--text);
}
svg.vch__wrapper .vch__days__labels__wrapper text.vch__day__label[data-v-a9cfea66],
svg.vch__wrapper .vch__legend__wrapper text[data-v-a9cfea66],
svg.vch__wrapper .vch__months__labels__wrapper text.vch__month__label[data-v-a9cfea66] {
fill: var(--text);
}
#app .ui.item.menu,
.ui.item.menu .item {
background: rgb(255 255 255 / 8%);
}
#app .ui.menu .active.item {
color: var(--text);
}
.ui.menu .active.item {
background: rgba(0, 0, 0, .25);
color: var(--text);
font-weight: 400;
box-shadow: none;
}
.ui.menu .active.item:hover,
.ui.vertical.menu .active.item:hover {
background-color: rgba(0, 0, 0, .25);
color: var(--text-hover);
}
.ui.menu a.item:hover {
color: var(--text-hover);
background: rgb(255 255 255 / 8%);
}
#app .ui.link.menu .item:hover,
.ui.menu .dropdown.item:hover,
.ui.menu .link.item:hover {
cursor: pointer;
background: rgba(0, 0, 0, .03);
color: var(--text-hover);
}
#app .ui.secondary.segment {
background: rgb(255 255 255 / 8%);
color: rgba(0, 0, 0, .6);
}
/* COMMIT CALENDAR */
svg.vch__wrapper rect.vch__day__square[data-v-a9cfea66]:hover {
stroke: var(--accent-color);
stroke-width: 1px;
}
.heatmap-color-0 {
background-color: rgba(0, 0, 0, .25);
}
.activity-bar-graph {
color: #9e9e9e;
}
.heatmap-color-1 {
background-color: var(--heatmap-color-1);
}
.heatmap-color-2 {
background-color: var(--heatmap-color-2);
}
.heatmap-color-3 {
background-color: var(--heatmap-color-3);
}
.heatmap-color-4 {
background-color: var(--heatmap-color-4);
}
.activity-bar-graph,
.heatmap-color-5 {
background-color: var(--heatmap-color-5);
}
/* REPOSITORY */
.repository .header-wrapper {
background-color: rgb(0 0 0 / 24%);
}
.repository .diff-detail-box {
background: var(--main-bg-color);
}
.repository .diff-detail-box.sticky {
border-bottom: 1px solid rgb(255 255 255 / .1);
}
.repository .diff-file-box .code-diff-unified tbody tr.del-code td {
background-color: #3c2626 !important;
border-color: #634343 !important
}
.repository .diff-file-box .code-diff-unified tbody tr.del-code td.lines-num {
background-color: #4e2c2c !important
}
.repository .diff-file-box .code-diff-unified tbody tr.add-code td {
background-color: #283e2d !important;
border-color: #314a37 !important
}
.repository .diff-file-box .code-diff-unified tbody tr.add-code td.lines-num {
background-color: #2c4632 !important
}
.repository.view.issue .comment-list .comment .comment-container {
border: 1px solid rgba(255, 255, 255, 0.1);
}
.comment-header {
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.removed-code {
background-color: #5f3737
}
.added-code {
background-color: #3a523a
}
.repository .diff-file-box .code-diff-split tbody tr.add-code td:first-child,
.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(2),
.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(3),
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(4),
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(5),
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(6) {
background-color: var(--code-background)
}
.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(4),
.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(5),
.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(6),
.repository .diff-file-box .code-diff-split tbody tr td.add-code,
.repository .diff-file-box .code-diff-split tbody tr td.lines-num-new.add-code {
background-color: #283e2d !important;
border-color: #314a37 !important
}
.repository .diff-file-box .code-diff-split tbody tr.del-code td:first-child,
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(2),
.repository .diff-file-box .code-diff-split tbody tr.del-code td:nth-child(3),
.repository .diff-file-box .code-diff-split tbody tr td.del-code {
background-color: #3c2626 !important;
border-color: #634343 !important
}
.repository.view.issue .comment-list .timeline-item .badge.badge-commit {
border-color: transparent;
background: radial-gradient(#fff0 40%, transparent 0) no-repeat;
}
.tag-code,
.tag-code td {
background: rgba(255, 255, 255, .1) !important;
}
.tag-code td.lines-num {
background-color: rgba(255, 255, 255, 0) !important;
}
a.blob-excerpt {
color: var(--text);
background: rgba(255, 255, 255, .1) !important;
}
td.blob-excerpt {
background-color: rgba(0, 0, 0, .15);
}
.repo-header .ui.breadcrumb a {
color: var(--accent-color);
}
.repo-header .ui.breadcrumb a:hover {
color: var(--accent-color-hover);
}
.repo-header .ui.breadcrumb .divider {
color: rgb(255 255 255 / 40%);
}
.ui.tabular.menu .item.active {
color: var(--text);
}
.ui.tabular.menu .active.item {
background: none var(--main-bg-color) !important;
color: var(--text);
border-color: rgb(255 255 255 / 10%);
}
.ui.tabular.menu {
border-bottom: 1px solid rgb(255 255 255 / 10%);
}
.ui.tabular.menu .item:hover {
color: var(--text-hover);
border-radius: .28571429rem .28571429rem 0 0 !important;
}
.ui.card,
.ui.cards>.card {
background: rgb(255 255 255 / 8%);
box-shadow: none;
}
.repository .ui.menu {
background: rgb(0 0 0 / 0%);
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15);
}
.ui.ui.menu .item.disabled {
cursor: default;
background-color: transparent;
color: rgb(255 255 255 / 30%);
pointer-events: none;
}
.repository.file.editor .commit-form-wrapper .commit-form {
position: relative;
padding: 15px;
margin-bottom: 10px;
border: 1px solid rgb(255 255 255 / .1);
border-radius: 3px;
}
.repository.release #release-list {
border-top: 1px solid rgb(255 255 255 / 0.1);
}
.repository.release #release-list>li .detail {
border-left: 1px solid rgb(255 255 255 / 0.1);
}
.repository.release #release-list>li .detail .download .list {
border-top: 1px solid rgb(255 255 255 / .1);
}
.repository.release #release-list>li .detail .download .list li {
border-bottom: 1px solid rgb(255 255 255 / .1);
}
/*
.repository .ui.menu .active.item {
background: var(--main-bg-color) !important;
color: var(--text-hover);
font-weight: 400;
box-shadow: none;
}
/* WIKI */
.repository.wiki.pages .ui.ui.table td.grey:not(.marked),
.repository.wiki.pages .ui.ui.ui.ui.table tr.grey:not(.marked) {
background: rgb(255 255 255 / 0.08);
;
}
.editor-preview,
.editor-preview-side {
background: var(--modal-bg-color) !important;
}
/* COMMIT STUFF */
#git-graph-container li a {
color: var(--link-color);
}
#git-graph-container li a:hover {
color: var(--text-hover);
}
#git-graph-container #rev-list li.highlight,
#git-graph-container #rev-list li.hover {
background-color: rgba(255, 255, 255, .05);
}
#git-graph-container #rev-list li.highlight.hover {
background-color: rgba(255, 255, 255, .05);
}
#git-graph-container li .author {
color: var(--accent-color);
}
.repository .ui.segment.sub-menu .list .item a,
.repository .ui.segment.sub-menu .list .item span.ui {
color: var(--text);
}
.repository .ui.segment.sub-menu .list .item a:hover,
.repository .ui.segment.sub-menu .list .item b:hover {
color: var(--text-hover) !important;
}
.repository .ui.segment.sub-menu .list .item.active {
background: rgba(255, 255, 255, 0.07);
}
.repository.file.list #repo-files-table tbody .svg {
color: var(--text);
}
.ui.blue.labels .label,
.ui.ui.ui.blue.label {
background-color: var(--accent-color) !important;
border-color: var(--accent-color) !important;
color: var(--text-hover);
}
.ui.black.labels .label,
.ui.ui.ui.black.label {
background-color: var(--accent-color);
border-color: var(--accent-color);
color: var(--button-text);
}
.repository #commits-table.ui.basic.striped.table tbody tr:nth-child(2n) {
background-color: rgba(0, 0, 0, 0.15) !important;
}
.repository #commits-table.ui.table>tbody {
background-color: transparent !important;
}
/* ISSUES */
.CodeMirror-cursor {
border-left: 1px solid #fff;
}
.CodeMirror {
border: 1px solid rgb(255 255 255 / .1);
background: rgba(0, 0, 0, .25);
}
.editor-toolbar a,
.editor-toolbar button {
color: #ffffff !important;
}
.editor-toolbar {
border: 1px solid rgb(255 255 255 / .1);
border-left: 1px solid rgb(255 255 255 / .1);
border-right: 1px solid rgb(255 255 255 / .1);
}
.editor-toolbar a.active,
.editor-toolbar a:hover,
.editor-toolbar button.active,
.editor-toolbar button:hover {
background: rgb(255 255 255 / 25%);
border-color: rgb(255 255 255 / 25%);
}
.dropzone {
min-height: 150px;
border: 2px solid rgba(0, 0, 0, .3);
background: rgb(255 255 255 / 25%) !important;
padding: 20px;
}
.ui.form .dropzone {
border: 2px dashed var(--accent-color);
box-shadow: none !important;
padding: 0;
min-height: 5rem;
border-radius: 4px;
}
.ui.form .dropzone .dz-button {
color: var(--text-hover);
}
.ui.form .dropzone:hover .dz-button {
color: var(--link-color);
}
.repository .metas .ui.list .item {
color: var(--text) !important;
}
.repository.view.issue .comment-list .timeline:before {
background-color: transparent;
}
.repository.view.issue .comment-list .comment .content>.header {
background-color: rgb(0 0 0 / 25%);
}
.repository.view.issue .comment-list .comment .content>.header .actions a {
color: rgb(255 255 255);
}
.repository.view.issue .comment-list .comment .content>.header .actions a:hover {
color: var(--accent-color);
}
.repository.view.issue .pull-desc code {
color: var(--accent-color);
}
.repository .segment.reactions .ui.label.basic.blue {
background-color: #ffffff00 !important;
border-color: inherit !important;
}
.repository.view.issue .comment-list .comment:target>.content {
box-shadow: 0 0 10px #000000;
}
.repository.view.issue .comment-list .timeline-item .badge {
background-color: var(--accent-color);
border: 2px solid var(--accent-color);
color: #fff;
}
.issue.list>.item .desc .overdue {
color: #ec2626;
}
/* TABLE */
.ui.table>thead>tr>th {
background: rgb(0 0 0 / 25%);
color: var(--text);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ui.table {
width: 100%;
background: rgb(255 255 255 / 0.0);
border: 1px solid rgba(255, 255, 255, 0.1);
color: var(--text);
}
.ui.table>tbody {
border: 1px solid rgba(34, 36, 38, .15);
color: var(--text);
}
.ui.table>tbody>tr>td,
w .ui.table>tr>td {
border-top: 1px solid rgb(255 255 255 / 10%);
}
.repository.file.list #repo-files-table thead tr:hover {
background-color: rgba(0, 0, 0, 0.0) !important;
}
.repository.file.list #repo-files-table tr:hover {
background: rgba(255, 255, 255, 0.08);
}
.ui.table tbody tr td.selectable:hover,
.ui.ui.selectable.table>tbody>tr:hover {
background: rgb(255 255 255 / 0.08);
color: var(--text-hover);
}
/* FOOTER */
footer {
background-color: rgb(0 0 0 / 25%);
border-top: 1px solid rgb(255 255 255 / 25%);
}
/* BUTTONS / CHECKBOXES */
.btn:active,
.btn:focus {
outline: none !important;
}
.ui.checkbox input:checked~label:after {
color: #fff !important;
background: var(--accent-color);
}
.ui.toggle.checkbox input:checked~label:before {
background-color: rgb(0 0 0 / 25%) !important;
}
.ui.toggle.checkbox input:checked~label,
.ui.toggle.checkbox label {
color: var(--text) !important;
}
.ui.toggle.checkbox label:before,
.ui.toggle.checkbox input:focus:checked~label:before {
background: rgb(255 255 255 / 10%) !important;
background-color: rgb(255 255 255 / 10%) !important;
}
.ui.toggle.checkbox input:focus:checked~label,
.ui.checkbox input:focus~label,
.ui.checkbox input:focus~label:after {
color: var(--text-hover) !important;
}
.ui.blue.button,
.ui.blue.buttons .button,
.ui.primary.button,
.ui.primary.buttons .button {
background-color: var(--button-color) !important;
color: var(--button-text) !important;
}
.ui.primary.button:hover,
.ui.primary.buttons .button:hover,
.ui.blue.button:hover,
.ui.blue.buttons .button:hover {
background-color: var(--button-color-hover) !important;
color: var(--button-text) !important;
}
.ui.teal.button,
.ui.teal.buttons .button {
background-color: var(--button-color);
color: var(--button-text);
text-shadow: none;
background-image: none;
}
.ui.teal.button:hover,
.ui.teal.buttons .button:hover {
background-color: var(--button-color-hover);
color: var(--button-text);
text-shadow: none;
}
/*
.ui.green.button,
.ui.green.buttons .button {
background-color: var(--button-color);
color: var(--button-text);
}
.ui.green.button:focus,
.ui.green.buttons .button:focus {
background-color: var(--button-color-hover);
color: var(--button-text);
text-shadow: none;
}
.ui.green.button:hover,
.ui.green.buttons .button:hover {
background-color: var(--button-color-hover);
color: var(--button-text);
}
*/
.ui.blue.button,
.ui.blue.buttons .button {
background-color: var(--button-color) !important;
color: var(--button-text);
}
.ui.blue.button:hover,
.ui.blue.buttons .button:hover {
background-color: var(--button-color-hover) !important;
color: var(--button-text);
}
.ui.active.button,
.ui.active.button:hover {
color: var(--button-text);
}
.ui.active.button,
.ui.active.button:active,
.ui.active.button:hover {
background-color: var(--button-color-hover);
}
.ui.button {
background: var(--button-color);
color: var(--button-text);
}
.ui.button:hover {
background: var(--button-color-hover);
color: var(--button-text);
}
.ui.basic.blue.button,
.ui.basic.blue.buttons .button {
box-shadow: inset 0 0 0 1px var(--accent-color) !important;
color: var(--button-text) !important;
}
.ui.basic.blue.button:hover,
.ui.basic.blue.buttons .button:hover,
.ui.basic.blue.button:active,
.ui.basic.blue.buttons .button:active,
.ui.basic.blue.button:focus,
.ui.basic.blue.buttons .button:focus {
background: var(--button-color) !important;
color: var(--button-text) !important;
}
.ui.basic.button,
.ui.basic.buttons .button {
color: var(--button-text);
box-shadow: inset 0 0 0 1px rgb(255 255 255 / 15%);
}
.ui.basic.button:focus,
.ui.basic.button:hover,
.ui.basic.buttons .button:focus,
.ui.basic.buttons .button:hover {
background: rgb(255 255 255 / 8%);
color: var(--button-text);
}
.ui.basic.red.button,
.ui.basic.red.buttons .button {
background: #F44336;
box-shadow: inset 0 0 0 1px #F44336;
color: var(--button-text);
}
.ui.basic.red.button:hover,
.ui.basic.red.buttons .button:hover {
background: #ec2626;
box-shadow: inset 0 0 0 1px #ec2626;
color: var(--button-text);
}
.ui.inverted.red.basic.button:hover,
.ui.inverted.red.basic.buttons .button:hover,
.ui.inverted.red.buttons .basic.button:hover {
box-shadow: inset 0 0 0 2px #ec2626;
color: var(--button-text);
}
.repo-buttons .ui.basic.label,
.ui.basic.labels .label {
background: none var(--button-color);
border: 1px solid rgba(34, 36, 38, .15);
color: var(--button-text);
}
.repo-buttons .ui.basic.labels a.label:hover,
a.ui.basic.label:hover {
text-decoration: none;
background: none var(--button-color-hover);
color: var(--button-text);
box-shadow: none;
}
.repo-buttons .disabled-repo-button a.button:hover {
background: none !important;
color: rgb(255 255 255 / 60%) !important;
box-shadow: inset 0 0 0 1px rgba(34, 36, 38, .15) !important;
}
/* LABELS */
/*
.ui.label,
.ui.menu .item>.label {
background-color: var(--button-color);
color: var(--button-text);
}
*/
.ui.label {
background-color: rgb(255 255 255 / 10%);
color: #fff;
}
.ui.labels a.label:hover,
a.ui.label:hover {
background-color: #ffffff;
color: rgba(0, 0, 0, .8);
}
.ui .sha.label {
background: var(--button-color) !important;
color: var(--button-text) !important;
border: 1px solid var(--button-color) !important;
}
a.ui.label:hover,
a.ui.labels .label:hover {
background: var(--button-color-hover);
color: var(--button-text);
}
.repository #commits-table td.sha .sha.label,
.repository #repo-files-table .sha.label,
.repository .timeline-item.commits-list .singular-commit .sha.label {
border: 1px solid transparent;
}
.repository #commits-table td.sha .sha.label .detail.icon,
.repository #repo-files-table .sha.label .detail.icon,
.repository .timeline-item.commits-list .singular-commit .sha.label .detail.icon {
background: rgb(0 0 0 / 25%);
margin: -6px -10px -4px 0;
padding: 5px 4px 5px 6px;
border: 0;
border-left: 1px solid #fff;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.repository.file.list #repo-files-table tbody .svg.octicon-file-directory,
.repository.file.list #repo-files-table tbody .svg.octicon-file-submodule {
color: var(--accent-color);
}
/* FORMS */
.ui.form input:not([type]),
.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.form input {
background: rgb(0 0 0 / 25%);
border: 1px solid transparent;
color: var(--text);
border-radius: .28571429rem;
box-shadow: inset 0 0 0 0 transparent;
transition: color .1s ease, border-color .1s ease;
}
.ui.form input:not([type]):focus,
.ui.form input[type=date]:focus,
.ui.form input[type=datetime-local]:focus,
.ui.form input[type=email]:focus,
.ui.form input[type=file]:focus,
.ui.form input[type=number]:focus,
.ui.form input[type=password]:focus,
.ui.form input[type=search]:focus,
.ui.form input[type=tel]:focus,
.ui.form input[type=text]:focus,
.ui.form input[type=time]:focus,
.ui.form input[type=url]:focus {
color: var(--text);
border-color: rgb(255 255 255 / 8%);
border-radius: .28571429rem;
background: rgb(0 0 0 / 50%);
box-shadow: inset 0 0 0 0 rgba(34, 36, 38, .35);
}
.ui.form input:focus:hover,
.ui.form textarea:focus:hover,
input:focus:hover,
textarea:focus:hover {
background: rgb(0 0 0 / 50%) !important;
border-color: rgb(255 255 255 / .1) !important;
color: var(--text-hover) !important;
}
.ui.form input:hover,
.ui.form textarea:hover,
input:hover,
textarea:hover {
background: rgb(0 0 0 / 25%) !important ;
border-color: rgb(255 255 255 / .1) !important;
color: var(--text-hover) !important;
}
.ui.form textarea:focus {
color: var(--text);
border-color: transparent;
background: rgba(0, 0, 0, .5);
box-shadow: inset 0 0 0 0 rgba(34, 36, 38, .35);
-webkit-appearance: none;
}
.ui.form textarea,
.ui.input textarea {
background: rgb(0 0 0 / .25);
border: 1px solid rgba(34, 36, 38, .15);
color: var(--text);
}
.ui.input.focus>input,
.ui.input>input:focus {
border-color: transparent;
background: rgb(0 0 0 / 50%);
color: var(--text);
box-shadow: none;
}
.ui.input>input {
background: rgb(0 0 0 / 25%);
border: 1px solid rgba(34, 36, 38, .15);
color: var(--text);
}
.ui.icon.input>i.icon {
color: var(--text);
}
.ui.action.input:not([class*="left action"])>input:focus {
border-right-color: var(--accent-color);
}
/* MARKDOWN */
.markdown tbody {
background: #f000 !important;
}
.markdown:not(code) table tr {
background-color: rgba(0, 0, 0, .26);
border-top: 1px solid #ccc;
}
.markdown:not(code) table tr:nth-child(2n) {
background-color: rgba(0, 0, 0, .45);
}
.markdown:not(code) code,
.markdown:not(code) tt {
background-color: rgb(0 0 0 / 0.25);
}
/* PLACEHOLDER TEXT */
::placeholder {
color: var(--text) !important;
opacity: .5;
}
:-moz-placeholder {
color: var(--text) !important;
opacity: .5;
}
:-ms-input-placeholder {
color: var(--text) !important;
opacity: .5;
}
::-webkit-input-placeholder {
color: var(--text) !important;
opacity: .5;
}
/* HIGHLIGHTING */
::-webkit-selection {
background-color: var(--accent-color) !important;
color: var(--text-hover) !important;
}
::-moz-selection {
background-color: var(--accent-color) !important;
color: var(--text-hover) !important;
}
::selection {
background-color: var(--accent-color) !important;
color: var(--text-hover) !important;
}
textarea::-webkit-selection,
input::-webkit-selection {
background-color: var(--accent-color) !important;
color: var(--text-hover) !important;
}
textarea::-moz-selection,
input::-moz-selection {
background-color: var(--accent-color) !important;
color: var(--text-hover) !important;
}
textarea::-moz-selection,
input::-moz-selection {
background-color: var(--accent-color) !important;
color: var(--text-hover) !important;
}
textarea::selection,
input::selection {
background-color: var(--accent-color) !important;
color: var(--text-hover) !important;
}
/* CALENDAR */
::-webkit-calendar-picker-indicator {
filter: invert(1);
}