misc: add support for extra <span> around timetable cells (#57330)

This commit is contained in:
Frédéric Péters 2021-09-28 10:04:50 +02:00
parent 9afef10d73
commit 3f87cc9be8
3 changed files with 7 additions and 7 deletions

View File

@ -684,7 +684,7 @@ div.timetable-widget {
}
}
div span {
div span.timetable-cell {
display: block;
cursor: pointer;
padding: 0.2em 0;
@ -696,7 +696,7 @@ div.timetable-widget {
margin-bottom: 4px;
}
span.selectable {
span.timetable-cell.selectable {
background: transparentize($button-background, 0.8);
&:hover {
background: $button-background;
@ -713,7 +713,7 @@ div.timetable-widget {
> div {
width: 100%;
}
div span {
div span.timetable-cell {
display: inline-block;
padding: 0.5em;
margin: 0.5em;

View File

@ -257,7 +257,7 @@ div#rub_service {
}
}
div.timetable-widget span.selectable.on {
div.timetable-widget span.timetable-cell.selectable.on {
background: $secondary-color;
}

View File

@ -125,7 +125,7 @@ div.timetable-widget {
}
}
div span {
div span.timetable-cell {
border-radius: 1em;
margin: 0.7em;
border: 1px solid transparent;
@ -136,7 +136,7 @@ div.timetable-widget {
}
}
span.selectable {
span.timetable-cell.selectable {
background-color: $green;
&:hover {
box-shadow: none;
@ -154,7 +154,7 @@ div.timetable-widget {
> div {
width: 100%;
}
div span {
div span.timetable-cell {
display: inline-block;
padding: 0.5em;
margin: 0.5em;