Skip to content

Commit 38fc30c

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat/add-pkp
Signed-off-by: lennartrommeiss <[email protected]>
2 parents a4df107 + 98003e0 commit 38fc30c

File tree

22 files changed

+99
-88
lines changed

22 files changed

+99
-88
lines changed

archetypes/operator/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ FIP Globalpreis: <✅/⛔>
5151
- ⛔ für eine Nichtanerkennung von FIP
5252
- ℹ️ für Verwechslungsgefahr mit anderen Bahngesellschaften/Zugkategorien
5353
-->
54-
{{% expander "Zugkategorie" "category" %}}
54+
{{% expander "Zugkategorie" traincategory "category" %}}
5555
<!-- Ersetze Zugkategorie mit dem Name der Zugkategorie, z.B. ICE. -->
5656
**Beschreibung:**
5757
<!-- Füge hier eine Beschreibung der Zugkategorie ein -->

archetypes/operator/index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ FIP Global Fare: <✅/⛔>
5151
- ⛔ for a non-acceptance of FIP
5252
- ℹ️ for confusion with other railway companies/train categories
5353
-->
54-
{{% expander "Train category" "category" %}}
54+
{{% expander "Train category" traincategory "category" %}}
5555
<!-- Replace "Train category" with the name of the category, e.g. ICE. -->
5656
**Description:**
5757
<!-- Description of the category -->

assets/sass/_variables.scss

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,33 @@ $breakpoint-md: 768px;
33
$breakpoint-lg: 992px;
44
$breakpoint-xl: 1200px;
55

6+
$link-hovered: #8F2501;
7+
$link-default: #BA3D12;
8+
$link-special: #000000;
9+
$bg-default: #FFFFFF;
10+
$bg-neutral: #EBE9E1;
11+
$bg-accent: #FFD900;
12+
$bg-accent2: #DABA00;
13+
$bg-accent3: #fff284;
14+
$color-onDark: #FFFFFF;
15+
$color-onLight: #000000;
16+
$color-table-border: #5B5B5B;
17+
618
body {
719
--bs-light-rgb: 219, 224, 229;
820
--pagefind-ui-scale: 1;
921
--pagefind-ui-text: #000;
10-
--link-default: #BA3D12;
11-
--link-default-rgb: 186, 61, 18;
12-
--link-hovered: #8F2501;
13-
--link-hovered-rgb: 143, 37, 1;
14-
--link-special: #000000;
15-
--link-special-rgb: 0, 0, 0;
16-
--bg-default: #FFFFFF;
17-
--bg-default-rgb: 255, 255, 255;
18-
--bg-neutral: #EBE9E1;
19-
--bg-neutral-rgb: 235, 233, 225;
20-
--bg-accent: #FFD900;
21-
--bg-accent-rgb: 255, 217, 0;
22-
--bg-accent2: #DABA00;
23-
--bg-accent2-rgb: 218, 186, 0;
24-
--bg-accent3: #fff284;
25-
--bg-accent3-rgb: 255, 242, 132;
26-
--color-onDark: #FFFFFF;
27-
--color-onDark-rgb: 255, 255, 255;
28-
--color-onLight: #000000;
29-
--color-onLight-rgb: 0, 0, 0;
30-
--color-table-border: #5B5B5B;
31-
--color-table-border-rgb: 91, 91, 91;
22+
--link-default: #{$link-default};
23+
--link-hovered: #{$link-hovered};
24+
--link-special: #{$link-special};
25+
--bg-default: #{$bg-default};
26+
--bg-neutral: #{$bg-neutral};
27+
--bg-accent: #{$bg-accent};
28+
--bg-accent2: #{$bg-accent2};
29+
--bg-accent3: #{$bg-accent3};
30+
--color-onDark: #{$color-onDark};
31+
--color-onLight: #{$color-onLight};
32+
--color-table-border: #{$color-table-border};
3233
--border-radius-s: .4rem;
3334
--border-radius-m: .8rem;
3435
--border-radius-l: 1.2rem;

assets/sass/booking.scss

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,33 @@
88
}
99
}
1010

