UI: Training templates fluid video layouts #104435

Merged
Márton Lente merged 13 commits from ui/training-layout-fluid into main 2024-08-23 16:50:27 +02:00
2 changed files with 56 additions and 39 deletions
Showing only changes of commit 87c51b8464 - Show all commits

View File

@ -670,12 +670,27 @@ button,
.training-group-item .training-group-item
+padding(3, x) +padding(3, x)
.training-group-item-content &:last-child
@extend .box +media-xl
padding-right: 0
background-color: var(--color-bg-tertiary) .training-group-item-content
width: var(--training-group-item-content-width) width: var(--training-group-item-content-width)
.box
background-color: var(--color-bg-tertiary)
.comment-input-div
&.form-control
background-color: var(--color-bg-primary)
.replies
.comment
background-color: var(--color-bg-secondary)
.top-level-comment
background-color: var(--color-bg-primary)
// TODO: revise training-group-item-nav display toggle on medium and small screens // TODO: revise training-group-item-nav display toggle on medium and small screens
.training-group-item-nav .training-group-item-nav
+margin(3, bottom) +margin(3, bottom)

View File

@ -51,6 +51,7 @@
{% endif %} {% endif %}
</div> </div>
<div class="training-group-item training-group-item-content"> <div class="training-group-item training-group-item-content">
<div class="box">
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<div class="row"> <div class="row">
@ -95,6 +96,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
{% endblock nexted_content %} {% endblock nexted_content %}
{% block scripts %} {% block scripts %}