diff --git a/app/statistic/templates/statistic/overview.html b/app/statistic/templates/statistic/overview.html index f3f59c9..51195e5 100644 --- a/app/statistic/templates/statistic/overview.html +++ b/app/statistic/templates/statistic/overview.html @@ -302,6 +302,61 @@ opacity: 0.5; cursor: not-allowed; } + + /* Responsive Jahr-Navigation */ + @media (max-width: 768px) { + .section-header { + flex-direction: column; + gap: 15px; + text-align: center; + } + + .year-navigation { + order: 2; + } + + .collapsible::after { + order: 3; + margin-left: 0; + } + } + + /* CSS-Pfeile für Jahr-Navigation */ + .arrow { + border: solid white; + border-width: 0 3px 3px 0; + display: inline-block; + padding: 3px; + } + + .right { + transform: rotate(-45deg); + -webkit-transform: rotate(-45deg); + } + + .left { + transform: rotate(135deg); + -webkit-transform: rotate(135deg); + } + + /* Pfeile für disabled buttons */ + .btn:disabled .arrow { + border-color: rgba(255, 255, 255, 0.5); + } + + /* Pfeile für secondary buttons in Card-Header */ + .btn-outline-secondary .arrow, + .btn-secondary .arrow { + border-color: #6c757d; + } + + .btn-outline-secondary:hover .arrow { + border-color: white; + } + + .btn-outline-secondary:disabled .arrow { + border-color: rgba(108, 117, 125, 0.5); + } {% endblock %} @@ -324,11 +379,11 @@