Skip to content

Commit a3e24fb

Browse files
committed
feat: Underline title on hover in booking expander
1 parent 31592a1 commit a3e24fb

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

assets/sass/booking.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
.o-booking__summary {
2+
&:hover,
3+
&:focus {
4+
.o-booking__title-text {
5+
text-decoration: underline;
6+
}
7+
}
8+
}
9+
110
.o-booking__header-content {
211
display: grid;
312
grid-template-columns: 1.5fr 1fr 1fr;

layouts/partials/booking.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{{- $iconMapping := dict "website" "computer" "phone" "call" "onsite" "person" "mail" "mail" -}}
2-
<summary>
2+
<summary class="o-booking__summary">
33
<div class="o-booking__header">
44
<div class="o-booking__header-content">
55
<div class="o-booking__title-wrapper">
66
<div class="o-booking__title">
7-
{{- partial "icon" (index $iconMapping .page.Params.type) -}}<span>{{- .page.Title -}}</span>
7+
{{- partial "icon" (index $iconMapping .page.Params.type) -}}
8+
<span class="o-booking__title-text">{{- .page.Title -}}</span>
89
</div>
910
<div class="o-booking__subtitle">
1011
{{- .subtitle -}}

0 commit comments

Comments
 (0)