From 8916d234099bd6130515e01e3482af42ff29cc13 Mon Sep 17 00:00:00 2001 From: Sebastian Schulze Date: Fri, 22 Jan 2021 12:59:37 +0100 Subject: [PATCH] [css] Add custom user-css that can be included into Firefox Looks I can finally get rid of Stylish. \o/ --- dot_local/share/user-content.css.tmpl | 51 +++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 dot_local/share/user-content.css.tmpl diff --git a/dot_local/share/user-content.css.tmpl b/dot_local/share/user-content.css.tmpl new file mode 100644 index 0000000..042fc01 --- /dev/null +++ b/dot_local/share/user-content.css.tmpl @@ -0,0 +1,51 @@ +@-moz-document {{range .git.forges }}domain({{.}}) {{ end }}{ + body, + div.message-in, + div.message-out, + td.comment-body, + .ql-editor { + font-family: "JetBrains Mono" !important; + } + + .pipeline-graph .build .build-content { + border-radius: 0.35rem !important; + } + + .gl-label { + border-radius: 0.35rem !important; + } + + .c-timestamp__label { + font-size: 0.8em; + } + + .fa { + font: "normal normal normal 14px/1 FontAwesome"; + } +} + +@-moz-document {{range .git.forges }}domain({{.}}) {{ end }} { + .gl-label-text-light { + border-radius: 0.35rem + } + + .pipeline-graph .build { + width: auto; + } + + .pipeline-graph .gl-text-truncate { + overflow: visible; + } + + .pipeline-graph .build .build-content { + border-radius: 10px; + } + + .pipeline-graph li.build[id*="production"] .ci-job-component .menu-item { + box-shadow: 0px 0px 5px #f00606; + } + + .pipeline-graph li.build[id*="staging"] .ci-job-component .menu-item { + box-shadow: 0px 0px 5px #f09a06; + } +}