Skip to content

Commit

Permalink
Merge pull request #48 from Elthan/master
Browse files Browse the repository at this point in the history
Updated roleselect CSS
  • Loading branch information
torgeirl committed Jul 27, 2018
2 parents 690fea3 + 211e988 commit 2790b71
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ coverage.xml
# Django stuff:
*.log
*.pot
**/migrations/
/staticfiles/


Expand Down
4 changes: 2 additions & 2 deletions trix/trix_admin/templates/trix_admin/roleselect.django.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{% block title %}{% trans "Select course" %}{% endblock title %}
{% block body %}
<div class="container" style="margin-top: 20px;">
<div class="container trix-roleselect-container" style="margin-top: 20px;">
<a href="{% url 'trix_student_dashboard' %}">
<span class="fa fa-arrow-left"></span>
{% trans "Back to the frontpage" %}
Expand All @@ -16,7 +16,7 @@
{{ block.super }}
</div>

<div class="container" style="margin-top: 40px;">
<div class="container trix-roleselect-container" style="margin-top: 40px;">
<h2>{% trans "Documentation" %}</h2>
<a href="{{ TRIX_ADMIN_DOCUMENTATION_URL }}">{{ TRIX_ADMIN_DOCUMENTATION_LABEL }}</a>

Expand Down
Binary file removed trix/trix_core/migrations/0001_initial.pyc
Binary file not shown.
Binary file removed trix/trix_core/migrations/__init__.pyc
Binary file not shown.
10 changes: 9 additions & 1 deletion trix/trix_student/static/trix_student/dist/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8888,14 +8888,22 @@ body {
text-align: center;
}
.trix-roleselect .cradmin-legacy-focusedpage-wrapper {
width: 66%;
width: 65%;
margin-top: 40px;
}
@media (max-width: 992px) {
.trix-roleselect .cradmin-legacy-focusedpage-wrapper {
width: 100%;
}
}
.trix-roleselect-container {
width: 66%;
}
@media (max-width: 992px) {
.trix-roleselect-container {
width: 100%;
}
}
/**
* Main assignment and permalink pages
**/
Expand Down
12 changes: 11 additions & 1 deletion trix/trix_student/static/trix_student/src/less/trix.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ body {
}

.trix-roleselect .cradmin-legacy-focusedpage-wrapper {
width: 66%;
width: 65%;
margin-top: 40px;
}

Expand All @@ -30,6 +30,16 @@ body {
}
}

.trix-roleselect-container {
width: 66%;
}

@media(max-width: 992px) {
.trix-roleselect-container {
width: 100%;
}
}

/**
* Main assignment and permalink pages
**/
Expand Down

0 comments on commit 2790b71

Please sign in to comment.