From c170b1edd0d3715a62ae45250f8c6a756dbad412 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Wed, 15 Jun 2022 15:18:14 +0800 Subject: [PATCH] Better optgroup text color --- docker/debian-base.dockerfile | 6 ++++-- src/assets/app.scss | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/docker/debian-base.dockerfile b/docker/debian-base.dockerfile index f2016b802..6d0a0648d 100644 --- a/docker/debian-base.dockerfile +++ b/docker/debian-base.dockerfile @@ -12,7 +12,8 @@ RUN apt update && \ apt --yes --no-install-recommends install python3 python3-pip python3-cryptography python3-six python3-yaml python3-click python3-markdown python3-requests python3-requests-oauthlib \ sqlite3 iputils-ping util-linux dumb-init && \ pip3 --no-cache-dir install apprise==0.9.8.3 && \ - rm -rf /var/lib/apt/lists/* + rm -rf /var/lib/apt/lists/* && \ + apt --yes autoremove # Install cloudflared # dpkg --add-architecture arm: cloudflared do not provide armhf, this is workaround. Read more: https://github.com/cloudflare/cloudflared/issues/583 @@ -22,5 +23,6 @@ RUN node ./extra/download-cloudflared.js $TARGETPLATFORM && \ apt update && \ apt --yes --no-install-recommends install ./cloudflared.deb && \ rm -rf /var/lib/apt/lists/* && \ - rm -f cloudflared.deb + rm -f cloudflared.deb && \ + apt --yes autoremove diff --git a/src/assets/app.scss b/src/assets/app.scss index 93ff3ff3a..5073302da 100644 --- a/src/assets/app.scss +++ b/src/assets/app.scss @@ -34,6 +34,25 @@ textarea.form-control { } } + +// optgroup +optgroup { + color: #b1b1b1; + option { + color: #212529; + } +} + +.dark { + optgroup { + color: #535864; + option { + color: $dark-font-color; + } + } +} + +// Scrollbar ::-webkit-scrollbar-thumb { background: #ccc; border-radius: 20px;