File tree Expand file tree Collapse file tree 4 files changed +28
-18
lines changed Expand file tree Collapse file tree 4 files changed +28
-18
lines changed Original file line number Diff line number Diff line change 4
4
gap : 2rem ;
5
5
width : 100% ;
6
6
align-content : center ;
7
+
8
+ @media (max-width : #{$breakpoint-md } ) {
9
+ display : flex ;
10
+ flex-direction : column ;;
11
+ gap : 1rem ;
12
+ align-content : start ;
13
+ }
7
14
}
8
15
9
16
.o-booking__header {
21
28
}
22
29
23
30
.o-booking__classes {
31
+ display : flex ;
32
+ align-items : center ;
33
+ justify-content : center ;
34
+ flex-direction : column ;
24
35
> p {
25
36
margin-bottom : 0rem ;
26
37
}
38
+
39
+ @media (max-width : #{$breakpoint-md } ) {
40
+ align-items : start ;
41
+ }
27
42
}
28
43
29
44
.o-booking__title-wrapper {
45
60
font-size : 1.4rem ;
46
61
}
47
62
48
- .o-booking__header-last-column {
49
- display : flex ;
50
- align-items : center ;
51
- justify-content : center ;
52
- gap : 1rem ;
53
- }
54
-
55
63
.o-booking__meta {
56
64
text-align : center ;
57
65
display : flex ;
58
66
flex-direction : column ;
59
67
align-items : center ;
60
68
justify-content : center ;
69
+
70
+ @media (max-width : #{$breakpoint-md } ) {
71
+ align-items : start ;
72
+ }
61
73
}
Original file line number Diff line number Diff line change 1
- summary {
1
+ .o-expander__summary {
2
2
display : flex ;
3
3
4
4
& :hover ,
@@ -20,7 +20,7 @@ details {
20
20
margin-bottom : 1.2rem ;
21
21
}
22
22
23
- details [open ] > summary {
23
+ details [open ] > .o-expander__summary {
24
24
margin-bottom : 0.5rem ;
25
25
}
26
26
@@ -29,7 +29,7 @@ details > summary {
29
29
}
30
30
31
31
.details-screen > div ,
32
- .details-screen > summary {
32
+ .details-screen > .o-expander__summary {
33
33
margin-left : 3.2rem ;
34
34
}
35
35
@@ -59,7 +59,7 @@ details > summary::-webkit-details-marker {
59
59
@extend .material-symbols-rounded
60
60
}
61
61
62
- details [open ] > summary {
62
+ details [open ] > .o-expander__summary {
63
63
font-weight : 700 ;
64
64
}
65
65
Original file line number Diff line number Diff line change 18
18
</ div >
19
19
</ div >
20
20
< div class ="o-booking__meta ">
21
- {{ if ne $reservations "nil" }}{{ T "booking.reservation" }} {{ if $reservations }}✅{{ else }}⛔{{ end }}{{ end }}
22
- {{ if ne $fip_50 "nil" }}{{ T "booking.fip-50" }} {{ if $fip_50 }}✅{{ else }}⛔{{ end }}{{ end }}
23
- {{ if ne $fip_global_fare "nil" }}{{ T "booking.fip-global-fare" }} {{ if $fip_global_fare }}✅{{ else }}⛔{{ end }}{{ end }}
21
+ {{ if ne $reservations "nil" }}< div > {{ T "booking.reservation" }} {{ if $reservations }}✅{{ else }}⛔{{ end }}</ div > {{ end }}
22
+ {{ if ne $fip_50 "nil" }}< div > {{ T "booking.fip-50" }} {{ if $fip_50 }}✅{{ else }}⛔{{ end }}</ div > {{ end }}
23
+ {{ if ne $fip_global_fare "nil" }}< div > {{ T "booking.fip-global-fare" }} {{ if $fip_global_fare }}✅{{ else }}⛔{{ end }}</ div > {{ end }}
24
24
</ div >
25
- < div class ="o-booking__header-last-column ">
26
25
< div class ="o-booking__classes ">
27
26
{{ range $k, $v := .Params.classes }}
28
27
< strong > {{ T (print "booking.classes." $k) }}:</ strong > {{ $v }}
29
28
{{ end }}
30
29
</ div >
31
30
</ div >
32
- </ div >
33
31
< div class ="o-booking__header-actions ">
34
32
{{ partial "icon" "arrow_drop_down" }}
35
33
</ div >
Original file line number Diff line number Diff line change 1
1
< details name ="{{ (.Get 1) }} " class ="details-screen ">
2
- < summary >
2
+ < summary class =" o-expander__summary " >
3
3
< span > {{ (.Get 0) }}</ span >
4
4
</ summary >
5
5
< div >
13
13
https://github.com/w3c/csswg-drafts/issues/2084
14
14
-->
15
15
< details open class ="details-print ">
16
- < summary >
16
+ < summary class =" o-expander__summary " >
17
17
< span > {{ (.Get 0) }}</ span >
18
18
</ summary >
19
19
< div >
You can’t perform that action at this time.
0 commit comments