Removed unnecessary container__content classes.

This commit is contained in:
flash 2018-08-11 18:46:39 +02:00
parent 17463088dd
commit bd83bc15a0
20 changed files with 27 additions and 33 deletions

View file

@ -3,6 +3,7 @@
.settings__account { .settings__account {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 1px;
&__disabled { &__disabled {
text-align: center; text-align: center;

View file

@ -1,11 +0,0 @@
.settings__content {
&--account,
&--sessions,
&--login-history {
margin: 1px;
}
&--images {
margin: 2px;
}
}

View file

@ -4,6 +4,7 @@
display: flex; display: flex;
min-height: 200px; min-height: 200px;
justify-content: space-between; justify-content: space-between;
margin: 2px;
@media (max-width: @mio-settings-images-mobile) { @media (max-width: @mio-settings-images-mobile) {
flex-direction: column-reverse; flex-direction: column-reverse;

View file

@ -1,4 +1,6 @@
.settings__log { .settings__log {
margin: 1px;
&__country { &__country {
vertical-align: middle; vertical-align: middle;
} }

View file

@ -1,4 +1,6 @@
.settings__login-history { .settings__login-history {
margin: 1px;
&__country { &__country {
vertical-align: middle; vertical-align: middle;
} }

View file

@ -1,6 +1,8 @@
@mio-settings-sessions-mobile: 1000px; @mio-settings-sessions-mobile: 1000px;
.settings__sessions { .settings__sessions {
margin: 1px;
&__country { &__country {
vertical-align: middle; vertical-align: middle;
} }

View file

@ -62,7 +62,6 @@ body {
@import "classes/changelog"; @import "classes/changelog";
// Settings // Settings
@import "classes/settings/content";
@import "classes/settings/description"; @import "classes/settings/description";
@import "classes/settings/errors"; @import "classes/settings/errors";
@import "classes/settings/pagination"; @import "classes/settings/pagination";

View file

@ -16,7 +16,7 @@
<div class="container__title changelog"> <div class="container__title changelog">
{{ title }} {{ title }}
</div> </div>
<div class="container__content changelog__content"> <div class="changelog__content">
{% if is_valid %} {% if is_valid %}
<div class="changelog__change" id="#c{{ change.change_id }}"> <div class="changelog__change" id="#c{{ change.change_id }}">
<div class="changelog__change__line" <div class="changelog__change__line"

View file

@ -26,7 +26,7 @@
<div class="container__title"> <div class="container__title">
{{ title }} {{ title }}
</div> </div>
<div class="container__content changelog__content"> <div class="changelog__content">
{{ changelog_listing(changes, is_date) }} {{ changelog_listing(changes, is_date) }}
{% if not is_date %} {% if not is_date %}

View file

@ -15,7 +15,7 @@
<div class="container forum__actions"> <div class="container forum__actions">
<div class="container__title">Actions</div> <div class="container__title">Actions</div>
<div class="container__content forum__actions__content"> <div class="forum__actions__content">
<a class="input__button forum__actions__button">Mark All Read</a> <a class="input__button forum__actions__button">Mark All Read</a>
<a class="input__button forum__actions__button">Unanswered Posts</a> <a class="input__button forum__actions__button">Unanswered Posts</a>
<a class="input__button forum__actions__button">New Posts</a> <a class="input__button forum__actions__button">New Posts</a>

View file

@ -3,7 +3,7 @@
<div class="container forum__listing"> <div class="container forum__listing">
<div class="container__title">{{ title }}</div> <div class="container__title">{{ title }}</div>
<div class="container__content forum__listing__forums"> <div class="forum__listing__forums">
{% if forums|length > 0 %} {% if forums|length > 0 %}
{% for forum in forums %} {% for forum in forums %}
{{ forum_category_entry(forum) }} {{ forum_category_entry(forum) }}
@ -152,7 +152,7 @@
<div class="container forum__topics"> <div class="container forum__topics">
<div class="container__title">Topics</div> <div class="container__title">Topics</div>
<div class="container__content forum__topics__listing"> <div class="forum__topics__listing">
{% if topics|length > 0 %} {% if topics|length > 0 %}
{% for topic in topics %} {% for topic in topics %}
{{ forum_topic_entry(topic) }} {{ forum_topic_entry(topic) }}
@ -313,7 +313,7 @@
{{ title }} {{ title }}
</div> </div>
<div class="container__content forum__posting__content"> <div class="forum__posting__content">
<input type="hidden" name="post[{{ is_reply ? 'topic' : 'forum' }}]" value="{{ target_id }}"> <input type="hidden" name="post[{{ is_reply ? 'topic' : 'forum' }}]" value="{{ target_id }}">
{#<div class="forum__posting__errors"> {#<div class="forum__posting__errors">

View file

@ -19,7 +19,7 @@
<div class="container"> <div class="container">
<a class="container__title container__title--link" href="/changelog.php">Changelog</a> <a class="container__title container__title--link" href="/changelog.php">Changelog</a>
<div class="container__content changelog__content"> <div class="changelog__content">
{{ changelog_listing(featured_changelog) }} {{ changelog_listing(featured_changelog) }}
</div> </div>
</div> </div>
@ -37,7 +37,7 @@
<div class="container news__container"> <div class="container news__container">
<a class="container__title container__title--link" href="/news.php">Featured News</a> <a class="container__title container__title--link" href="/news.php">Featured News</a>
<div class="container__content news__container__content"> <div class="news__container__content">
<div class="news__preview__listing"> <div class="news__preview__listing">
{% for post in featured_news %} {% for post in featured_news %}
{{ news_preview(post) }} {{ news_preview(post) }}

View file

@ -31,7 +31,7 @@
{% if app.hasActiveSession %} {% if app.hasActiveSession %}
<div class="container header__user"> <div class="container header__user">
<div class="container__title">Hey, {{ current_user.username }}!</div> <div class="container__title">Hey, {{ current_user.username }}!</div>
<div class="container__content header__user__content"> <div class="header__user__content">
<a href="/settings.php?m=images" class="avatar header__user__avatar" style="background-image:url('/profile.php?u={{ current_user.user_id }}&amp;m=avatar');"></a> <a href="/settings.php?m=images" class="avatar header__user__avatar" style="background-image:url('/profile.php?u={{ current_user.user_id }}&amp;m=avatar');"></a>
<div class="header__user__links__container"> <div class="header__user__links__container">

View file

@ -11,8 +11,7 @@
{% block news_content %} {% block news_content %}
<div class="container news__container"> <div class="container news__container">
<div class="container__title news__container__title">News » {{ category.category_name }}</div> <div class="container__title news__container__title">News » {{ category.category_name }}</div>
<div class="news__container__content">
<div class="container__content news__container__content">
<div class="news__preview__listing"> <div class="news__preview__listing">
{% for post in posts %} {% for post in posts %}
{{ news_preview(post) }} {{ news_preview(post) }}

View file

@ -8,8 +8,7 @@
{% block news_content %} {% block news_content %}
<div class="container news__container"> <div class="container news__container">
<div class="container__title news__container__title">News</div> <div class="container__title news__container__title">News</div>
<div class="news__container__content">
<div class="container__content news__container__content">
<div class="news__preview__listing"> <div class="news__preview__listing">
{% for post in posts %} {% for post in posts %}
{{ news_preview(post) }} {{ news_preview(post) }}

View file

@ -4,7 +4,7 @@
{{ post.post_title }} {{ post.post_title }}
</a> </a>
<div class="container__content news__preview__content"> <div class="news__preview__content">
<div class="news__preview__text"> <div class="news__preview__text">
{{ post.post_text|first_paragraph|parse_text('md')|raw }} {{ post.post_text|first_paragraph|parse_text('md')|raw }}
</div> </div>

View file

@ -11,7 +11,7 @@
{{ post.post_title }} {{ post.post_title }}
</div> </div>
<div class="container__content news__post__content"> <div class="news__post__content">
<div class="news__post__text"> <div class="news__post__text">
{{ post.post_text|parse_text('md')|raw }} {{ post.post_text|parse_text('md')|raw }}
</div> </div>

View file

@ -22,11 +22,11 @@
<div class="container settings settings--{{ settings_mode }}"> <div class="container settings settings--{{ settings_mode }}">
<div class="container__title settings__title settings__title--{{ settings_mode }}">{{ title }}</div> <div class="container__title settings__title settings__title--{{ settings_mode }}">{{ title }}</div>
<div class="container__content settings__content settings__content--{{ settings_mode }}"> {% block settings_content %}
{% block settings_content %} <div class="container__content">
This is a blank settings page. This is a blank settings page.
{% endblock %} </div>
</div> {% endblock %}
</div> </div>
{% endblock %} {% endblock %}

View file

@ -56,7 +56,7 @@
<div class="container members__users"> <div class="container members__users">
<div class="container__title">{{ title }}</div> <div class="container__title">{{ title }}</div>
<div class="container__content members__users__content"> <div class="members__users__content">
{% for user in users %} {% for user in users %}
<a class="members__user" href="/profile.php?u={{ user.user_id }}"> <a class="members__user" href="/profile.php?u={{ user.user_id }}">
<div <div

View file

@ -69,7 +69,7 @@
<div class="profile"> <div class="profile">
<div class="container profile__header"> <div class="container profile__header">
<div class="container__title">Profile of {{ profile.username }}</div> <div class="container__title">Profile of {{ profile.username }}</div>
<div class="container__content profile__header__content"> <div class="profile__header__content">
<div class="profile__info"> <div class="profile__info">
<div class="profile__info__section"> <div class="profile__info__section">
<div class="profile__info__block"> <div class="profile__info__block">