diff --git a/src/pretalx/common/templates/common/auth.html b/src/pretalx/common/templates/common/auth.html index d87445116..0e5ac51fe 100644 --- a/src/pretalx/common/templates/common/auth.html +++ b/src/pretalx/common/templates/common/auth.html @@ -25,19 +25,6 @@ {% endcompress %}
{% if not hide_login %} - {% if request.event and request.event.organiser and request.event.organiser.slug %} - {% socialapp_exists request.event.organiser.slug as eventyay_exists %} - {% if eventyay_exists %} - {% if not no_buttons %} -
- - {% translate "Login as Attendee with Eventyay-Ticket" %} - -
-
- {% endif %} - {% endif %} - {% endif %}
diff --git a/src/pretalx/common/templatetags/socialapp_extras.py b/src/pretalx/common/templatetags/socialapp_extras.py deleted file mode 100644 index 82dec241c..000000000 --- a/src/pretalx/common/templatetags/socialapp_extras.py +++ /dev/null @@ -1,9 +0,0 @@ -from allauth.socialaccount.models import SocialApp -from django import template - -register = template.Library() - - -@register.simple_tag -def socialapp_exists(provider): - return SocialApp.objects.filter(provider=provider).exists() diff --git a/src/pretalx/static/agenda/css/_agenda.css b/src/pretalx/static/agenda/css/_agenda.css index fb3e9488c..48bed5e38 100644 --- a/src/pretalx/static/agenda/css/_agenda.css +++ b/src/pretalx/static/agenda/css/_agenda.css @@ -88,102 +88,6 @@ } } -.schedule-header { - display: flex; - align-items: flex-end; - > span, - > a, - > div { - margin-left: 8px; - } - a i.fa { - padding-right: 0; - } -} - -@function is-dark($color) { - $luminance: (0.2126 * red($color) + 0.7152 * green($color) + 0.0722 * blue($color)) / 255; - @return $luminance < 0.5; -} - -@mixin contrast-color($bg-color) { - @if is-dark($bg-color) { - color: #fff; - } @else { - color: #000; - } -} - -@mixin active-state($color) { - background-color: $color; - @include contrast-color($color); -} - -@mixin outline-button($color) { - color: $color; - border-color: $color; - - &:hover, &.active { - @include active-state($color); - } -} - -#schedule-nav { - display: flex; - flex-direction: row; - align-content: space-between; - z-index: 900; - - a { - font-size: 16px; - font-weight: normal; - border-radius: 0; - margin: 0; - &.active { - } - } - - .btn-outline-success { - @include outline-button($brand-primary); - } - - .btn-outline-info { - @include outline-button($brand-primary); - } - - form { - max-width: 250px; - } - - .header-right { - margin-left: auto; - display: flex; - flex-direction: row; - align-items: baseline; - & > * { - margin-right: 8px; - height: 90%; - summary { - height: 100%; - margin-bottom: 3px; - color: $brand-primary; - border-color: $brand-primary; - } -.header-right { - margin-left: auto; - display: flex; - flex-direction: row; - align-items: baseline; - & > * { - margin-right: 8px; - height: 90%; - summary { - height: 100%; - margin-bottom: 3px; - } - } -} - #fahrplan noscript, .pretalx-tabbed { max-width: 80vw;