diff options
author | silverwind <me@silverwind.io> | 2020-12-04 12:18:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 12:18:37 +0100 |
commit | bb50ab28613e9c39a57da98e873314e1739f4c14 (patch) | |
tree | d438d6c3fe63ea5d5d482acb50f4e4d0ef66b679 /web_src/less/themes | |
parent | 557479642d1d1381bede0a31c4b19eecf46c0363 (diff) | |
download | gitea-bb50ab28613e9c39a57da98e873314e1739f4c14.tar.gz gitea-bb50ab28613e9c39a57da98e873314e1739f4c14.zip |
Style and template tweaks (#13828)
* Style and template tweaks
- Get red and green buttons on arc green closer to base theme
- EasyMDE adjustments, toolbar and focus border
- Fix header on 404 repo page
- Tweaks to frontpage search, add 'Create Repo' button
- Fix misaligned box headers
- Fix pagination on arc-green
- Fix background and footer on explore and repo search
* better fix for header button alignment
* add label hover for reactions
Diffstat (limited to 'web_src/less/themes')
-rw-r--r-- | web_src/less/themes/theme-arc-green.less | 80 |
1 files changed, 5 insertions, 75 deletions
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less index 2d097a6553..884548accb 100644 --- a/web_src/less/themes/theme-arc-green.less +++ b/web_src/less/themes/theme-arc-green.less @@ -64,8 +64,8 @@ --color-purple: #a333c8; --color-pink: #e03997; --color-brown: #a5673f; - --color-grey: #767676; - --color-black: #1b1c1d; + --color-grey: #767a85; + --color-black: #1e222e; --color-gold: #a1882b; --color-white: #ffffff; /* target-based colors */ @@ -73,8 +73,8 @@ --color-box-header: #454a57; --color-box-body: #353945; --color-text: #bbc0ca; - --color-text-light: #969aa5; - --color-text-light-2: #767a85; + --color-text-light: #a6aab5; + --color-text-light-2: #868a95; --color-footer: #2e323e; --color-timeline: #4a505c; --color-input-text: #d5dbe6; @@ -92,13 +92,9 @@ --color-markdown-table-row: #ffffff06; --color-markdown-code-block: #2a2e3a; --color-button: #353846; + --color-code-bg: #2a2e3a; } -/* Background */ - -.chroma { - background-color: #2a2e3a; -} /* LineTableTD */ .chroma .lntd { @@ -563,12 +559,6 @@ a.ui.basic.green.label:hover { color: #fff !important; } -.ui.basic.red.active.button, -.ui.basic.red.buttons .active.button { - box-shadow: 0 0 0 1px #b75252 inset !important; - color: #b75252 !important; -} - .ui.divider:not(.vertical):not(.horizontal) { border-bottom-color: var(--color-secondary); border-top-color: transparent; @@ -771,19 +761,6 @@ a.ui.basic.green.label:hover { border-color: transparent !important; } -.ui.basic.green.active.button, -.ui.basic.green.buttons .active.button { - color: #87ab63 !important; - box-shadow: 0 0 0 1px #87ab63 inset !important; -} - -.ui.green.buttons .active.button, -.ui.green.buttons .active.button:active, -.ui.green.active.button, -.ui.green.button .active.button:active { - background: #87ab63; -} - .ui .info.segment.top { background-color: var(--color-secondary) !important; } @@ -840,23 +817,6 @@ td.blob-hunk { background: #353945; } -.ui.vertical.menu .active.item { - background: #4b5162; -} - -.ui.vertical.menu .item { - background: #353945; -} - -.ui.vertical.menu .header.item { - background: var(--color-secondary); -} - -.ui.vertical.menu { - background: #353945; - border: 1px solid #333640; -} - .ui.card, .ui.cards > .card { background: #353945; @@ -966,12 +926,6 @@ td.blob-hunk { 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; @@ -1183,30 +1137,11 @@ a.blob-excerpt:hover { filter: invert(100%); } -.editor-toolbar { - background-color: var(--color-secondary); - border-color: var(--color-secondary); -} - .edit-diff > div > .ui.table { border-left-color: var(--color-secondary) !important; border-right-color: var(--color-secondary) !important; } -.editor-toolbar button { - color: #87ab63 !important; -} - -.editor-toolbar button.active, -.editor-toolbar button:hover { - background: #2a2e3a; - border-color: transparent; -} - -.editor-toolbar i.separator { - border-right-color: #87ab63; -} - .repository .diff-detail-box { background-color: #383c4a; @@ -1232,11 +1167,6 @@ a.blob-excerpt:hover { } } -.add-comment-left.add-comment-right .ui.attached.header { - border-color: var(--color-secondary); - border-right: none; -} - .file-comment { color: var(--color-secondary-dark-6); } |