11-
.details-screen > .o-booking__summary::before {
11+
.details-screen .o-booking__header-actions::before {
1212
content: "keyboard_arrow_down";
13-
position: absolute;
14-
right: 0;
1513
font-size: 2.4rem;
16-
top: calc(50% - 1.2rem);
1714
@extend .material-symbols-rounded
1815
}
1916

20-
.details-screen[open] > .o-booking__summary::before {
17+
.details-screen[open] .o-booking__header-actions::before {
2118
content: "keyboard_arrow_up";
2219
font-size: 2.4rem;
23-
top: calc(50% - 1.2rem);
2420
@extend .material-symbols-rounded
2521
}
2622

23+
.o-booking__header-actions {
24+
width: 24px;
25+
height: 24px;
26+
}
27+
2728
.o-booking__header-content {
2829
display: grid;
2930
grid-template-columns: 1.5fr 1fr 1fr;
3031
gap: 2rem;
3132
width: 100%;
32-
align-content: center;
3333

3434
@media (max-width: #{$breakpoint-md}) {
3535
display: flex;
3636
flex-direction: column;;
3737
gap: 1rem;
38-
align-content: start;
3938
}
4039
}
4140

@@ -44,32 +43,39 @@
4443
justify-content: space-between;
4544
gap: 2rem;
4645
width: 100%;
47-
align-content: center;
46+
align-items: center;
4847
}
4948

5049
.o-booking__classes {
5150
display: flex;
5251
align-items: flex-start;
5352
justify-content: center;
53+
align-items: center;
5454
flex-direction: column;
5555
> p {
5656
margin-bottom: 0rem;
5757
}
5858

59-
@media (max-width: #{$breakpoint-md}) {
60-
align-items: start;
59+
@media (max-width: #{$breakpoint-md}) {
60+
align-items: flex-start;
6161
}
6262
}
6363

64+
.o-booking__classes-title {
65+
font-size: 1.6rem;
66+
font-style: italic;
67+
}
68+
6469
.o-booking__title-wrapper {
6570
display: flex;
6671
flex-direction: column;
67-
justify-content: space-between;
72+
justify-content: center;
73+
gap: 0.4rem;
6874
}
6975

7076
.o-booking__title {
7177
display: flex;
72-
gap: 0.5rem;
78+
gap: 0.4rem;
7379
align-items: flex-start;
7480
font-weight: 600;
7581
}
@@ -85,14 +91,14 @@
8591
}
8692

8793
.o-booking__meta {
88-
text-align: left;
94+
text-align: center;
8995
display: flex;
9096
flex-direction: column;
91-
align-items: flex-start;
97+
align-items: center;
9298
justify-content: center;
9399

94100
@media (max-width: #{$breakpoint-md}) {
95-
align-items: start;
101+
align-items: flex-start;
96102
}
97103
}
98104

assets/sass/button.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
a.c-button {
1+
a.a-button {
22
padding: 1rem;
33
display: inline-flex;
44
align-items: center;
@@ -12,6 +12,6 @@ a.c-button {
1212

1313
&:hover,
1414
&:focus {
15-
background: rgba(var(--link-hovered-rgb), 0.15);
15+
background: rgba($link-hovered, 0.15);
1616
}
1717
}

assets/sass/expander.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
gap: 0.5rem;
55
align-items: center;
66

7-
.o-expander__summary-text:hover,
8-
.o-expander__summary-text:focus {
9-
font-weight: 700;
10-
text-decoration: underline;
7+
&:hover,
8+
&:focus {
9+
.o-expander__summary-text {
10+
font-weight: 700;
11+
text-decoration: underline;
12+
}
1113
}
1214
}
1315

@@ -31,7 +33,6 @@ details > summary {
3133
list-style-type: none;
3234
}
3335

34-
.details-screen.o-expander > div,
3536
.details-screen > .o-expander__summary {
3637
margin-right: 3.2rem;
3738
}

content/booking/db_website_fip_db/index.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description: "Booking information for FIP tickets for DB employees for neighbori
55

66
params:
77
classes:
8-
first: "6,90"
9-
second: "5,50"
8+
first: "6,90"
9+
second: "5,50"
1010
fip_50: true
1111
reservations: true
1212
additional_info_link: "https://int.bahn.de/en/offers/additional-services/seat-reservation"

content/booking/db_website_fip_international/index.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description: "Booking information for FIP Tickets with a section in Germany."
55

66
params:
77
classes:
8-
first: "6,90"
9-
second: "5,50"
8+
first: "6,90"
9+
second: "5,50"
1010
fip_50: true
1111
reservations: true
1212
booking_link: "https://www.bahn.de/buchung/start?KL=2&ET=FIP_SONSTIGE"

content/country/_index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "Länder"
33
description: "Überblick über die Länder, in denen FIP-Vergünstigungen genutzt werden können."
44
---
55

6-
Momemtan sind noch nicht für alle Länder und Betreiber Informationen verfügbar. Den aktuellen Bearbeitungsstand findest du auf [GitHub](https://github.com/orgs/fipguide/projects/3).
6+
Für einige Länder sind bereits Informationen verfügbar und kontinuierlich kommen weitere Länder hinzu. Den aktuellen Bearbeitungsstand findest du auf [GitHub](https://github.com/orgs/fipguide/projects/3).

content/country/_index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "Countries"
33
description: "Overview of the countries where FIP benefits are available."
44
---
55

6-
Currently, information is not yet available for all countries and operators. You can see the current information status on [GitHub](https://github.com/orgs/fipguide/projects/3).
6+
Information is available for several countries, and more countries are continually being added. You can see the current information status on [GitHub](https://github.com/orgs/fipguide/projects/3).

0 commit comments

Comments
 (0)