Compare commits

...

4 Commits

  1. 16
      .github/workflows/auto-build.yml
  2. 12
      .github/workflows/minify-and-deploy.yml
  3. 12
      css/base/bazarr/bazarr-base.css
  4. 6
      css/theme-options/dracula.css

16
.github/workflows/auto-build.yml

@ -48,15 +48,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
- name: get changed files
id: getfile
run: |
echo "::set-output name=files::$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }} docker-mods/| xargs)"
echo "files=$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }} docker-mods/| xargs)" >> $GITHUB_ENV
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v2.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
@ -64,7 +64,7 @@ jobs:
- name: find correct directory then build&push
if: ${{ github.event_name == 'push' }}
run: |
for i in ${{ steps.getfile.outputs.files }}
for i in ${{ env.files }}
do
directory="$( echo $i | cut -d'/' -f2 -s )"
if [ -z "$directory" ]; then
@ -95,22 +95,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
- name: get changed files
id: getfile
run: |
echo "::set-output name=files::$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }} docker-mods/| xargs)"
echo "files=$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }} docker-mods/| xargs)" >> $GITHUB_ENV
- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DH_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: find correct directory then build&push
if: ${{ github.event_name == 'push' }}
run: |
for i in ${{ steps.getfile.outputs.files }}
for i in ${{ env.files }}
do
directory="$( echo $i | cut -d'/' -f2 -s )"
if [ -z "$directory" ]; then

12
.github/workflows/minify-and-deploy.yml

@ -23,7 +23,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
- name: Wrong domain check
@ -34,7 +34,9 @@ jobs:
exit 1
fi
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4.3.0
with:
python-version: '3.10'
- name: Run themes.py
run: |
python themes.py
@ -63,7 +65,7 @@ jobs:
fi
done
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v3.8.0
if: ${{ github.ref == 'refs/heads/master' || github.event.inputs.branch == 'master' }}
with:
publish_dir: ./
@ -71,7 +73,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
exclude_assets: ''
- name: Deploy Develop
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v3.8.0
if: ${{ github.ref == 'refs/heads/develop' || github.event.inputs.branch == 'develop' }}
with:
publish_dir: ./
@ -79,7 +81,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
exclude_assets: ''
- name: Deploy Testing
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v3.8.0
if: ${{ github.ref == 'refs/heads/testing' || github.event.inputs.branch == 'testing' }}
with:
publish_dir: ./

12
css/base/bazarr/bazarr-base.css

@ -17,14 +17,11 @@ html {
/* TEXT */
[class$="-label"]:not([class$="-Button-label"]) {
[class$="-label"]:not([class$="-Button-label"]),
label {
color: var(--text-hover) !important;
}
.bazarr-Text-root[class*="bazarr-"]:not(.bazarr-Badge-light span div):not(.bazarr-Progress-bar div):not(a) {
color: var(--text);
}
a,
.bazarr-Text-root.bazarr-Anchor-root[class*="bazarr-"] {
color: var(--link-color);
@ -60,11 +57,6 @@ h6,
background: var(--transparency-dark-25);
}
.bazarr-Button-icon.bazarr-Button-leftIcon[class*="bazarr-"] {
color: var(--text)
}
/* SIDEMENU */
.bazarr-Navbar-root[class*="bazarr-"] {

6
css/theme-options/dracula.css

@ -18,9 +18,9 @@
--link-color-hover: #8be9fd;
--label-text-color: #282a36;
--text:#6272a4;
--text-hover: #95adfa;
--text-muted: #999;
--text:#f8f8f2;
--text-hover: #fff;
--text-muted: #6272a4;
/*Specials*/
--arr-queue-color: #50fa7b; /* Servarr apps + Bazarr*/

Loading…
Cancel
Save