mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Unify event list view on organizer and event-series (#4702)
This commit is contained in:
committed by
GitHub
parent
b45d58b60e
commit
5b99788354
@@ -412,14 +412,6 @@ $(function () {
|
||||
});
|
||||
questions_init_profiles($("body"));
|
||||
|
||||
// Subevent choice
|
||||
if ($(".subevent-toggle").length) {
|
||||
$(".subevent-list").hide();
|
||||
$(".subevent-toggle").show().click(function () {
|
||||
$(".subevent-list").slideToggle(300);
|
||||
$(this).slideToggle(300).attr("aria-expanded", true);
|
||||
});
|
||||
}
|
||||
if (sessionStorage) {
|
||||
$("[data-save-scrollpos]").on("click submit", function () {
|
||||
sessionStorage.setItem('scrollpos', window.scrollY);
|
||||
|
||||
@@ -235,33 +235,6 @@ div.front-page {
|
||||
}
|
||||
}
|
||||
|
||||
.subevent-list {
|
||||
background-color: white;
|
||||
|
||||
.row {
|
||||
margin: 0;
|
||||
}
|
||||
.label {
|
||||
text-decoration: none;
|
||||
}
|
||||
.subevent-row a {
|
||||
display: block;
|
||||
color: $text-color;
|
||||
padding: 3px 0;
|
||||
}
|
||||
.subevent-row:nth-child(2n) a {
|
||||
background-color: $gray-lighter;
|
||||
}
|
||||
.subevent-row:hover a {
|
||||
background-color: darken($gray-lighter, 10%);
|
||||
}
|
||||
.subevent-row .row > div {
|
||||
padding: 5px;
|
||||
min-height: 35px; /* label height */
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.calendar-nav, .calendar-nav li {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
|
||||
@@ -412,6 +412,13 @@ details.details-open .panel-title::before {
|
||||
margin-right: .25em;
|
||||
}
|
||||
|
||||
.panel-subhead {
|
||||
margin-bottom: 15px;
|
||||
padding: 15px;
|
||||
background: $table-bg-accent;
|
||||
border-bottom: 1px solid $table-border-color;
|
||||
}
|
||||
|
||||
details {
|
||||
list-style: none;
|
||||
}
|
||||
@@ -588,10 +595,10 @@ h2 .label {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
& > li, & > .row {
|
||||
padding: 15px 0;
|
||||
}
|
||||
li+li {
|
||||
& > li+li, & > .row + .row {
|
||||
border-top: 1px solid $table-border-color;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user