update css and templates

This commit is contained in:
Louis Abel 2024-10-23 23:09:42 -07:00
parent 5879ce5942
commit 687acdb515
Signed by: label
GPG key ID: 2A6975660E424560
5 changed files with 40 additions and 14 deletions

View file

@ -4,10 +4,15 @@ gitea_web_install: "httpd"
gitea_web_config: "true" gitea_web_config: "true"
gitea_web_config_certs_internal: "true" gitea_web_config_certs_internal: "true"
gitea_web_config_certs_external: "false" gitea_web_config_certs_external: "false"
gitea_themes: "auto,gitea,arc-green,gitea-blue,gitea-modern,carbonred,darkred,pitchblack" gitea_themes: "gitea-auto,gitea-light,gitea-dark,arc-green,gitea-blue,gitea-modern,carbonred,darkred,pitchblack,earl-grey"
gitea_default_theme: "gitea-dark"
gitea_appname: "Rocky Enterprise Software Foundation Git Service"
gitea_basename: "git.resf.org" gitea_basename: "git.resf.org"
gitea_automation_user: "rockyautomation" gitea_automation_user: "rockyautomation"
gitea_raise_memlock_nofile_limits: "true" gitea_raise_memlock_nofile_limits: "true"
gitea_net_cap: "true" gitea_net_cap: "true"
gitea_server_admin: "infrastructure@rockylinux.org" gitea_server_admin: "infrastructure@rockylinux.org"
gitea_author: "RESF Git Service"
gitea_description: "RESF Git Service for the Rocky community"
... ...

File diff suppressed because one or more lines are too long

View file

@ -162,7 +162,9 @@
color: #bbbbbb; color: #bbbbbb;
} }
:root { :root {
--color-primary: #3D84E7; --color-header-wrapper: #24262b;
--color-nav-bg: #1D1F23;
--color-primary: #5993e6;
--color-primary-dark-1: #739cb3; --color-primary-dark-1: #739cb3;
--color-primary-dark-2: #40AAFF; --color-primary-dark-2: #40AAFF;
--color-primary-dark-3: #92b4c4; --color-primary-dark-3: #92b4c4;
@ -242,6 +244,7 @@
--color-text-dark: #dbe0ea; --color-text-dark: #dbe0ea;
--color-text: #bbc0ca; --color-text: #bbc0ca;
--color-text-light: #a6aab5; --color-text-light: #a6aab5;
--color-text-light-1: #a6aab5;
--color-text-light-2: #8a8e99; --color-text-light-2: #8a8e99;
--color-text-light-3: #707687; --color-text-light-3: #707687;
--color-footer: #1D1F23; --color-footer: #1D1F23;
@ -268,6 +271,16 @@
--color-placeholder-text: #6a737d; --color-placeholder-text: #6a737d;
--color-editor-line-highlight: var(--color-primary-light-5); --color-editor-line-highlight: var(--color-primary-light-5);
--color-project-board-bg: var(--color-secondary-light-2); --color-project-board-bg: var(--color-secondary-light-2);
--color-label-text: #fff;
}
.monaco-editor .line-numbers.active-line-number {
--vscode-editorLineNumber-activeForeground: var(--color-primary) !important;
}
.monaco-editor .bracket-highlighting-0 {
color: var(--color-purple) !important;
}
#git-graph-container li .time {
color: #84909e !important;
} }
::-webkit-calendar-picker-indicator { ::-webkit-calendar-picker-indicator {
filter: invert(0.8); filter: invert(0.8);
@ -827,6 +840,8 @@ img[src$="/img/matrix.svg"] {
border-bottom: none !important; border-bottom: none !important;
} }
.monaco-editor .view-lines {
filter: invert(1) !important;
#navbar .item:hover:not(div) {
background-color: var(--color-hover);
} }

View file

@ -198,6 +198,8 @@
--color-placeholder-text: #6a737d; --color-placeholder-text: #6a737d;
--color-editor-line-highlight: var(--color-primary-light-5); --color-editor-line-highlight: var(--color-primary-light-5);
--color-project-board-bg: var(--color-secondary-light-2); --color-project-board-bg: var(--color-secondary-light-2);
--color-nav-bg: var(--color-body);
--color-nav-hover-bg: var(--color-hover);
} }
::-webkit-calendar-picker-indicator { ::-webkit-calendar-picker-indicator {
@ -964,6 +966,6 @@ img[src$="/img/matrix.svg"] {
background-color: var(--color-body) background-color: var(--color-body)
} }
.mtk1 { .mtk1, .mtk10 {
color: #6D7178!important color: #6D7178!important
} }

View file

@ -1,6 +1,7 @@
APP_NAME = Rocky Enterprise Software Foundation Git Service APP_NAME = {{ gitea_appname }}
RUN_USER = git RUN_USER = git
RUN_MODE = prod RUN_MODE = prod
WORK_PATH = /var/lib/gitea
[database] [database]
DB_TYPE = postgres DB_TYPE = postgres
@ -9,7 +10,9 @@ NAME = {{ gitea_database_name }}
USER = {{ gitea_database_user }} USER = {{ gitea_database_user }}
PASSWD = {{ gitea_database_pass }} PASSWD = {{ gitea_database_pass }}
SCHEMA = SCHEMA =
SSL_MODE = disable SSL_MODE = {{ gitea_database_ssl|default('disabled') }}
CHARSET = utf8
LOG_SQL = false
[repository] [repository]
ROOT = /var/lib/gitea/data/repositories ROOT = /var/lib/gitea/data/repositories
@ -36,7 +39,7 @@ APP_DATA_PATH = /var/lib/gitea/data
[mailer] [mailer]
ENABLED = false ENABLED = false
FROM = noreply@resf.org FROM = git@resf.org
PROTOCOL = sendmail PROTOCOL = sendmail
[service] [service]
@ -55,6 +58,7 @@ DEFAULT_ORG_MEMBER_VISIBLE = true
[picture] [picture]
DISABLE_GRAVATAR = false DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = true ENABLE_FEDERATED_AVATAR = true
GRAVATAR_SOURCE = https://seccdn.libravatar.org/avatar/
[openid] [openid]
ENABLE_OPENID_SIGNIN = false ENABLE_OPENID_SIGNIN = false
@ -72,10 +76,10 @@ ROOT_PATH = /var/lib/gitea/log
logger.router.MODE = console logger.router.MODE = console
[ui] [ui]
DEFAULT_THEME = gitea-blue DEFAULT_THEME = {{ gitea_default_theme }}
THEMES = auto,gitea,arc-green,gitea-blue,gitea-modern,carbonred,darkred,pitchblack,earl-grey THEMES = {{ gitea_themes }}
AUTHOR = RESF Git Service AUTHOR = {{ gitea_author }}
DESCRIPTION = RESF Git Service for the Rocky community DESCRIPTION = {{ gitea_description }}
[admin] [admin]
DISABLE_REGULAR_ORG_CREATION = true DISABLE_REGULAR_ORG_CREATION = true
@ -111,4 +115,4 @@ REPO_INDEXER_ENABLED = true
ENABLED = true ENABLED = true
[packages] [packages]
ENABLED = true ENABLED = {{ gitea_packages }}