Compare commits

...

8 Commits

Author SHA1 Message Date
Florian Sorg 8c8ef56f73 change link color 2023-07-20 00:38:11 +02:00
Florian Sorg 5b710daaff reset primary color to dark theme default 2023-07-19 23:00:57 +02:00
Florian Sorg 9f0e992bf1 let body background scroll
prevents layout bug in firefox android
2023-07-19 22:46:34 +02:00
Luca a03f60af5e Set body min-height to 100vh 2023-07-07 19:40:35 +02:00
Luca 00fe216dc1 Remove `fixed` from bottom background 2023-07-07 19:30:09 +02:00
Luca f2dc5c8a63 Update symfony/http-foundation due to bug in IpUtils 2023-07-06 00:55:55 +02:00
Florian Sorg ec59c1e567 make IGER theme default 2023-07-04 20:51:03 +02:00
Florian Sorg 24fee1a646 add IGER 2023 theme 2023-07-04 20:36:46 +02:00
5 changed files with 236 additions and 13 deletions

100
composer.lock generated
View File

@ -3481,28 +3481,30 @@
},
{
"name": "symfony/http-foundation",
"version": "v6.2.1",
"version": "v6.3.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "d0bbd5a7e81b38f32504399b9199f265505b7bac"
"reference": "e0ad0d153e1c20069250986cd9e9dd1ccebb0d66"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/d0bbd5a7e81b38f32504399b9199f265505b7bac",
"reference": "d0bbd5a7e81b38f32504399b9199f265505b7bac",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/e0ad0d153e1c20069250986cd9e9dd1ccebb0d66",
"reference": "e0ad0d153e1c20069250986cd9e9dd1ccebb0d66",
"shasum": ""
},
"require": {
"php": ">=8.1",
"symfony/deprecation-contracts": "^2.1|^3",
"symfony/polyfill-mbstring": "~1.1"
"symfony/deprecation-contracts": "^2.5|^3",
"symfony/polyfill-mbstring": "~1.1",
"symfony/polyfill-php83": "^1.27"
},
"conflict": {
"symfony/cache": "<6.2"
},
"require-dev": {
"predis/predis": "~1.0",
"doctrine/dbal": "^2.13.1|^3.0",
"predis/predis": "^1.1|^2.0",
"symfony/cache": "^5.4|^6.0",
"symfony/dependency-injection": "^5.4|^6.0",
"symfony/expression-language": "^5.4|^6.0",
@ -3510,9 +3512,6 @@
"symfony/mime": "^5.4|^6.0",
"symfony/rate-limiter": "^5.2|^6.0"
},
"suggest": {
"symfony/mime": "To use the file extension guesser"
},
"type": "library",
"autoload": {
"psr-4": {
@ -3539,7 +3538,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v6.2.1"
"source": "https://github.com/symfony/http-foundation/tree/v6.3.1"
},
"funding": [
{
@ -3555,7 +3554,7 @@
"type": "tidelift"
}
],
"time": "2022-12-04T18:26:13+00:00"
"time": "2023-06-24T11:51:27+00:00"
},
{
"name": "symfony/mailer",
@ -4295,6 +4294,83 @@
],
"time": "2022-11-03T14:55:06+00:00"
},
{
"name": "symfony/polyfill-php83",
"version": "v1.27.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php83.git",
"reference": "508c652ba3ccf69f8c97f251534f229791b52a57"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/508c652ba3ccf69f8c97f251534f229791b52a57",
"reference": "508c652ba3ccf69f8c97f251534f229791b52a57",
"shasum": ""
},
"require": {
"php": ">=7.1",
"symfony/polyfill-php80": "^1.14"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Php83\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"polyfill",
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php83/tree/v1.27.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
},
{
"name": "symfony/psr-http-message-bridge",
"version": "v2.1.4",

View File

@ -129,9 +129,14 @@ return [
],
// Default theme, 1=style1.css
'theme' => env('THEME', 1),
'theme' => env('THEME', 16),
'themes' => [
16 => [
'name' => 'Engelsystem IGER 2023',
'type' => 'dark',
'navbar_classes' => 'navbar-dark',
],
15 => [
'name' => 'Engelsystem rC3 (2021)',
'type' => 'dark',

View File

@ -0,0 +1,140 @@
// IGER 2023
$color-background-0: #272771;
$color-background-100: #1d71b8;
$color-highlight: #fff200;
$color-link: #fff200;
@import 'dark';
//== changed Colors
$table-bg: rgba(0, 0, 0, 0.5);
$nav-tabs-link-active-color: #000 !default;
$body-color: #fff;
$gray-darker: #222;
$gray-dark: #282828;
$gray-light: #888;
$gray-lighter: #adafae;
$primary: $color-link;
$primary: #437aca;
$secondary: rgba(0, 0, 0, 0.6);
$success: #00c960;
$info: #3dbddf;
$warning: #f6b345;
$danger: #e93a44;
$text-muted: $gray-lighter;
$btn-link-disabled-color: $gray-light;
//== changed Forms
$input-bg: rgba(0, 0, 0, 0.5);
$input-bg-disabled: rgba(0, 0, 0, 0.6);
$input-group-addon-bg: rgba(0, 0, 0, 0.4);
//== changed Pagination
$pagination-hover-color: #fff;
$pagination-active-color: #fff;
//== changed Form states and alerts
$state-success-text: #fff;
$state-success-bg: $success;
$state-success-border: darken($state-success-bg, 5%);
$state-info-text: #fff;
$state-info-bg: $info;
$state-info-border: darken($state-info-bg, 7%);
$state-warning-text: #fff;
$state-warning-bg: $warning;
$state-warning-border: darken($state-warning-bg, 3%);
$state-danger-text: #fff;
$state-danger-bg: $danger;
$state-danger-border: darken($state-danger-bg, 3%);
$headings-small-color: #fff;
code {
background-color: $state-info-bg;
color: $state-info-text;
}
$alert-bg-scale: 0%;
$alert-border-scale: 0%;
$alert-color-scale: 0%;
.alert {
color: #fff !important;
.text-danger,
.text-info {
color: #fff !important;
}
}
// dark
@import 'cyborg_variables';
@import 'cyborg_styles';
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
&.bg-warning,
&.bg-info {
color: #000;
}
}
.form-control:disabled {
background: rgba(0, 0, 0, 0.5);
opacity: 0.7
}
.navbar {
background: $color-background-0;
border-bottom: 0 !important;
}
.choices__item.is-selected {
color: #000;
}
.nav-pills {
--bs-nav-pills-link-active-color: #000;
}
.dropdown-menu {
--bs-dropdown-link-hover-color: #000;
--bs-dropdown-link-active-color: #000;
}
body {
background: url('./theme16/footer.svg') no-repeat bottom,
url('./theme16/stars.svg') repeat-x top,
linear-gradient($color-background-0, $color-background-100) scroll;
background-size: 30vw auto, auto, auto;
min-height: 100vh;
}
#footer {
padding-bottom: 5vw;
}
:root {
--bs-link-color: #fff200;
--bs-link-hover-color: #fff200;
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 104 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 18 KiB