From bdaecaed09c619ff134ced6882e8d7137e06f9fc Mon Sep 17 00:00:00 2001 From: Marius <24592972+gilbN@users.noreply.github.com> Date: Sun, 18 Apr 2021 12:35:55 +0200 Subject: [PATCH] gitea captcha --- CSS/themes/gitea/gitea-base.css | 48 ++++++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/CSS/themes/gitea/gitea-base.css b/CSS/themes/gitea/gitea-base.css index 6c02921f..773e5aef 100644 --- a/CSS/themes/gitea/gitea-base.css +++ b/CSS/themes/gitea/gitea-base.css @@ -207,6 +207,11 @@ b:hover, } /* UI */ + +.captcha-img { + background: #fff; +} + .organization.settings .ui.menu { background: rgb(0 0 0 / 10%); border: 1px solid rgba(255, 255, 255, .1); @@ -232,22 +237,29 @@ b:hover, background: rgb(255 255 255 / 8%) !important; } -.ui.attached.segment, .ui.segment, .ui.segments { +.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 { + +.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; @@ -387,7 +399,8 @@ b:hover, color: var(--text-hover) !important; } -.ui.menu, .ui.vertical.menu { +.ui.menu, +.ui.vertical.menu { background: #ffffff00; border-color: rgb(255 255 255 / 10%); } @@ -419,7 +432,10 @@ b:hover, color: var(--accent-color); 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%); background: rgb(0 0 0 / .25); 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 { 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 } @@ -626,7 +645,7 @@ svg.vch__wrapper rect.vch__day__square[data-v-a9cfea66]:hover { } .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, @@ -705,7 +724,7 @@ td.blob-excerpt { } .ui.tabular.menu .item:hover, -.ui.tabular.menu .active.item, +.ui.tabular.menu .active.item, .ui.tabular.menu .active.item:hover { color: var(--text-hover) !important; border-radius: .28571429rem .28571429rem 0 0 !important; @@ -717,7 +736,7 @@ td.blob-excerpt { box-shadow: none; } -.ui.cards a.card:hover, +.ui.cards a.card:hover, .ui.link.card:hover, .ui.link.cards .card:not(.icon):hover, a.ui.card:hover { @@ -734,7 +753,8 @@ a.ui.card:hover { 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%); } @@ -864,7 +884,7 @@ a.ui.card:hover { } .CodeMirror-focused { - border-color: rgb(255 255 255 / 20%)!important; + border-color: rgb(255 255 255 / 20%) !important; } .editor-toolbar a, @@ -880,7 +900,7 @@ a.ui.card:hover { .editor-toolbar a.active, .editor-toolbar a:hover, -.editor-toolbar button.active, +.editor-toolbar button.active, .editor-toolbar button:hover { background: 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; box-shadow: inset 0 0 0 1px rgba(34, 36, 38, .15) !important; } + .repo-title { color: #ffffff; } @@ -1301,7 +1322,8 @@ input { box-shadow: inset 0 0 0 0 rgba(34, 36, 38, .35); caret-color: var(--text) !important; } -.ui.form input:focus:hover, + +.ui.form input:focus:hover, .ui.form textarea:focus:hover, input:focus:hover, textarea:focus:hover { @@ -1309,14 +1331,16 @@ textarea:focus:hover { 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 ; + 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;