Starting work on jellyfin-esque css

This commit is contained in:
Harvey Tindall 2020-07-04 14:00:17 +01:00
parent acad3b1853
commit 81bb2520ad
5 changed files with 8455 additions and 2 deletions

2
.gitignore vendored
View File

@ -4,7 +4,7 @@ MANIFEST.in
dist/ dist/
build/ build/
test.txt test.txt
jellyfin_accounts/data/node_modules/ node_modules/
jellyfin_accounts/data/config-default.ini jellyfin_accounts/data/config-default.ini
*.egg-info/ *.egg-info/
pw-reset/ pw-reset/

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css" integrity="sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I" crossorigin="anonymous"> <link rel="stylesheet" type="text/css" href="bs5-jf.css">
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js" integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js" integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

1781
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

51
scss/bs5-jf.scss Normal file
View File

@ -0,0 +1,51 @@
$jf-blue: rgb(0, 164, 220);
$jf-blue-hover: rgba(0, 164, 220, 0.2);
$jf-blue-focus: rgb(12, 176, 232);
$jf-red: rgb(204, 0, 0);
$jf-black: rgb(16, 16, 16);
$jf-gray-90: rgb(32, 32, 32);
$jf-gray-80: rgb(36, 36, 36); // jf-card
$jf-gray-70: rgb(41, 41, 41); // jf-input
$jf-gray-60: rgb(48, 48, 48); // jf-button
$jf-gray-50: rgb(56, 56, 56); // jf-button-focus
$jf-text-bold: rgba(255, 255, 255, 0.87);
$jf-text-primary: rgba(255, 255, 255, 0.8);
$jf-text-secondary: rgb(153, 153, 153);
$theme-colors: (
"primary": $jf-blue,
"secondary": $jf-gray-50,
"success": $jf-blue-focus,
"danger": $jf-red,
"light": $jf-text-primary,
"dark": $jf-gray-90
);
$enable-rounded: false;
$body-bg: $jf-black;
$body-color: $jf-text-primary;
$border-color: $jf-gray-60;
$component-active-color: $jf-text-bold;
$component-active-bg: $jf-blue-focus;
$text-muted: $jf-text-secondary;
$link-color: $jf-blue-focus;
$btn-link-disabled-color: $jf-text-secondary;
$input-bg: $jf-gray-70;
$input-color: $jf-text-primary;
$input-focus-bg: $jf-gray-60;
$input-focus-border-color: $jf-blue-focus;
$input-disabled-bg: $jf-gray-90;
$input-border-color: $jf-gray-60;
$input-placeholder-color: $text-muted;
$form-check-input-bg: $jf-gray-60;
$form-check-input-border: $jf-gray-50;
$form-check-input-checked-color: $jf-blue-focus;
$form-check-input-checked-bg-color: $jf-blue-hover;
// roughly @ line 696
@import "../node_modules/bootstrap/scss/bootstrap";