Browse Source

gitea captcha

pull/182/head
Marius 4 years ago
parent
commit
bdaecaed09
  1. 48
      CSS/themes/gitea/gitea-base.css

48
CSS/themes/gitea/gitea-base.css

@ -207,6 +207,11 @@ b:hover,
} }
/* UI */ /* UI */
.captcha-img {
background: #fff;
}
.organization.settings .ui.menu { .organization.settings .ui.menu {
background: rgb(0 0 0 / 10%); background: rgb(0 0 0 / 10%);
border: 1px solid rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1);
@ -232,22 +237,29 @@ b:hover,
background: rgb(255 255 255 / 8%) !important; background: rgb(255 255 255 / 8%) !important;
} }
.ui.attached.segment, .ui.segment, .ui.segments { .ui.attached.segment,
.ui.segment,
.ui.segments {
background: transparent; background: transparent;
color: var(--text) !important; color: var(--text) !important;
border-color: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.1);
} }
.ui .info.segment.top { .ui .info.segment.top {
background-color: rgb(0 0 0 / 15%) !important; background-color: rgb(0 0 0 / 15%) !important;
color: var(--text); color: var(--text);
} }
.ui.attached.info.message, .ui.info.message {
.ui.attached.info.message,
.ui.info.message {
box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%), 0 0 0 0 transparent; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%), 0 0 0 0 transparent;
} }
.ui.info.message { .ui.info.message {
background-color: rgb(255 255 255 / 8%); background-color: rgb(255 255 255 / 8%);
color: #276f86; color: #276f86;
} }
.ui.attached.header { .ui.attached.header {
background: rgb(0 0 0 / 25%); background: rgb(0 0 0 / 25%);
border: 1px solid transparent; border: 1px solid transparent;
@ -387,7 +399,8 @@ b:hover,
color: var(--text-hover) !important; color: var(--text-hover) !important;
} }
.ui.menu, .ui.vertical.menu { .ui.menu,
.ui.vertical.menu {
background: #ffffff00; background: #ffffff00;
border-color: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 10%);
} }
@ -419,7 +432,10 @@ b:hover,
color: var(--accent-color); color: var(--accent-color);
outline: none !important; outline: none !important;
} }
.ui.selection.dropdown:hover, input:hover, textarea:hover {
.ui.selection.dropdown:hover,
input:hover,
textarea:hover {
border-color: rgb(255 255 255 / 20%); border-color: rgb(255 255 255 / 20%);
background: rgb(0 0 0 / .25); background: rgb(0 0 0 / .25);
color: #fff; color: #fff;
@ -611,12 +627,15 @@ svg.vch__wrapper rect.vch__day__square[data-v-a9cfea66]:hover {
.repository .diff-file-box .code-diff-unified tbody tr.add-code td.lines-num { .repository .diff-file-box .code-diff-unified tbody tr.add-code td.lines-num {
background-color: #2c4632 !important background-color: #2c4632 !important
} }
.repository.view.issue .comment-list .comment .comment-container { .repository.view.issue .comment-list .comment .comment-container {
border: 1px solid rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1);
} }
.comment-header { .comment-header {
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
} }
.removed-code { .removed-code {
background-color: #5f3737 background-color: #5f3737
} }
@ -626,7 +645,7 @@ svg.vch__wrapper rect.vch__day__square[data-v-a9cfea66]:hover {
} }
.repository .segment.reactions .ui.label.basic { .repository .segment.reactions .ui.label.basic {
color: var(--accent-color)!important; color: var(--accent-color) !important;
} }
.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:first-child,
@ -705,7 +724,7 @@ td.blob-excerpt {
} }
.ui.tabular.menu .item:hover, .ui.tabular.menu .item:hover,
.ui.tabular.menu .active.item, .ui.tabular.menu .active.item,
.ui.tabular.menu .active.item:hover { .ui.tabular.menu .active.item:hover {
color: var(--text-hover) !important; color: var(--text-hover) !important;
border-radius: .28571429rem .28571429rem 0 0 !important; border-radius: .28571429rem .28571429rem 0 0 !important;
@ -717,7 +736,7 @@ td.blob-excerpt {
box-shadow: none; box-shadow: none;
} }
.ui.cards a.card:hover, .ui.cards a.card:hover,
.ui.link.card:hover, .ui.link.card:hover,
.ui.link.cards .card:not(.icon):hover, .ui.link.cards .card:not(.icon):hover,
a.ui.card:hover { a.ui.card:hover {
@ -734,7 +753,8 @@ a.ui.card:hover {
border: 1px solid transparent; border: 1px solid transparent;
} }
.ui.card>.content, .ui.cards>.card>.content { .ui.card>.content,
.ui.cards>.card>.content {
border-color: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 10%);
} }
@ -864,7 +884,7 @@ a.ui.card:hover {
} }
.CodeMirror-focused { .CodeMirror-focused {
border-color: rgb(255 255 255 / 20%)!important; border-color: rgb(255 255 255 / 20%) !important;
} }
.editor-toolbar a, .editor-toolbar a,
@ -880,7 +900,7 @@ a.ui.card:hover {
.editor-toolbar a.active, .editor-toolbar a.active,
.editor-toolbar a:hover, .editor-toolbar a:hover,
.editor-toolbar button.active, .editor-toolbar button.active,
.editor-toolbar button:hover { .editor-toolbar button:hover {
background: rgb(255 255 255 / 25%); background: rgb(255 255 255 / 25%);
border-color: rgb(255 255 255 / 25%); border-color: rgb(255 255 255 / 25%);
@ -1197,6 +1217,7 @@ a.ui.basic.label:hover {
color: rgb(255 255 255 / 60%) !important; color: rgb(255 255 255 / 60%) !important;
box-shadow: inset 0 0 0 1px rgba(34, 36, 38, .15) !important; box-shadow: inset 0 0 0 1px rgba(34, 36, 38, .15) !important;
} }
.repo-title { .repo-title {
color: #ffffff; color: #ffffff;
} }
@ -1301,7 +1322,8 @@ input {
box-shadow: inset 0 0 0 0 rgba(34, 36, 38, .35); box-shadow: inset 0 0 0 0 rgba(34, 36, 38, .35);
caret-color: var(--text) !important; caret-color: var(--text) !important;
} }
.ui.form input:focus:hover,
.ui.form input:focus:hover,
.ui.form textarea:focus:hover, .ui.form textarea:focus:hover,
input:focus:hover, input:focus:hover,
textarea:focus:hover { textarea:focus:hover {
@ -1309,14 +1331,16 @@ textarea:focus:hover {
border-color: rgb(255 255 255 / .1) !important; border-color: rgb(255 255 255 / .1) !important;
color: var(--text-hover) !important; color: var(--text-hover) !important;
} }
.ui.form input:hover, .ui.form input:hover,
.ui.form textarea:hover, .ui.form textarea:hover,
input:hover, input:hover,
textarea:hover { textarea:hover {
background: rgb(0 0 0 / 25%) !important ; background: rgb(0 0 0 / 25%) !important;
border-color: rgb(255 255 255 / .1) !important; border-color: rgb(255 255 255 / .1) !important;
color: var(--text-hover) !important; color: var(--text-hover) !important;
} }
.ui.form textarea:focus { .ui.form textarea:focus {
color: var(--text); color: var(--text);
border-color: transparent; border-color: transparent;

Loading…
Cancel
Save