Improved side menu, reduced the font size on small screens, fixed a form to add links on small screens

This commit is contained in:
Alexandr Danilov 2016-10-15 11:17:55 +03:00 committed by Nicolas Lœuillet
parent 7131f94274
commit 38dc91be8e
10 changed files with 55 additions and 35 deletions

View file

@ -360,6 +360,10 @@ span.numberItems {
float: right;
}
nav ul a:hover {
background-color: initial;
}
/* ==========================================================================
* 3 = Filters slider
* ========================================================================== */
@ -522,7 +526,7 @@ main ul.row {
}
#article > header > h1 {
font-size: 2em;
font-size: 1.6em;
}
.reader-mode {
@ -603,6 +607,18 @@ main ul.row {
width: auto;
}
#article {
padding: 15px;
max-width: 35em;
margin-left: auto;
margin-right: auto;
font-size: 18px;
}
#article > header > h1 {
font-size: 1.33em;
}
.reader-mode {
width: 240px !important;
}
@ -760,3 +776,7 @@ div.settings div.file-field div {
.input-field label.active {
font-size: 1rem;
}
nav .input-field input {
margin: 0;
}

View file

@ -5,11 +5,11 @@
<div class="card-content">
{% if error %}
<span class="black-text">{{ error.message }}</span>
<script>Materialize.toast('{{ error.message }}', 4000)</script>
{% endif %}
{% for flashMessage in app.session.flashbag.get('notice') %}
<span class="black-text"><p>{{ flashMessage }}</p></span>
<script>Materialize.toast('{{ flashMessage }}')</script>
{% endfor %}
<div class="row">
@ -41,7 +41,7 @@
<i class="material-icons right">send</i>
</button>
</div>
<div class="row center">
<div class="card-action center">
<a href="{{ path('fos_user_resetting_request') }}">{{ 'security.login.forgot_password'|trans }}</a>
</div>
</form>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long