1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/web_src/less/themes/theme-arc-green.less
silverwind eea25f8d71
Improve arc-green code colors (#12111)
* Improve arc-green code colors

This should fix all previous colors that had too few contrast on the
background. I took solarized-dark as a baseline and did various
improvments. I removed bold/italic flags because I don't think they
fit and generally other tools also don't use those font flags.

* diff tweak
2020-07-01 21:15:59 +03:00

1886 lines
33 KiB
Plaintext

/* Background */
.chroma {
background-color: #2a2e3a;
}
/* LineTableTD */
.chroma .lntd {
vertical-align: top;
padding: 0;
margin: 0;
border: 0;
}
/* LineTable */
.chroma .lntable {
border-spacing: 0;
padding: 0;
margin: 0;
border: 0;
width: auto;
overflow: auto;
display: block;
}
/* LineHighlight */
.chroma .hl {
display: block;
width: 100%;
background-color: #3f424d;
}
/* LineNumbersTable */
.chroma .lnt {
margin-right: .4em;
padding: 0 .4em;
color: #7f7f7f;
}
/* LineNumbers */
.chroma .ln {
margin-right: .4em;
padding: 0 .4em;
color: #7f7f7f;
}
/* Keyword */
.chroma .k {
color: #f63;
}
/* KeywordConstant */
.chroma .kc {
color: #fa1;
}
/* KeywordDeclaration */
.chroma .kd {
color: #9daccc;
}
/* KeywordNamespace */
.chroma .kn {
color: #fa1;
}
/* KeywordPseudo */
.chroma .kp {
color: #5f8700;
}
/* KeywordReserved */
.chroma .kr {
color: #f63;
}
/* KeywordType */
.chroma .kt {
color: #9daccc;
}
/* NameAttribute */
.chroma .na {
color: #8a8a8a;
}
/* NameBuiltin */
.chroma .nb {
color: #9daccc;
}
/* NameBuiltinPseudo */
.chroma .bp {
color: #9daccc;
}
/* NameClass */
.chroma .nc {
color: #fa1;
}
/* NameConstant */
.chroma .no {
color: #fa1;
}
/* NameDecorator */
.chroma .nd {
color: #9daccc;
}
/* NameEntity */
.chroma .ni {
color: #fa1;
}
/* NameException */
.chroma .ne {
color: #af8700;
}
/* NameFunction */
.chroma .nf {
color: #9daccc;
}
/* NameLabel */
.chroma .nl {
color: #fa1;
}
/* NameNamespace */
.chroma .nn {
color: #fa1;
}
/* NameOther */
.chroma .nx {
color: #9daccc;
}
/* NameTag */
.chroma .nt {
color: #9daccc;
}
/* NameVariable */
.chroma .nv {
color: #9daccc;
}
/* NameVariableClass */
.chroma .vc {
color: #f81;
}
/* NameVariableGlobal */
.chroma .vg {
color: #fa1;
}
/* NameVariableInstance */
.chroma .vi {
color: #fa1;
}
/* LiteralString */
.chroma .s {
color: #1af;
}
/* LiteralStringAffix */
.chroma .sa {
color: #1af;
}
/* LiteralStringBacktick */
.chroma .sb {
color: #a0cc75;
}
/* LiteralStringChar */
.chroma .sc {
color: #1af;
}
/* LiteralStringDelimiter */
.chroma .dl {
color: #1af;
}
/* LiteralStringDoc */
.chroma .sd {
color: #6a737d;
}
/* LiteralStringDouble */
.chroma .s2 {
color: #a0cc75;
}
/* LiteralStringEscape */
.chroma .se {
color: #f63;
}
/* LiteralStringHeredoc */
.chroma .sh {
color: #1af;
}
/* LiteralStringInterpol */
.chroma .si {
color: #fa1;
}
/* LiteralStringOther */
.chroma .sx {
color: #fa1;
}
/* LiteralStringRegex */
.chroma .sr {
color: #97c;
}
/* LiteralStringSingle */
.chroma .s1 {
color: #a0cc75;
}
/* LiteralStringSymbol */
.chroma .ss {
color: #fa1;
}
/* LiteralNumber */
.chroma .m {
color: #1af;
}
/* LiteralNumberBin */
.chroma .mb {
color: #1af;
}
/* LiteralNumberFloat */
.chroma .mf {
color: #1af;
}
/* LiteralNumberHex */
.chroma .mh {
color: #1af;
}
/* LiteralNumberInteger */
.chroma .mi {
color: #1af;
}
/* LiteralNumberIntegerLong */
.chroma .il {
color: #1af;
}
/* LiteralNumberOct */
.chroma .mo {
color: #1af;
}
/* Operator */
.chroma .o {
color: #f63;
}
/* OperatorWord */
.chroma .ow {
color: #5f8700;
}
/* Comment */
.chroma .c {
color: #6a737d;
}
/* CommentHashbang */
.chroma .ch {
color: #6a737d;
}
/* CommentMultiline */
.chroma .cm {
color: #6a737d;
}
/* CommentSingle */
.chroma .c1 {
color: #6a737d;
}
/* CommentSpecial */
.chroma .cs {
color: #637d;
}
/* CommentPreproc */
.chroma .cp {
color: #fc6;
}
/* CommentPreprocFile */
.chroma .cpf {
color: #fc6;
}
/* GenericDeleted */
.chroma .gd {
color: #fff;
background-color: #5f3737;
}
/* GenericEmph */
.chroma .ge {
font-style: italic;
}
/* GenericError */
.chroma .gr {
color: #f33;
}
/* GenericHeading */
.chroma .gh {
color: #fa1;
}
/* GenericInserted */
.chroma .gi {
color: #fff;
background-color: #3a523a;
}
/* GenericOutput */
.chroma .go {
color: #888888;
}
/* GenericPrompt */
.chroma .gp {
color: #555555;
}
/* GenericStrong */
.chroma .gs {
font-weight: bold;
}
/* GenericSubheading */
.chroma .gu {
color: #9daccc;
}
/* GenericTraceback */
.chroma .gt {
color: #f63;
}
/* GenericUnderline */
.chroma .gl {
text-decoration: underline;
}
/* TextWhitespace */
.chroma .w {
color: #bbbbbb;
}
.repository .ui.segment.sub-menu .list .item {
color: #dbdbdb;
a,
span.ui {
color: #dbdbdb;
}
}
.ui.horizontal.segments > .segment {
background-color: #383c4a;
}
body {
background: #383c4a;
color: #9e9e9e;
}
/* firefox scroll bars */
* {
scrollbar-width: thin;
scrollbar-color: #87ab63 rgba(255, 255, 255, .1);
}
/* webkit scrollbars */
::-webkit-scrollbar {
-webkit-appearance: none !important;
width: 10px !important;
height: 10px !important;
}
::-webkit-scrollbar-track {
border-radius: 0 !important;
background: rgba(255, 255, 255, .1) !important;
}
::-webkit-scrollbar-thumb {
cursor: pointer !important;
border-radius: 5px !important;
-webkit-transition: color .2s ease !important;
transition: color .2s ease !important;
background: #87ab63 !important;
}
::-webkit-scrollbar-thumb:window-inactive {
background: #87ab63 !important;
}
::-webkit-scrollbar-thumb:hover {
background: #87ab63 !important;
}
a {
color: #87ab63;
}
a:hover {
color: #a0cc75;
}
.ui.card > .extra a:not(.ui):hover,
.ui.cards > .card > .extra a:not(.ui):hover {
color: #a0cc75;
}
.ui.breadcrumb a:hover {
color: #a0cc75;
}
.ui.breadcrumb a {
color: #87ab63;
}
.repository .metas .ui.list a .text {
color: #87ab63;
}
.repository .metas .ui.list a .text:hover {
color: #a0cc75;
}
.repository .label.list .item a {
color: #87ab63;
}
.repository .label.list .item a:hover {
color: #a0cc75;
}
.repository .milestone.list > .item > a {
color: #87ab63;
}
.repository .milestone.list > .item > a:hover {
color: #a0cc75;
}
.repository.release #release-list {
border-top: 1px solid #4c505c;
}
.repository .milestone.list > .item .operate > a {
color: #87ab63;
}
.repository .milestone.list > .item .operate > a:hover {
color: #a0cc75;
}
.ui.green.progress .bar {
background-color: #668844;
}
.ui.progress.success .bar {
background-color: #7b9e57 !important;
}
.following.bar.light {
background: #2e323e;
border-bottom: 1px solid #313131;
}
.ui.secondary.menu .active.item {
color: #dbdbdb;
}
.ui.secondary.menu .item {
color: #9e9e9e;
}
.following.bar .top.menu a.item:hover {
color: #ffffff;
}
.ui.attached.header {
background: #404552;
border: 1px solid #404552;
color: #dbdbdb;
}
.ui.attached.table {
border: 1px solid #304251;
background: #304251;
}
.feeds .list ul li:not(:last-child) {
border-bottom: 1px solid #333640;
}
.feeds .list ul li.private {
background: #353945;
border: 1px solid #333640;
}
.ui.secondary.menu .dropdown.item:hover,
.ui.secondary.menu .link.item:hover,
.ui.secondary.menu .active.item:hover,
.ui.secondary.menu a.item:hover {
color: #ffffff;
}
.ui.menu .ui.dropdown .menu > .item {
background: #2c303a !important;
color: #9e9e9e !important;
}
.ui.secondary.menu .dropdown.item > .menu,
.ui.text.menu .dropdown.item > .menu {
border: 1px solid #434444;
}
footer {
background: #2e323e;
border-top: 1px solid #313131;
color: #bababa;
}
.ui.menu .dropdown.item .menu {
background: #2c303a;
}
.ui.menu .ui.dropdown .menu > .item:hover,
.ui.menu .ui.dropdown .menu > .selected.item {
color: #ffffff !important;
}
.ui.dropdown .menu > .header {
color: #dbdbdb;
}
.ui.red.label,
.ui.red.labels .label {
background-color: #7d3434 !important;
border-color: #8a2121 !important;
}
.ui.menu {
background: #404552;
border: 1px solid #353945;
}
.ui.menu .active.item:hover,
.ui.vertical.menu .active.item:hover {
color: #dbdbdb;
background: #4b5162;
}
.ui.link.menu .item:hover,
.ui.menu .dropdown.item:hover,
.ui.menu .link.item:hover,
.ui.menu a.item:hover {
color: #dbdbdb;
background: #454b5a;
}
.ui.menu .active.item {
background: #4b5162;
color: #dbdbdb;
}
.ui.input input {
background: #404552;
border: 2px solid #353945;
color: #dbdbdb;
}
.ui.input input:focus,
.ui.input.focus input {
background: #404552;
border: 2px solid #353945;
color: #dbdbdb;
}
.ui.accordion .title:not(.ui) {
color: #dbdbdb;
}
.ui.label,
.ui.label.basic {
color: #dbdbdb;
background-color: #404552;
}
.issue.list > .item .title {
color: #87ab63;
}
.issue.list > .item .title:hover {
color: #a0cc75;
}
.issue.list > .item {
border-bottom: 1px dashed #475767;
}
.ui.green.label,
.ui.green.labels .label,
.ui.basic.green.label {
background-color: #2d693b !important;
border-color: #2d693b !important;
}
.ui.basic.green.labels a.label:hover,
a.ui.basic.green.label:hover {
background-color: #16ab39 !important;
border-color: #16ab39 !important;
color: #ffffff !important;
}
.issue.list > .item .comment {
color: #129c92;
}
.ui.basic.button,
.ui.basic.buttons .button {
color: #797979;
}
.ui.basic.red.active.button,
.ui.basic.red.buttons .active.button {
box-shadow: 0 0 0 1px #c75252 inset !important;
color: #c75252 !important;
}
.ui.basic.button:focus,
.ui.basic.button:hover,
.ui.basic.buttons .button:focus,
.ui.basic.buttons .button:hover {
color: #dbdbdb;
box-shadow: 0 0 0 1px rgba(200, 200, 200, .35) inset;
background: rgba(0, 0, 0, .5);
}
.ui.menu .item {
background: #404552;
color: #9e9e9e;
}
.ui.menu .item.disabled,
.ui.menu .item.disabled:hover,
.ui.ui.menu .item.disabled,
.ui.ui.menu .item.disabled:hover {
color: #626773;
}
.ui.pagination.menu .active.item {
color: #dbdbdb;
background-color: #87ab63;
}
.repository .header-wrapper {
background-color: #2a2e3a;
}
.ui.header,
.ui.breadcrumb .divider {
color: #9e9e9e;
}
.ui.blue.label,
.ui.blue.labels .label,
.repository .segment.reactions .ui.label.basic.blue {
background-color: #26577b !important;
border-color: #26577b !important;
}
.ui.menu .item > .label {
background: #565454;
}
.ui.blue.button,
.ui.blue.buttons .button {
background-color: #87ab63;
}
.ui.blue.button:hover,
.ui.blue.buttons .button:hover {
background-color: #a0cc75;
}
.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"] {
color: #9e9e9e;
background: #404552;
border: 2px solid #353945;
}
.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 {
background: #404552;
border: 2px solid #4b505f;
color: #dbdbdb;
}
.ui.action.input:not([class*="left action"]) input:focus {
border-right-color: #4b505f !important;
}
.ui.green.button,
.ui.green.buttons .button {
background-color: #87ab63;
}
.ui.green.button:hover,
.ui.green.buttons .button:hover {
background-color: #a0cc75;
}
.ui.button {
background: #383c4a;
border: 1px solid #4c505c;
color: #dbdbdb;
}
.ui.labeled.button:not([class*="left labeled"]) > .label,
.ui[class*="left labeled"].button > .button {
background: #404552;
border: 1px solid #4c505c;
color: #87ab63;
}
.ui.button:hover {
background-color: #404552;
color: #dbdbdb;
}
.ui.table thead th,
.ui.table > thead > tr > th {
background: #404552;
color: #dbdbdb !important;
}
.repository.file.list #repo-files-table tr {
background: #2a2e3a;
}
.repository.file.list #repo-files-table tr:hover {
background-color: #393d4a !important;
}
.ui.table {
color: #a5a5a5 !important;
border-color: #4c505c;
background: #353945;
}
.ui.table tbody tr {
border-color: #333640;
background: #2a2e3a;
}
.ui .text.grey {
color: #a5a5a8 !important;
}
.ui.attached.table.segment {
background: #353945;
color: #dbdbdb !important;
}
.markdown:not(code) h2 {
border-bottom: 1px solid #304251;
}
.ui.tabular.menu {
border-bottom-color: rgba(255, 255, 255, .1);
.item.active {
border-top-color: transparent;
border-left-color: transparent;
border-right-color: transparent;
background: #383c4a;
color: #dbdbdb;
}
.item {
color: #9e9e9e;
}
.item:hover {
color: #dbdbdb;
}
&.navbar {
.item.active {
border-left-color: transparent;
border-right-color: transparent;
}
}
}
.markdown:not(code) .highlight pre,
.markdown:not(code) pre {
background-color: #2a2e3a;
border: 1px solid #404552;
}
.markdown:not(code) table tr:nth-child(2n) {
background-color: #2a2e39;
}
.markdown:not(code) table tr:nth-child(2n-1) {
background-color: #383b44;
}
.markdown:not(code) table thead tr:nth-child(2n-1) {
background-color: #464c5d !important;
}
.markdown:not(code) table td,
.markdown:not(code) table th {
border-color: #4c505c !important;
}
.repository.file.editor.edit,
.repository.wiki.new .CodeMirror {
.editor-preview,
.editor-preview-side,
& + .editor-preview-side {
background: #353945;
.markdown:not(code).ui.segment {
border-width: 0;
}
}
}
.ui.dropdown .menu {
background: #2c303a;
}
.ui.dropdown .menu > .message:not(.ui) {
color: #636363;
}
.ui.input {
color: #dbdbdb;
}
.overflow.menu .items .item {
color: #9d9d9d;
}
.overflow.menu .items .item:hover {
color: #dbdbdb;
}
.ui.segment {
background: #353945;
color: #9e9e9e !important;
border: 1px solid #404552;
}
.ui.list > .item > .content {
color: #9e9e9e !important;
}
.ui.active.button:active,
.ui.button:active,
.ui.button:focus {
background-color: #2e3e4e;
color: #dbdbdb;
}
.ui.dropdown .menu .selected.item,
.ui.dropdown.selected {
color: #dbdbdb;
}
.ui.dropdown .menu > .item:hover {
color: #dbdbdb;
}
.ui.dropdown .menu > .item {
color: #9e9e9e;
}
.ui.attached.segment {
border: 1px solid #404552;
}
.repository.view.issue .comment-list .event > .svg.issue-symbol {
background: #3b4954;
}
.repository.view.issue .comment-list .event > .svg:not(.issue-symbol) {
text-shadow: -2px 0 #383c4a, 0 2px #383c4a, 2px 0 #383c4a, 0 -2px #383c4a;
}
.ui .text.grey a {
color: #dbdbdb !important;
}
.ui .comment .actions a {
color: #9e9e9e !important;
}
.ui .comment .actions a.active,
.ui .comment .actions a:hover {
color: #fff !important;
}
.repository.view.issue .comment-list .comment .content {
> .bottom.segment {
background: #353945;
a {
border: solid 1px #353945;
background-color: #353945;
}
}
.header {
color: #dbdbdb;
background-color: #404552;
border-bottom: 1px solid #353944;
}
.merge-section {
background-color: #404552;
border-top: 1px solid #353944;
}
.header:after,
> .merge-section.no-header:after {
border-right-color: #404552;
}
.header:before,
> .merge-section.no-header:before {
border-right-color: #404552;
}
}
.repository.new.issue .comment.form .content:after {
border-right-color: #353945;
}
.repository.new.issue .comment.form .content:before {
border-right-color: #353945;
}
.repository.view.issue .comment-list:not(.prevent-before-timeline):before,
.repository.view.issue .comment-list .timeline:before {
background-color: #3b4954;
}
.repository.view.issue .comment-list .timeline-item .badge {
background-color: #383c4a;
border-color: #3b4954;
color: #9e9e9e;
}
.repository.view.issue .comment-list .comment .tag {
color: #dbdbdb;
border-color: rgb(152, 152, 152);
}
.repository.view.issue .comment-list .timeline-item .badge.badge-commit {
background: radial-gradient(#383c4a 60%, transparent 60%) no-repeat;
}
.repository .comment.form .content .form:after {
border-right-color: #313c47;
}
.repository .comment.form .content .form:before {
border-right-color: #313c47;
}
.ui .text.grey a:hover {
color: #dbdbdb !important;
}
.ui.basic.green.active.button,
.ui.basic.green.buttons .active.button {
color: #13ae38 !important;
box-shadow: 0 0 0 1px #13ae38 inset !important;
}
.ui.form textarea,
.ui.form textarea:focus {
color: #dbdbdb;
background: #404552;
border: 2px solid #353945;
}
.ui.form textarea:focus {
border: 1px solid #456580;
}
.ui .info.segment.top {
background-color: #404552 !important;
}
.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.add-code td {
background-color: #283e2d !important;
border-color: #314a37 !important;
}
.removed-code {
background-color: #5f3737;
}
.added-code {
background-color: #3a523a;
}
.tag-code,
.tag-code td {
background: #242637 !important;
}
.tag-code td.lines-num {
background-color: #242637 !important;
border-color: transparent !important;
}
.tag-code td.lines-type-marker,
td.blob-hunk {
color: #dbdbdb !important;
}
.ui.vertical.menu .active.item {
background: #4b5162;
}
.ui.vertical.menu .item {
background: #353945;
}
.ui.vertical.menu .header.item {
background: #404552;
}
.ui.vertical.menu {
background: #353945;
border: 1px solid #333640;
}
.ui.repository.list .item:not(:first-child) {
border-top: 1px solid #4c505c;
}
.ui .text.blue {
color: #87ab63 !important;
}
.ui.selection.active.dropdown,
.ui.selection.active.dropdown .menu {
border-color: #4e5361;
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, .15);
}
.ui.selection.active.dropdown:hover,
.ui.selection.active.dropdown:hover .menu {
border-color: #4e5361;
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, .15);
}
.ui.selection.dropdown {
background: #404552;
border: 1px solid #404552;
color: #9e9e9e;
}
.ui.menu .ui.dropdown .menu > .active.item {
color: #dbdbdb !important;
}
.ui.card,
.ui.cards > .card {
background: #353945;
box-shadow: 0 1px 3px 0 #4c505c, 0 0 0 1px #4c505c;
}
.ui.card > .content > .header,
.ui.cards > .card > .content > .header {
color: #dbdbdb;
}
.ui.card > .extra a:not(.ui),
.ui.cards > .card > .extra a:not(.ui) {
color: #87ab63;
}
.ui .text.black {
color: #9e9e9e;
}
.ui .text.black:hover {
color: #dbdbdb;
}
.ui.secondary.segment {
background: #353945;
}
.ui.secondary.pointing.menu {
border-bottom-color: rgba(255, 255, 255, .15);
}
.ui.secondary.pointing.menu .active.item {
color: #dbdbdb;
}
.ui.user.list .item:not(:first-child) {
border-top: 1px solid #4c505c;
}
.ui.secondary.pointing.menu .active.item:hover {
color: #dbdbdb;
}
.ui.secondary.pointing.menu .dropdown.item:hover,
.ui.secondary.pointing.menu .link.item:hover,
.ui.secondary.pointing.menu a.item:hover {
color: #dbdbdb;
}
.ui.checkbox label,
.ui.checkbox + label,
.ui.form .field > label {
color: #9e9e9e;
}
.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 {
color: #9e9e9e;
}
.user.settings .email.list .item:not(:first-child) {
border-top: 1px solid #3f4451;
}
.explore .navbar {
background-color: #2a2e3a !important;
}
.ui.menu.new-menu {
background: #2a2e3a;
border-color: transparent !important;
@media only screen and (max-width: 1200px) {
&:after {
background: linear-gradient(to right, transparent 0%, #2a2e3a 100%);
}
}
}
input {
background: #2e323e;
}
.settings .key.list .item:not(:first-child) {
border-top: 1px solid #404552;
}
.ui.attached.info.message,
.ui.info.message {
box-shadow: 0 0 0 1px #4b5e71 inset, 0 0 0 0 transparent;
}
.ui.bottom.attached.message {
background-color: #2c662d;
color: #87ab63;
}
.ui.bottom.attached.message .pull-right {
color: #87ab63;
}
.ui.info.message {
background-color: #2c3b4a;
color: #9ebcc5;
}
.ui .warning.header {
background-color: #5d3a22 !important;
border-color: #794f31;
}
.ui.red.message {
background-color: rgba(80, 23, 17, .6);
color: #f9cbcb;
box-shadow: 0 0 0 1px rgba(121, 71, 66, .5) inset, 0 0 0 0 transparent;
}
.ui.red.button,
.ui.red.buttons .button {
background-color: #7d3434;
}
.ui.red.button:hover,
.ui.red.buttons .button:hover {
background-color: #984646;
}
.ui.checkbox label:hover,
.ui.checkbox + label:hover {
color: #dbdbdb !important;
}
.ui.checkbox input:checked ~ .box:after,
.ui.checkbox input:checked ~ label:after {
color: #7f98ad;
}
.ui.checkbox input:checked ~ .box:before,
.ui.checkbox input:checked ~ label:before {
background: #304251;
opacity: 1;
color: #7f98ad;
border-color: #304251;
}
.ui.checkbox .box:hover::before,
.ui.checkbox label:hover::before {
background: #304251;
}
.ui.checkbox .box:before,
.ui.checkbox label:before {
background: #304251;
border: 1px solid #304251;
}
.ui.checkbox label:before {
border-color: #476075;
}
.ui.checkbox .box:active::before,
.ui.checkbox label:active::before {
background: #304251;
border-color: rgba(34, 36, 38, .35);
}
.ui.checkbox input:focus ~ .box:before,
.ui.checkbox input:focus ~ label:before {
border-color: #304251;
background: #304251;
}
.ui.checkbox input:checked:focus ~ .box:before,
.ui.checkbox input:checked:focus ~ label:before,
.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ .box:before,
.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ label:before {
border-color: #304251;
background: #304251;
}
.ui.checkbox input:checked:focus ~ .box:after,
.ui.checkbox input:checked:focus ~ label:after,
.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ .box:after,
.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ label:after {
color: #7f98ad;
}
.ui.checkbox input:focus ~ .box:after,
.ui.checkbox input:focus ~ label,
.ui.checkbox input:focus ~ label:after {
color: #9a9a9a;
}
.ui.selection.dropdown:hover {
border: 1px solid #456580;
}
.ui.selection.dropdown .menu > .item {
border-top: 1px solid #313c47;
}
.ui.selection.visible.dropdown > .text:not(.default) {
color: #9e9e9e;
}
.ui.positive.message {
background-color: #0d491b;
color: #87ab63;
box-shadow: 0 0 0 1px #2d693b inset, 0 0 0 0 transparent;
}
.ui.negative.message {
background-color: rgba(80, 23, 17, .6);
color: #f9cbcb;
box-shadow: 0 0 0 1px rgba(121, 71, 66, .5) inset, 0 0 0 0 transparent;
}
.user.profile .ui.card .extra.content ul li:not(:last-child) {
border-bottom: 1px solid #4c505c;
}
.ui.form .dropzone {
border: 2px dashed #7f98ad;
background-color: #2e323e;
.dz-button {
color: rgba(158, 158, 158, .8);
}
}
.ui.form .dropzone:hover .dz-button {
color: rgba(158, 158, 158, 1);
}
.ui.basic.red.button,
.ui.basic.red.buttons .button {
box-shadow: 0 0 0 1px #a04141 inset !important;
color: #a04141 !important;
}
.ui.list .list > .item .header,
.ui.list > .item .header {
color: #dedede;
}
.ui.list .list > .item .description,
.ui.list > .item .description {
color: #9e9e9e;
}
.ui.user.list .item .description a {
color: #668cb1;
}
.repository.file.list #repo-files-table tbody .svg.octicon-file-directory,
.repository.file.list #repo-files-table tbody .svg.octicon-file-submodule {
color: #7c9b5e;
}
.ui.blue.button:focus,
.ui.blue.buttons .button:focus {
background-color: #a27558;
}
.ui.basic.blue.button:hover,
.ui.basic.blue.buttons .button:hover {
box-shadow: 0 0 0 1px #87ab63 inset !important;
color: #87ab63 !important;
}
.ui.basic.blue.button:focus,
.ui.basic.blue.buttons .button:focus {
box-shadow: 0 0 0 1px #87ab63 inset !important;
color: #87ab63 !important;
}
.repository.labels .ui.basic.black.label {
background-color: #bbbbbb !important;
}
.lines-commit {
background: #2e323e !important;
}
.bottom-line {
border-color: #4e525e !important;
}
.lines-num {
background: #2e323e !important;
color: #9e9e9e !important;
border-color: #2d2d2d !important;
}
td.blob-excerpt {
background-color: rgba(0, 0, 0, .15);
}
.code-view .lines-code.active {
background: #534d1b !important;
}
a.ui.label:hover,
a.ui.labels .label:hover {
background-color: #505667 !important;
color: #dbdbdb !important;
}
.repository #commits-table td.sha .sha.label,
.repository #repo-files-table .sha.label {
border-color: #888;
}
.repository #commits-table td.sha .sha.label.isSigned .detail.icon,
.repository #repo-files-table .sha.label.isSigned .detail.icon {
background: none;
border-left-color: #888;
}
.repository .ui.attached.message.isSigned.isVerified {
background-color: #394829;
color: #9e9e9e;
&.message {
color: #87ab63;
.ui.text {
color: #9e9e9e;
}
.pull-right {
color: #87ab63;
}
}
}
.repository .ui.attached.message.isSigned.isVerifiedUntrusted {
background-color: #4a3903;
color: #9e9e9e;
&.message {
color: #c2c193;
.ui.text {
color: #9e9e9e;
}
.pull-right,
a {
color: #c2c193;
}
}
}
.repository .ui.attached.message.isSigned.isVerifiedUnmatched {
background-color: #4e3321;
color: #9e9e9e;
&.message {
color: #c2a893;
.ui.text {
color: #9e9e9e;
}
.pull-right,
a {
color: #c2a893;
}
}
}
.repository .ui.attached.message.isSigned.isWarning {
background-color: rgba(80, 23, 17, .6);
&.message {
color: #d07d7d;
.ui.text {
color: #d07d7d;
}
.pull-right {
color: #9e9e9e;
}
}
}
.repository .label.list .item {
border-bottom: 1px dashed #4c505c;
}
.ui.basic.blue.button,
.ui.basic.blue.buttons .button {
box-shadow: 0 0 0 1px #87ab63 inset !important;
color: #87ab63 !important;
}
.ui.text.yellow,
.yellow.icon.icon.icon {
color: #e4ac07 !important;
}
.repository .diff-file-box .code-diff-split tbody tr.add-code td:nth-child(1),
.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: #2a2e3a;
}
.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:nth-child(1),
.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;
}
.ui.blue.button:active,
.ui.blue.buttons .button:active {
background-color: #a27558;
}
#git-graph-container li a {
color: #c79575;
}
#git-graph-container li .author {
color: #c79575;
}
.ui.header .sub.header {
color: #9e9e9e;
}
.ui.dividing.header {
border-bottom: 1px solid #4c505c;
}
.ui.modal > .header {
background: #404552;
color: #dbdbdb;
}
.ui.modal > .actions {
background: #404552;
border-top: 1px solid #404552;
}
.ui.modal > .content {
background: #383c4a;
}
.editor-toolbar {
background-color: #404552;
border-color: #7f98ad;
}
.edit-diff > div > .ui.table {
border-left-color: #404552 !important;
border-right-color: #404552 !important;
}
.editor-toolbar a {
color: #87ab63 !important;
}
.editor-toolbar a.active,
.editor-toolbar a:hover {
background: #2a2e3a;
border-color: transparent;
}
.editor-toolbar i.separator {
border-right-color: #7f98ad;
}
.repository .diff-detail-box {
background-color: #383c4a;
.detail-files {
background-color: inherit;
}
&.sticky {
border-bottom-color: rgba(255, 255, 255, .1);
}
}
.comment-code-cloud {
border-color: #3a3a3a;
&:before {
border-bottom: 13px solid #5a5a5a;
}
.ui.attached.top.header {
background: none transparent;
border: 0;
}
.ui.active.tab {
&:not(.markdown) {
textarea:focus {
border: none;
}
background: #404552;
}
border-color: rgba(255, 255, 255, .15);
}
.footer {
border-top-color: #5a5a5a;
.markdown-info {
color: inherit;
}
}
}
.add-comment-left.add-comment-right .ui.attached.header {
border-color: #5d5c5c;
border-right: none;
}
.file-comment {
color: #888888;
}
.ui.comments .comment {
.author {
color: #dbdbdb;
}
.metadata {
color: #808084;
}
.text {
color: #9e9e9e;
}
}
.heatmap(@heat) {
@heatmap-cold: #2d303b;
@heatmap-hot: #a0cc75;
background-color: mix(@heatmap-hot, @heatmap-cold, @heat);
}
.heatmap-color-0 {
.heatmap(0%);
}
.heatmap-color-1 {
.heatmap(20%);
}
.heatmap-color-2 {
.heatmap(40%);
}
.heatmap-color-3 {
.heatmap(60%);
}
.heatmap-color-4 {
.heatmap(80%);
}
.heatmap-color-5 {
.heatmap(100%);
}
.activity-bar-graph {
background-color: #a0cc75;
color: #9e9e9e;
}
/* code mirror dark theme */
.CodeMirror {
color: #9daccc;
background-color: #2e323e;
border-color: #7f98ad;
border-top: 0;
div.CodeMirror-cursor {
border-left: 1px solid #9e9e9e;
}
.CodeMirror-gutters {
background-color: #2e323e;
}
::selection,
::-moz-selection,
.CodeMirror-selected {
background: #42402f !important;
}
&.cm-s-default,
&.cm-s-paper {
.cm-property {
color: #a0cc75;
}
.cm-header {
color: #9daccc;
}
.cm-quote {
color: #009900;
}
.cm-keyword {
color: #cc8a61;
}
.cm-atom {
color: #ef5e77;
}
.cm-number {
color: #ff5656;
}
.cm-def {
color: #e4e4e4;
}
.cm-variable-2 {
color: #00bdbf;
}
.cm-variable-3 {
color: #008855;
}
.cm-comment {
color: #8e9ab3;
}
.cm-string {
color: #a77272;
}
.cm-string-2 {
color: #ff5500;
}
.cm-meta,
.cm-qualifier {
color: #ffb176;
}
.cm-builtin {
color: #b7c951;
}
.cm-bracket {
color: #999977;
}
.cm-tag {
color: #f1d273;
}
.cm-attribute {
color: #bfcc70;
}
.cm-hr {
color: #999999;
}
.cm-url {
color: #c5cfd0;
}
.cm-link {
color: #d8c792;
}
.cm-error {
/* color: #ff6e00; */
color: #dbdbeb;
}
}
}
.ui.popup {
background-color: #383c4a;
color: #9e9e9e;
border-color: #9e9e9e;
&.top::before {
background-color: #383c4a;
}
}
.markdown:not(code) h1 {
border-bottom-color: #888;
}
.markdown:not(code) blockquote {
border-left-color: #888;
}
.markdown:not(code) code,
.markdown:not(code) tt {
background-color: #2a2e3a;
}
footer .container .links > * {
border-left-color: #888;
}
.repository.file.list #repo-files-table tbody .svg {
color: #9e9e9e;
}
.repository.release #release-list > li .detail {
border-left-color: #888;
}
.repository.release #release-list > li .detail .dot {
background-color: #888;
}
.tribute-container {
box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .6);
}
.tribute-container ul {
background: #2d303b !important;
}
.tribute-container li.highlight,
.tribute-container li:hover {
background: #728e5e !important;
}
.repository .repo-header .ui.huge.breadcrumb.repo-title .repo-header-icon .avatar {
color: #2a2e3a;
}